build123d/examples/multiple_workplanes_algebra.py
2024-02-29 11:34:40 -05:00

8 lines
170 B
Python

from build123d import *
from ocp_vscode import show
obj = Box(5, 5, 1)
planes = [Plane(f) for f in obj.faces().filter_by(Axis.Z)]
obj -= planes * Sphere(1.8)
show(obj)