2023-04-17 01:53 PM - edited 2023-04-17 01:58 PM
Hello,
Does anyone know if it's possible to remove the lines highlighted green whilst maintaining the lines highlighted red in the attached image using the hprism command? See example code below. Any help would be greatly appreciated! Getting frustrated with the cumbersome ways Archicad handles curves generated by geometry in elevation, section and 3D.
plateWidth = 0.075
plateHeight = 0.120
plateThickness = 0.005
plateCornerRadius = 0.005
gs_mat = 19
_s = 79
rotx 90
hprism_ gs_mat, gs_mat, gs_mat, gs_mat, ! top_material, bottom_material, side_material, hill_material
10, plateThickness, 0, plateThickness, 1, !n, thickness, angle, hill_height, status
0, 0, _s,
(plateWidth/2)-plateCornerRadius, 0, _s,
plateCornerRadius, 90, 2000 + _s,
(plateWidth/2), plateHeight-plateCornerRadius, _s,
plateCornerRadius, 90, 2000 + _s,
-((plateWidth/2)-plateCornerRadius), plateHeight, _s,
plateCornerRadius, 90, 2000 + _s,
-(plateWidth/2), plateCornerRadius, _s,
plateCornerRadius, 90, 2000 + _s,
0, 0, _s
del 1
Cheers,
Jarrod
2023-05-01 01:26 AM
Hi DGSketcher,
Thanks for the suggestions, however, I will require it to be parametric. I will have to live with the lines for now.
Thanks again!
Jarrod.
2023-05-01 11:39 AM
HI Jarrod,
That's what I was suggesting in my last post. Create the three parts with Morphs and save them as objects. You can then cut & paste the 3D Script data into your parametric object as groups and use ADD & ROT to position copies using the MUL function to scale them to the required parametric size.
It works in my head, but it may be a challenge if your GDL experience is limited, in which case the hprism is an easy option.
Trevor