Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b3f4610478
|
||
|
|
b78656baa3
|
||
|
|
9cd500e3d3
|
+4
-4
@@ -21,8 +21,7 @@ def build_drive_shaft_mount():
|
|||||||
screw_body_diameter = 5
|
screw_body_diameter = 5
|
||||||
|
|
||||||
track_width = 6.2
|
track_width = 6.2
|
||||||
track_height = 1.6
|
track_height = 1.7
|
||||||
track_angle = 30
|
|
||||||
|
|
||||||
assert (bearing_offset - bearing_diameter / 2) > 0
|
assert (bearing_offset - bearing_diameter / 2) > 0
|
||||||
assert (core_width - bearing_diameter) > 0
|
assert (core_width - bearing_diameter) > 0
|
||||||
@@ -85,8 +84,9 @@ def build_drive_shaft_mount():
|
|||||||
extrude(amount=-((thickness / 2) + (bearing_height / 2)), mode=Mode.SUBTRACT)
|
extrude(amount=-((thickness / 2) + (bearing_height / 2)), mode=Mode.SUBTRACT)
|
||||||
|
|
||||||
with BuildPart() as track:
|
with BuildPart() as track:
|
||||||
Box(core_width + (screw_blocks_width * 2), track_width + ((sin(radians(track_angle))/sin(radians(90-track_angle))) * track_height * 2) - 0.012, track_height, (90, 0, 0), (Align.CENTER, Align.CENTER, Align.MIN))
|
angle = 30
|
||||||
chamfer(track.edges().filter_by(Axis.X).sort_by(Axis.Y)[:2], track_height - 0.01, angle=track_angle)
|
Box(core_width + (screw_blocks_width * 2), track_width + ((sin(radians(angle))/sin(radians(90-angle))) * track_height * 2) - 0.1, track_height, (90, 0, 0), (Align.CENTER, Align.CENTER, Align.MIN))
|
||||||
|
chamfer(track.edges().filter_by(Axis.X).sort_by(Axis.Y)[:2], track_height - 0.01, angle=angle)
|
||||||
|
|
||||||
with Locations(drive_shaft_mount.faces().filter_by(Plane.XZ).sort_by(Axis.Y)[-2:]):
|
with Locations(drive_shaft_mount.faces().filter_by(Plane.XZ).sort_by(Axis.Y)[-2:]):
|
||||||
CounterBoreHole(screw_body_diameter / 2, screw_head_diameter / 2, screw_head_depth)
|
CounterBoreHole(screw_body_diameter / 2, screw_head_diameter / 2, screw_head_depth)
|
||||||
|
|||||||
Reference in New Issue
Block a user