<?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 Set Solid Fill for Circle2 in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Set-Solid-Fill-for-Circle2/m-p/164510#M22064</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi,&lt;BR /&gt;
   I'm having trouble specifying a solid fill for a simple 2D Circle script.&lt;BR /&gt;
&lt;BR /&gt;
The code I'm using is:&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;PEN 1
SET FILL "Solid Fill"
CIRCLE2 0,0,0.03
&lt;/PRE&gt;

Unfortunately all I get is the outline of the circle - I'm hoping for it to be filled black, but from what I can tell, the only way to achieve that is by using POLY2_B?&lt;BR /&gt;
&lt;BR /&gt;
What am I doing wrong?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Derek&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 05 Jan 2010 17:03:41 GMT</pubDate>
    <dc:creator>derekjackson</dc:creator>
    <dc:date>2010-01-05T17:03:41Z</dc:date>
    <item>
      <title>Set Solid Fill for Circle2</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Set-Solid-Fill-for-Circle2/m-p/164510#M22064</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi,&lt;BR /&gt;
   I'm having trouble specifying a solid fill for a simple 2D Circle script.&lt;BR /&gt;
&lt;BR /&gt;
The code I'm using is:&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;PEN 1
SET FILL "Solid Fill"
CIRCLE2 0,0,0.03
&lt;/PRE&gt;

Unfortunately all I get is the outline of the circle - I'm hoping for it to be filled black, but from what I can tell, the only way to achieve that is by using POLY2_B?&lt;BR /&gt;
&lt;BR /&gt;
What am I doing wrong?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Derek&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Jan 2010 17:03:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Set-Solid-Fill-for-Circle2/m-p/164510#M22064</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2010-01-05T17:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Solid Fill for Circle2</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Set-Solid-Fill-for-Circle2/m-p/164511#M22065</link>
      <description>Circle2 only draws the outline of the circle.  You are correct in that you need to use POLY2_B command.&lt;BR /&gt;
&lt;BR /&gt;
Try this
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;PEN outline_pen_parameter
FILL fill_type_parameter

POLY2_B 2, 3, fill_pen_parameter, fill_background_pen_parameter,
0, 0, 900,
.03, 360, 4001
&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Jan 2010 17:13:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Set-Solid-Fill-for-Circle2/m-p/164511#M22065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-05T17:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Solid Fill for Circle2</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Set-Solid-Fill-for-Circle2/m-p/164512#M22066</link>
      <description>Thanks for that! Any chance you could quickly explain the 900 and 4001?&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
&lt;BR /&gt;
Derek</description>
      <pubDate>Tue, 05 Jan 2010 17:35:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Set-Solid-Fill-for-Circle2/m-p/164512#M22066</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2010-01-05T17:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set Solid Fill for Circle2</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Set-Solid-Fill-for-Circle2/m-p/164513#M22067</link>
      <description>Check out page 141 and onward in the GDL Reference Manual.&lt;BR /&gt;
&lt;BR /&gt;
They are status codes, where 900 defines the centerpoint of a Circle. 4000 has 2 variations, one is an arc using a centerpoint (defined by 900) and angle, and the other is a full circle using a centerpoint and radius.  The one used here is full circle. .03 deifnes the radius, 360 a full circle in degrees.</description>
      <pubDate>Tue, 05 Jan 2010 17:44:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Set-Solid-Fill-for-Circle2/m-p/164513#M22067</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-05T17:44:25Z</dc:date>
    </item>
  </channel>
</rss>

