BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Poly2_ how to make a hole?

fuzzytnth3
Booster
I'm trying to create a fill that has a hole but I'm getting a somewhat garbled result. I've had a look at the manual and the Cookbook but I can't see any advice on what sequence you should describe the polygon shape and in particular the hole.

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
3 REPLIES 3
fuzzytnth3
Booster
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
David Maudlin
Virtuoso
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
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
fuzzytnth3
Booster
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
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
Learn and get certified!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!