mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 10:41:20 -08:00
9 lines
222 B
Python
9 lines
222 B
Python
from build123d import *
|
|
|
|
with BuildPart() as obj:
|
|
Box(5, 5, 1)
|
|
with Workplanes(*obj.faces().filter_by_axis(Axis.Z)):
|
|
Sphere(1.8, mode=Mode.SUBTRACT)
|
|
|
|
if "show_object" in locals():
|
|
show_object(obj.part)
|