mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
8 lines
191 B
Python
8 lines
191 B
Python
from build123d import *
|
|
|
|
obj = Box(5, 5, 1)
|
|
for plane in [Plane(f) for f in obj.faces().filter_by(Axis.Z)]:
|
|
obj -= plane * Sphere(1.8)
|
|
|
|
if "show_object" in locals():
|
|
show_object(obj)
|