Skip to content

Commit

Permalink
Better demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeicor committed Dec 2, 2023
1 parent 981f263 commit 8d92fe3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@
# ================== MODELLING ==================

# Slow import...
boot = Mesher().read("boot.stl" if getenv("final_boot") else "boot-simplified.stl")
boot = Mesher().read("boot.stl" if getenv(
"final_boot") else "boot-simplified.stl")[0]

# %%

# obj = boot - Box(1 * MM, 1 * MM, 1 * MM, mode=Mode.SUBTRACT)
with BuildPart() as obj:
Box(20*CM, 20*CM, 20*CM)
add(boot, mode=Mode.SUBTRACT)

if "ocp_vscode" in locals():
ocp_vscode.reset_show()
Expand Down

0 comments on commit 8d92fe3

Please sign in to comment.