@@ -140,11 +140,11 @@ def render(self):
140140 if not self .labels and (self .width_div or self .length_div ):
141141 bs = VerticalEdgeSelector (
142142 GR_TOPSIDE_H , tolerance = 0.05
143- ) & HasZCoordinateSelector (GRHU * self .height_u - GR_BASE_HEIGHT )
143+ ) & HasZCoordinateSelector (GRHU * self .height_u - GR_BASE_PRO_H )
144144 r = self .safe_fillet (r , bs , 1.0 )
145145 if self .holes :
146146 r = self .render_holes (r )
147- r = r .translate ((- self .half_l , - self .half_w , GR_BASE_HEIGHT ))
147+ r = r .translate ((- self .half_l , - self .half_w , GR_BASE_PRO_H ))
148148 if self .unsupported_holes :
149149 r = self .render_hole_fillers (r )
150150 return r
@@ -232,10 +232,10 @@ def mask_with_obj(self, obj):
232232 return obj .intersect (self .solid_shell ())
233233
234234 def base_interior (self ):
235- profile = [GR_BASE_HEIGHT , * GR_BOX_PROFILE ]
236- zo = GR_BASE_HEIGHT
235+ profile = [GR_BASE_PRO_H , * GR_BOX_PROFILE ]
236+ zo = GR_BASE_PRO_H
237237 if self .int_height < 0 :
238- h = self .box_height - GR_BASE_HEIGHT
238+ h = self .box_height - GR_BASE_PRO_H
239239 profile = [h , * profile ]
240240 zo += h
241241 r = self .extrude_profile (
@@ -263,7 +263,7 @@ def render_shell(self, as_solid=False):
263263 rc = (
264264 cq .Workplane ("XY" )
265265 .placeSketch (rs )
266- .extrude (- GR_BASE_HEIGHT - 1 )
266+ .extrude (- GR_BASE_PRO_H - 1 )
267267 .translate ((* self .half_dim , 0.5 ))
268268 )
269269 rc = rc .intersect (r ).union (rw )
0 commit comments