<?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: using offset to find locations in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102845#M39334</link>
    <description>Dear Mat(thew),&lt;BR /&gt;
in my example I have divide the hole(s) code from the whole code.&lt;BR /&gt;
&lt;BR /&gt;
There are 2 fills, in one there is the Offset control.&lt;BR /&gt;
&lt;BR /&gt;
CU mirco</description>
    <pubDate>Fri, 04 Feb 2005 17:22:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-02-04T17:22:35Z</dc:date>
    <item>
      <title>using offset to find locations</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102837#M39326</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;i am working on a coding project where i am taking a slab, drawing a fill around its perimeter and a variable distance offseted.  i am currently using put and get to hold my outside variables, but cannot seem to be able to use something like "put offset=xxx"  so my question is, can you take an existing slab and get its offseted point's coordinates?  &lt;BR /&gt;
 
&lt;PRE&gt;	put 0'-0.0000", 0'-0.0000", 0'-0.0000" 
 
	for point_id=1 to crd_begend[1][2] 
		put ac_coords[point_id][2],ac_coords[point_id][3],1 
	next point_id 
 
 
	fill gs_fill_type 
	poly2_b	crd_begend[1][2]+1, 3, gs_fill_pen, gs_back_pen, 
			get(nsp)&lt;/PRE&gt; &lt;BR /&gt;
 &lt;BR /&gt;
this is my current use of put and get to draw a poly fill around the slab.   &lt;BR /&gt;
 &lt;BR /&gt;
thanks in advance!&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Jan 2005 20:56:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102837#M39326</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-01-26T20:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: using offset to find locations</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102838#M39327</link>
      <description>Any Help? We are trying in GDL to draw a fill with a hole in it offset from another element. Namely a Slab. Getting the first fill is do-able but getting the hole offset an equal distance all the way around seems to be the challange we are having.</description>
      <pubDate>Fri, 28 Jan 2005 18:52:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102838#M39327</guid>
      <dc:creator>David Pacifico</dc:creator>
      <dc:date>2005-01-28T18:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: using offset to find locations</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102839#M39328</link>
      <description>If UA hr using an "ac_coords[][]" &lt;BR /&gt;
Uri using an Extra's ( Accessory) Slab ......  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
UA have to redefine (circular functions) the ac_coords points  into new points (angle based on the Previous , Your and  Next point positions) &lt;BR /&gt;
&lt;BR /&gt;
CU mirco&lt;BR /&gt;
&lt;A href="http://www.cad3d.it" target="_blank"&gt;www.cad3d.it&lt;/A&gt;</description>
      <pubDate>Mon, 31 Jan 2005 17:04:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102839#M39328</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-01-31T17:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: using offset to find locations</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102840#M39329</link>
      <description>David and Matthew&lt;BR /&gt;
I don't have an answer to your question but I have a question for you.&lt;BR /&gt;
Where are you getting the array syntax you're using??? Specifically  the "crd_begend[1][2]" and the "ac_coords[point_id][2]" statements. Are the variables for your array names global variables???&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Dan K</description>
      <pubDate>Mon, 31 Jan 2005 17:06:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102840#M39329</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-01-31T17:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: using offset to find locations</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102841#M39330</link>
      <description>CU mirco: thank you.  i will play with that and see how it turns out. &lt;BR /&gt;
 &lt;BR /&gt;
Dan, like mirco said, these arrays are from the extras slab accessory.  the syntax for these from what i have been able to find are: &lt;BR /&gt;
 &lt;BR /&gt;
crd_begend[ &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;poly_id&lt;E&gt;&lt;/E&gt; ][ &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;num1&lt;E&gt;&lt;/E&gt; ] &lt;BR /&gt;
 &lt;BR /&gt;
where &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;poly_id&lt;E&gt;&lt;/E&gt; is the current drawing shape. and &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;num1&lt;E&gt;&lt;/E&gt; being a 1 or 2 to state the beginning and ending &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;point_id&lt;E&gt;&lt;/E&gt; &lt;BR /&gt;
 &lt;BR /&gt;
ac_coords[ &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;point_id&lt;E&gt;&lt;/E&gt; ][ &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;num2&lt;E&gt;&lt;/E&gt; ] &lt;BR /&gt;
 &lt;BR /&gt;
where &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;point_id&lt;E&gt;&lt;/E&gt; states for which point you are asking the coordinates for and &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;num2&lt;E&gt;&lt;/E&gt; being the coordinate values.  1 i am assuming would be a z-value which i have no need for and am not sure on.  2 is your x-value, and 3 is your y-value.</description>
      <pubDate>Mon, 31 Jan 2005 20:36:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102841#M39330</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-01-31T20:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: using offset to find locations</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102842#M39331</link>
      <description>To offset every coordinate, you will need 3 ponits:&lt;BR /&gt;
1) Previous Point.&lt;BR /&gt;
2) Current/original Point.&lt;BR /&gt;
3) Next Point.&lt;BR /&gt;
&lt;BR /&gt;
These points are needed to determine the bisecting Angle so that u could obtain the new coordinate.&lt;BR /&gt;
&lt;BR /&gt;
Peychich, have you ever thought of using "MUL" ? Pherhap this is easier!</description>
      <pubDate>Tue, 01 Feb 2005 03:03:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102842#M39331</guid>
      <dc:creator>LiHigh</dc:creator>
      <dc:date>2005-02-01T03:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: using offset to find locations</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102843#M39332</link>
      <description>This is an example &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
CU mirco sorgato&lt;BR /&gt;
&lt;A href="http://www.3Dsmile.it" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="http://www.3Dsmile.it" target="_blank"&gt;&lt;/A&gt;&lt;A href="&amp;lt;/s&amp;gt;http://www.3Dsmile.it&amp;lt;e&amp;gt;"&gt;&lt;/A&gt;&lt;/S&gt;http://www.3Dsmile.it&lt;E&gt;&lt;/E&gt;</description>
      <pubDate>Tue, 01 Feb 2005 15:02:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102843#M39332</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-02-01T15:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: using offset to find locations</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102844#M39333</link>
      <description>mirco &lt;BR /&gt;
that is only partially what is needed.  you have 2 separate fills which are overlapping.  what i'm trying to get is a single fill that makes one round following the slab outlines and then continues to draw with the same poly command the offset coordinates.  this will make a fill with a whole in the center that is offset x distance.</description>
      <pubDate>Wed, 02 Feb 2005 22:30:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102844#M39333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-02-02T22:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: using offset to find locations</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102845#M39334</link>
      <description>Dear Mat(thew),&lt;BR /&gt;
in my example I have divide the hole(s) code from the whole code.&lt;BR /&gt;
&lt;BR /&gt;
There are 2 fills, in one there is the Offset control.&lt;BR /&gt;
&lt;BR /&gt;
CU mirco</description>
      <pubDate>Fri, 04 Feb 2005 17:22:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102845#M39334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-02-04T17:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: using offset to find locations</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102846#M39335</link>
      <description>I don't know if this will work it is only a thought. &lt;BR /&gt;
 &lt;BR /&gt;
Can you have a loop which grabs the coords and assigns them to a temp parameter, adds your offset then places them into a put/get.  You would need an if statement looking at the current coord and the last one to determine which way it is going so it knows to + or - on x or y.  You would also need a tick box to tell it if it was drawn clockwise or anticlockwise.  Kinda complicated but it might work. &lt;BR /&gt;
 &lt;BR /&gt;
Julia</description>
      <pubDate>Sun, 06 Feb 2005 05:13:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/using-offset-to-find-locations/m-p/102846#M39335</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-02-06T05:13:57Z</dc:date>
    </item>
  </channel>
</rss>

