| 123456789101112131415161718192021222324 |
- // Button plunger for EE04 case +Y wall
- // At rest: flange flush with interior face, head proud of exterior face
- include <params.scad>
- module plunger() {
- color("orange") union() {
- translate([0, -FLANGE_T, 0])
- rotate([-90, 0, 0])
- cylinder(d = PLUNGER_D, h = FLANGE_T + WALL + PLUNGER_HEAD_H, $fn = 32);
- translate([0, -FLANGE_T, 0])
- rotate([-90, 0, 0])
- cylinder(d = FLANGE_D, h = FLANGE_T, $fn = 32);
- translate([0, WALL, 0])
- rotate([-90, 0, 0])
- cylinder(d = PLUNGER_D, h = PLUNGER_HEAD_H, $fn = 32);
- }
- }
- // ============================================================
- // RENDER — long axis vertical, flange face on build plate
- // ============================================================
- translate([0, 0, FLANGE_T])
- rotate([90, 0, 0])
- plunger();
|