cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The 2025 Technology Preview Program is now live. Join today!

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

rotated wallhole

Anonymous
Not applicable
I created a rotated wallhole like in the image below whit this GDL script:

WALLHOLE 5,1,
0,0,15,
0.148,0.26,15,
0.122,0.174,15,
-0.26,0.148,15,
0,0,-1


but it dosen't work

Please help me to make it work, or another method to make another whit
parametric rotation angle.

Thanks a lot

wallhole.jpg
3 REPLIES 3
Jochen Suehlo
Moderator
Your definition of the corner points is not correct.
If you build a PRISM_ with your script, you'll get an error.

Correct it or try this:

alfa=30

ROTz alfa

WALLHOLE 5,1,

-a/2,0,15,
a/2,0,15,
a/2,b,15,
-a/2,b,15,
-a/2,0,-1

Joachim
Jochen Suehlo . AC12-28 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
Anonymous
Not applicable
Thank's for your help
Anonymous
Not applicable
If you want the wallhole coincide with the 2D symbol,
you have to contain it into A & B dimensions.

ang=MIN(MAX(0,ang),90) ! Master script
PARAMETERS ang=ang

x=A/(1+TAN(ang)) ! 3D script
y=B/(1+TAN(ang))

WALLHOLE 4,1,
A/2-x , B , 7,
A/2 , y , 7,
-A/2+x, 0 , 7,
-A/2 , B-y, 7