GDL
About building parametric objects with GDL.
SOLVED!

status code - am I chosing wrong status?

A_ Smith
Expert
Hi.
I can't get why when I chose status 8 - visible only surface, without any lines - I still get horizontal lines. Shape - FRISM_ with angle=0
steps=12
resol steps*3
R2=1
EPS=0.0001
m=2
top_material=m
bottom_material=m
side_material=m
hill_material=m

!STATUS_____________________________
si=8
!____________________________________

hill_height=R2/3
thickness=hill_height

for i=0 to 360+EPS step 360/steps*0.5
	put r2*cos(i), r2*sin(i), si
next i

FPRISM_ top_material, bottom_material, side_material, hill_material,
nsp/3, thickness, 0, hill_height, get(nsp)
I thought horizontal lines should be for status si=9,11...15. But not for si=10 and of course (as I see I am wrong) for si=8
AC 22, 24 | Win 10
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Peter Baksa
Graphisoft
Graphisoft
Hi,

use HPRISM to control hill edge visibility.
Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest

View solution in original post

2 REPLIES 2
Solution
Peter Baksa
Graphisoft
Graphisoft
Hi,

use HPRISM to control hill edge visibility.
Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest
A_ Smith
Expert
Greetings.
Thank you Peter Baksa.
AC 22, 24 | Win 10