Poly2_ how to make a hole?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2013-11-13 01:48 PM
‎2013-11-13
01:48 PM
Can some one point me in the right direction thx
botlh = -frmsz+frmsz !Bottom Left
botlh = -frmsz+frmsz !Bottom Left
botrh = a+frmsz-frmsz !Bottom Right
botvt = -strucszbot !Bottom ht
topvt = b+frmsz-frmsz !Top ht
holbotlh = openstile-openbead
holbotrh = openwidth+openstile+openbead
holbotvt = opencill-openbead
holtopvt = b-openlintol+openbead
POLY2_B 10, leaffil,filpen,filbkgdpen,
botlh, botvt, 0, !1
botrh, botvt, 0, !2
holbotlh, holbotvt, 0, !3
holbotrh, holbotvt, 0, !4
holbotrh, holtopvt, 0, !5
holbotlh, holtopvt, 0, !6
holbotlh, holbotvt, 0, !7
botrh, topvt, 0, !8
botlh, topvt, 0, !9
botlh, botvt, -1 !10

AC versions 3.41 to 25 (UKI Full 5005).
Using AC25 5005 UKI FULL
Mac OSX 10.15.7 (19G2021) Mac Pro-2013 32gbRam AMD FirePro D500 3072 MB graphics
Using AC25 5005 UKI FULL
Mac OSX 10.15.7 (19G2021) Mac Pro-2013 32gbRam AMD FirePro D500 3072 MB graphics
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2013-11-13 01:59 PM
‎2013-11-13
01:59 PM
Tweaked it but not quite there. Looks like I need to add a node or something...

AC versions 3.41 to 25 (UKI Full 5005).
Using AC25 5005 UKI FULL
Mac OSX 10.15.7 (19G2021) Mac Pro-2013 32gbRam AMD FirePro D500 3072 MB graphics
Using AC25 5005 UKI FULL
Mac OSX 10.15.7 (19G2021) Mac Pro-2013 32gbRam AMD FirePro D500 3072 MB graphics

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2013-11-13 02:20 PM
‎2013-11-13
02:20 PM
fuzzytnth3:
1. botlh = -frmsz+frmsz !Bottom Left
This equals zero.
2. To create a polygon with a hole, first delineate the perimeter, then return to the first point of the perimeter with a -1 status code, this tells ArchiCAD that the perimeter is finished and a hole is about to start. Then delineate the hole, again returning to the first point of the hole with a -1 status code to let ArchiCAD know that the hole is done (and another hole could be started).
David
1. botlh = -frmsz+frmsz !Bottom Left
This equals zero.
2. To create a polygon with a hole, first delineate the perimeter, then return to the first point of the perimeter with a -1 status code, this tells ArchiCAD that the perimeter is finished and a hole is about to start. Then delineate the hole, again returning to the first point of the hole with a -1 status code to let ArchiCAD know that the hole is done (and another hole could be started).
David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2013-11-13 02:44 PM
‎2013-11-13
02:44 PM
Thanks for that. I made a an object of a fill with a hole in it and managed to suss what it was doing.
Re. 1) botlh I started off with a different way of calculating it which involved other parameters and somehow those two got left in
Right I'm off I shall tidy up my mess
Re. 1) botlh I started off with a different way of calculating it which involved other parameters and somehow those two got left in

Right I'm off I shall tidy up my mess
AC versions 3.41 to 25 (UKI Full 5005).
Using AC25 5005 UKI FULL
Mac OSX 10.15.7 (19G2021) Mac Pro-2013 32gbRam AMD FirePro D500 3072 MB graphics
Using AC25 5005 UKI FULL
Mac OSX 10.15.7 (19G2021) Mac Pro-2013 32gbRam AMD FirePro D500 3072 MB graphics