mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 10:41:20 -08:00
8 lines
170 B
Python
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)
|