Compare commits
5
Commits
febb91c123
...
f4f16c9acd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f4f16c9acd
|
||
|
|
927d29da87
|
||
|
|
06b1939f72
|
||
|
|
40e4d3500d
|
||
|
|
ec816cc443
|
+12
-4
@@ -75,8 +75,12 @@ def build_drive_shaft_mount():
|
||||
mirror(about=Plane.XY)
|
||||
|
||||
with Locations((0, bearing_offset, drive_shaft_mount.faces().sort_by(Axis.Z)[-1].center().Z)):
|
||||
Hole(bearing_diameter / 2, (thickness / 2) + (bearing_height / 2))
|
||||
Hole(shaft_clearance_diameter / 2, (thickness / 2) - (bearing_height / 2))
|
||||
Hole(bearing_diameter / 2, (thickness / 2) + (bearing_height / 2))
|
||||
# this is a seem channel
|
||||
with BuildSketch(Location((0, bearing_offset + bearing_diameter / 2, drive_shaft_mount.faces().sort_by(Axis.Z)[-1].center().Z))):
|
||||
Triangle(A=90, b=1, c=1)
|
||||
extrude(amount=-((thickness / 2) + (bearing_height / 2)), mode=Mode.SUBTRACT)
|
||||
|
||||
Box(core_width + (screw_blocks_width * 2), track_width, track_height, (90, 0, 0), (Align.CENTER, Align.CENTER, Align.MIN))
|
||||
|
||||
@@ -118,8 +122,12 @@ def build_drive_shaft_bar_adapter():
|
||||
extrude(amount=height - thickness, mode=Mode.SUBTRACT)
|
||||
|
||||
# extrusion screw holes
|
||||
with Locations((0, 0, height - ext_screw_hole_offset)):
|
||||
with PolarLocations(4, 4):
|
||||
screws_origin = Location((0, 0, height - ext_screw_hole_offset))
|
||||
with Locations(screws_origin):
|
||||
with BuildPart(screws_origin, mode=Mode.SUBTRACT) as ext_track_cut_out:
|
||||
Box(ext_size, ext_size, ext_screw_hole_diam + 8)
|
||||
chamfer(ext_track_cut_out.edges(), 3)
|
||||
with PolarLocations(0, 4):
|
||||
with Locations(Rotation(0, 90, 0)):
|
||||
Hole(ext_screw_hole_diam / 2)
|
||||
|
||||
@@ -129,7 +137,7 @@ def build_drive_shaft_bar_adapter():
|
||||
with Locations((-l, -l), (-l, l), (l, -l), (l, l)):
|
||||
CounterBoreHole(shaft_hub_screw_diam / 2, shaft_hub_screw_head_diam / 2, shaft_hub_screw_head_depth, thickness + shaft_hub_screw_depth)
|
||||
with Locations(drive_shaft_bar_adapter.faces().sort_by(Axis.Z)[0].center()):
|
||||
Hole(shaft_hub_bore_diam / 2)
|
||||
Hole((shaft_hub_bore_diam + 0.5) / 2)
|
||||
Hole(shaft_hub_center_diam / 2, shaft_hub_center_depth)
|
||||
|
||||
return drive_shaft_bar_adapter
|
||||
|
||||
Reference in New Issue
Block a user