mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
Changed to builder api
This commit is contained in:
parent
7f321a73fe
commit
c247077ce2
1 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue