cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Jarrod Phillips
Enthusiast

How to achieve clean looking hprism (with minimal lines) in AC26

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


EXAMPLE IMAGE.png
BIM Manager | Graduate of Architecture
Fulton Trotter Architects - Sydney, Australia
Archicad 15 - 27
11 Replies 11
Jarrod Phillips
Enthusiast

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.

BIM Manager | Graduate of Architecture
Fulton Trotter Architects - Sydney, Australia
Archicad 15 - 27
DGSketcher
Legend

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

Apple iMac Intel i9 / macOS Sonoma / AC27UKI (most recent builds.. if they work)

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!