using offset to find locations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-01-26 09:56 PM
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)
this is my current use of put and get to draw a poly fill around the slab.
thanks in advance!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-01-28 07:52 PM
AC27 iMac i9, 32 gig Ram, 8 gig video Ram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-01-31 06:04 PM
Uri using an Extra's ( Accessory) Slab ......

UA have to redefine (circular functions) the ac_coords points into new points (angle based on the Previous , Your and Next point positions)
CU mirco
www.cad3d.it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-01-31 06:06 PM
I don't have an answer to your question but I have a question for you.
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???
Thanks,
Dan K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-01-31 09:36 PM
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:
crd_begend[
where
ac_coords[
where
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-02-01 04:03 AM
1) Previous Point.
2) Current/original Point.
3) Next Point.
These points are needed to determine the bisecting Angle so that u could obtain the new coordinate.
Peychich, have you ever thought of using "MUL" ? Pherhap this is easier!
Win 10, Archicad 19 INT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-02-01 04:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-02-02 11:30 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-02-04 06:22 PM
in my example I have divide the hole(s) code from the whole code.
There are 2 fills, in one there is the Offset control.
CU mirco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-02-06 06:13 AM
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.
Julia