<?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: Avoid unification of materials in GDL in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/664028#M7772</link>
    <description>&lt;P&gt;GLOB_VIEW_TYPE is used to control what is happening in a given view&lt;/P&gt;
&lt;P&gt;sense you are trying to control the section view you would use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF GLOB_VIEW_TYPE = 4&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't used Planes as Lingwisyer has suggested, he might be a&amp;nbsp;&lt;/P&gt;
&lt;P&gt;able to explain that better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 May 2025 22:06:59 GMT</pubDate>
    <dc:creator>Dave Seabury</dc:creator>
    <dc:date>2025-05-28T22:06:59Z</dc:date>
    <item>
      <title>Avoid unification of materials in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/663903#M7764</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Is it possible to prevent elements of the same material from being unified in the cut? I am developing a GDL object for carpentry, and I would like to avoid this unification. Here is an example image:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bancada.jpg" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/87309i77D26522296F1EA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bancada.jpg" alt="Bancada.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 01:41:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/663903#M7764</guid>
      <dc:creator>zunino</dc:creator>
      <dc:date>2025-05-28T01:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid unification of materials in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/663906#M7765</link>
      <description>&lt;P&gt;You might be able to cheese it with&amp;nbsp;&lt;STRONG&gt;Planes&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;which are only active when the&amp;nbsp;&lt;EM&gt;View&lt;/EM&gt; is a&amp;nbsp;&lt;EM&gt;Section&amp;nbsp;&lt;/EM&gt;using&amp;nbsp;&lt;STRONG&gt;GLOB_VIEW_TYPE&lt;/STRONG&gt;? So while the cabinetry will merge, you will have a cut line of your secondary material that you assigned to the plane.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ling.&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 03:32:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/663906#M7765</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2025-05-28T03:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid unification of materials in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/663911#M7766</link>
      <description>&lt;P&gt;Two ways I can think of to control it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One is to use SECT_FILL before each PRISM (or 3D shape) with the same but different fills.&lt;/P&gt;
&lt;P&gt;By that I mean you need similar fills as different attributes - i.e. empty fill, air space, 0%.&lt;/P&gt;
&lt;P&gt;The same fill but just duplicated with a different name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Two is to use BODY 4 after the 3D shape.&lt;/P&gt;
&lt;P&gt;This will force it to be a surface when the body is cut, but you lose the fill if that is important to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryKelly_0-1748411110688.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/87311i61A43A44DA2F4730/image-size/large?v=v2&amp;amp;px=999" role="button" title="BarryKelly_0-1748411110688.png" alt="BarryKelly_0-1748411110688.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 05:46:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/663911#M7766</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2025-05-28T05:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid unification of materials in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/664013#M7769</link>
      <description>&lt;P&gt;I get around this issue by setting up a loop, modeling the object first as SOLID and then as WIRE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;FOR m=1 TO 2
    IF m=1 THEN
        MODEL SOLID
    ENDIF
    IF m=2 THEN
        MODEL WIRE
    ENDIF
    "your script"
NEXT m
END&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 12:05:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/664013#M7769</guid>
      <dc:creator>Dave Seabury</dc:creator>
      <dc:date>2025-05-29T12:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid unification of materials in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/664025#M7771</link>
      <description>&lt;PRE&gt;&lt;SPAN class=""&gt;Thank you for your reply.

However, I am new to GDL, could you explain better what the code would be like using GLOB_VIEW_TYPE?&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 May 2025 21:18:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/664025#M7771</guid>
      <dc:creator>zunino</dc:creator>
      <dc:date>2025-05-28T21:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid unification of materials in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/664028#M7772</link>
      <description>&lt;P&gt;GLOB_VIEW_TYPE is used to control what is happening in a given view&lt;/P&gt;
&lt;P&gt;sense you are trying to control the section view you would use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF GLOB_VIEW_TYPE = 4&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't used Planes as Lingwisyer has suggested, he might be a&amp;nbsp;&lt;/P&gt;
&lt;P&gt;able to explain that better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 22:06:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/664028#M7772</guid>
      <dc:creator>Dave Seabury</dc:creator>
      <dc:date>2025-05-28T22:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid unification of materials in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/664031#M7773</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Solved. Your tip was perfect. I used SECT_FILL before each PRISM, with similar fills, but with different attributes. After understanding the dynamics of the command, it is easy to control the views in the cuts&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bancada1.jpg" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/87363i4B74B685620E8F5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bancada1.jpg" alt="bancada1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bancada2.jpg" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/87364i5D281AEFF828CCCC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bancada2.jpg" alt="bancada2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 12:06:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/664031#M7773</guid>
      <dc:creator>zunino</dc:creator>
      <dc:date>2025-05-29T12:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid unification of materials in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/664041#M7774</link>
      <description>&lt;P&gt;I have not tried it before, I would create a&amp;nbsp;&lt;STRONG&gt;Plane&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;with the material Air at each joint. The verticies can all just be copied from those of your panels. In that way, when you take a section of your cabinetry, while the timber may get merged due to a common&amp;nbsp;&lt;STRONG&gt;SECT_FILL&amp;nbsp;&lt;/STRONG&gt;or&lt;STRONG&gt; MATERIAL&lt;/STRONG&gt;, you should still get a cut line for the&amp;nbsp;&lt;STRONG&gt;Plane&lt;/STRONG&gt;. Ideally you would include a&amp;nbsp;&lt;STRONG&gt;GLOB_VIEW_TYPE&lt;/STRONG&gt; before you generate these planes so that they are not drawn on 3D as intersecting faces often creates odd artifacts which may impact performance in addition to the increased poly count.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;SECT_FILL&lt;/STRONG&gt; solution, could you&amp;nbsp;&lt;STRONG&gt;DEFINE&lt;/STRONG&gt; the duplicate fills in-script to avoid filling your template with junk?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ling.&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 01:47:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Avoid-unification-of-materials-in-GDL/m-p/664041#M7774</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2025-05-29T01:47:37Z</dc:date>
    </item>
  </channel>
</rss>

