We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

GDL
About building parametric objects with GDL.
SOLVED!

Prism_ hole not drawing final arc

jc4d
Expert

Hello,

I have a prism_ (rectangle) and another one that contains arcs on each corner (rounded rectangle).

If I draw each one separately in 3D is fine, the problem is when I want to use the rounded rectangle as a hole of the main rectangle.

-Simple rectangle:

jc4d_0-1663678706509.png

-Rounded rectangle:

jc4d_1-1663678762844.png

The problem as you can see, there is one corner that is not drawing the arc

jc4d_2-1663679029358.png

I have based the code from the GDL reference guide (not the actual code of my objects)

 

 

ROTX 90
PRISM_ 26, 1.2,
    0.3,   0,    15,
    0.3,   0.06, 15,
    0.27,  0.06, 15,
    0.27,  0.21, 15,
    0.25,  0.23, 15,
    -0.25, 0.23, 15,
    -0.27, 0.21, 15,
    -0.27, 0.06, 15,
    -0.3,  0.06, 15,
    -0.3,  0,    15,
    0.3,   0,    -1,    !End of contour
    0.10,  0.03, 15,
    0.24,  0.03, 15,
    0.24,  0.2,  15,
    0.10,  0.2,  15,
    0.10,  0.03, -1    !End of first hole

 

 

 

Juan

 

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
jc4d
Expert

Forgot to close the shape. Now everything works 🙂

View solution in original post

1 REPLY 1
Solution
jc4d
Expert

Forgot to close the shape. Now everything works 🙂