basis backSlot gereed
This commit is contained in:
BIN
KennedyPegboard/Toolholders/multiconnect/backSlot.stl
Normal file
BIN
KennedyPegboard/Toolholders/multiconnect/backSlot.stl
Normal file
Binary file not shown.
@@ -11,11 +11,6 @@ dbr = depth_big_round = 1.2121
|
|||||||
dsr = depth_small_round = 0.4379
|
dsr = depth_small_round = 0.4379
|
||||||
db = depth_bevel = 2.5
|
db = depth_bevel = 2.5
|
||||||
|
|
||||||
# Make one basic connector
|
|
||||||
with BuildPart() as backSlot:
|
|
||||||
# Make a polyline sketch and revolve it 180 degrees
|
|
||||||
with BuildSketch() as sk_backSlot:
|
|
||||||
with BuildLine() as ln_backSlot:
|
|
||||||
pts = [
|
pts = [
|
||||||
(0, 0),
|
(0, 0),
|
||||||
((wmh+4)/2, 0),
|
((wmh+4)/2, 0),
|
||||||
@@ -26,11 +21,22 @@ with BuildPart() as backSlot:
|
|||||||
((wmh+4)/2-2, 2),
|
((wmh+4)/2-2, 2),
|
||||||
(0, 2)
|
(0, 2)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Make one basic connector
|
||||||
|
with BuildPart() as backSlot:
|
||||||
|
# Make a polyline sketch and revolve it 180 degrees
|
||||||
|
with BuildSketch() as sk_backSlot:
|
||||||
|
with BuildLine() as ln_backSlot:
|
||||||
Polyline(pts)
|
Polyline(pts)
|
||||||
make_face()
|
make_face()
|
||||||
revolve(revolution_arc=180.0, axis=Axis.Y)
|
revolve(revolution_arc=180.0, axis=Axis.Y)
|
||||||
# Add a straight part to it
|
# Add a straight part to it
|
||||||
plane = (backSlot.faces(Select.LAST).sort_by(Axis.Z)[-1])
|
with BuildSketch() as sk_extrusion:
|
||||||
extrude(plane, amount = 4)
|
with BuildLine() as ln_extrusion:
|
||||||
|
Polyline(pts)
|
||||||
|
make_face()
|
||||||
|
mirror(about=Plane.YZ)
|
||||||
|
extrude(amount = 4)
|
||||||
|
|
||||||
|
export_stl(backSlot.part, "backSlot.stl")
|
||||||
show_all()
|
show_all()
|
||||||
|
|||||||
Reference in New Issue
Block a user