<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Smoothing &amp;amp; masking codes in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173511#M18137</link>
    <description>Excellent, thanks!&lt;BR /&gt;
&lt;BR /&gt;
Derek</description>
    <pubDate>Fri, 11 Feb 2011 14:07:16 GMT</pubDate>
    <dc:creator>derekjackson</dc:creator>
    <dc:date>2011-02-11T14:07:16Z</dc:date>
    <item>
      <title>Smoothing &amp; masking codes</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173508#M18134</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi,&lt;BR /&gt;
   having an issue with masking codes to get a prism to smooth on the right faces.&lt;BR /&gt;
&lt;BR /&gt;
Trying to make something like this: &lt;A href="http://www.intrad.com/product97372/rcr-125.aspx" target="_blank"&gt;http://www.intrad.com/product97372/rcr-125.aspx&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
It's a shape with 3 main curves on the visible side. I want the object to be smoothed, except at the two creases where the curves meet (as indicated by the red lines in the screengrab). &lt;BR /&gt;
&lt;BR /&gt;
Alternating between masking codes of 15 and 79 seems to either fully smooth or fully facet the whole object. Is there anyway to specify exactly which edges are smoothed? Changing the 4001s or 900s doesn't seem to affect it. &lt;BR /&gt;
&lt;BR /&gt;
Code for facetted version: &lt;PRE&gt;	PRISM_      14,      rail_length,  
		0.045, -0.04811539936889,      15, 
		0.04144274961775, -0.03895038973231,    900, 
		0, 115.4793648758,   4001, 
		0.04818609361501, -0.03179645769075,      15, 
		0.06574793327563, -0.02074811205036,    900, 
		0, -211.6808401911,   4001, 
		0.0864952753737, -0.02056936776373,      15, 
		-0.005905922275061, -0.06111603154502,    900, 
		0, -47.88603034617,   4001, 
		0.08613703059829, -0.1024694848116,      15, 
		0.06558004796178, -0.1043565827946,    900, 
		0, -180.7544340626,   4001, 
		0.045, -0.1059728438522,      15, 
		0.045, -0.04811539936889,      -1&lt;/PRE&gt;

Code for smoothed version: &lt;PRE&gt;	PRISM_      14,      rail_length,  
		0.045, -0.04811539936889,      79, 
		0.04144274961775, -0.03895038973231,    900, 
		0, 115.4793648758,   4001, 
		0.04818609361501, -0.03179645769075,      79, 
		0.06574793327563, -0.02074811205036,    900, 
		0, -211.6808401911,   4001, 
		0.0864952753737, -0.02056936776373,      79, 
		-0.005905922275061, -0.06111603154502,    900, 
		0, -47.88603034617,   4001, 
		0.08613703059829, -0.1024694848116,      79, 
		0.06558004796178, -0.1043565827946,    900, 
		0, -180.7544340626,   4001, 
		0.045, -0.1059728438522,      79, 
		0.045, -0.04811539936889,      -1&lt;/PRE&gt;

Any suggestions, or am I asking the impossible? A last resort is to add in an extra 'straight' face between the curves, but that increases to polycount so I'd rather not...&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/74213iEFB52222DE928EC1/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Smoothing Issue.jpg" title="Smoothing Issue.jpg" /&gt;</description>
      <pubDate>Fri, 11 Feb 2011 09:52:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173508#M18134</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2011-02-11T09:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Smoothing &amp; masking codes</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173509#M18135</link>
      <description>This isn't great, but it does differentiate the surfaces.</description>
      <pubDate>Fri, 11 Feb 2011 10:48:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173509#M18135</guid>
      <dc:creator>Dwight</dc:creator>
      <dc:date>2011-02-11T10:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Smoothing &amp; masking codes</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173510#M18136</link>
      <description>derek:&lt;BR /&gt;
&lt;BR /&gt;
You will need to add two more planes for the straight faces (use status code 15), the code you have (which looks like it was generated by ArchiCAD) is all center points (900) and arcs (4001), with a few start points (79 or 15). I wouldn't worry about the few extra polygons, as under the standard resolution (36) your shape is generating more than 50 faces as is. If you want to decrease the polygon count, look at simplifying the back of the rail which shouldn't be seen in 3D anyway (unless you need this for accurate sections at a large scale).&lt;BR /&gt;
&lt;BR /&gt;
You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Fri, 11 Feb 2011 13:28:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173510#M18136</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2011-02-11T13:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Smoothing &amp; masking codes</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173511#M18137</link>
      <description>Excellent, thanks!&lt;BR /&gt;
&lt;BR /&gt;
Derek</description>
      <pubDate>Fri, 11 Feb 2011 14:07:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173511#M18137</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2011-02-11T14:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Smoothing &amp; masking codes</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173512#M18138</link>
      <description>Is there a reason you need to use a library part and not a complex profile for this?</description>
      <pubDate>Fri, 11 Feb 2011 15:34:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173512#M18138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-11T15:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Smoothing &amp; masking codes</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173513#M18139</link>
      <description>&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; That's been the source of massive debate in the office. We're gojng with objects so we can have several profiles saved within one object, along with options to turn corners on and off.</description>
      <pubDate>Fri, 11 Feb 2011 15:46:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173513#M18139</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2011-02-11T15:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Smoothing &amp; masking codes</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173514#M18140</link>
      <description>&lt;BLOCKQUOTE&gt;derekjackson wrote:&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; That's been the source of massive debate in the office. We're gojng with objects so we can have several profiles saved within one object, along with options to turn corners on and off.&lt;/BLOCKQUOTE&gt;

It does make sense to use library parts if you need more advanced functions, but in this case you may want to go to named variables and hand coded profiles instead of the automatically generated coordinates.&lt;BR /&gt;
&lt;BR /&gt;
It's not as hard as you might think. What I do is just initialize the variables for each node something like this:&lt;BR /&gt;

&lt;PRE&gt;x1    = 0.0
x2    = 0.1
x3    = 0.2

y1    = 0.0
y2    = 0.2
y3    = 0.4

Prism_ 6, length,
    x1, y1, 15,
    x2, y1, 79,
    x3, y2, 1079,
    x2, y3, 1079,
    x1, y3, 15,
    x1, y1, -1&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Feb 2011 18:21:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173514#M18140</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-11T18:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Smoothing &amp; masking codes</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173515#M18141</link>
      <description>David is right, GDL can not handle a rough edge between two curved surfaces.&lt;BR /&gt;
You have to create a small gap between them, with a different status code (15).&lt;BR /&gt;
&lt;BR /&gt;
Some exceptions, status code 128 for TUBE, TUBEA (AC12), and REVOLVE (AC13),&lt;BR /&gt;
allow to get rid of these additional points (and polygons), for cross section profile.&lt;BR /&gt;
&lt;BR /&gt;
This is a basic feature for any decent CAD/BIM software.&lt;BR /&gt;
Unfortunatly, progress are slow.&lt;BR /&gt;

&lt;PRE&gt;	toler 0.0002

	put  0.0450,   -0.0481, 15, 
		 0.0451,   -0.0481, 79, 
		 0.0416,   -0.0389, 900,  
		 0.0493,   -0.0329, 3000+79,
		 0.0653,   -0.0203, 900, 
		 0.0653,    0.0000, 3000+79,    
		 0.0854,   -0.0239, 3000+79,  
		 0.0853,   -0.0240, 15,    ! rough    
		 0.0854,   -0.0241, 79, 
		 0.0139,   -0.0625, 900, 
		 0.0854,   -0.1009, 3000+79,   
		 0.0853,   -0.1010, 15,    ! rough        
		 0.0854,   -0.1011, 79,
		 0.0653,   -0.1047, 900, 
		 0.0653,   -0.1250, 3000+79,  
		 0.0450,   -0.1047, 3000+79,
		 0.0450,   -0.0482, 79,
		 0.0450,   -0.0481, -1

	rotx 90
	prism_  nsp/3, rail_length, get(nsp)
	del 1
&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Feb 2011 20:48:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173515#M18141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-11T20:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Smoothing &amp; masking codes</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173516#M18142</link>
      <description>I have met a problem with GDL.I have downloaded a 3D toilet part from a manufacturer in 3D DXF format.&lt;BR /&gt;
The part opens and inserts into the drawings fine. I would like to get control of the facets or mesh created that make up the shape of the toilet to turn off the visible facets and only show the object profile in plan and elevation. Has anyone had success in bringing in complex mesh objects and simplifying their appearance for plan views and interior elevations?Thanks.&lt;A href="http://www.keepautomation.com/vbnet_barcode/code_128.html" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="http://www.keepautomation.com/vbnet_barcode/code_128.html" target="_blank"&gt;&lt;/A&gt;&lt;A href="http://www.keepautomation.com/vbnet_barcode/code_128.html" target="_blank"&gt;&lt;/A&gt;&lt;/S&gt;&lt;FONT color="#ffffff"&gt;generate code128 in vb.net&lt;/FONT&gt;&lt;E&gt;&lt;/E&gt;&lt;A href="http://www.keepautomation.com/code_128/" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="http://www.keepautomation.com/code_128/" target="_blank"&gt;&lt;/A&gt;&lt;A href="http://www.keepautomation.com/code_128/" target="_blank"&gt;&lt;/A&gt;&lt;/S&gt;&lt;FONT color="#ffffff"&gt;generate code128 in .net&lt;/FONT&gt;&lt;E&gt;&lt;/E&gt;</description>
      <pubDate>Wed, 24 Dec 2014 08:10:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173516#M18142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-24T08:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Smoothing &amp; masking codes</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173517#M18143</link>
      <description>Typical procedure:&lt;BR /&gt;
• Import the object&lt;BR /&gt;
• Convert to morph and follow the instructions here: &lt;A href="http://helpcenter.graphisoft.com/tips/removing-triangulation-from-imported-sketchup-cinema-4d-and-3d-studio-objects/" target="_blank"&gt;&lt;LINK_TEXT text="http://helpcenter.graphisoft.com/tips/r ... o-objects/"&gt;http://helpcenter.graphisoft.com/tips/removing-triangulation-from-imported-sketchup-cinema-4d-and-3d-studio-objects/&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
• Save as object</description>
      <pubDate>Wed, 24 Dec 2014 12:40:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Smoothing-amp-masking-codes/m-p/173517#M18143</guid>
      <dc:creator>Eduardo Rolon</dc:creator>
      <dc:date>2014-12-24T12:40:46Z</dc:date>
    </item>
  </channel>
</rss>

