<?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: Making parametric 2D objects with GDL in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Making-parametric-2D-objects-with-GDL/m-p/636737#M7841</link>
    <description>&lt;P&gt;You need to learn how to script in GDL.&lt;/P&gt;
&lt;P&gt;Use parameters for your various lengths, widths and heights.&lt;/P&gt;
&lt;P&gt;Then instead of scripting a fixed size line (LINE2 0,0 3,0) you would use the parameters in the command.&lt;/P&gt;
&lt;P&gt;i.e. this will give you an adjustable cabinet (box made of lines - you could also just use RECT2)&lt;/P&gt;
&lt;P&gt;LINE2 0,0,cabinet_length,0&lt;/P&gt;
&lt;P&gt;LINE2 cabinet_length,0,cabinet_length,cabinet_depth&lt;/P&gt;
&lt;P&gt;LINE2 cabinet_length,cabinet_depth,0,cabinet_depth&lt;/P&gt;
&lt;P&gt;LINE2 0,cabinet_depth,0,0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;RECT2 0,0,cabinet_length,cabinet_depth&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is much more involved though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2024 01:14:24 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2024-10-23T01:14:24Z</dc:date>
    <item>
      <title>Making parametric 2D objects with GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Making-parametric-2D-objects-with-GDL/m-p/636149#M7838</link>
      <description>&lt;P&gt;I am currently working on creating a library of objects for my office. I have had success creating customizable 2D objects with certain parameters and options such as different views and elements that can be turned on and off (e.g. a sink with the option of showing/hiding the pedestal, or a bed with headboard and footboard that can be turned off). So far, though, I am limited to objects with fixed dimensions and want to create objects that can stretch and be more customizable. For example, I can create an object like a bed, which has a number of set standard sizes, and toggle between these sizes as options in the settings. However, I want to create an object like a couch which can be stretched to custom sizes without the arms being distorted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Essentially, how can I make specific lines stretch without distorting other lines in a 2D object?&lt;/P&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;</description>
      <pubDate>Sun, 13 Jul 2025 15:56:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Making-parametric-2D-objects-with-GDL/m-p/636149#M7838</guid>
      <dc:creator>Reilly</dc:creator>
      <dc:date>2025-07-13T15:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Making parametric 2D objects with GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Making-parametric-2D-objects-with-GDL/m-p/636155#M7839</link>
      <description>&lt;P&gt;There are some great tutorials about this on barking dog bim:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/@BarkingDogBIM/videos" target="_blank"&gt;https://www.youtube.com/@BarkingDogBIM/videos&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 20:14:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Making-parametric-2D-objects-with-GDL/m-p/636155#M7839</guid>
      <dc:creator>cuba</dc:creator>
      <dc:date>2024-10-17T20:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Making parametric 2D objects with GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Making-parametric-2D-objects-with-GDL/m-p/636710#M7840</link>
      <description>&lt;P&gt;I have been going through his tutorials but I haven't found a quick answer to this specific question yet. I'm sure it will come up but I figured it couldn't hurt to ask here in case someone has experience with this.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 21:32:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Making-parametric-2D-objects-with-GDL/m-p/636710#M7840</guid>
      <dc:creator>Reilly</dc:creator>
      <dc:date>2024-10-22T21:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Making parametric 2D objects with GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Making-parametric-2D-objects-with-GDL/m-p/636737#M7841</link>
      <description>&lt;P&gt;You need to learn how to script in GDL.&lt;/P&gt;
&lt;P&gt;Use parameters for your various lengths, widths and heights.&lt;/P&gt;
&lt;P&gt;Then instead of scripting a fixed size line (LINE2 0,0 3,0) you would use the parameters in the command.&lt;/P&gt;
&lt;P&gt;i.e. this will give you an adjustable cabinet (box made of lines - you could also just use RECT2)&lt;/P&gt;
&lt;P&gt;LINE2 0,0,cabinet_length,0&lt;/P&gt;
&lt;P&gt;LINE2 cabinet_length,0,cabinet_length,cabinet_depth&lt;/P&gt;
&lt;P&gt;LINE2 cabinet_length,cabinet_depth,0,cabinet_depth&lt;/P&gt;
&lt;P&gt;LINE2 0,cabinet_depth,0,0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;RECT2 0,0,cabinet_length,cabinet_depth&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is much more involved though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 01:14:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Making-parametric-2D-objects-with-GDL/m-p/636737#M7841</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2024-10-23T01:14:24Z</dc:date>
    </item>
  </channel>
</rss>

