<?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 Betreff: Define Symbol_Fill in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Define-Symbol-Fill/m-p/658890#M7583</link>
    <description>&lt;P&gt;I am working on a 3d hatch, which will represent suspended ceiling. Easiest way to make 2d Symbol from 3d Script is Project2. But is too slow for bigger areas. I know about global attribute problem, but I think this is a negligibe problem compared to speed.&lt;/P&gt;&lt;P&gt;Code for Symbol Fill is copied from Manual and return no errors. But it doesn't work. When I define Filla everythink is OK.&lt;/P&gt;&lt;P&gt;I use cutpoly command to cut everything outside of my polgon. Is there a way to use "some kind" of cutpoly in 2D?&lt;/P&gt;</description>
    <pubDate>Thu, 10 Apr 2025 05:28:03 GMT</pubDate>
    <dc:creator>Joze Marinko</dc:creator>
    <dc:date>2025-04-10T05:28:03Z</dc:date>
    <item>
      <title>Define Symbol_Fill</title>
      <link>https://community.graphisoft.com/t5/GDL/Define-Symbol-Fill/m-p/658840#M7580</link>
      <description>&lt;P&gt;I don't know how to define Symbol fill within GDL. Please give me an example.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 19:25:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Define-Symbol-Fill/m-p/658840#M7580</guid>
      <dc:creator>Joze Marinko</dc:creator>
      <dc:date>2025-04-09T19:25:33Z</dc:date>
    </item>
    <item>
      <title>Betreff: Define Symbol_Fill</title>
      <link>https://community.graphisoft.com/t5/GDL/Define-Symbol-Fill/m-p/658841#M7581</link>
      <description>&lt;P&gt;That's a very &lt;A href="https://www.selfgdl.de/attribute/schraffuren/define_fill/" target="_blank" rel="noopener"&gt;complex task&lt;/A&gt;. I wonder why you want to do that tho?! Your new fill will be a global new attribute and pollute your file to eternity &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I personally would refrain from doing it honestly.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 20:14:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Define-Symbol-Fill/m-p/658841#M7581</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2025-04-09T20:14:14Z</dc:date>
    </item>
    <item>
      <title>Betreff: Define Symbol_Fill</title>
      <link>https://community.graphisoft.com/t5/GDL/Define-Symbol-Fill/m-p/658890#M7583</link>
      <description>&lt;P&gt;I am working on a 3d hatch, which will represent suspended ceiling. Easiest way to make 2d Symbol from 3d Script is Project2. But is too slow for bigger areas. I know about global attribute problem, but I think this is a negligibe problem compared to speed.&lt;/P&gt;&lt;P&gt;Code for Symbol Fill is copied from Manual and return no errors. But it doesn't work. When I define Filla everythink is OK.&lt;/P&gt;&lt;P&gt;I use cutpoly command to cut everything outside of my polgon. Is there a way to use "some kind" of cutpoly in 2D?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 05:28:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Define-Symbol-Fill/m-p/658890#M7583</guid>
      <dc:creator>Joze Marinko</dc:creator>
      <dc:date>2025-04-10T05:28:03Z</dc:date>
    </item>
    <item>
      <title>Betreff: Define Symbol_Fill</title>
      <link>https://community.graphisoft.com/t5/GDL/Define-Symbol-Fill/m-p/658896#M7584</link>
      <description>&lt;P&gt;That is funny. &lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I just finished creating a roof accessory for a fibre-cement ceiling panel, and ended up defining my own symbol fill as well (although I really didn't want to because of the forced attribute creation).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my symbol fill definition ...&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;gamma=0
spacingx1 = (tile_length+space_x)*2
spacingx2 = 0
spacingy1 = 0
spacingy2 = (tile_depth+space_y)*2
ac_pitch = 0

file_dependence "brick pattern - stack bond"

DEFINE SYMBOL_FILL	"Stack bond"    8,  28,  42,  73, 255,  74,  44,  24,
	spacingx1,     spacingx2,     spacingy1, spacingy2,      gamma,
	tile_length/3.00, tile_depth*cos(ac_pitch)/1.2,
	"brick pattern - stack bond" PARAMETERS tile_length = tile_length, tile_depth = tile_depth, space_x = space_x, space_y = space_y
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need an object (macro) with a 'Fill Definition' sub-type which I have attached here - basically a pattern file.&lt;/P&gt;
&lt;P&gt;Mine are quite large panels - 3000mm x 1200mm, so the default size in this file is for that size.&lt;/P&gt;
&lt;P&gt;That is why in the&amp;nbsp; symbol fill definition, you will see the length /3.00 and depth/1.2 - just change this figures to suit the panel size you set in the pattern file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My pattern file also has a space between the panels which you may want to use or just set the spacing to zero.&lt;/P&gt;
&lt;P&gt;And as mine was a roof accessory, it used the roof pitch, which I have set to zero in the above code.&lt;/P&gt;
&lt;P&gt;You could remove 'ac_pitch' part of code completely as you won't need it for a flat ceiling.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now you can apply that fill to the polygon you place in your object.&lt;/P&gt;
&lt;P&gt;And if you use a POLY2_B[2} command, you can even add parameters to adjust the start position (origin) of the fill.&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-1744265463925.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/85733iDC7A4F2262A192B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="BarryKelly_0-1744265463925.png" alt="BarryKelly_0-1744265463925.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 06:11:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Define-Symbol-Fill/m-p/658896#M7584</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2025-04-10T06:11:55Z</dc:date>
    </item>
    <item>
      <title>Betreff: Define Symbol_Fill</title>
      <link>https://community.graphisoft.com/t5/GDL/Define-Symbol-Fill/m-p/658900#M7585</link>
      <description>&lt;P&gt;Thanks Barry. The key is macro with Fill Definition subtype. In my case I must prepare two Library Parts: one for 3d model and other for 2d - and this one with coding. It is simple for me but not for other members in the office. But for now I accept this Solution&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 06:44:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Define-Symbol-Fill/m-p/658900#M7585</guid>
      <dc:creator>Joze Marinko</dc:creator>
      <dc:date>2025-04-10T06:44:03Z</dc:date>
    </item>
  </channel>
</rss>

