Changed to builder api

This commit is contained in:
Roger Maitland 2023-03-17 11:58:49 -04:00
parent 7f321a73fe
commit c247077ce2

View file

@ -47,7 +47,8 @@ class Shamrock(BaseSketchObject):
if __name__ == "__main__" or "show_object" in locals():
shamrock = Shamrock(10)
with BuildSketch() as shamrock_example:
Shamrock(10)
if "show_object" in locals():
show_object(shamrock)
show_object(shamrock_example.sketch)