<?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: GDL Geometry Intersection in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629878#M6971</link>
    <description>&lt;P&gt;Have you tried using&amp;nbsp;&lt;STRONG&gt;SUBGROUP&lt;/STRONG&gt;? Subtract your bottom from your box, then place the result together with the bottom. Though it you are needing this sort of detail, I feel like you should be modelling the sides separate from the front and back or your drawer...&lt;/P&gt;</description>
    <pubDate>Thu, 05 Sep 2024 01:16:36 GMT</pubDate>
    <dc:creator>Lingwisyer</dc:creator>
    <dc:date>2024-09-05T01:16:36Z</dc:date>
    <item>
      <title>GDL Geometry Intersection</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629859#M6970</link>
      <description>&lt;P&gt;Hi there:&lt;/P&gt;
&lt;P&gt;I'm creating a GDL drawer object for detaioed millwork drawings. I'm a complete noob to GDL scripting.&lt;/P&gt;
&lt;P&gt;Having trouble with creating a clean intersection for the dado at the drawer bottom/drawer side intersection. See attached image.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any hints?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code looks like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;! Drawer Sides
building_material box_building_material
PRISM_ 10, ZZYZX,
0, 0, 15,
A, 0, 15,
A, B, 15,
0, B, 15,
0, 0, -1,

box_material_thickness, box_material_thickness, 15,
A-box_material_thickness, box_material_thickness, 15,
A-box_material_thickness, B-box_material_thickness, 15,
box_material_thickness, B-box_material_thickness, 15,
box_material_thickness, box_material_thickness, -1


! Drawer Bottom
building_material bottom_building_material
ADDZ bottom_location
PRISM_ 4, bottom_material_thickness,
0+box_material_thickness-bottom_dado_thickness, 0+box_material_thickness-bottom_dado_thickness, 15,
A-box_material_thickness+bottom_dado_thickness, 0+box_material_thickness-bottom_dado_thickness, 15,
A-box_material_thickness+bottom_dado_thickness, B-box_material_thickness+bottom_dado_thickness, 15,
0+box_material_thickness-bottom_dado_thickness, B-box_material_thickness+bottom_dado_thickness, 15&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Mac Apple Silicon &lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image 9-4-24 at 6.06 PM.jpg" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/76020i27E6A1CA2602BEDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image 9-4-24 at 6.06 PM.jpg" alt="Image 9-4-24 at 6.06 PM.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2024 12:37:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629859#M6970</guid>
      <dc:creator>Pink Projects</dc:creator>
      <dc:date>2024-09-08T12:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Geometry Intersection</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629878#M6971</link>
      <description>&lt;P&gt;Have you tried using&amp;nbsp;&lt;STRONG&gt;SUBGROUP&lt;/STRONG&gt;? Subtract your bottom from your box, then place the result together with the bottom. Though it you are needing this sort of detail, I feel like you should be modelling the sides separate from the front and back or your drawer...&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 01:16:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629878#M6971</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2024-09-05T01:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Geometry Intersection</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629879#M6972</link>
      <description>&lt;P&gt;Hmm, have not explore that. Will dig in to the referene guide. Any tips in the meantime?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 01:22:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629879#M6972</guid>
      <dc:creator>Pink Projects</dc:creator>
      <dc:date>2024-09-05T01:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Geometry Intersection</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629887#M6973</link>
      <description>&lt;P&gt;It is pretty easy to use. You just need to define groups as you go.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;GROUP "Drawer Box"
...
endGROUP

GROUP "Drawer Bottom"
...
endGROUP

Drawer_Sides = SUBGROUP ("Drawer Box", "Drawer Bottom")

PLACEGROUP Drawer_Sides
PLACEGROUP "Drawer Bottom"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is also an option to define a material to a group if need be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ling.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 02:18:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629887#M6973</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2024-09-05T02:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Geometry Intersection</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629890#M6974</link>
      <description>&lt;P&gt;Another way to do it is to create a CUTPOLYA or CUTSHAPE that is the same size and position as the base.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Script the CUTPOLYA.&lt;/P&gt;
&lt;P&gt;Then script the drawer sides (box).&lt;/P&gt;
&lt;P&gt;Then CUTEND&lt;/P&gt;
&lt;P&gt;Then script the base.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using GROUPS basically does that for you.&lt;/P&gt;
&lt;P&gt;As Ling suggested, a group for the box.&lt;/P&gt;
&lt;P&gt;A group for the base&lt;/P&gt;
&lt;P&gt;Subtract the base from the box and place the result.&lt;/P&gt;
&lt;P&gt;Then place the base to fill the base you used as the cut (subtract).&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>Thu, 05 Sep 2024 03:05:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629890#M6974</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2024-09-05T03:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Geometry Intersection</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629905#M6975</link>
      <description>&lt;P&gt;Doesn't CUTPOLY use infinite / half infinite extrusions so it would cut out the sides of the box? Though if the OP did the drawer front separately, that could work. Maybe one of the other CUT commands, but then you are defining the base shape twice, which if you do not need to model tolerances would be a waste. CUTPOLY would be good if you do a box with a drop-in base though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ling.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 07:36:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629905#M6975</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2024-09-05T07:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Geometry Intersection</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629907#M6976</link>
      <description>&lt;P&gt;I think you can control the length of the half infinite tube, or maybe that is the distance that the half infinite tube starts above the origin, which i think is what it might be.&lt;/P&gt;
&lt;P&gt;I think cut shape ma be the same now I read then manual again.&lt;/P&gt;
&lt;P&gt;CUTFORM I believe gives you total control&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But grouping is the easier way to cut one portion from another.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 07:43:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629907#M6976</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2024-09-05T07:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Geometry Intersection</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629971#M6977</link>
      <description>&lt;P&gt;Awesomeness. This worked perfectly. Thanks so much for the hand-holding &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 12:35:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Geometry-Intersection/m-p/629971#M6977</guid>
      <dc:creator>Pink Projects</dc:creator>
      <dc:date>2024-09-05T12:35:24Z</dc:date>
    </item>
  </channel>
</rss>

