Parametric OpenSCAD model with gas lift taper socket, backrest bar channel with M8 through-bolts, lever with drop-in pivot, shims and a taper fit gauge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QM7McqDDPqszyN8ojQxVjk
267 lines
13 KiB
OpenSCAD
267 lines
13 KiB
OpenSCAD
// Seat plate for T-LoVendo AM-SOC26 office chair (printed replacement)
|
|
//
|
|
// Chair coordinates: origin = centre of the 4-screw pattern on the seat underside,
|
|
// +y = front, +x = sitter's right, z = 0 is the seat board, the plate hangs at z < 0.
|
|
// Exported parts are re-oriented for printing.
|
|
|
|
part = "assembly"; // [assembly, plate, lever, pivot, gauge, shims]
|
|
lever_side = 1; // 1 = lever on sitter's right, -1 = left
|
|
|
|
$fn = 96;
|
|
e = 0.01;
|
|
|
|
/* ---------- measured ---------- */
|
|
hole_dy = 135; // front-back hole spacing
|
|
hole_dx_front = 124;
|
|
hole_dx_rear = 128;
|
|
cone_from_front_holes = 62; // front hole line -> gas cylinder axis
|
|
knob_from_rear_holes = 17; // rear hole line -> backrest knob axis (forward)
|
|
|
|
cone_d_top = 26.5; // measured just below the rounded top edge
|
|
cone_d_bot = 28.0;
|
|
cone_len = 53; // taper length between those two diameters
|
|
cone_round = 2; // rounded top edge above the d_top point
|
|
button_h = 7.3; // orange release pin above cylinder top
|
|
|
|
bar_w = 35; // backrest bar, stadium section
|
|
bar_t = 16;
|
|
bar_boss_seat = 2.5; // 23 mm flange, faces the seat board (channel is open there)
|
|
bar_boss_knob = 1.0; // small boss around the thread, knob side
|
|
bar_hole_from_end = 19;
|
|
knob_stud_d = 10; // M10
|
|
knob_stud_len = 25;
|
|
knob_d = 60;
|
|
seat_sag = 3; // seat underside is curved: this much higher at the screw holes than at the centre
|
|
boss_groove_w = 14; // slide slot for the knob-side boss (12.5 measured) + clearance
|
|
knob_engage = 11; // thread engagement wanted in the bar (threaded through)
|
|
bar_insert_max = 80; // bar length that fits in before the ribbed cover
|
|
|
|
/* ---------- design ---------- */
|
|
screw_d = 6.6; // M6 clearance
|
|
head_cb_d = 25; // counterbore for screw head + large M8 washer (23.7 OD)
|
|
under_head = 6; // material under the washer; with 3 mm shim + 2 mm washer an M6x20 grips 9 mm
|
|
plate_t = 12;
|
|
plate_r = 14; // outline radius around each hole
|
|
|
|
socket_clear = 0.5; // added to taper diameter; tune with the gauge part (0.2 sat 15.5 mm high)
|
|
shoulder_t = 3; // stop ring above the cylinder top
|
|
shoulder_gap = 1; // nominal gap cylinder top -> stop ring
|
|
shoulder_hole = 18;
|
|
shoulder_top = -18; // = floor of lever pocket above the socket
|
|
engage = 50; // taper length gripped by the socket
|
|
boss_r = 24;
|
|
clamp_groove = false; // seat for an optional steel hose clamp (40-60 mm); shortens the ribs
|
|
clamp_w = 12; // groove at the socket mouth; ribs start above it
|
|
|
|
bar_clear = 0.3;
|
|
floor_t = 15; // under the backrest bar
|
|
wall = 20; // beside the backrest bar
|
|
keel_back = -108; // how far the bar channel extends rearward
|
|
|
|
bolt_len = 35; // M8x35 socket head, up through each wall from below
|
|
bolt_hole = 8.5;
|
|
nut_af = 13; // M8 nylon lock nut, captive at the seat face
|
|
nut_h = 8;
|
|
washer_t = 2; // M8 washer under the bolt head (23.7 OD, 2 mm)
|
|
bolt_from_back = 10;
|
|
|
|
lever_w = 12; // lever thickness (y)
|
|
lever_clear = 1; // per side
|
|
pivot_x = 40;
|
|
pivot_z = -8;
|
|
pin_d = 8; // printed pin (or 8 mm steel rod), drops into open-top slots
|
|
pin_clear = 0.4; // slot width over pin_d
|
|
rest_gap = 1.5; // lever nub above release pin at rest (nominal fit)
|
|
travel = 7.5; // max nub travel before lever body bottoms out
|
|
nub_w = 8;
|
|
handle_drop = 42; // handle runs this far below the seat board
|
|
handle_end = 195; // handle tip, from seat centre
|
|
|
|
/* ---------- derived ---------- */
|
|
fy = hole_dy/2;
|
|
holes = [[ hole_dx_front/2, fy], [-hole_dx_front/2, fy],
|
|
[ hole_dx_rear/2, -fy], [-hole_dx_rear/2, -fy]];
|
|
cone_y = fy - cone_from_front_holes;
|
|
knob_y = -fy + knob_from_rear_holes;
|
|
bar_end_y = knob_y + bar_hole_from_end;
|
|
|
|
shoulder_bot = shoulder_top - shoulder_t;
|
|
cone_top_z = shoulder_bot - shoulder_gap; // nominal seated cylinder top
|
|
dtop_z = cone_top_z - cone_round;
|
|
bore_bot = dtop_z - engage;
|
|
function bore_d(z) = cone_d_top + (dtop_z - z) * (cone_d_bot - cone_d_top) / cone_len + socket_clear;
|
|
|
|
chan_floor = -(bar_t + bar_boss_seat + bar_clear);
|
|
keel_bot = chan_floor - floor_t;
|
|
keel_hw = bar_w/2 + bar_clear + wall;
|
|
groove_d = bar_boss_knob + 0.5;
|
|
knob_cb_z = chan_floor - bar_boss_knob + knob_engage - knob_stud_len;
|
|
rib_bot = bore_bot + (clamp_groove ? clamp_w + 5 : 8);
|
|
|
|
edge_x = max(hole_dx_front, hole_dx_rear)/2 + plate_r - 1;
|
|
cav_hw = lever_w/2 + lever_clear;
|
|
house_hw = cav_hw + 8;
|
|
house_bot = -26;
|
|
hub_r = -pivot_z - 0.5; // lever hub just clears the seat board
|
|
slot_w = pin_d + pin_clear;
|
|
keeper_h = -pivot_z - pin_d/2 - 0.1; // fills the slot above the pin, seat board on top
|
|
bolt_x = bar_w/2 + bar_clear + wall/2;
|
|
bolt_y = keel_back + bolt_from_back;
|
|
bolt_tip = keel_bot - washer_t + bolt_len;
|
|
|
|
button_nom = cone_top_z + button_h;
|
|
body_bot = shoulder_top + travel;
|
|
nub_bot = button_nom + rest_gap;
|
|
|
|
echo(str("Cylinder axis ", cone_y, " mm in front of pattern centre; knob at y=", knob_y));
|
|
echo(str("Plate depth below seat: ", -bore_bot, " mm; material under knob: ", (chan_floor - groove_d) - max(knob_cb_z, keel_bot), " mm; knob thread engagement: ", keel_bot + knob_stud_len - (chan_floor - bar_boss_knob), " mm"));
|
|
echo(str("Knob rim to socket boss: ", (cone_y - boss_r) - (knob_y + knob_d/2), " mm"));
|
|
echo(str("Bar inserted ", bar_end_y - keel_back, " of ", bar_insert_max, " mm"));
|
|
echo(str("M8 bolt tip ", -bolt_tip, " mm below seat face, through ", bolt_tip + nut_h + 0.3, " of ", nut_h, " mm nut; head to knob rim ", norm([bolt_x, bolt_y - knob_y]) - knob_d/2 - 8, " mm"));
|
|
echo(str("Gauge: expect ", cone_len + cone_round - (cone_top_z - bore_bot), " mm of shiny taper showing below the gauge"));
|
|
|
|
/* ---------- plate ---------- */
|
|
module rib(a, len, d_end, t) {
|
|
translate([0, cone_y, 0]) rotate(a) hull() {
|
|
translate([0, -t/2, rib_bot]) cube([boss_r - 1, t, -rib_bot]);
|
|
translate([len - 1, -t/2, -d_end]) cube([1, t, d_end]);
|
|
}
|
|
}
|
|
|
|
module plate_solid() {
|
|
// base plate
|
|
translate([0, 0, -plate_t]) linear_extrude(plate_t)
|
|
hull() for (h = holes) translate(h) circle(plate_r);
|
|
// keel carrying the backrest bar, running into the socket boss
|
|
translate([-keel_hw, keel_back, keel_bot]) cube([2*keel_hw, cone_y - keel_back, -keel_bot]);
|
|
// socket boss
|
|
translate([0, cone_y, bore_bot]) cylinder(r = boss_r, h = -bore_bot);
|
|
// lever housing
|
|
translate([0, cone_y - house_hw, house_bot]) mirror_x() cube([edge_x, 2*house_hw, -house_bot]);
|
|
// gussets
|
|
rib(90, fy + plate_r - cone_y - 2, plate_t, 12);
|
|
rib(lever_side > 0 ? 180 : 0, edge_x, plate_t, 12);
|
|
rib(lever_side > 0 ? 0 : 180, edge_x, -house_bot, 16);
|
|
for (h = holes) {
|
|
v = h - [0, cone_y];
|
|
rib(atan2(v[1], v[0]), norm(v) - plate_r, plate_t, 8);
|
|
}
|
|
}
|
|
|
|
module mirror_x() { if (lever_side > 0) children(); else mirror([1, 0, 0]) children(); }
|
|
|
|
module stadium(w, t, len) { // along +y, flat bottom face at z = 0
|
|
r = t/2;
|
|
hull() for (sx = [-1, 1]) translate([sx*(w/2 - r), 0, r]) rotate([-90, 0, 0]) cylinder(r = r, h = len);
|
|
}
|
|
|
|
module plate() {
|
|
difference() {
|
|
plate_solid();
|
|
// screw holes, counterbored from below
|
|
for (h = holes) translate(h) {
|
|
translate([0, 0, -50]) cylinder(d = screw_d, h = 51);
|
|
translate([0, 0, -100]) cylinder(d = head_cb_d, h = 100 - under_head);
|
|
}
|
|
// tapered socket + entry chamfer
|
|
translate([0, cone_y, 0]) {
|
|
translate([0, 0, bore_bot - e]) cylinder(d1 = bore_d(bore_bot), d2 = bore_d(shoulder_bot), h = shoulder_bot - bore_bot + e);
|
|
translate([0, 0, bore_bot - e]) cylinder(d1 = bore_d(bore_bot) + 3, d2 = bore_d(bore_bot), h = 1.5);
|
|
translate([0, 0, shoulder_bot - e]) cylinder(d = shoulder_hole, h = 10);
|
|
if (clamp_groove) translate([0, 0, bore_bot + 3]) difference() {
|
|
cylinder(r = boss_r + 1, h = clamp_w);
|
|
translate([0, 0, -e]) cylinder(r1 = boss_r, r2 = boss_r - 1, h = 1 + e);
|
|
translate([0, 0, 1]) cylinder(r = boss_r - 1, h = clamp_w - 2);
|
|
translate([0, 0, clamp_w - 1]) cylinder(r1 = boss_r - 1, r2 = boss_r, h = 1 + e);
|
|
}
|
|
}
|
|
// backrest bar channel (open towards the seat board)
|
|
translate([0, keel_back - 1, chan_floor]) {
|
|
stadium(bar_w + 2*bar_clear, bar_t + 2*bar_clear, bar_end_y + 2 - keel_back + 1);
|
|
translate([-(bar_w/2 + bar_clear), 0, bar_t/2]) cube([bar_w + 2*bar_clear, bar_end_y + 2 - keel_back + 1, 20]);
|
|
// slide path for the knob-side boss
|
|
translate([-boss_groove_w/2, 0, -groove_d]) cube([boss_groove_w, knob_y + boss_groove_w/2 - keel_back + 1, groove_d + 1]);
|
|
}
|
|
// M8 through-bolts in the walls, lock nut captive at the seat face
|
|
for (sx = [-1, 1]) translate([sx*bolt_x, bolt_y, 0]) {
|
|
translate([0, 0, keel_bot - 1]) cylinder(d = bolt_hole, h = -keel_bot + 2, $fn = 32);
|
|
translate([0, 0, -nut_h - 0.3]) rotate(30) cylinder(d = (nut_af + 0.3)/cos(30), h = nut_h + 1, $fn = 6);
|
|
}
|
|
// knob stud hole + recess
|
|
translate([0, knob_y, keel_bot - 1]) cylinder(d = knob_stud_d + 1, h = -keel_bot);
|
|
if (knob_cb_z > keel_bot) translate([0, knob_y, keel_bot - 1]) cylinder(d = knob_d + 4, h = knob_cb_z - keel_bot + 1);
|
|
// lever pocket (open to seat board and side) + pivot
|
|
mirror_x() {
|
|
translate([-9, cone_y - cav_hw, shoulder_top]) cube([30 + 9, 2*cav_hw, -shoulder_top + 1]);
|
|
translate([30, cone_y - cav_hw, shoulder_top - 2]) cube([edge_x + 20, 2*cav_hw, -shoulder_top + 3]);
|
|
// pivot slots, open to the seat face; keepers fill them above the pin
|
|
translate([pivot_x, cone_y - house_hw - 0.3, 0]) rotate([-90, 0, 0]) hull()
|
|
for (z = [-pivot_z, -1]) translate([0, z, 0]) cylinder(d = slot_w, h = 2*house_hw + 0.6, $fn = 32);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* ---------- lever (profile in chair XZ plane, at rest) ---------- */
|
|
module lever_2d() {
|
|
difference() {
|
|
union() {
|
|
// tip arm, rests against the seat board
|
|
translate([-6, body_bot]) square([pivot_x + 6, -body_bot - 0.3]);
|
|
translate([-nub_w/2, nub_bot]) square([nub_w, body_bot - nub_bot + e]);
|
|
translate([pivot_x, pivot_z]) circle(r = hub_r);
|
|
// arm beyond pivot, kept low so it can rise
|
|
hull() {
|
|
translate([pivot_x, pivot_z]) circle(r = hub_r);
|
|
translate([edge_x + 2, -13.5]) circle(r = 5.5);
|
|
}
|
|
// handle
|
|
hull() { translate([edge_x + 2, -13.5]) circle(r = 5.5); translate([edge_x + 45, -handle_drop]) circle(r = 7); }
|
|
hull() { translate([edge_x + 45, -handle_drop]) circle(r = 7); translate([handle_end - 10, -handle_drop]) circle(r = 7); }
|
|
translate([handle_end - 10, -handle_drop]) scale([1.4, 1]) circle(r = 9);
|
|
}
|
|
translate([pivot_x, pivot_z]) circle(d = pin_d + 0.3, $fn = 32);
|
|
}
|
|
}
|
|
|
|
module lever() { linear_extrude(lever_w) lever_2d(); }
|
|
|
|
/* ---------- pivot pin (printed lying down, small flat on the bed) + 2 keepers ---------- */
|
|
module pivot() {
|
|
difference() {
|
|
translate([0, 0, pin_d/2 - 0.4]) rotate([0, 90, 0]) cylinder(d = pin_d, h = 2*house_hw, $fn = 48);
|
|
translate([-1, -pin_d, -pin_d]) cube([2*house_hw + 2, 2*pin_d, pin_d]);
|
|
}
|
|
for (i = [0, 1]) translate([i*12, pin_d + 4, 0]) cube([slot_w - 0.1, house_hw - cav_hw, keeper_h]);
|
|
}
|
|
|
|
/* ---------- socket fit gauge: same taper + stop ring, thin wall ---------- */
|
|
module gauge() {
|
|
difference() {
|
|
translate([0, 0, bore_bot]) cylinder(d = bore_d(bore_bot) + 8, h = shoulder_top - bore_bot);
|
|
translate([0, 0, bore_bot - e]) cylinder(d1 = bore_d(bore_bot), d2 = bore_d(shoulder_bot), h = shoulder_bot - bore_bot + e);
|
|
translate([0, 0, shoulder_bot - e]) cylinder(d = shoulder_hole, h = 10);
|
|
}
|
|
}
|
|
|
|
/* ---------- shims: fill the gap between the flat plate and the curved seat ---------- */
|
|
module shims() {
|
|
for (i = [0:3]) translate([(i % 2) * 26, floor(i / 2) * 26, 0])
|
|
difference() { cylinder(d = 22, h = seat_sag); translate([0, 0, -1]) cylinder(d = screw_d, h = seat_sag + 2); }
|
|
}
|
|
|
|
/* ---------- output ---------- */
|
|
if (part == "plate") rotate([180, 0, 0]) plate(); // seat face on the bed
|
|
else if (part == "lever") lever(); // lies flat
|
|
else if (part == "pivot") pivot();
|
|
else if (part == "shims") shims();
|
|
else if (part == "gauge") rotate([180, 0, 0]) translate([0, 0, -shoulder_top]) gauge();
|
|
else if (part == "assembly") {
|
|
plate();
|
|
mirror_x() translate([0, cone_y + lever_w/2, 0]) rotate([90, 0, 0]) color("orange") lever();
|
|
// context: seat board, backrest bar, gas cylinder
|
|
%translate([-200, -200, 0]) cube([400, 400, 15]);
|
|
%translate([0, keel_back - 60, chan_floor]) stadium(bar_w, bar_t, bar_end_y - keel_back + 60);
|
|
%translate([0, cone_y, cone_top_z - cone_round - cone_len])
|
|
cylinder(d1 = cone_d_bot, d2 = cone_d_top, h = cone_len);
|
|
}
|