mirror of
https://github.com/gumyr/build123d.git
synced 2026-01-01 15:00:34 -08:00
Made show_object conditional
This commit is contained in:
parent
58e5dd40fb
commit
3d71cc3620
1 changed files with 2 additions and 1 deletions
|
|
@ -69,4 +69,5 @@ with BuildPart() as mainp:
|
|||
Split(bisect_by=Plane(origin=(0, 0, -splitz)))
|
||||
Split(bisect_by=Plane(origin=(0, 0, splitz)), keep=Keep.BOTTOM)
|
||||
|
||||
show_object(mainp.part.wrapped)
|
||||
if "show_object" in locals():
|
||||
show_object(mainp.part.wrapped)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue