17 lines
581 B
Python
17 lines
581 B
Python
from build123d import *
|
|
from ocp_vscode import *
|
|
from bd_animation import AnimationGroup, clone, normalize_track
|
|
|
|
import copy
|
|
# %%
|
|
with BuildPart() as idb_holder:
|
|
Box(24,46,8)
|
|
with Locations((0,0,1)):
|
|
with GridLocations(7,7,3,6):
|
|
Cylinder(2.3,6,mode=Mode.SUBTRACT)
|
|
fillet(idb_holder.edges().filter_by(GeomType.CIRCLE), radius=1)
|
|
fillet(idb_holder.edges().filter_by(Axis.Z), radius=5)
|
|
fillet(idb_holder.edges().group_by(Axis.Z)[-1].filter_by(GeomType.LINE)[0], radius=1.5)
|
|
show(idb_holder)
|
|
# %%
|
|
export_step(idb_holder.part, "idb_holder.step") |