Files
CAD-bestanden/example.py

12 lines
241 B
Python

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)