Skip to content

Commit 81decd1

Browse files
committed
Adjust platform arm and deck dimensions for bracket width
Updated calculations for platform arm length and deck depth to account for half the pivot bracket width. Modified related translations and extrusions in SCAD files to ensure correct assembly alignment.
1 parent f0a7e78 commit 81decd1

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

LifeTrac-v25/mechanical_design/openscad/lifetrac_v25.scad

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2442,7 +2442,7 @@ module platform_angle_iron() {
24422442

24432443
difference() {
24442444
// Extrusion
2445-
linear_extrude(height=PLATFORM_ARM_LENGTH)
2445+
linear_extrude(height=PLATFORM_ARM_LENGTH - PLATFORM_BRACKET_WIDTH/2)
24462446
polygon([
24472447
[0, 0],
24482448
[PLATFORM_ANGLE_LEG, 0],
@@ -2593,7 +2593,7 @@ module folding_platform_assembly(fold_angle=90) {
25932593
translate([0, pivot_y, pivot_z - 60])
25942594
rotate([fold_angle, 0, 0]) // Same rotation as angle irons
25952595
// Deck sits on top of angle iron horizontal legs
2596-
translate([0, PLATFORM_THICKNESS/2, arm_deck_bolt_dist])
2596+
translate([0, PLATFORM_THICKNESS/2, PLATFORM_DEPTH/2 - PLATFORM_BRACKET_WIDTH/2])
25972597
rotate([90, 0, 0]) // Rotate deck to be horizontal in local coords
25982598
platform_deck();
25992599

LifeTrac-v25/mechanical_design/openscad/lifetrac_v25_params.scad

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,14 @@ DECK_HEIGHT = 250; // Height above ground
169169
// 5-component folding platform: 1x deck plate + 2x pivot brackets + 2x angle arms
170170
// Folds from stowed (vertical against rear) to deployed (horizontal)
171171

172+
// --- Pivot bracket dimensions ---
173+
PLATFORM_BRACKET_LENGTH = 150; // Length of pivot bracket plate (mm)
174+
PLATFORM_BRACKET_WIDTH = 100; // Width of pivot bracket plate (mm)
175+
172176
// --- Configurable dimensions ---
173177
PLATFORM_THICKNESS = PLATE_1_4_INCH; // Deck plate thickness
174-
PLATFORM_DEPTH = 400; // Front-to-back depth of deck (mm)
175178
PLATFORM_ARM_LENGTH = 350; // Length of angle iron arms (mm)
179+
PLATFORM_DEPTH = PLATFORM_ARM_LENGTH + PLATFORM_BRACKET_WIDTH/2; // Front-to-back depth of deck (mm)
176180
PLATFORM_PIVOT_HEIGHT = 250; // Height of pivot point / deck surface when deployed (mm)
177181

178182
// --- Derived dimensions (calculated from frame geometry) ---
@@ -193,10 +197,6 @@ _INNER_PANEL_X = TRACK_WIDTH/2 - SANDWICH_SPACING/2; // = 450 - 60 = 390mm
193197
PLATFORM_PIVOT_X_INSET = 0; // Distance inward from inner panel face (mm)
194198
PLATFORM_PIVOT_X = _INNER_PANEL_X - PLATFORM_PIVOT_X_INSET; // X position of pivot from center (~390mm)
195199

196-
// --- Pivot bracket dimensions ---
197-
PLATFORM_BRACKET_LENGTH = 150; // Length of pivot bracket plate (mm)
198-
PLATFORM_BRACKET_WIDTH = 100; // Width of pivot bracket plate (mm)
199-
200200
// --- Hardware dimensions ---
201201
PLATFORM_PIVOT_PIN_DIA = BOLT_DIA_1; // 1" (25.4mm) pivot pin diameter
202202
PLATFORM_LOCK_PIN_DIA = 9.525; // 3/8" (9.525mm) cotter/lock pin diameter

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ include <../lifetrac_v25_params.scad>
3333
*/
3434
module platform_angle_arm(show_holes=true) {
3535
// Local variables for clarity
36-
length = PLATFORM_ARM_LENGTH;
36+
length = PLATFORM_ARM_LENGTH - PLATFORM_BRACKET_WIDTH/2;
3737
leg = PLATFORM_ANGLE_LEG; // 50.8mm (2")
3838
thick = PLATFORM_ANGLE_THICK; // 6.35mm (1/4")
3939

0 commit comments

Comments
 (0)