Een voorbeeld voor een vraag op discord

This commit is contained in:
2024-12-11 13:24:27 +01:00
parent 237159d0fd
commit 1e182f131f

11
example.py Normal file
View File

@@ -0,0 +1,11 @@
from ocp_vscode import *
from build123d import *
set_port(3939)
with BuildPart() as box:
with BuildSketch() as sk_box:
Rectangle(10.0, 15.0)
extrude(amount=4.0)
fillet(box.edges().filter_by(Axis.Z), radius=2)
show(box)