Skip to content

Commit 24b2ed5

Browse files
committed
adjust bolt holes
corrected hole locations
1 parent 7985ef5 commit 24b2ed5

File tree

3 files changed

+28
-20
lines changed

3 files changed

+28
-20
lines changed

LifeTrac-v25/mechanical_design/openscad/lifetrac_v25.scad

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2417,7 +2417,7 @@ module platform_transverse_angle(length) {
24172417
// 3 bolts: Near ends and Center
24182418
for (x_pos = [-length/2 + PLATFORM_TRANSVERSE_BOLT_END_OFFSET, 0, length/2 - PLATFORM_TRANSVERSE_BOLT_END_OFFSET]) {
24192419
translate([x_pos, leg/2, 0])
2420-
cylinder(d=angle_bolt_hole_dia, h=thick*3, center=true, $fn=24);
2420+
cylinder(d=angle_bolt_hole_dia, h=thick*3, center=true, $fn=100);
24212421
}
24222422
}
24232423
}
@@ -2533,8 +2533,8 @@ module platform_angle_iron(length=0, is_side=false) {
25332533

25342534
for (z_pos = [z_pos_1, z_pos_2]) {
25352535
translate([x_pos, PLATFORM_ANGLE_THICK/2, z_pos])
2536-
rotate([0, 90, 0]) // Align with X axis
2537-
cylinder(d=angle_bolt_hole_dia, h=PLATFORM_ANGLE_THICK + 10, center=true, $fn=24);
2536+
rotate([90, 0, 0]) // Align with Y axis
2537+
cylinder(d=angle_bolt_hole_dia, h=PLATFORM_ANGLE_THICK + 10, center=true, $fn=100);
25382538
}
25392539

25402540
// Deck Holes (Middle) - Vertical Holes through Horizontal Leg (Leg 2)
@@ -2544,11 +2544,11 @@ module platform_angle_iron(length=0, is_side=false) {
25442544
// Offset from ends: PLATFORM_SIDE_DECK_BOLT_END_OFFSET
25452545
// If not defined, use 1/4 length or similar.
25462546
// Let's use a fixed offset from ends.
2547-
deck_bolt_offset = 50; // 50mm from ends
2547+
// deck_bolt_offset = 50; // Removed local override to use global parameter
25482548
for (z_pos = [deck_bolt_offset, height - deck_bolt_offset]) {
25492549
translate([PLATFORM_ANGLE_THICK/2, PLATFORM_ANGLE_LEG/2, z_pos])
25502550
rotate([0, 90, 0]) // Align with X axis
2551-
cylinder(d=angle_bolt_hole_dia, h=PLATFORM_ANGLE_THICK + 10, center=true, $fn=24);
2551+
cylinder(d=angle_bolt_hole_dia, h=PLATFORM_ANGLE_THICK + 10, center=true, $fn=100);
25522552
}
25532553
} else {
25542554
// Transverse Angle Iron

LifeTrac-v25/mechanical_design/openscad/lifetrac_v25_params.scad

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,13 +212,21 @@ PLATFORM_BRACKET_CORNER_RADIUS = 25.4; // 1" radius for pivot bracket corner (m
212212
PLATFORM_SIDE_BOLT_SPACING = 70; // Spacing between side bolts (mm)
213213
PLATFORM_SIDE_BOLT_START = 20; // Distance to first bolt from corner (mm)
214214
PLATFORM_SIDE_BOLT_Y_OFFSET = -70; // Vertical offset of side bolts from lock pin (mm)
215-
PLATFORM_TRANSVERSE_BOLT_END_OFFSET = 38.1; // 1.5" offset from ends for transverse bolts
215+
// Transverse bolts: Offset from ends of the transverse angle iron
216+
// Use 10% of platform width, ensuring edge clearance
217+
PLATFORM_TRANSVERSE_BOLT_END_OFFSET = max(PLATFORM_WIDTH * 0.10, 2 * PLATFORM_BOLT_DIA);
216218
PLATFORM_SIDE_DECK_BOLT_SPACING = 150; // Spacing for side angle deck bolts (mm)
217219
PLATFORM_EDGE_MARGIN = 12.7; // 1/2" margin from deck edge to angle iron (mm)
218220

219221
// --- Bolt Offsets for Collision Avoidance ---
220-
deck_bolt_offset = 50; // Distance from ends for deck bolts (mm)
221-
pivot_bolt_offset = 40; // Distance from ends for pivot bracket bolts (mm) - Increased to ensure engagement with angle iron
222+
// Deck bolts (Top): Wide spacing -> Small offset from ends (e.g. 8% of length)
223+
// Ensure at least 2x bolt diameter for edge clearance
224+
deck_bolt_offset = max(PLATFORM_ARM_LENGTH * 0.08, 2 * PLATFORM_BOLT_DIA);
225+
226+
// Pivot bolts (Side): Narrow spacing -> Large offset from ends of the bracket leg
227+
// Bracket leg length = PLATFORM_BRACKET_LENGTH - PLATFORM_BRACKET_WIDTH/2
228+
// Use 30% offset from each end (leaving 40% spacing in middle)
229+
pivot_bolt_offset = (PLATFORM_BRACKET_LENGTH - PLATFORM_BRACKET_WIDTH/2) * 0.30;
222230

223231
// --- Anti-slip pattern ---
224232
PLATFORM_ANTISLIP_HOLE_DIA = 15; // Diameter of anti-slip holes (mm)

LifeTrac-v25/mechanical_design/openscad/parts/platform_deck.scad

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ module platform_deck() {
8787
_side_angle_start_y = _front_angle_corner_y - _gap;
8888
_side_angle_end_y = _rear_angle_corner_y + _gap;
8989

90-
// Bolt Offset from Ends = 50mm (matching angle iron definition)
91-
_bolt_offset = 50;
90+
// Bolt Offset from Ends = deck_bolt_offset (matching angle iron definition)
91+
_bolt_offset = deck_bolt_offset;
9292
_bolt_1_world_y = _side_angle_start_y - _bolt_offset;
9393
_bolt_2_world_y = _side_angle_end_y + _bolt_offset;
9494

@@ -117,9 +117,9 @@ module platform_deck() {
117117
// Transverse angles fit between side angles (at arm_x_pos)
118118
// So holes must be inside arm_x_pos
119119
// Align with holes in platform_transverse_angle (which are at length/2 - OFFSET)
120-
// length/2 = arm_x_pos - GAP
121-
// So Hole X = arm_x_pos - GAP - OFFSET
122-
transverse_bolt_x = arm_x_pos - (PLATFORM_TRANSVERSE_GAP + PLATFORM_TRANSVERSE_BOLT_END_OFFSET);
120+
// length/2 = angle_iron_center_x - GAP
121+
// So Hole X = angle_iron_center_x - GAP - OFFSET
122+
transverse_bolt_x = angle_iron_center_x - (PLATFORM_TRANSVERSE_GAP + PLATFORM_TRANSVERSE_BOLT_END_OFFSET);
123123

124124
for (y_pos = [-transverse_bolt_y, transverse_bolt_y]) {
125125
for (x_pos = [-transverse_bolt_x, 0, transverse_bolt_x]) {
@@ -128,13 +128,13 @@ module platform_deck() {
128128
}
129129
}
130130

131-
// Corner mounting holes (optional, for additional support straps)
132-
for (x = [-width/2 + 40, width/2 - 40]) {
133-
for (y = [-depth/2 + 40]) { // Front corners only
134-
translate([x, y, 0])
135-
cylinder(d=bolt_hole_dia, h=thickness + 4, center=true, $fn=32);
136-
}
137-
}
131+
// Corner mounting holes (optional, for additional support straps) - REMOVED
132+
// for (x = [-width/2 + 40, width/2 - 40]) {
133+
// for (y = [-depth/2 + 40]) { // Front corners only
134+
// translate([x, y, 0])
135+
// cylinder(d=bolt_hole_dia, h=thickness + 4, center=true, $fn=32);
136+
// }
137+
// }
138138
}
139139
}
140140

0 commit comments

Comments
 (0)