added clean=False to avoid crashes

This commit is contained in:
Bernhard 2023-03-26 12:39:12 +02:00
parent bb2a6d20b6
commit 20edd2de84

View file

@ -31,7 +31,7 @@ ex26_target = ex26_target + mirror(ex26_target, about=Plane.XZ)
rect = Rectangle(rad, rev) rect = Rectangle(rad, rev)
ex26 = extrude(rect, until=Until.LAST, target=ex26_target) ex26 = extrude(rect, until=Until.LAST, target=ex26_target, clean=False)
# Extrude next # Extrude next
circle = Pos(0, rev) * Circle(rad) circle = Pos(0, rev) * Circle(rad)
@ -46,7 +46,7 @@ extrusion27 = extrude(rect, until=Until.NEXT, target=ex27, mode=Mode.ADD)
# Extrude next both # Extrude next both
ex28 = Rot(0, 90, 0) * Torus(25, 5) ex28 = Rot(0, 90, 0) * Torus(25, 5)
rect = Rectangle(rad, rev) rect = Rectangle(rad, rev)
extrusion28 = extrude(rect, until=Until.NEXT, target=ex28, both=True) extrusion28 = extrude(rect, until=Until.NEXT, target=ex28, both=True, clean=False)
if "show_object" in locals(): if "show_object" in locals():
show_object(simple.translate((-15, 0, 0)), name="simple pending extrude") show_object(simple.translate((-15, 0, 0)), name="simple pending extrude")