We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2024-05-01 07:02 AM - last edited on 2024-09-26 01:07 PM by Doreena Deng
I'm trying again to understand if there is a better method to export geometry from Archicad in GDl.
The general problem is for slab with rounded edges. I would like to have the possibilities to control the resolution in 3d.
If you export a slab in GDL 2d The code recognize the rounded edges:
poly2_b{5} 17, 1, 0, 3, 1, 0,
0, 0, 1, 0, 0, 1, 0,
0.1, 0, 1,
0.4, 0, 1,
0.4, 0.1, 900,
0, 90, 4001,
0.5, 0.1, 1,
0.5, 0.8, 1,
0.4, 0.8, 900,
0, 90, 4001,
0.4, 0.9, 1,
0.1, 0.9, 1,
0.1, 0.8, 900,
0, 90, 4001,
0, 0.8, 1,
0, 0.1, 1,
0.1, 0.1, 900,
0, 90, 4001,
0.1, 0, 1
If you export a slab in GDL 3d the code doesn't recognize the rounded edges:
cprism_{4} bms_7, bms_7, bms_7, 7,
45, 0.3,
0.1, 0, 0, 79, bms_7,
0.4, 0, 0, 79, bms_7,
0.4087488663526, 0, 0, 79, bms_7,
0.4259807691808, 0.003038449397558, 0, 79, bms_7,
0.4424232594843, 0.00902302644526, 0, 79, bms_7,
0.4575767405157, 0.01777189279785, 0, 79, bms_7,
0.4709807814216, 0.02901921857835, 0, 79, bms_7,
0.4822281072021, 0.04242325948434, 0, 79, bms_7,
0.4909769735547, 0.05757674051566, 0, 79, bms_7,
0.4969615506024, 0.07401923081921, 0, 79, bms_7,
0.5, 0.09125113364741, 0, 79, bms_7,
0.5, 0.1, 0, 79, bms_7,
0.5, 0.8, 0, 79, bms_7,
0.5, 0.8087488663526, 0, 79, bms_7,
0.4969615506024, 0.8259807691808, 0, 79, bms_7,
0.4909769735547, 0.8424232594843, 0, 79, bms_7,
0.4822281072021, 0.8575767405157, 0, 79, bms_7,
0.4709807814216, 0.8709807814216, 0, 79, bms_7,
0.4575767405157, 0.8822281072021, 0, 79, bms_7,
0.4424232594843, 0.8909769735547, 0, 79, bms_7,
0.4259807691808, 0.8969615506024, 0, 79, bms_7,
0.4087488663526, 0.9, 0, 79, bms_7,
0.4, 0.9, 0, 79, bms_7,
0.1, 0.9, 0, 79, bms_7,
0.09125113364741, 0.9, 0, 79, bms_7,
0.07401923081921, 0.8969615506024, 0, 79, bms_7,
0.05757674051566, 0.8909769735547, 0, 79, bms_7,
0.04242325948434, 0.8822281072021, 0, 79, bms_7,
0.02901921857835, 0.8709807814216, 0, 79, bms_7,
0.01777189279785, 0.8575767405157, 0, 79, bms_7,
0.00902302644526, 0.8424232594843, 0, 79, bms_7,
0.003038449397559, 0.8259807691808, 0, 79, bms_7,
1.249000902703E-16, 0.8087488663526, 0, 79, bms_7,
0, 0.8, 0, 79, bms_7,
0, 0.1, 0, 79, bms_7,
2.478352131547E-18, 0.09125113364741, 0, 79, bms_7,
0.003038449397558, 0.07401923081921, 0, 79, bms_7,
0.00902302644526, 0.05757674051566, 0, 79, bms_7,
0.01777189279785, 0.04242325948434, 0, 79, bms_7,
0.02901921857835, 0.02901921857835, 0, 79, bms_7,
0.04242325948434, 0.01777189279785, 0, 79, bms_7,
0.05757674051566, 0.00902302644526, 0, 79, bms_7,
0.07401923081921, 0.003038449397558, 0, 79, bms_7,
0.09125113364741, 0, 0, 79, bms_7,
0.1, 0, 0, -1, bms_7
Anybody have found a method to solve this issue?
Another issue is the possibility to create vertical slab and con vert them
Solved! Go to Solution.
2024-05-01 07:17 AM
You have no control how Archicad converts elements to the 3D script.
However, you could use the co-ordinates from the 2D script in a PRISM_ command in the 3D script.
Just add '15+64' for the masking values.
prism_ 17, 1,
0.1, 0, 15+64,
0.4, 0, 15+64,
0.4, 0.1, 900,
0, 90, 4015+64,
0.5, 0.1, 15+64,
0.5, 0.8, 15+64,
0.4, 0.8, 900,
0, 90, 4015+64,
0.4, 0.9, 15+64,
0.1, 0.9, 15+64,
0.1, 0.8, 900,
0, 90, 4015+64,
0, 0.8, 15+64,
0, 0.1, 15+64,
0.1, 0.1, 900,
0, 90, 4015+64,
0.1, 0, -1
Barry.
2024-05-01 07:17 AM
You have no control how Archicad converts elements to the 3D script.
However, you could use the co-ordinates from the 2D script in a PRISM_ command in the 3D script.
Just add '15+64' for the masking values.
prism_ 17, 1,
0.1, 0, 15+64,
0.4, 0, 15+64,
0.4, 0.1, 900,
0, 90, 4015+64,
0.5, 0.1, 15+64,
0.5, 0.8, 15+64,
0.4, 0.8, 900,
0, 90, 4015+64,
0.4, 0.9, 15+64,
0.1, 0.9, 15+64,
0.1, 0.8, 900,
0, 90, 4015+64,
0, 0.8, 15+64,
0, 0.1, 15+64,
0.1, 0.1, 900,
0, 90, 4015+64,
0.1, 0, -1
Barry.
2024-05-01 08:38 AM
Thank you @Barry Kelly
Modify 2d to 3d is the method that I generally I use.