<?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: Is it possible to define Pens in GDL? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225797#M5424</link>
    <description>It is 0-1 in all MacOS at least in early versions &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
anyway it is more accurate BTW: 256 points vs _the_accuracy_You_need  &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
Not that I like it...and in any script I use X/255 to get the GDL needed value while any soft would rather give 0..255.&lt;BR /&gt;
&lt;BR /&gt;
Best Regards,&lt;BR /&gt;
Piotr</description>
    <pubDate>Thu, 31 Aug 2017 19:39:06 GMT</pubDate>
    <dc:creator>Piotr Dobrowolski</dc:creator>
    <dc:date>2017-08-31T19:39:06Z</dc:date>
    <item>
      <title>Is it possible to define Pens in GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225793#M5420</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Is it possible to define Pens in GDL?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 31 Aug 2017 13:14:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225793#M5420</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2017-08-31T13:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to define Pens in GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225794#M5421</link>
      <description>&lt;BLOCKQUOTE&gt;JGoode wrote:&lt;BR /&gt;Is it possible to define Pens in GDL?&lt;/BLOCKQUOTE&gt;

No.&lt;BR /&gt;
You can only request a similar pen to a RGB color:
&lt;PRE&gt;REQUEST ("PEN_OF_RGB", colorInRGB, pen)&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Aug 2017 13:20:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225794#M5421</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2017-08-31T13:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to define Pens in GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225795#M5422</link>
      <description>&lt;BLOCKQUOTE&gt;runxel wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;JGoode wrote:&lt;BR /&gt;Is it possible to define Pens in GDL?&lt;/BLOCKQUOTE&gt;

No.&lt;BR /&gt;
You can only request a similar pen to a RGB color:
&lt;PRE&gt;REQUEST ("PEN_OF_RGB", colorInRGB, pen)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;

Do you have any example script of this? Thanks</description>
      <pubDate>Thu, 31 Aug 2017 13:26:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225795#M5422</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2017-08-31T13:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to define Pens in GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225796#M5423</link>
      <description>&lt;PRE&gt;rr = REQUEST("PEN_OF_RGB", "0 1 0.2", _greenishpen)
!!! color range 0 to 1  //  ＷＴＦ ＧＳ?

pen _greenishpen

set line_type   1
line2           0,0,5,0&lt;/PRE&gt;

Whoever did the 0 to 1 thing was clearly effing around.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_rolleyes.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 31 Aug 2017 16:36:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225796#M5423</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2017-08-31T16:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to define Pens in GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225797#M5424</link>
      <description>It is 0-1 in all MacOS at least in early versions &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
anyway it is more accurate BTW: 256 points vs _the_accuracy_You_need  &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
Not that I like it...and in any script I use X/255 to get the GDL needed value while any soft would rather give 0..255.&lt;BR /&gt;
&lt;BR /&gt;
Best Regards,&lt;BR /&gt;
Piotr</description>
      <pubDate>Thu, 31 Aug 2017 19:39:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225797#M5424</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2017-08-31T19:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to define Pens in GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225798#M5425</link>
      <description>&lt;BLOCKQUOTE&gt;Piotr wrote:&lt;BR /&gt;It is 0-1 in all MacOS at least in early versions &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
anyway it is more accurate BTW: 256 points vs _the_accuracy_You_need  &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
Not that I like it...and in any script I use X/255 to get the GDL needed value while any soft would rather give 0..255.&lt;BR /&gt;
&lt;BR /&gt;
Best Regards,&lt;BR /&gt;
Piotr&lt;/BLOCKQUOTE&gt;
I know Piotr, but the accuracy is not the point.   &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; &lt;BR /&gt;
It is about consistence and usability. &lt;BR /&gt;
The implemented way is just total madness! &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt; It's like cooking by receipt with imperial units but living in Europe.</description>
      <pubDate>Fri, 01 Sep 2017 08:15:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225798#M5425</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2017-09-01T08:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to define Pens in GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225799#M5426</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
Just to revisit this, how can I convert an RGB value into Graphisoft's 0-1 system?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Thu, 04 Oct 2018 10:05:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225799#M5426</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2018-10-04T10:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to define Pens in GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225800#M5427</link>
      <description>0 * 255 = 0 (black)&lt;BR /&gt;
1 * 255 = 255 (white)&lt;BR /&gt;
&amp;lt;&amp;lt; -- &amp;gt;&amp;gt;&lt;BR /&gt;
0 / 255 = 0&lt;BR /&gt;
255/255 = 1</description>
      <pubDate>Thu, 04 Oct 2018 14:15:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Is-it-possible-to-define-Pens-in-GDL/m-p/225800#M5427</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2018-10-04T14:15:06Z</dc:date>
    </item>
  </channel>
</rss>

