Skip to content

Commit f09afe7

Browse files
expose lb_min at dome envelope
1 parent 7fc2e8a commit f09afe7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎commands/RV_envelope.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,10 @@ def get_dome():
133133
r_oculus = rs.GetReal("Oculus radius", 0.5, minimum=0.0)
134134
if r_oculus is None or r_oculus >= radius:
135135
return
136-
return DomeEnvelope(center=center, radius=radius, thickness=thickness, n_hoops=40, n_parallels=40, r_oculus=r_oculus)
136+
min_lb = rs.GetReal("Minimum z range of supports (positive downwards)", 0.5, minimum=0.0)
137+
if min_lb is None:
138+
return
139+
return DomeEnvelope(center=center, radius=radius, thickness=thickness, n_hoops=40, n_parallels=40, r_oculus=r_oculus, min_lb=min_lb)
137140

138141

139142
def get_from_middle():

0 commit comments

Comments
 (0)