We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2022-09-20 03:05 PM - last edited on 2023-07-04 02:16 PM by Doreena Deng
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:
-Rounded rectangle:
The problem as you can see, there is one corner that is not drawing the arc
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
Solved! Go to Solution.
2022-09-20 03:14 PM
Forgot to close the shape. Now everything works 🙂
2022-09-20 03:14 PM
Forgot to close the shape. Now everything works 🙂