Browse Source

double size of bottom

master
wes 1 year ago
parent
commit
af9ffa317e
  1. 6
      planter.py

6
planter.py

@ -143,11 +143,11 @@ result = result.union(cut_tapered)
result = ( result = (
result.workplane(offset=(planter_height / 2) - 25) result.workplane(offset=(planter_height / 2) - 25)
.makePolygon(bottom_polygon) .makePolygon(bottom_polygon)
.extrude(5) .extrude(10)
) )
result = result.workplane(offset=(planter_height / 2) - 25).cylinder( result = result.workplane(offset=(planter_height / 2) - 25).cylinder(
8, bottom_radius / 3, combine="cut" 17, bottom_radius / 3, combine="cut"
) )
assembly = cq.Assembly() assembly = cq.Assembly()
@ -157,7 +157,7 @@ assembly.add(result, loc=cq.Location((100, 100, 100)))
assembly.add(circle_plate, loc=cq.Location((-100, -100, -100))) assembly.add(circle_plate, loc=cq.Location((-100, -100, -100)))
try: try:
show_object(assembly) show_object(result)
except NameError: except NameError:
pass pass

Loading…
Cancel
Save