2016-01-11 21:39:27 +00:00
|
|
|
include <./ready.scad>
|
2015-04-28 12:21:03 +00:00
|
|
|
|
2016-01-11 21:39:27 +00:00
|
|
|
mm_x = [61.5, 21.5, 6, 45.5, 18, 39];
|
|
|
|
mm_y = [-18, 21, -27.5, -27.5, 7, 39];
|
|
|
|
mm_r = [110, -15, 0, 0, 0, -70];
|
|
|
|
mm_l = [13, 9, 0, 0, 0, 8];
|
2015-04-28 12:21:03 +00:00
|
|
|
//xArray = [-3, 57, 55, 10, -26]; //WITH MIDDLE PIN
|
|
|
|
//yArray = [38, 31, -56, -22, -33]; //WITH MIDDLE PIN
|
|
|
|
xArray = [-3, 57, 55, -26]; //NO MIDDLE PIN
|
|
|
|
yArray = [38, 31, -56, -33]; //NO MIDDLE PIN
|
|
|
|
|
|
|
|
outerD = 9;
|
|
|
|
innerD = 4.5;
|
|
|
|
height = 17;
|
|
|
|
|
|
|
|
//panel_x = 129 + 4;
|
|
|
|
//panel_y = 131;
|
|
|
|
panel_2_x = 110;
|
|
|
|
panel_2_y = 110;
|
|
|
|
|
|
|
|
one_to_one_x = 54.5;
|
|
|
|
one_to_one_y = 12;
|
|
|
|
|
2016-01-11 21:39:27 +00:00
|
|
|
bolt_inner = 2.55;
|
|
|
|
|
|
|
|
screw_distance = 31;
|
2015-04-28 12:21:03 +00:00
|
|
|
|
2023-04-17 18:48:26 +00:00
|
|
|
module m5_nut_void (pos = [0, 0, 0]) {
|
|
|
|
translate(pos) cylinder(r = 9.4 / 2, h = 4, $fn = 6, center = true);
|
|
|
|
}
|
2015-04-28 12:21:03 +00:00
|
|
|
|
2023-04-17 18:48:26 +00:00
|
|
|
module m5_nut_seat (pos = [0, 0, 0]) {
|
|
|
|
$fn = 40;
|
|
|
|
H = 4;
|
|
|
|
translate(pos) difference () {
|
|
|
|
cylinder(r = 12 / 2, h = H, center = true);
|
|
|
|
cylinder(r = bolt_inner, h = H + 1, center = true);
|
|
|
|
rotate([0, 0, 30]) m5_nut_void([0, 0, -1]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module m3_nut_void (pos = [0, 0, 0]) {
|
|
|
|
translate(pos) cylinder(r = 6.7 / 2, h=3, center=true, $fn=6);
|
|
|
|
}
|
|
|
|
|
|
|
|
module m3_nut_seat (pos = [0, 0, 0]) {
|
|
|
|
$fn = 40;
|
|
|
|
H = 3;
|
|
|
|
translate(pos) difference () {
|
|
|
|
cylinder(r = 8 / 2, h = H, center = true);
|
|
|
|
cylinder(r = 3.25 / 2, h = H + 1, center = true);
|
|
|
|
m3_nut_void([0, 0, -1]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-29 01:17:46 +00:00
|
|
|
module l298N_nut_seats (r = 3/2 - .2, MOD_MOUNT = 0) {
|
2023-04-17 18:48:26 +00:00
|
|
|
DISTANCE = 36.5 + MOD_MOUNT;
|
|
|
|
|
|
|
|
m3_nut_seat([0, 0, 0]);
|
|
|
|
m3_nut_seat([DISTANCE, 0, 0]);
|
|
|
|
//m3_nut_seat([DISTANCE, DISTANCE, 0]);
|
|
|
|
m3_nut_seat([0, DISTANCE, 0]);
|
|
|
|
}
|
|
|
|
|
2023-05-03 03:57:57 +00:00
|
|
|
module arduino_nano_mount (pos = [0, 0, 0]) {
|
|
|
|
X = 18.2;
|
|
|
|
Y = 43.9;
|
|
|
|
Z = 10.5;
|
|
|
|
BOARD_Z = 1.5;
|
|
|
|
translate(pos) {
|
|
|
|
difference () {
|
|
|
|
//outer
|
|
|
|
cube([X + 6, Y + 6, Z], center = true);
|
|
|
|
//inner void minus corners
|
|
|
|
difference () {
|
|
|
|
cube([X - 1, Y - 1, Z + 1], center = true);
|
|
|
|
translate([(X / 2) - 1, (Y / 2) - 1, -BOARD_Z]) cylinder(r = (2 / 2), h = Z + 1, center = true, $fn = 20);
|
|
|
|
translate([(-X / 2) + 1, (Y / 2) - 1, -BOARD_Z]) cylinder(r = (2 / 2), h = Z + 1, center = true, $fn = 20);
|
|
|
|
translate([(X / 2) - 1, (-Y / 2) + 1, -BOARD_Z]) cylinder(r = (2 / 2), h = Z + 1, center = true, $fn = 20);
|
|
|
|
translate([(-X / 2) + 1, (-Y / 2) + 1, -BOARD_Z]) cylinder(r = (2 / 2), h = Z + 1, center = true, $fn = 20);
|
|
|
|
}
|
|
|
|
//board void
|
|
|
|
translate([0, 0, (Z / 2) - (BOARD_Z / 2)]) cube([X, Y, BOARD_Z], center = true);
|
|
|
|
//usb void
|
2023-12-23 00:10:29 +00:00
|
|
|
translate([0, Y / 2, (Z / 2) - (6 / 2) + 0.01]) cube([12, 10, 6], center = true);
|
2023-05-03 03:57:57 +00:00
|
|
|
translate([0, -30, 0]) cube([30, 20, 20], center = true);
|
|
|
|
}
|
|
|
|
translate([0, -(Y/2)+4.5, -2]) cube([X+5, 5, 2], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module usb_mini_void (pos = [0, 0, 0]) {
|
|
|
|
translate(pos) {
|
|
|
|
translate([0, 25, 2]) {
|
|
|
|
cube([8, 10, 5], center = true);
|
|
|
|
translate([0, 5, 0]) cube([12, 10, 8], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-04-17 18:48:26 +00:00
|
|
|
|
|
|
|
module intval_panel_printed () {
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
intval_panel_laser();
|
|
|
|
for (i = [0 : len(mm_x) - 1]) {
|
|
|
|
m5_nut_seat([mm_x[i], mm_y[i], 6]);
|
|
|
|
}
|
2024-05-29 01:17:46 +00:00
|
|
|
translate([-38, -1, 7]) rotate([0, 0, -13]) l298N_nut_seats();
|
2023-04-17 18:48:26 +00:00
|
|
|
translate([0, 0, -0.6]) intval_laser_standoffs();
|
|
|
|
translate([one_to_one_x, one_to_one_y, 5]) rotate([180, 0, 0]) bearing_reinforcement();
|
|
|
|
}
|
|
|
|
//onetoone(9, 14, 8.5);
|
2015-04-28 12:21:03 +00:00
|
|
|
bearing(54.5, 12, 6, width= 18, hole=false);
|
2016-01-11 21:39:27 +00:00
|
|
|
//frame_counter_access(); //use the space
|
|
|
|
remove_front();
|
|
|
|
}
|
2023-04-17 18:48:26 +00:00
|
|
|
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
|
|
|
|
2024-05-29 01:17:46 +00:00
|
|
|
module l298N_bolt_voids (r = 3/2 - .2, MOD_MOUNT = 0) {
|
2016-01-11 21:39:27 +00:00
|
|
|
$fn = 60;
|
2018-10-13 16:21:24 +00:00
|
|
|
DISTANCE = 36.5 + MOD_MOUNT;
|
2016-01-11 21:39:27 +00:00
|
|
|
H = 50;
|
|
|
|
translate([0, 0, 0]) cylinder(r = r, h = H * 5, center = true);
|
|
|
|
translate([DISTANCE, 0, 0]) cylinder(r = r, h = H * 5, center = true);
|
|
|
|
translate([DISTANCE, DISTANCE, 0]) cylinder(r = r, h = H * 5, center = true);
|
|
|
|
translate([0, DISTANCE, 0]) cylinder(r = r, h = H * 5, center = true);
|
|
|
|
}
|
|
|
|
|
2024-05-29 01:17:46 +00:00
|
|
|
module l298N_hole_test () {
|
2016-01-11 21:39:27 +00:00
|
|
|
$fn = 40;
|
|
|
|
difference () {
|
|
|
|
cube([140, 40, 3], center = true);
|
|
|
|
cylinder(r = 3/2, h = 50, center = true);
|
|
|
|
translate([7, 0, 0]) cylinder(r = 3/2, h = 50, center = true);
|
|
|
|
translate([7 * 2, 0, 0]) cylinder(r = 3/2 - .1, h = 50, center = true);
|
|
|
|
translate([7 * 3, 0, 0]) cylinder(r = 3/2 - .2, h = 50, center = true);
|
|
|
|
translate([7 * 4, 0, 0]) cylinder(r = 3/2 - .3, h = 50, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module intval_panel_laser () {
|
|
|
|
$fn = 40;
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
difference () {
|
|
|
|
translate ([0, 0, 8.5]) {
|
|
|
|
union () {
|
|
|
|
translate([12, -5, 0]) {
|
|
|
|
rotate([0, 0, -13]) {
|
|
|
|
rounded_cube([panel_2_x + 20, panel_2_y, 25.4/8], d = 20, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
for (i = [0 : len(xArray) - 1]) {
|
|
|
|
bolex_pin_inner_laser(xArray[i], yArray[i]);
|
|
|
|
}
|
|
|
|
}
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
bearing_laser(54.5, 12, 6, width= 18, hole=false);
|
2024-05-29 01:17:46 +00:00
|
|
|
translate([-38, -1, 0]) rotate([0, 0, -13]) l298N_bolt_voids();
|
2016-01-11 21:39:27 +00:00
|
|
|
m_p_access();
|
2015-04-28 12:21:03 +00:00
|
|
|
remove_front();
|
|
|
|
translate([6, 18, 0]) rotate([0, 0, -13]) cube([15, 25, 40], center=true); //motor wind key hole
|
|
|
|
|
|
|
|
for (i = [0 : len(mm_x) - 1]) {
|
|
|
|
translate([mm_x[i], mm_y[i], 0]) cylinder(r = bolt_inner, h = 100, center = true);
|
|
|
|
}
|
2023-04-17 18:48:26 +00:00
|
|
|
translate([0, 0, 0.335]) intval_laser_panel_cover();
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module intval_panel_laser_debug () {
|
|
|
|
$fn = 40;
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
difference () {
|
|
|
|
translate ([0, 0, 8.5]) {
|
|
|
|
union () {
|
|
|
|
translate([12 - 32.5, -5 + 9, 0]) {
|
|
|
|
rotate([0, 0, -13]) {
|
|
|
|
rounded_cube([panel_2_x + 20 + 65, panel_2_y, 25.4/8], d = 20, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//reinforces
|
|
|
|
//translate([54, -12, -3]) rotate([0, 0, 89]) rounded_cube([110, 20, 4], 20, center = true);
|
|
|
|
//translate([-17, 2, -3]) rotate([0, 0, 72]) rounded_cube([94, 13, 4], 13, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
for (i = [0 : len(xArray) - 1]) {
|
|
|
|
bolex_pin_inner_laser(xArray[i], yArray[i]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//onetoone(26, 10, 4.5);
|
|
|
|
//extends for onetoone
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
//onetoone(9, 14, 8.5);
|
|
|
|
bearing_laser(54.5, 12, 6, width= 18, hole=false);
|
2024-05-29 01:17:46 +00:00
|
|
|
translate([-38, -1, 0]) rotate([0, 0, -13]) l298N_bolt_voids();
|
2016-01-11 21:39:27 +00:00
|
|
|
//translate ([6, -9, height + 3.5]) cylinder(r = bolt_inner, h = 50, center = true); //cover standoff hole
|
|
|
|
//frame_counter_access(); //use the space
|
|
|
|
m_p_access();
|
|
|
|
remove_front();
|
|
|
|
translate([6, 18, 0]) rotate([0, 0, -13]) cube([15, 25, 40], center=true); //motor wind key hole
|
|
|
|
|
|
|
|
for (i = [0 : len(mm_x) - 1]) {
|
|
|
|
translate([mm_x[i], mm_y[i], 0]) cylinder(r = bolt_inner, h = 100, center = true);
|
|
|
|
}
|
|
|
|
intval_laser_panel_cover(DEBUG = true);
|
|
|
|
translate ([4, 12, 0]) {
|
|
|
|
translate([-51.5, -8.5, 0]) cylinder(r = 2.8/2, h = 100, center = true);
|
|
|
|
translate([-51.5 - 66, -8.5 + 15, 0]) cylinder(r = 2.8/2, h = 100, center = true);
|
|
|
|
translate([-51.5 + 11.5, -8 + 49, 0]) cylinder(r = 2.8/2, h = 100, center = true);
|
|
|
|
translate([-51.5 - 54.5, -8.5 + 49 + 16, 0]) cylinder(r = 2.8/2, h = 100, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module bolex_pin_laser (x, y) {
|
|
|
|
in = innerD;
|
2016-05-09 22:23:17 +00:00
|
|
|
$fn = 120;
|
2016-01-11 21:39:27 +00:00
|
|
|
translate ([x, y, 1]) {
|
|
|
|
difference () {
|
|
|
|
union () {
|
2016-05-09 22:23:17 +00:00
|
|
|
translate([0, 0, (height / 2) - 3]) cylinder(r = (outerD + 5) / 2, h = 2, center = true);
|
|
|
|
translate([0, 0, 1.175/2]) cylinder(r = outerD / 2, h = height + 1.175 , center = true);
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
2016-05-09 22:23:17 +00:00
|
|
|
cylinder(r = in / 2, h = height * 2, center = true);
|
|
|
|
translate([0, 0, (height / 2) - 1.9]) cylinder(r1 =4.5 / 2, r2 = 6.7 / 2, h = 2, center = true);
|
|
|
|
translate([0, 0, (height / 2) + 1]) cylinder(r = 6.7 / 2, h = 4, center = true);
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module intval_laser_standoffs () {
|
|
|
|
$fn = 40;
|
|
|
|
for (i = [0 : len(xArray) - 1]) {
|
|
|
|
bolex_pin_laser(xArray[i], yArray[i]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module intval_laser_standoffs_plate () {
|
|
|
|
$fn = 40;
|
2016-05-17 14:19:35 +00:00
|
|
|
rotate ([0, 180, 0]) {
|
|
|
|
bolex_pin_laser(0, 0);
|
|
|
|
bolex_pin_laser(15, 0);
|
|
|
|
bolex_pin_laser(0, 15);
|
|
|
|
bolex_pin_laser(15, 15);
|
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
//decoys
|
2016-03-21 22:16:34 +00:00
|
|
|
//translate([7, 7, 0]) decoys(23, 5.5, 6);
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
module bolex_pin_inner_laser (x, y) {
|
|
|
|
$fn = 40;
|
2016-05-17 14:19:35 +00:00
|
|
|
//innerD = 6.75;
|
|
|
|
innerD = 9;
|
2016-01-11 21:39:27 +00:00
|
|
|
translate ([x, y, 1]) {
|
|
|
|
cylinder(r = innerD / 2, h = height * 2, center = true);
|
|
|
|
//translate([0, 0, (height / 2) - 1]) cylinder(r1 =4.5 / 2, r2 = 6.5 / 2, h = 2, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module bearing_laser (x, y, z, width= 8, hole = true) {
|
|
|
|
innerD = 8.05;
|
|
|
|
outerD = 22.1 - .4;
|
|
|
|
fuzz = 0.1;
|
|
|
|
translate ([x, y, z]) {
|
|
|
|
difference () {
|
|
|
|
cylinder(r = outerD / 2 + fuzz, h = width, center = true);
|
|
|
|
if (hole) {
|
|
|
|
cylinder(r = innerD / 2 - fuzz, h = width, center = true);
|
|
|
|
}
|
|
|
|
}
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
|
2023-12-23 00:10:29 +00:00
|
|
|
module intval_laser_panel_cover (LASER = false, DEBUG = false, ALL_RED = false, PCB = false, buttons = true, logo = false, DC_D = 10.9) {
|
2016-01-11 21:39:27 +00:00
|
|
|
$fn = 60;
|
2018-10-09 22:02:33 +00:00
|
|
|
cover_h = 16 + 3 + 4 + 15;
|
2016-01-11 21:39:27 +00:00
|
|
|
MATERIAL = 25.4 / 8;
|
|
|
|
|
|
|
|
module top () {
|
|
|
|
difference () {
|
|
|
|
rotate([0, 0, -13]) {
|
|
|
|
rounded_cube([100, panel_2_y, MATERIAL], d = 20, center = true);
|
|
|
|
}
|
|
|
|
translate([53, 12, 0]) cylinder(r = 30, h = 60, center = true); //hole for motor mount
|
|
|
|
translate([22, 20, 0]) cylinder(r = 8, h = 60, center = true); // hole for moto mount bolt holder
|
|
|
|
translate([53, 42, 0]) cylinder(r = 15, h = 60, center = true); //removes pointy part
|
|
|
|
translate([-44, 8, -(cover_h / 2 ) - MATERIAL - 1]) rotate([0, 0, -13]) rotate([0, 90, 0]) back_side();
|
|
|
|
translate([2, 49, -(cover_h / 2 ) - MATERIAL - 1]) rotate([0, 0, -13]) rotate([90, 0, 0]) top_side();
|
|
|
|
translate([-22, -45, -(cover_h / 2 ) - MATERIAL - 1]) rotate([0, 0, -13]) rotate([90, 0, 0]) bottom_side();
|
|
|
|
for (i = [0 : len(xArray) - 1]) {
|
|
|
|
translate([xArray[i], yArray[i], 0]) cylinder(r = 7 / 2, h = height * 20, center = true); //Access for screwdriver
|
|
|
|
}
|
|
|
|
translate([-13.5, 26, 0]) rotate([0, 0, -13]) cube([28, 24, 60], center = true); //heatsink hole
|
|
|
|
translate ([8, -9, height + 3.5]) cylinder(r = bolt_inner - .5, h = 50, center = true); //standoff hole
|
|
|
|
|
|
|
|
//buttons
|
2023-04-28 23:20:54 +00:00
|
|
|
if (buttons) {
|
|
|
|
translate ([-44, -23, 0]) {
|
|
|
|
rotate ([0, 0, 90-13]) {
|
|
|
|
if (ALL_RED) {
|
|
|
|
translate([7, -32, 8]) cylinder(r = 3.5, h = 190, center = true);
|
|
|
|
translate([7, -19, 8]) cylinder(r = 3.5, h = 190, center = true);
|
|
|
|
} else {
|
|
|
|
translate([7, -32, 8]) cylinder(r = 3.1, h = 190, center = true);
|
|
|
|
translate([7, -19, 8]) cylinder(r = 3.1, h = 190, center = true);
|
|
|
|
}
|
|
|
|
|
|
|
|
translate([7, -5, 8]) cylinder(r = 3.5, h = 190, center = true);
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-12-23 00:10:29 +00:00
|
|
|
if (logo) {
|
|
|
|
letter_size = 5;
|
|
|
|
letter_height = 2;
|
|
|
|
translate([18, -32, 1]) linear_extrude(height = letter_height) {
|
|
|
|
text("intval 2.2", size = letter_size, font = "Liberation Sans", halign = "center", valign = "center", $fn = 16);
|
|
|
|
}
|
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
module back_side () {
|
|
|
|
difference () {
|
|
|
|
translate([0, 1.75, 0]) cube([cover_h + 2 + (MATERIAL * 2) + 1 + 3, panel_2_y - 10, MATERIAL], center = true);
|
2018-10-09 22:02:33 +00:00
|
|
|
translate([-13 - 3.1 - 7.5, 20, 0]) cube([MATERIAL, 20, MATERIAL], center = true);
|
|
|
|
translate([-13 - 3.1 -7.5, -20, 0]) cube([MATERIAL, 20, MATERIAL], center = true);
|
|
|
|
translate([13 + 3.1 + 7.5, 20, 0]) cube([MATERIAL, 20, MATERIAL], center = true);
|
|
|
|
translate([13 + 3.1 + 7.5, -20, 0]) cube([MATERIAL, 20, MATERIAL], center = true);
|
|
|
|
translate([10 + 7.5, -22,0]) cube([10, 15, 30], center = true); //access for usb
|
2016-01-11 21:39:27 +00:00
|
|
|
translate([0, 50.5, 0]) cube([17.5, MATERIAL, MATERIAL], center = true);
|
|
|
|
translate([0, -50.5 + (1.75 / 2) + MATERIAL - 0.25, 0]) cube([17.5, MATERIAL, MATERIAL], center = true);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
module top_side () {
|
|
|
|
difference () {
|
|
|
|
translate([-2.5, 0, 0]) cube([ panel_2_x - 41, cover_h + 2 + (MATERIAL * 2) + 1 + 3, MATERIAL], center = true);
|
2018-10-09 22:02:33 +00:00
|
|
|
translate([28, -13 - 3.1 - 7.5, 0]) cube([25, MATERIAL, MATERIAL], center = true);
|
|
|
|
translate([-28, -13 - 3.1 - 7.5, 0]) cube([25, MATERIAL, MATERIAL], center = true);
|
|
|
|
translate([28, 13 + 3.1 + 7.5, 0]) cube([25, MATERIAL, MATERIAL], center = true);
|
|
|
|
translate([-28, 13 + 3.1 + 7.5, 0]) cube([25, MATERIAL, MATERIAL], center = true);
|
2016-01-11 21:39:27 +00:00
|
|
|
|
|
|
|
translate([-35.5, -13 - 8.1, 0]) cube([MATERIAL, 25, MATERIAL], center = true); //side tabs
|
|
|
|
translate([-35.5, 13 + 8.1, 0]) cube([MATERIAL, 25, MATERIAL], center = true); //side tabs
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
module bottom_side () {
|
|
|
|
difference () {
|
|
|
|
translate([.25, 0, 0]) cube([ panel_2_x - 39.5, cover_h + 2 + (MATERIAL * 2) + 1 + 3, MATERIAL], center = true);
|
2018-10-09 22:02:33 +00:00
|
|
|
translate([25, -13 - 3.1 - 7.5, 0]) cube([25, MATERIAL, MATERIAL], center = true);
|
|
|
|
translate([-25, -13 - 3.1 - 7.5, 0]) cube([25, MATERIAL, MATERIAL], center = true);
|
|
|
|
translate([30, 13 + 3.1 + 7.5, 0]) cube([25, MATERIAL, MATERIAL], center = true);
|
|
|
|
translate([-30, 13 + 3.1 + 7.5, 0]) cube([25, MATERIAL, MATERIAL], center = true);
|
|
|
|
if (PCB) {
|
|
|
|
translate([12, 6, 0]) cylinder(r = 6/2, h = 50, center = true); //hole for audio jack -> add countersink
|
|
|
|
translate([25, 4, 0]) cylinder(r = 11.8/2, h = 20, center = true); //hole for female DC power jack, 12vdc
|
|
|
|
} else {
|
|
|
|
translate([-15, 1, 0]) cylinder(r = 6/2, h = 50, center = true); //hole for audio jack -> add countersink
|
2023-12-23 00:10:29 +00:00
|
|
|
translate([9, 1, 0]) cylinder(r = DC_D/2, h = 20, center = true); //hole for female DC power jack, 12vdc
|
2018-10-09 22:02:33 +00:00
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
|
|
|
|
translate([-33.5, 17.3, 0]) cube([MATERIAL, 17.5, MATERIAL], center = true);
|
|
|
|
translate([-33.5, -17.3, 0]) cube([MATERIAL, 17.5, MATERIAL], center = true);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (LASER) {
|
|
|
|
projection() top();
|
|
|
|
if (!DEBUG) {
|
2018-10-09 22:02:33 +00:00
|
|
|
translate([-75 - 10, 0, 0]) rotate([0, 0, -13]) projection() back_side();
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
2018-10-09 22:02:33 +00:00
|
|
|
translate([0, 80 + 10, 0]) rotate([0, 0, -13]) projection() top_side();
|
|
|
|
translate([0, -80 - 10, 0]) rotate([0, 0, -13]) projection() bottom_side();
|
2016-01-11 21:39:27 +00:00
|
|
|
} else {
|
2023-04-28 23:20:54 +00:00
|
|
|
translate([0, 0, height + cover_h + 0.325]) top();
|
2016-01-11 21:39:27 +00:00
|
|
|
if (!DEBUG) {
|
|
|
|
translate([-44, 8, height + (cover_h / 2 ) - 4.25]) rotate([0, 0, -13]) rotate([0, 90, 0]) back_side();
|
|
|
|
}
|
2018-10-10 22:18:18 +00:00
|
|
|
translate([2, 49, height + (cover_h / 2 ) - 4.25]) rotate([0, 0, -13]) rotate([90, 0, 0]) top_side();
|
2016-01-11 21:39:27 +00:00
|
|
|
translate([-22, -45, height + (cover_h / 2 ) - 4.25]) rotate([0, 0, -13]) rotate([90, 0, 0]) bottom_side();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module intval_laser_panel_cover_standoff (DECOYS = false) {
|
|
|
|
tight = 0.2;
|
|
|
|
cover_h = 21;
|
|
|
|
$fn = 40;
|
|
|
|
translate ([6, -9, height + 3.5]) {
|
|
|
|
difference() {
|
|
|
|
cylinder(r = bolt_inner + 1.4, h = cover_h - .5, center = true);
|
|
|
|
cylinder(r = bolt_inner - tight, h = cover_h, center = true);
|
|
|
|
}
|
|
|
|
if (DECOYS) {
|
|
|
|
decoys(12, -(cover_h / 2) + 2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-04-28 12:21:03 +00:00
|
|
|
module remove_front () {
|
|
|
|
|
|
|
|
translate([87, 0, 4]) rotate([0, 0, 89]) cube([170, 40, 40], center = true);
|
|
|
|
}
|
|
|
|
module onetoone (size, height, z) {
|
|
|
|
translate ([one_to_one_x, one_to_one_y, z]) {
|
|
|
|
cylinder(r = size / 2, h = height, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module m_p_access () {
|
|
|
|
translate ([18, -44, 0]) {
|
|
|
|
rounded_cube([35, 17, 50], 17, true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module bolex_pin (x, y) {
|
|
|
|
in = innerD;
|
|
|
|
translate ([x, y, 1]) {
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
translate([0, 0, (height / 2) - 2]) cylinder(r = (outerD + 4) / 2, h = 4, center = true);
|
|
|
|
cylinder(r = outerD / 2, h = height, center = true);
|
|
|
|
}
|
|
|
|
cylinder(r = in / 2, h = height, center = true);
|
|
|
|
translate([0, 0, (height / 2) - 1]) cylinder(r1 =4.5 / 2, r2 = 6.5 / 2, h = 2, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module bolex_pin_inner (x, y) {
|
|
|
|
translate ([x, y, 1]) {
|
|
|
|
cylinder(r = innerD / 2, h = height * 2, center = true);
|
|
|
|
translate([0, 0, (height / 2) - 1]) cylinder(r1 =4.5 / 2, r2 = 6.5 / 2, h = 2, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module intval_pins () {
|
|
|
|
for (i = [0 : len(xArray) - 1]) {
|
|
|
|
bolex_pin(xArray[i], yArray[i]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module key () {
|
2016-01-11 21:39:27 +00:00
|
|
|
tighten = 0.25;
|
2015-04-28 12:21:03 +00:00
|
|
|
difference () {
|
2016-01-11 21:39:27 +00:00
|
|
|
cylinder(r = 6.7 / 2, h = 5, center = true);
|
|
|
|
cylinder(r = (4.76 -+ tighten) / 2, h = 5, center = true);
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
|
|
|
translate ([0, 0, -7.5]) {
|
2016-01-11 21:39:27 +00:00
|
|
|
cylinder(r = 6.7 / 2, h = 10, center = true);
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
module keyHole () {
|
|
|
|
translate ([0, 0, 1.75]) {
|
|
|
|
cube([10, 2, 3.5], center = true);
|
|
|
|
}
|
|
|
|
}
|
2016-04-03 02:46:01 +00:00
|
|
|
module key_end (rotArr = [0, 0, 0], transArr = [0, 0, 0], ALT = false) {
|
2015-04-28 12:21:03 +00:00
|
|
|
translate(transArr) {
|
|
|
|
rotate (rotArr) {
|
|
|
|
difference () {
|
|
|
|
key();
|
|
|
|
keyHole();
|
2016-03-29 19:00:32 +00:00
|
|
|
if (ALT) {
|
|
|
|
translate([-2.5, 0, 1.75]) cube([5, 3, 3.5], center= true);
|
|
|
|
}
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
2016-03-29 19:00:32 +00:00
|
|
|
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module frame_counter_access () {
|
|
|
|
x = 37.5;
|
|
|
|
y = 39;
|
|
|
|
translate([x, y, 8.5]) {
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
rotate ([0, 0, 19]) {
|
|
|
|
translate([0, 9, 0]) {
|
|
|
|
cube([12, 16, 4], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
rotate ([0, 0, -19]) {
|
|
|
|
translate([0, 9, 0]) {
|
|
|
|
cube([12, 16, 4], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
translate([0, 15.5, 0]) {
|
|
|
|
cube([17, 6, 4], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
cylinder(r = 6.2, h = 4, center = true);
|
|
|
|
}
|
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
module bearing (x, y, z, width= 8, hole = true, calval = 0) {
|
2015-04-28 12:21:03 +00:00
|
|
|
innerD = 8.05;
|
|
|
|
outerD = 22.1;
|
|
|
|
fuzz = 0.1;
|
|
|
|
translate ([x, y, z]) {
|
|
|
|
difference () {
|
2016-01-11 21:39:27 +00:00
|
|
|
cylinder(r = outerD / 2 + fuzz + calval, h = width, center = true);
|
2015-04-28 12:21:03 +00:00
|
|
|
if (hole) {
|
|
|
|
cylinder(r = innerD / 2 - fuzz, h = width, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-12-28 15:27:49 +00:00
|
|
|
module motor_key (half = false, DECOYS = false, sides = 1, ALT = false, extraH = 0) {
|
2016-01-11 21:39:27 +00:00
|
|
|
innerD = 7.85;
|
2015-04-28 12:21:03 +00:00
|
|
|
outer_d = 27.5 + 2;
|
|
|
|
notch_d = 10;
|
2022-12-28 15:27:49 +00:00
|
|
|
height = 7 + 5 + extraH;
|
2015-04-28 12:21:03 +00:00
|
|
|
diff = 14 + 2.5;
|
2016-01-11 21:39:27 +00:00
|
|
|
$fn = 60;
|
2022-12-28 15:27:49 +00:00
|
|
|
translate([0, 0, extraH / 2]) difference () {
|
2015-04-28 12:21:03 +00:00
|
|
|
union () {
|
2016-03-25 15:37:48 +00:00
|
|
|
translate([one_to_one_x, one_to_one_y, 12.1]) cylinder(r1 = 12 / 2, r2 = 12/2 + 4, h = 5, center = true);// padding against bearing
|
2016-01-11 21:39:27 +00:00
|
|
|
translate([one_to_one_x, one_to_one_y, diff + 1]) cylinder(r=outer_d/2, h= height -2, center= true, $fn=200); //large cylinder
|
|
|
|
translate([one_to_one_x, one_to_one_y, 6]) cylinder(r=innerD/2, h= 10, center= true);
|
|
|
|
//key_end([0, 180, 0], [one_to_one_x, one_to_one_y, -2.5]); //thicker-than-key_end cylinder for inner bearing
|
2016-04-03 02:46:01 +00:00
|
|
|
key_end([0, 180, -20], [one_to_one_x, one_to_one_y, -3.5], ALT = ALT); // longer for laser cut board
|
2016-01-11 21:39:27 +00:00
|
|
|
//key_end([0, 180, 0], [one_to_one_x, one_to_one_y, -4.5]); //experimental length
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
//1 notch
|
2015-04-28 12:21:03 +00:00
|
|
|
translate([one_to_one_x, one_to_one_y, diff]) {
|
2016-01-11 21:39:27 +00:00
|
|
|
translate ([-outer_d/2 - 2.5, 0, 0]) cylinder(r=notch_d/2, h= height, center= true); //notch
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
|
|
|
translate([one_to_one_x, one_to_one_y, diff]) {
|
|
|
|
translate ([-outer_d/2 -.5, -3.5, 0]) rotate([0, 0, 100]) cube([15, 5, height], center = true); // smooth notch
|
|
|
|
translate ([-outer_d/2 -.5, 3.5, 0]) rotate([0, 0, -100]) cube([15, 5, height], center = true); // smooth notch
|
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
|
|
|
|
if (sides == 2) {
|
|
|
|
//2 notch
|
|
|
|
translate([one_to_one_x, one_to_one_y, diff]) {
|
|
|
|
translate ([outer_d/2 + 2.5, 0, 0]) cylinder(r=notch_d/2, h= height, center= true); //notch
|
|
|
|
}
|
|
|
|
translate([one_to_one_x, one_to_one_y, diff]) {
|
|
|
|
translate ([outer_d/2 +.5, -3.5, 0]) rotate([0, 0, -100]) cube([15, 5, height], center = true); // smooth notch
|
|
|
|
translate ([outer_d/2 +.5, 3.5, 0]) rotate([0, 0, 100]) cube([15, 5, height], center = true); // smooth notch
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-04-28 12:21:03 +00:00
|
|
|
//slot for hobbled(?) end
|
2016-03-25 15:37:48 +00:00
|
|
|
translate([one_to_one_x, one_to_one_y, 17]) {
|
2016-01-11 21:39:27 +00:00
|
|
|
difference () {
|
2016-03-25 15:37:48 +00:00
|
|
|
translate([0, 0, 0]) cylinder(r=3.1, h = 12, center = true, $fn = 24);
|
|
|
|
translate([5.4, 0, 0]) cube([6, 6, 12], center = true);
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
//translate([one_to_one_x, one_to_one_y, 20.5]) cylinder(r = 11.5/2, h = 10, center = true);
|
|
|
|
|
2015-04-28 12:21:03 +00:00
|
|
|
translate([one_to_one_x, one_to_one_y, 17.5]) {
|
|
|
|
difference() {
|
|
|
|
//cylinder(r = 7.5/2, h = 2, center = true);
|
|
|
|
//translate([5, 0, 0]) cube([10, 10, 10], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (half) {
|
|
|
|
translate([one_to_one_x - 50 , one_to_one_y, -50]) cube([100, 100, 200]);
|
|
|
|
}
|
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
|
|
|
|
if (DECOYS) {
|
|
|
|
translate([one_to_one_x, one_to_one_y, 20.5]) decoys(24);
|
|
|
|
}
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
2016-04-03 02:46:01 +00:00
|
|
|
|
2021-05-02 18:47:21 +00:00
|
|
|
module motor_key_reinforced () {
|
|
|
|
intersection () {
|
|
|
|
motor_key();
|
|
|
|
translate([one_to_one_x, one_to_one_y, 4]) union () {
|
|
|
|
cylinder(r = 16 / 2, h = 25, center = true);
|
|
|
|
translate([0, 0, 10]) cube([20, 12, 5], center = true);
|
|
|
|
translate([0, 0, 10]) cube([12, 20, 5], center = true);
|
|
|
|
translate([-(12 / 2) - (4 / 2), -(12 / 2) - (4 / 2), 10]) difference () {
|
|
|
|
cube([4, 4, 5], center = true);
|
|
|
|
rotate([0, 0, -45]) translate([0, -4, 0]) cube([8, 8, 5 + 1], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module motor_key_reinforced_roller () {
|
|
|
|
difference () {
|
2022-12-28 15:27:49 +00:00
|
|
|
motor_key(extraH = 4);
|
2021-05-02 18:47:21 +00:00
|
|
|
translate([one_to_one_x, one_to_one_y, 4]) union () {
|
2022-12-28 15:27:49 +00:00
|
|
|
//eliminates key shaft
|
2021-05-02 18:47:21 +00:00
|
|
|
cylinder(r = 16 / 2, h = 25, center = true);
|
2022-12-28 15:27:49 +00:00
|
|
|
//cuts cross for insert
|
2021-05-02 18:47:21 +00:00
|
|
|
translate([0, 0, 10]) cube([20.2, 12.2, 5.1], center = true);
|
|
|
|
translate([0, 0, 10]) cube([12.2, 20.2, 5.1], center = true);
|
2022-12-28 15:27:49 +00:00
|
|
|
//angles the corner
|
2021-05-02 18:47:21 +00:00
|
|
|
translate([-(12 / 2) - (4 / 2), -(12 / 2) - (4 / 2), 10]) difference () {
|
|
|
|
cube([4, 4, 5], center = true);
|
|
|
|
rotate([0, 0, -45]) translate([0, -4.2, 0]) cube([8, 8, 5 + 1], center = true);
|
|
|
|
}
|
2022-12-28 15:27:49 +00:00
|
|
|
//extend motor shaft void
|
|
|
|
translate([0, 0, 20]) difference () {
|
|
|
|
translate([0, 0, 0]) cylinder(r=3.1, h = 40, center = true, $fn = 24);
|
|
|
|
translate([5.4, 0, 0]) cube([6, 6, 40 + 1], center = true);
|
|
|
|
}
|
|
|
|
//m3 nut
|
|
|
|
translate([6, 0, 35]) cube([2.5 + .5, 5.25 + .5, 42], center = true);
|
|
|
|
//m3 set screw
|
|
|
|
translate([7.25, 0, 18]) rotate([0, 90, 0]) motor_set_screw_120_alt(H=15, H2 = 5);
|
2021-05-02 18:47:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-04-03 02:46:01 +00:00
|
|
|
module motor_key_120 (half = false, DECOYS = false, sides = 1, ALT = false) {
|
|
|
|
innerD = 7.85;
|
|
|
|
outer_d = 27.5 + 2;
|
|
|
|
notch_d = 10;
|
2016-05-13 19:14:02 +00:00
|
|
|
height = 7 + 5 + 4;
|
|
|
|
diff = 14 + 2.5 + 2;
|
2016-04-03 02:46:01 +00:00
|
|
|
$fn = 60;
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
translate([one_to_one_x, one_to_one_y, 12.1]) cylinder(r1 = 12 / 2, r2 = 12/2 + 4, h = 5, center = true);// padding against bearing
|
|
|
|
translate([one_to_one_x, one_to_one_y, diff + 1]) cylinder(r=outer_d/2, h= height -2, center= true, $fn=200); //large cylinder
|
|
|
|
translate([one_to_one_x, one_to_one_y, 6]) cylinder(r=innerD/2, h= 10, center= true);
|
|
|
|
//key_end([0, 180, 0], [one_to_one_x, one_to_one_y, -2.5]); //thicker-than-key_end cylinder for inner bearing
|
|
|
|
key_end([0, 180, -20], [one_to_one_x, one_to_one_y, -3.5], ALT = ALT); // longer for laser cut board
|
|
|
|
//key_end([0, 180, 0], [one_to_one_x, one_to_one_y, -4.5]); //experimental length
|
|
|
|
}
|
|
|
|
//1 notch
|
|
|
|
translate([one_to_one_x, one_to_one_y, diff]) {
|
|
|
|
translate ([-outer_d/2 - 2.5, 0, 0]) cylinder(r=notch_d/2, h= height, center= true); //notch
|
|
|
|
}
|
|
|
|
translate([one_to_one_x, one_to_one_y, diff]) {
|
2016-05-13 04:00:32 +00:00
|
|
|
translate ([-outer_d/2 -.5, -3.5 , 0]) rotate([0, 0, 100]) cube([15, 5, height], center = true); // smooth notch
|
2016-04-03 02:46:01 +00:00
|
|
|
translate ([-outer_d/2 -.5, 3.5, 0]) rotate([0, 0, -100]) cube([15, 5, height], center = true); // smooth notch
|
|
|
|
}
|
|
|
|
|
|
|
|
if (sides == 2) {
|
|
|
|
//2 notch
|
|
|
|
translate([one_to_one_x, one_to_one_y, diff]) {
|
|
|
|
translate ([outer_d/2 + 2.5, 0, 0]) cylinder(r=notch_d/2, h= height, center= true); //notch
|
|
|
|
}
|
|
|
|
translate([one_to_one_x, one_to_one_y, diff]) {
|
|
|
|
translate ([outer_d/2 +.5, -3.5, 0]) rotate([0, 0, -100]) cube([15, 5, height], center = true); // smooth notch
|
|
|
|
translate ([outer_d/2 +.5, 3.5, 0]) rotate([0, 0, 100]) cube([15, 5, height], center = true); // smooth notch
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//slot for hobbled(?) end
|
2016-05-13 04:00:32 +00:00
|
|
|
translate([one_to_one_x, one_to_one_y, 17 + 2]) {
|
2016-05-13 19:14:02 +00:00
|
|
|
translate([0, 0, 6.5]) hobbled_rod_120(12);
|
2016-04-09 23:41:45 +00:00
|
|
|
//translate([6.42, 0, 6 - 1.7]) motor_set_screw_120();
|
2016-05-13 19:14:02 +00:00
|
|
|
translate([6.42 - .2, 0, 4.3 - 1]) rotate([0, 90, 0]) motor_set_screw_120_alt();
|
|
|
|
translate([14, 0, 4.3 - 1]) rotate([0, 90, 0]) cylinder(r2 = 6 / 2, r1 = 5.8 / 2, h = 6, center = true); //extension
|
2016-04-09 23:41:45 +00:00
|
|
|
|
2016-04-03 02:46:01 +00:00
|
|
|
}
|
|
|
|
//translate([one_to_one_x, one_to_one_y, 20.5]) cylinder(r = 11.5/2, h = 10, center = true);
|
|
|
|
|
|
|
|
translate([one_to_one_x, one_to_one_y, 17.5]) {
|
|
|
|
difference() {
|
|
|
|
//cylinder(r = 7.5/2, h = 2, center = true);
|
|
|
|
//translate([5, 0, 0]) cube([10, 10, 10], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (half) {
|
|
|
|
translate([one_to_one_x - 50 , one_to_one_y, -50]) cube([100, 100, 200]);
|
|
|
|
}
|
|
|
|
}
|
2016-04-09 23:41:45 +00:00
|
|
|
// translate([one_to_one_x, one_to_one_y, 17]) translate([6.42 - .2, 0, 6 - 1.7]) rotate([0, 90, 0]) motor_set_screw_120_alt();
|
2016-04-03 02:46:01 +00:00
|
|
|
if (DECOYS) {
|
|
|
|
translate([one_to_one_x, one_to_one_y, 20.5]) decoys(24);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-02 18:47:21 +00:00
|
|
|
module motor_key_120_reinforced () {
|
|
|
|
intersection () {
|
|
|
|
motor_key_120();
|
|
|
|
translate([one_to_one_x, one_to_one_y, 4]) union () {
|
|
|
|
cylinder(r = 16 / 2, h = 25, center = true);
|
|
|
|
translate([0, 0, 10]) cube([20, 12, 5], center = true);
|
|
|
|
translate([0, 0, 10]) cube([12, 20, 5], center = true);
|
|
|
|
translate([-(12 / 2) - (4 / 2), -(12 / 2) - (4 / 2), 10]) difference () {
|
|
|
|
cube([4, 4, 5], center = true);
|
|
|
|
rotate([0, 0, -45]) translate([0, -4, 0]) cube([8, 8, 5 + 1], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module motor_key_120_reinforced_roller () {
|
|
|
|
difference () {
|
|
|
|
motor_key_120();
|
|
|
|
translate([one_to_one_x, one_to_one_y, 4]) union () {
|
|
|
|
cylinder(r = 16 / 2, h = 25, center = true);
|
|
|
|
translate([0, 0, 10]) cube([20.2, 12.2, 5.1], center = true);
|
|
|
|
translate([0, 0, 10]) cube([12.2, 20.2, 5.1], center = true);
|
|
|
|
translate([-(12 / 2) - (4 / 2), -(12 / 2) - (4 / 2), 10]) difference () {
|
|
|
|
cube([4, 4, 5], center = true);
|
|
|
|
rotate([0, 0, -45]) translate([0, -4.2, 0]) cube([8, 8, 5 + 1], center = true);
|
|
|
|
}
|
|
|
|
hobbled_rod_120(40);
|
|
|
|
//nut
|
2022-12-28 15:27:49 +00:00
|
|
|
|
2021-05-02 18:47:21 +00:00
|
|
|
//half
|
|
|
|
//translate([0, 50, 0]) cube([100, 100, 100], center = true);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-03 02:46:01 +00:00
|
|
|
module motor_set_screw_120 () {
|
|
|
|
cube([10.19, 2.95, 2.95], center = true);
|
|
|
|
translate([(10.19 / 2) - (2.56 / 2), 0, 0]) cube([2.56, 5.8, 5.8], center = true);
|
|
|
|
}
|
|
|
|
|
2022-12-28 15:27:49 +00:00
|
|
|
module motor_set_screw_120_alt (H = 10.19, H2 = 2.56) {
|
2016-04-09 23:41:45 +00:00
|
|
|
$fn = 60;
|
2022-12-28 15:27:49 +00:00
|
|
|
cylinder(r = 2.95 / 2, h = H, center= true);
|
|
|
|
translate([0, 0, (H / 2) - (H2 / 2)]) cylinder(r = 5.8 / 2, h = H2, center = true);
|
2016-04-09 23:41:45 +00:00
|
|
|
}
|
|
|
|
|
2016-04-03 02:46:01 +00:00
|
|
|
module hobbled_rod_120 (h = 10) {
|
2022-09-17 19:34:01 +00:00
|
|
|
d = 4.25;
|
|
|
|
diff = 3.33;
|
2016-04-03 02:46:01 +00:00
|
|
|
difference () {
|
|
|
|
cylinder(r = d/2, h = h, center = true, $fn = 60);
|
|
|
|
translate([d/2 + ((d/2) - (d - diff)), 0, 0]) cube([d, d, h + 1], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-04-28 12:21:03 +00:00
|
|
|
module motor_12v () {
|
|
|
|
motor_d = 37;
|
|
|
|
motor_h = 63;
|
|
|
|
end = 11.5;
|
|
|
|
len = 17;
|
|
|
|
cylinder(r = motor_d/2, h = motor_h, center=true);
|
|
|
|
translate([0, 0, (motor_h / 2) + (len / 2)]) cylinder(r = end/2, h = len, center=true);
|
|
|
|
}
|
|
|
|
module motor_mount () {
|
|
|
|
base_d = 45;
|
|
|
|
base_inner = 39;
|
|
|
|
base_thickness = 3;
|
|
|
|
hole_d = 13.5;
|
|
|
|
screw_d = 5;
|
|
|
|
height = 6;
|
|
|
|
difference () {
|
|
|
|
difference () {
|
|
|
|
translate([0, 0, 2.5])cylinder(r=base_d/2, h=height + 5, center = true);
|
|
|
|
translate([0, 0, base_thickness + 2.5]) cylinder(r=base_inner/2, h=height + 5, center = true);
|
|
|
|
}
|
|
|
|
|
|
|
|
cylinder(r=hole_d/2, h=29, center = true); //center hole
|
2016-01-11 21:39:27 +00:00
|
|
|
|
2015-04-28 12:21:03 +00:00
|
|
|
//screw mounts
|
2016-01-11 21:39:27 +00:00
|
|
|
translate([0, 12.5, 0]) cylinder(r=screw_d/2, h=29, center = true);
|
2015-04-28 12:21:03 +00:00
|
|
|
translate([0, -12.5, 0]) cylinder(r=screw_d/2, h=29, center = true);
|
2016-01-11 21:39:27 +00:00
|
|
|
//translate([10.5, 0, 0]) cylinder(r=screw_d/2, h=29, center = true);
|
|
|
|
//translate([0, 0, -10]) cube([100, 100, 100]);
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
|
|
|
//wings
|
|
|
|
//translate([-18, 0, 0]) cube([6, 4, 4], center= true);
|
|
|
|
translate ([-one_to_one_x, -one_to_one_y, 0]) bolt_holder([mm_x[0], mm_y[0], 0], 100, height, 9);
|
|
|
|
translate ([-one_to_one_x, -one_to_one_y, 0]) bolt_holder([mm_x[1], mm_y[1], 0], -10, height, 11);
|
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
module geared_motor (ROT_1 = 0, ROT_2 = 0) {
|
|
|
|
BODY_D = 37;
|
|
|
|
BODY_H = 42;
|
|
|
|
BASE_D = 12;
|
|
|
|
BASE_H = 6;
|
|
|
|
ROD_D = 6;
|
|
|
|
ROD_H = 15.5;
|
|
|
|
rotate([0, 0, ROT_1]) {
|
|
|
|
cylinder(r = BODY_D/2, h = BODY_H, center = true);
|
|
|
|
translate([0, BASE_D/2, -(BODY_H/2) - (BASE_H/2)]) {
|
|
|
|
cylinder(r = BASE_D/2, h = BASE_H, center = true);
|
|
|
|
}
|
|
|
|
translate([0, BASE_D/2, -(BODY_H/2) - (BASE_H/2) - (ROD_H/2)]) {
|
|
|
|
rotate([0, 0, ROT_2]) {
|
|
|
|
difference () {
|
|
|
|
cylinder(r = ROD_D/2, h = ROD_H, center = true);
|
|
|
|
translate([0, 5, -2]) cube([ROD_D, ROD_D, 12], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module geared_motor_mount (DECOYS = false) {
|
|
|
|
$fn = 60;
|
2015-04-28 12:21:03 +00:00
|
|
|
base_d = 45;
|
2016-01-11 21:39:27 +00:00
|
|
|
base_inner = 38;
|
2015-04-28 12:21:03 +00:00
|
|
|
base_thickness = 3;
|
|
|
|
hole_d = 12.5;
|
|
|
|
screw_d = 4;
|
|
|
|
height = 6;
|
|
|
|
difference () {
|
|
|
|
difference () {
|
2016-01-11 21:39:27 +00:00
|
|
|
translate([-6, 0, 2.5]) cylinder(r=base_d/2, h=height + 5, center = true); //outer cylinder
|
|
|
|
translate([-6, 0, base_thickness + 2.5]) cylinder(r=base_inner/2, h=height + 5, center = true); //inder cylinder
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
|
|
|
cylinder(r=hole_d/2, h=29, center = true); //center hole
|
|
|
|
//screw holes
|
2016-01-11 21:39:27 +00:00
|
|
|
translate([-6.5, 0, 0]) {
|
|
|
|
translate([0, screw_distance/2, 0]) cylinder(r=screw_d/2, h=29, center = true);
|
|
|
|
translate([0, -screw_distance/2, 0]) cylinder(r=screw_d/2, h=29, center = true);
|
|
|
|
}
|
|
|
|
translate([2, 19, 0]) cylinder(r=5, h = 100, center = true); //hole for panel bolt access
|
|
|
|
}
|
2015-04-28 12:21:03 +00:00
|
|
|
//wings
|
2016-01-11 21:39:27 +00:00
|
|
|
translate ([-one_to_one_x, -one_to_one_y, 0]) bolt_holder([mm_x[0], mm_y[0], 0], mm_r[0], height, mm_l[0]);
|
|
|
|
translate ([-one_to_one_x, -one_to_one_y, 0]) bolt_holder([mm_x[1], mm_y[1], 0], mm_r[1], height, mm_l[1]);
|
|
|
|
//translate ([-one_to_one_x, -one_to_one_y, 0]) bolt_holder([mm_x[5] , mm_y[5], 0], mm_r[5], height, mm_l[5] - 1);
|
|
|
|
if (DECOYS) {
|
|
|
|
translate([-7, -6, 0]) decoys(40, -1, 4);
|
|
|
|
translate([-9, -2, 0]) rotate([0, 0, 49]) decoys(37, -1, 4);
|
|
|
|
}
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
2016-04-03 02:46:01 +00:00
|
|
|
|
|
|
|
module geared_motor_mount_120 (DECOYS = false) {
|
2016-04-03 02:47:23 +00:00
|
|
|
$fn = 160;
|
2016-04-03 02:46:01 +00:00
|
|
|
base_d = 45;
|
2016-04-04 15:58:03 +00:00
|
|
|
base_inner = 25.2;
|
2016-04-03 02:46:01 +00:00
|
|
|
base_thickness = 3;
|
|
|
|
hole_d = 7;
|
|
|
|
screw_d = 3.2;
|
2016-04-04 21:51:16 +00:00
|
|
|
bolt_end = 5.4;
|
2016-04-03 02:46:01 +00:00
|
|
|
height = 6;
|
|
|
|
screw_distance = 17;
|
|
|
|
difference () {
|
|
|
|
difference () {
|
|
|
|
translate([-6, 0, 2.5]) cylinder(r=base_d/2, h=height + 5, center = true); //outer cylinder
|
2016-04-04 21:51:16 +00:00
|
|
|
//translate([-6, 0, base_thickness + 2.5]) cylinder(r=base_inner/2, h=height + 5, center = true); //inner cylinder
|
|
|
|
translate([0, 0, base_thickness + 1.5]) cylinder(r=base_inner/2, h=height + 5, center = true); //inner cylinder
|
2016-04-03 02:46:01 +00:00
|
|
|
}
|
|
|
|
cylinder(r=hole_d/2, h=29, center = true); //center hole
|
|
|
|
//screw holes
|
|
|
|
translate([0, 0, 0]) {
|
|
|
|
translate([0, screw_distance/2, 0]) cylinder(r=screw_d/2, h=29, center = true);
|
|
|
|
translate([0, -screw_distance/2, 0]) cylinder(r=screw_d/2, h=29, center = true);
|
|
|
|
|
|
|
|
//bolt ends
|
2016-04-04 21:51:16 +00:00
|
|
|
translate([0, screw_distance/2, -3]) cylinder(r=bolt_end/2, h=2, center = true);
|
|
|
|
translate([0, -screw_distance/2, -3]) cylinder(r=bolt_end/2, h=2, center = true);
|
2016-04-03 02:46:01 +00:00
|
|
|
}
|
|
|
|
translate([2, 19, 0]) cylinder(r=5, h = 100, center = true); //hole for panel bolt access
|
|
|
|
}
|
|
|
|
//wings
|
|
|
|
translate ([-one_to_one_x, -one_to_one_y, 0]) bolt_holder([mm_x[0], mm_y[0], 0], mm_r[0], height, mm_l[0]);
|
|
|
|
translate ([-one_to_one_x, -one_to_one_y, 0]) bolt_holder([mm_x[1], mm_y[1], 0], mm_r[1], height, mm_l[1]);
|
|
|
|
//translate ([-one_to_one_x, -one_to_one_y, 0]) bolt_holder([mm_x[5] , mm_y[5], 0], mm_r[5], height, mm_l[5] - 1);
|
|
|
|
if (DECOYS) {
|
|
|
|
translate([-7, -6, 0]) decoys(40, -1, 4);
|
|
|
|
translate([-9, -2, 0]) rotate([0, 0, 49]) decoys(37, -1, 4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-20 20:20:25 +00:00
|
|
|
module geared_motor_mount_reinforced () {
|
|
|
|
$fn = 60;
|
|
|
|
base_d = 45;
|
|
|
|
base_inner = 38;
|
|
|
|
base_thickness = 3+3.75;
|
|
|
|
hole_d = 12.5;
|
|
|
|
screw_d = 4;
|
|
|
|
height = 6+3.75;
|
|
|
|
difference () {
|
|
|
|
difference () {
|
|
|
|
translate([-6, 0, 2.5]) cylinder(r=base_d/2, h=height + 5, center = true); //outer cylinder
|
|
|
|
translate([-6, 0, base_thickness + 2.5]) cylinder(r=base_inner/2, h=height + 5, center = true); //inder cylinder
|
|
|
|
}
|
|
|
|
cylinder(r=hole_d/2, h=29, center = true); //center hole
|
|
|
|
//screw holes
|
|
|
|
translate([-6.5, 0, 0]) {
|
|
|
|
translate([0, screw_distance/2, 0]) {
|
|
|
|
cylinder(r=screw_d/2, h=29, center = true);
|
|
|
|
//countersink
|
|
|
|
translate([0, 0, -17]) cylinder(r=6/2, h=29, center = true);
|
|
|
|
}
|
|
|
|
translate([0, -screw_distance/2, 0]) {
|
|
|
|
cylinder(r=screw_d/2, h=29, center = true);
|
|
|
|
//countersink
|
|
|
|
translate([0, 0, -17])cylinder(r=6/2, h=29, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
translate([2, 19, 0]) cylinder(r=5, h = 100, center = true); //hole for panel bolt access
|
|
|
|
}
|
|
|
|
//wings
|
|
|
|
translate ([-one_to_one_x, -one_to_one_y, 0]) bolt_holder([mm_x[0], mm_y[0], 0], mm_r[0], height, mm_l[0]);
|
|
|
|
translate ([-one_to_one_x, -one_to_one_y, 0]) bolt_holder([mm_x[1], mm_y[1], 0], mm_r[1], height, mm_l[1]);
|
|
|
|
|
|
|
|
//translate([0, 0, -5]) cube([3.75, 3.75, 3.75], center = true);
|
|
|
|
}
|
2016-04-03 02:46:01 +00:00
|
|
|
|
2023-04-28 23:20:54 +00:00
|
|
|
module motor_mount_bottom () {
|
2016-01-11 21:39:27 +00:00
|
|
|
$fn = 60;
|
|
|
|
mount_d = 45;
|
|
|
|
base_d = 45;
|
2015-04-28 12:21:03 +00:00
|
|
|
outer_d = 28 + 2.3 + 4;
|
|
|
|
height = 19 + 3.5 + 4;
|
|
|
|
bolt_h = 22.3;
|
|
|
|
shelf_h = 6; //match to motor_mount
|
2016-01-11 21:39:27 +00:00
|
|
|
screw_d = 4;
|
2023-04-28 23:20:54 +00:00
|
|
|
panel_h = 19 + 3.5 + 4 + 20;
|
2015-04-28 12:21:03 +00:00
|
|
|
module motor_mount_core () {
|
|
|
|
translate ([one_to_one_x, one_to_one_y, (height / 2 ) + 5.75]) {
|
|
|
|
difference() {
|
2016-01-11 21:39:27 +00:00
|
|
|
translate([-6, 0, 0]) cylinder(r = mount_d / 2, h = height, center = true); //main block
|
|
|
|
translate([0, 0, (height / 2) - (shelf_h / 2)]) cylinder(r = base_d / 2 + 7, h = shelf_h, center = true); //shelf for motor_mount
|
2015-04-28 12:21:03 +00:00
|
|
|
cylinder(r = outer_d / 2, h = 50, center = true); //space for spinning
|
2016-01-11 21:39:27 +00:00
|
|
|
translate ([-one_to_one_x, -one_to_one_y, 0]) remove_front(); //flatten side
|
2015-04-28 12:21:03 +00:00
|
|
|
translate([-32, -17, -19]) cube([40, 40, 40], center= true); //hole for notch
|
|
|
|
translate([-42, 0, -19]) rotate([0, 0, -39]) cube([40, 40, 40], center= true); //hole for notch
|
2016-01-11 21:39:27 +00:00
|
|
|
translate([2.5, 19.5, 0]) cylinder(r=10/2, h = 60, center=true); // hole for panel bolt
|
|
|
|
translate([22.5, 19.5, 0]) cube([40, 40, 60], center = true); //remove front entirely
|
|
|
|
translate([-6.5, 0, 7.5]) {
|
2022-10-07 12:38:34 +00:00
|
|
|
translate([0, screw_distance/2, 0]) sphere(r=screw_d);
|
|
|
|
translate([0, -screw_distance/2, 0]) sphere(r=screw_d);
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
translate ([-one_to_one_x, -one_to_one_y, 0]) bolt_holder([mm_x[0], mm_y[0], -shelf_h / 2], mm_r[0], height - shelf_h, mm_l[0], tight = 0.2); //Bottom bolt holder
|
|
|
|
translate ([-one_to_one_x, -one_to_one_y, 0]) bolt_holder([mm_x[1] , mm_y[1], -shelf_h / 2], mm_r[1], height - shelf_h, mm_l[1], tight = 0.2); //Left bolt holder
|
|
|
|
|
|
|
|
translate ([-one_to_one_x, -one_to_one_y, -2]) bolt_holder([mm_x[5] , mm_y[5], -shelf_h / 2], mm_r[5], height - shelf_h - 4, mm_l[5]); //Top bolt holder
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
module microswitch_holder () {
|
|
|
|
difference () {
|
|
|
|
translate([29, -1, 14]) cube([36, 65, height - shelf_h - 4], center = true);//Base shape
|
|
|
|
translate ([25.5, -14, 15]) {
|
|
|
|
cube([17, 28, 39.5], center = true); //rectangle hole for center
|
|
|
|
translate([4.5, 5.6, 0]) rotate([0, 0, -23]) cube([17, 25, 39.5], center = true); //bottom right inner
|
|
|
|
translate([-2, -18, -3.5]) cube([7, 11, 12], center = true); // hole for bottom pins
|
|
|
|
translate([-9.5, -1, -3.5]) cube([30, 4, 12], center = true); //hole for side pin
|
|
|
|
}
|
|
|
|
translate ([14, 37.5, 15]) rotate([0, 0, 44]) cube([55, 30, 30], center= true); //top left outer
|
|
|
|
translate ([one_to_one_x, one_to_one_y, 18]) {
|
|
|
|
cylinder(r = outer_d / 2, h = 50, center = true); //space for spinning
|
|
|
|
}
|
|
|
|
translate ([32, 6, 15]) {
|
|
|
|
difference () {
|
|
|
|
translate([3, 0, 0]) rotate([0, 0, 0]) cube([20, 25, 39.5], center = true); //removes area for microswitch arm
|
|
|
|
translate([-2, 16, 0]) rotate([0, 0, -55]) cube([20, 50, 39.5], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
translate ([58, -25, 15]) {
|
|
|
|
rotate([0, 0, 75]) cube([45, 30, 30], center= true); //bottom right outer
|
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
translate([mm_x[4], mm_y[4], 0]) cylinder(r = bolt_inner, h = 100, center = true); // extra bolt hole
|
2015-04-28 12:21:03 +00:00
|
|
|
translate([mm_x[1], mm_y[1], 0]) cylinder(r = 4, h = 100, center = true); //clear out top left bolt hole
|
|
|
|
}
|
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
module panel_attachment () {
|
|
|
|
difference () {
|
|
|
|
union() {
|
2023-04-28 23:20:54 +00:00
|
|
|
translate([0, 0, 2]) cylinder(r = 10/2, h = panel_h - shelf_h, center = true);
|
|
|
|
translate([3.5, 0, -10]) cube([7, 7, height - shelf_h - 4], center = true);
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
2023-04-28 23:20:54 +00:00
|
|
|
cylinder(r = 3.2/2, h = panel_h, center = true);
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
|
|
|
}
|
2023-04-28 23:20:54 +00:00
|
|
|
translate([8, -9, (panel_h - shelf_h) / 2 + 3.75]) panel_attachment();
|
2015-04-28 12:21:03 +00:00
|
|
|
motor_mount_core();
|
2016-01-11 21:39:27 +00:00
|
|
|
microswitch_holder();
|
2015-04-28 12:21:03 +00:00
|
|
|
bolt_holder([mm_x[2], mm_y[2], ((height - shelf_h)/ 2) + 3.75], 0, height - shelf_h - 4, 6); //bottom left mount
|
|
|
|
bolt_holder([mm_x[3], mm_y[3], ((height - shelf_h)/ 2) + 3.75], 180, height - shelf_h - 4, 6); //bottom right mount
|
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
module bolt_holder (position = [0, 0, 0], rotate_z = 0, h = 17, length = 4.5, hole = true, tight = 0) {
|
|
|
|
bolt_r = 6;
|
|
|
|
|
2015-04-28 12:21:03 +00:00
|
|
|
translate (position) {
|
|
|
|
difference () {
|
|
|
|
union() {
|
|
|
|
cylinder(r = bolt_r + 0, h = h, center = true);
|
|
|
|
rotate([0, 0, rotate_z]) translate([length/2, 0, 0]) cube([length, bolt_r * 2, h], center=true);
|
|
|
|
}
|
|
|
|
if (hole) {
|
2016-01-11 21:39:27 +00:00
|
|
|
cylinder(r = bolt_inner - tight, h = h + 2, center = true);
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module microswitch (position = [0, 0, 0], rotation = [0, 0, 0]) {
|
|
|
|
translate(position) {
|
|
|
|
rotate(rotation) {
|
|
|
|
cube([16, 28, 9.5], center = true);
|
|
|
|
translate([10, 8, 0]) rotate([0, 0, -7]) cube([1, 28, 4], center = true);
|
|
|
|
translate([8 + 7, 14 + 8, 0]) cylinder(r = 2.5, h = 4, center = true);
|
|
|
|
translate([0, -19, 0]) cube([6, 11, 9.5], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-05-29 01:17:46 +00:00
|
|
|
module l298N_mount (pos = [0, 0, 0]) {
|
2016-01-11 21:39:27 +00:00
|
|
|
$fn = 60;
|
|
|
|
DISTANCE = 36.5;
|
|
|
|
H = 4;
|
|
|
|
THICKNESS = 3;
|
2015-04-28 12:21:03 +00:00
|
|
|
module stand () {
|
|
|
|
difference () {
|
2016-01-11 21:39:27 +00:00
|
|
|
cylinder(r1 = 4, r2 = 3, h = H, center = true);
|
2023-05-03 03:57:57 +00:00
|
|
|
cylinder(r = 1.5, h = H + 1, center = true);
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
|
|
|
}
|
2023-05-03 03:57:57 +00:00
|
|
|
translate(pos) {
|
|
|
|
translate([0, 0, 0]) stand();
|
|
|
|
translate([DISTANCE, 0, 0]) stand();
|
|
|
|
translate([DISTANCE, DISTANCE, 0]) stand();
|
|
|
|
translate([0, DISTANCE, 0]) stand();
|
|
|
|
difference () {
|
|
|
|
translate([DISTANCE/2, DISTANCE/2, -3]) rounded_cube([DISTANCE + 8, DISTANCE + 8, THICKNESS], 8, center = true); //base
|
|
|
|
translate([DISTANCE/2, DISTANCE/2, -3]) rounded_cube([DISTANCE - 5, DISTANCE - 5, THICKNESS + 1], 10, center = true); //base
|
|
|
|
translate([0, 0, 0]) cylinder(r = 1.5, h = H * 5, center = true);
|
|
|
|
translate([DISTANCE, 0, 0]) cylinder(r = 1.5, h = H * 5, center = true);
|
|
|
|
translate([DISTANCE, DISTANCE, 0]) cylinder(r = 1.5, h = H * 5, center = true);
|
|
|
|
translate([0, DISTANCE, 0]) cylinder(r = 1.5, h = H * 5, center = true);
|
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
2015-04-28 12:21:03 +00:00
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
module pcb_mount () {
|
2015-04-28 12:21:03 +00:00
|
|
|
DISTANCE_X = 41;
|
|
|
|
DISTANCE_Y = 66;
|
|
|
|
OUTER = 10;
|
|
|
|
H = 8;
|
|
|
|
|
|
|
|
module stand () {
|
|
|
|
difference () {
|
|
|
|
cylinder(r1 = 5, r2 = 4, h = H, center = true);
|
|
|
|
cylinder(r = 1.75, h = H, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
translate([0, 0, 0]) stand();
|
|
|
|
translate([DISTANCE_X, 0, 0]) stand();
|
|
|
|
translate([DISTANCE_X, DISTANCE_Y, 0]) stand();
|
|
|
|
translate([0, DISTANCE_Y, 0]) stand();
|
|
|
|
translate([DISTANCE_X/2, DISTANCE_Y/2, -4]) rounded_cube([DISTANCE_X + OUTER, DISTANCE_Y + OUTER, 4], OUTER, center = true);
|
|
|
|
}
|
|
|
|
|
2016-01-11 21:39:27 +00:00
|
|
|
module plunger () {
|
|
|
|
$fn = 60;
|
|
|
|
FINGER = 39;
|
|
|
|
CYL_D = 9;
|
|
|
|
WALL = 3;
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
cylinder(r1 = CYL_D, r2 = CYL_D - 1, h = 30, center = true); //outer cylinder
|
|
|
|
difference () {
|
|
|
|
translate([0, 0, -9]) rotate([90, 0, 0]) rounded_cube([50, 12, 10], d = 5, center = true);
|
|
|
|
translate([23, 0, 9]) rotate([90, 0, 0]) cylinder(r = FINGER/2, h = 20, center = true);
|
|
|
|
translate([-23, 0, 9]) rotate([90, 0, 0]) cylinder(r = FINGER/2, h = 20, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
translate([0, 0, 2]) cylinder( r = CYL_D - WALL, h = 30, center = true); //inner cylinder
|
|
|
|
cylinder(r = 7/2, h = 50, center = true); // button hole
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
//cylinder(r= 5, h = 50, center = true); button
|
|
|
|
}
|
|
|
|
|
|
|
|
module plunger_top () {
|
|
|
|
$fn = 60;
|
|
|
|
CYL_D = 9;
|
|
|
|
WALL = 3;
|
|
|
|
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
cylinder(r = CYL_D - WALL - 0.015, h =6, center = true);
|
|
|
|
translate([0, 0, 2]) cylinder (r = CYL_D - 1, h = 2, center = true);
|
|
|
|
}
|
|
|
|
translate([0, 0, -2]) cylinder(r = CYL_D - WALL - 0.015 - 1, h =6, center = true);
|
|
|
|
//cylinder(r = 3/2, h = 50, center = true); // wire
|
|
|
|
cylinder(r = 3.9/2, h = 50, center = true); //3.5mm wire
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module plunger_plate () {
|
|
|
|
translate([40, 0, -12]) rotate([180, 0, 0]) plunger_top();
|
|
|
|
plunger();
|
|
|
|
|
|
|
|
//decoys
|
2016-02-29 22:12:48 +00:00
|
|
|
/*translate([44,20,-13]) cube([4, 4, 4], center = true);
|
2016-01-11 21:39:27 +00:00
|
|
|
translate([44,-20,-13]) cube([4, 4, 4], center = true);
|
|
|
|
translate([-23,20,-13]) cube([4, 4, 4], center = true);
|
2016-02-29 22:12:48 +00:00
|
|
|
translate([-23,-20,-13]) cube([4, 4, 4], center = true);*/
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
module trinket_mount (decoys = false) {
|
|
|
|
$fn = 60;
|
|
|
|
TRINKET_L = 37.5;
|
|
|
|
TRINKET_W = 18;
|
|
|
|
difference () {
|
2016-04-15 04:02:11 +00:00
|
|
|
rounded_cube([TRINKET_L + 4.5, 21, 3.5], d = 4, center = true); //body
|
|
|
|
translate([0, 0, 1]) cube([TRINKET_L, TRINKET_W, 1.5], center = true); //trinket
|
|
|
|
translate([0, 0, 0]) cube([TRINKET_L - 1, TRINKET_W - 1, 10], center = true); //trinket ridge
|
|
|
|
translate([20, 0, 1]) cube([9, 9, 1.5], center = true);
|
|
|
|
|
|
|
|
}
|
|
|
|
translate([(TRINKET_L / 2) -2, 0, -.75]) cube([4, TRINKET_W - 1, 2], center = true);//under usb
|
|
|
|
SPREAD = 14.25;
|
|
|
|
translate([(TRINKET_L / 2) -2, SPREAD/2, 1]) cylinder(r = 1.75/2, h = 2, center = true);
|
|
|
|
translate([(TRINKET_L / 2) -2, -SPREAD/2, 1]) cylinder(r = 1.75/2, h = 2, center = true);
|
|
|
|
//decoys
|
|
|
|
if (decoys){
|
|
|
|
translate([23,20,.25]) cube([4, 4, 4], center = true);
|
|
|
|
translate([23,-20,.25]) cube([4, 4, 4], center = true);
|
|
|
|
translate([-23,20,.25]) cube([4, 4, 4], center = true);
|
|
|
|
translate([-23,-20,.25]) cube([4, 4, 4], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module metro_mount (decoys = false) {
|
|
|
|
$fn = 60;
|
|
|
|
TRINKET_L = 43.5;
|
|
|
|
TRINKET_W = 18;
|
|
|
|
difference () {
|
|
|
|
rounded_cube([TRINKET_L + 4.5, 21, 3.5], d = 4, center = true); //body
|
2016-01-11 21:39:27 +00:00
|
|
|
translate([0, 0, 1]) cube([TRINKET_L, TRINKET_W, 1.5], center = true); //trinket
|
|
|
|
translate([0, 0, 0]) cube([TRINKET_L - 1, TRINKET_W - 1, 10], center = true); //trinket ridge
|
|
|
|
translate([20, 0, 1]) cube([9, 9, 1.5], center = true);
|
|
|
|
|
|
|
|
}
|
|
|
|
translate([(TRINKET_L / 2) -2, 0, -.75]) cube([4, TRINKET_W - 1, 2], center = true);//under usb
|
|
|
|
SPREAD = 14.25;
|
|
|
|
translate([(TRINKET_L / 2) -2, SPREAD/2, 1]) cylinder(r = 1.75/2, h = 2, center = true);
|
|
|
|
translate([(TRINKET_L / 2) -2, -SPREAD/2, 1]) cylinder(r = 1.75/2, h = 2, center = true);
|
|
|
|
//decoys
|
|
|
|
if (decoys){
|
|
|
|
translate([23,20,.25]) cube([4, 4, 4], center = true);
|
|
|
|
translate([23,-20,.25]) cube([4, 4, 4], center = true);
|
|
|
|
translate([-23,20,.25]) cube([4, 4, 4], center = true);
|
|
|
|
translate([-23,-20,.25]) cube([4, 4, 4], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-28 23:20:54 +00:00
|
|
|
|
|
|
|
module printed_panel_cover () {
|
|
|
|
intval_laser_panel_cover(buttons = false);
|
|
|
|
}
|
|
|
|
|
|
|
|
module printed_panel_cover_buttons () {
|
2023-12-23 00:10:29 +00:00
|
|
|
intval_laser_panel_cover(buttons = true, ALL_RED = true, logo = true);
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
module button_nuts () {
|
|
|
|
difference () {
|
|
|
|
cylinder(r = 5, h = 2, center = true, $fn = 6);
|
|
|
|
cylinder(r = 3.1, h = 19, center = true, $fn = 60);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module button_nuts_plate (decoys = false) {
|
|
|
|
|
|
|
|
translate([0, 0, 0]) button_nuts();
|
|
|
|
translate([0, 11, 0]) button_nuts();
|
|
|
|
translate([11, 11, 0]) button_nuts();
|
|
|
|
translate([11, 0, 0]) button_nuts();
|
|
|
|
translate([22, 0, 0]) button_nuts();
|
|
|
|
translate([22, 11, 0]) button_nuts();
|
|
|
|
|
|
|
|
if (decoys){
|
|
|
|
translate([30, 24, 1]) cube([4, 4, 4], center = true);
|
|
|
|
translate([30, -14, 1]) cube([4, 4, 4], center = true);
|
|
|
|
translate([-10, 24, 1]) cube([4, 4, 4], center = true);
|
|
|
|
translate([-10, -14, 1]) cube([4, 4, 4], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-13 16:21:24 +00:00
|
|
|
module intval_electronics_mount (TYPE = "TRINKET", MOD_Y = 5, MOD_MOUNT = 0) {
|
2024-05-29 01:17:46 +00:00
|
|
|
translate([-40 + 2, -1, 14]) rotate([0, 0, -13]) l298N_mount();
|
2016-04-15 04:02:11 +00:00
|
|
|
if (TYPE == "TRINKET") {
|
2018-10-13 16:21:24 +00:00
|
|
|
translate([-26 + 2, -19 - MOD_Y + 1, 11.25]) rotate([0, 0, -180 - 13]) trinket_mount();
|
2016-04-15 04:02:11 +00:00
|
|
|
} else if (TYPE == "METRO") {
|
2018-10-13 16:21:24 +00:00
|
|
|
translate([-26 + 2, -19 - MOD_Y + 1, 11.25]) rotate([0, 0, -180 - 13]) metro_mount();
|
|
|
|
}
|
|
|
|
if (MOD_Y != 0) {
|
|
|
|
translate([-26 + 4, -19 + MOD_Y + 3 , 11.25 - .25]) rotate([0, 0, -180 - 13]) cube([40, MOD_Y, 3], center = true);
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module key_cap () {
|
|
|
|
$fn = 40;
|
|
|
|
outerD = 22.1;
|
|
|
|
fuzz = 0.1;
|
|
|
|
difference () {
|
|
|
|
cylinder(r = outerD / 2 + fuzz + 1, h = 18, center = true);
|
|
|
|
translate([0, 0, -1]) cylinder(r = outerD / 2, h = 16, center = true);
|
|
|
|
}
|
2016-03-21 22:16:34 +00:00
|
|
|
//decoys(23, 7);
|
2016-01-11 21:39:27 +00:00
|
|
|
}
|
|
|
|
|
2022-09-16 15:05:55 +00:00
|
|
|
module bearing_reinforcement () {
|
|
|
|
$fn = 60;
|
|
|
|
outerD = 22.1;
|
2022-09-21 01:06:11 +00:00
|
|
|
outerD2 = 30;
|
2022-09-16 15:05:55 +00:00
|
|
|
fuzz = 0.1;
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
cylinder(r = outerD / 2 + fuzz + 2, h = 4, center = true);
|
2022-09-21 01:06:11 +00:00
|
|
|
translate([0, 0, -1]) cylinder(r = outerD2 / 2, h = 2, center = true);
|
2022-09-16 15:05:55 +00:00
|
|
|
}
|
2022-09-21 01:06:11 +00:00
|
|
|
cylinder(r = outerD / 2, h = 16, center = true);
|
|
|
|
|
|
|
|
//make flush with front of panel
|
|
|
|
translate([outerD2 - 2.5, 0, 0 ]) cube([outerD2, outerD2, outerD2], center = true);
|
|
|
|
translate([2, -(outerD2 / 2) - 4, 0]) cylinder(r = 15 / 2, h = 20, center = true, $fn = 60);
|
2022-09-16 15:05:55 +00:00
|
|
|
}
|
2022-09-21 01:06:11 +00:00
|
|
|
|
2022-09-16 15:05:55 +00:00
|
|
|
}
|
|
|
|
|
2016-01-11 21:39:27 +00:00
|
|
|
module motor_cap (DECOYS = false, HALF = false) {
|
|
|
|
$fn = 60;
|
|
|
|
base_d = 47;
|
|
|
|
difference () {
|
|
|
|
translate([-6, 0, 40]) cylinder(r = base_d/2, h = 52, center = true);
|
|
|
|
translate([-6, 0, -5.75]) cylinder(r = base_d/2 - 1, h = 50, center = true);
|
|
|
|
translate([-6, 0, 39]) cylinder(r = base_d/2 - 3, h = 50, center = true);
|
|
|
|
translate([-25, 0, 19]) cube([10, 10, 15], center = true); //wire access
|
|
|
|
if (HALF){
|
|
|
|
translate([100, 0, 0]) cube([200, 200, 200], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (DECOYS) {
|
|
|
|
translate([-6, 0, 0]) decoys(32, 64);
|
|
|
|
}
|
|
|
|
}
|
2016-05-23 17:21:31 +00:00
|
|
|
module motor_cap_120 (HALF = false) {
|
|
|
|
$fn = 60;
|
|
|
|
base_d = 47;
|
|
|
|
base_inner = 29;
|
|
|
|
inner_h = 57;
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
translate([-6, 0, 24]) cylinder(r = base_d/2, h = 15, center = true);
|
|
|
|
translate([0, 0, inner_h]) cylinder(r=(base_inner / 2) + 3, h=inner_h, center = true);
|
|
|
|
}
|
|
|
|
translate([-6, 0, -5.75]) cylinder(r = base_d/2 - 1, h = 50, center = true); //to grip edge of
|
|
|
|
translate([-6, 0, 3]) cylinder(r = base_d/2 - 3, h = 50, center = true);
|
|
|
|
translate([-25, 0, 19]) cube([10, 10, 15], center = true); //wire access
|
|
|
|
|
|
|
|
//120 motor
|
|
|
|
|
|
|
|
translate([0, 0, inner_h - 2]) cylinder(r=base_inner / 2, h=inner_h, center = true); //inner cylinder
|
|
|
|
|
|
|
|
if (HALF){
|
|
|
|
translate([100, 0, 0]) cube([200, 200, 200], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-01-11 21:39:27 +00:00
|
|
|
|
2023-06-29 21:20:23 +00:00
|
|
|
module motor_cap_alt (DECOYS = false, HALF = false) {
|
|
|
|
$fn = 120;
|
|
|
|
base_d = 47;
|
|
|
|
H = 50 + 12;
|
|
|
|
difference () {
|
|
|
|
translate([-6, 0, H - 10]) cylinder(r = base_d/2, h = H + 2, center = true);
|
|
|
|
translate([-6, 0, -5.75]) cylinder(r = base_d/2 - 1, h = H, center = true);
|
|
|
|
translate([-6, 0, H - 10 - 1]) cylinder(r = base_d/2 - 3, h = H, center = true);
|
|
|
|
translate([-25, 0, (H / 2) - 6]) cube([10, 10, 15], center = true); //wire access
|
|
|
|
if (HALF){
|
|
|
|
translate([100, 0, 0]) cube([200, 200, 200], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (DECOYS) {
|
|
|
|
translate([-6, 0, 0]) decoys(32, 64);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-11 21:39:27 +00:00
|
|
|
module bearing_calibrate (val = 0) {
|
|
|
|
mat = 25.4/8;
|
|
|
|
difference () {
|
|
|
|
cube([40, 40, mat], center = true);
|
|
|
|
bearing(0, 0, 0, hole = false, calval = val);
|
|
|
|
}
|
|
|
|
}
|
2016-03-21 22:16:34 +00:00
|
|
|
|
2018-11-10 21:27:40 +00:00
|
|
|
module bolt_guide () {
|
|
|
|
$fn = 80;
|
|
|
|
difference () {
|
|
|
|
union () {
|
|
|
|
cylinder(r = 10 /2, h = 38, center = true);
|
|
|
|
translate([0, 0, -(38 / 2) + 1.5]) cylinder(r = 16 /2, h = 3, center = true);
|
|
|
|
}
|
|
|
|
cylinder(r = 7.5 / 2, h = 40, center = true);
|
|
|
|
translate([0, -13, -(38 / 2) + 1.5]) cube([16, 16, 10], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-24 18:54:55 +00:00
|
|
|
module case_standoff_washer () {
|
2022-10-08 19:37:23 +00:00
|
|
|
H = 10;
|
2022-09-24 18:54:55 +00:00
|
|
|
$fn = 40;
|
|
|
|
difference () {
|
|
|
|
union() {
|
2022-10-08 19:37:23 +00:00
|
|
|
cylinder(r = 16 / 2, h = (1 * H) / 4, center = true);
|
|
|
|
translate([0, 0, -H / 2]) cylinder(r = 8 / 2, h = (3 * H) / 4, center = true);
|
2022-09-24 18:54:55 +00:00
|
|
|
}
|
|
|
|
cylinder(r = 4 / 2, h = H * 2, center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-20 20:56:46 +00:00
|
|
|
module case_standoff_alt () {
|
|
|
|
difference () {
|
|
|
|
cylinder(r = 8/2, h = 22, center = true, $fn = 60);
|
|
|
|
cylinder(r = 4/2, h = 30, center = true, $fn = 40);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-03 03:57:57 +00:00
|
|
|
module arduino_nano_electronics_mount (pos = [0, 0, 0]) {
|
|
|
|
RemoveBottom = 2;
|
|
|
|
translate(pos) {
|
2024-05-29 01:17:46 +00:00
|
|
|
l298N_mount();
|
2023-05-03 03:57:57 +00:00
|
|
|
translate([19, -16, 0.75 - RemoveBottom]) rotate([0, 0, 90]) difference() {
|
|
|
|
arduino_nano_mount();
|
|
|
|
translate([0, 0, -(RemoveBottom / 2)-3.25]) cube([30, 60, RemoveBottom], center = true);
|
|
|
|
translate([45-19, -15 + 16, -0.75 + RemoveBottom]) cube([20, 30, 20], center = true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-21 22:16:34 +00:00
|
|
|
module stl_plate () {
|
2016-03-22 17:15:52 +00:00
|
|
|
//translate([0, 0, -0.5]) cube([150, 150, 1], center = true);
|
|
|
|
translate([-38, 41, 7.5]) rotate([0, 180, 0]) intval_laser_standoffs_plate();
|
|
|
|
translate([-27, 40, -9.5]) rotate([0, 0, 13]) intval_electronics_mount();
|
|
|
|
|
|
|
|
translate([23, 1, -5.75]) rotate([0, 0, 90]) motor_mount_bottom();
|
|
|
|
translate([48, -13, 9]) rotate([0, 180, 0]) key_cap();
|
|
|
|
translate([-5, -11, 3]) rotate([0, 0, 190]) geared_motor_mount();
|
|
|
|
translate([65, 44, 22.5]) rotate([0, 180, 0]) motor_key();
|
|
|
|
translate([0, -42, 15]) plunger_plate();
|
|
|
|
translate([-52, -20, 66]) rotate([0, 180, 0]) motor_cap(false);
|
2016-03-21 22:16:34 +00:00
|
|
|
};
|
|
|
|
|
2016-03-22 20:18:13 +00:00
|
|
|
module dxf_plate () {
|
|
|
|
translate([105, 0, 0]) rotate([0, 0, 13]) projection() intval_panel_laser();
|
2018-10-09 22:02:33 +00:00
|
|
|
rotate([0, 0, 13]) intval_laser_panel_cover(LASER=true, ALL_RED=true, PCB=true);
|
2016-03-22 20:18:13 +00:00
|
|
|
};
|
|
|
|
|
2016-03-22 22:03:05 +00:00
|
|
|
module exploded_view () {
|
|
|
|
intval_panel_laser();
|
2023-05-03 03:57:57 +00:00
|
|
|
//translate([0, 0, 5]) intval_electronics_mount();
|
2016-03-22 22:03:05 +00:00
|
|
|
translate([0, 0, 5]) motor_mount_bottom();
|
|
|
|
translate([0, 0, 20]) motor_key();
|
|
|
|
translate([one_to_one_x, one_to_one_y, 50]) geared_motor_mount();
|
|
|
|
translate([one_to_one_x, one_to_one_y, 50]) motor_cap(false);
|
2023-05-03 03:57:57 +00:00
|
|
|
//translate([0, 0, 0]) intval_laser_panel_cover(false, ALL_RED=true);
|
2022-09-21 01:06:11 +00:00
|
|
|
translate([one_to_one_x, one_to_one_y, 0]) rotate([180, 0, 0]) bearing_reinforcement();
|
2023-05-03 03:57:57 +00:00
|
|
|
translate([-38, -1, 15]) rotate([0, 0, -13]) arduino_nano_electronics_mount();
|
2016-03-22 22:03:05 +00:00
|
|
|
}
|
|
|
|
|
2023-09-13 00:40:18 +00:00
|
|
|
module logo () {
|
|
|
|
$fn = 40;
|
|
|
|
scale([0.9, 0.9, 1]) difference () {
|
|
|
|
translate([0, 0, -.25]) rounded_cube([43, 12, 1.5], d = 3, center = true);
|
|
|
|
scale([0.8, 1, 1]) linear_extrude(1) {
|
|
|
|
text("intval2.1", font = "Nimbus Sans:style=Italic", halign="center", valign="center");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-12-20 20:56:46 +00:00
|
|
|
|
|
|
|
|
2016-03-29 19:00:32 +00:00
|
|
|
//exploded_view();
|
2022-10-07 12:38:34 +00:00
|
|
|
|
2023-12-23 00:10:29 +00:00
|
|
|
PART = "arduino_nano_electronics_mount";
|
2022-10-07 12:38:34 +00:00
|
|
|
|
|
|
|
//models
|
|
|
|
|
|
|
|
if (PART == "plate") {
|
|
|
|
stl_plate();
|
|
|
|
} else if (PART == "plunger_plate") {
|
|
|
|
plunger_plate();
|
2022-10-08 14:11:12 +00:00
|
|
|
} else if (PART == "button_nuts_plate") {
|
|
|
|
button_nuts_plate(false);
|
2022-10-07 12:38:34 +00:00
|
|
|
} else if (PART == "standoff_plate") {
|
|
|
|
intval_laser_standoffs_plate();
|
2022-12-28 15:27:49 +00:00
|
|
|
} else if (PART == "motor_key") {
|
|
|
|
motor_key();
|
|
|
|
} else if (PART == "motor_key_reinforced") {
|
|
|
|
motor_key_reinforced();
|
|
|
|
} else if (PART == "motor_key_reinforced_roller") {
|
|
|
|
motor_key_reinforced_roller();
|
2022-10-07 12:38:34 +00:00
|
|
|
} else if (PART == "motor_key_120") {
|
|
|
|
motor_key_120();
|
|
|
|
} else if (PART == "motor_key_120_reinforced") {
|
|
|
|
motor_key_120_reinforced();
|
|
|
|
} else if (PART == "motor_key_120_reinforced_roller") {
|
2022-12-28 15:27:49 +00:00
|
|
|
motor_key_120_reinforced_roller();
|
2022-10-07 12:38:34 +00:00
|
|
|
} else if (PART == "motor_mount_bottom") {
|
|
|
|
motor_mount_bottom();
|
|
|
|
} else if (PART == "motor_mount_top") {
|
|
|
|
geared_motor_mount();
|
|
|
|
} else if (PART == "motor_mount_top_120") {
|
|
|
|
geared_motor_mount_120();
|
2022-12-20 20:20:25 +00:00
|
|
|
} else if (PART == "motor_mount_top_reinforced") {
|
|
|
|
geared_motor_mount_reinforced();
|
2022-10-07 12:38:34 +00:00
|
|
|
} else if (PART == "electronics_mount") {
|
|
|
|
intval_electronics_mount();
|
|
|
|
} else if (PART == "motor_cap") {
|
|
|
|
motor_cap(false);
|
2023-06-29 21:20:23 +00:00
|
|
|
} else if (PART == "motor_cap_alt") {
|
|
|
|
motor_cap_alt(false);
|
2022-10-07 12:38:34 +00:00
|
|
|
} else if (PART == "motor_cap_120") {
|
|
|
|
motor_cap_120(false);
|
|
|
|
} else if (PART == "bolt_guide") {
|
|
|
|
bolt_guide();
|
|
|
|
} else if (PART == "standoff") {
|
|
|
|
bolex_pin_laser(0, 0);
|
2022-10-08 14:11:12 +00:00
|
|
|
} else if (PART == "bearing_reinforcement") {
|
|
|
|
bearing_reinforcement();
|
|
|
|
} else if (PART == "key_cap") {
|
|
|
|
key_cap();
|
|
|
|
} else if (PART == "case_standoff") {
|
|
|
|
case_standoff_washer();
|
|
|
|
} else if (PART == "trinket_mount") {
|
|
|
|
trinket_mount();
|
2024-05-29 01:17:46 +00:00
|
|
|
} else if (PART == "l298N_mount") {
|
|
|
|
l298N_mount();
|
2023-05-03 03:57:57 +00:00
|
|
|
} else if (PART == "arduino_nano_electronics_mount") {
|
|
|
|
arduino_nano_electronics_mount();
|
2023-04-17 18:48:26 +00:00
|
|
|
} else if (PART == "printed_panel") {
|
|
|
|
intval_panel_printed();
|
2023-04-28 23:20:54 +00:00
|
|
|
} else if (PART == "printed_panel_cover") {
|
|
|
|
printed_panel_cover();
|
|
|
|
} else if (PART == "printed_panel_cover_buttons") {
|
|
|
|
printed_panel_cover_buttons();
|
2023-09-13 00:40:18 +00:00
|
|
|
} else if (PART == "logo"){
|
|
|
|
logo();
|
2023-04-28 23:20:54 +00:00
|
|
|
} else if (PART == "debug") {
|
|
|
|
exploded_view();
|
2022-10-07 12:38:34 +00:00
|
|
|
}
|
|
|
|
|
2024-05-29 01:42:58 +00:00
|
|
|
LASER = "";
|
|
|
|
|
2022-10-07 12:38:34 +00:00
|
|
|
//laser
|
2024-05-29 01:42:58 +00:00
|
|
|
if (LASER == "laser_plate") {
|
2022-10-07 12:38:34 +00:00
|
|
|
dxf_plate();
|
2024-05-29 01:42:58 +00:00
|
|
|
} else if (LASER == "panel") {
|
2022-10-07 12:38:34 +00:00
|
|
|
projection() intval_panel_laser();
|
2024-05-29 01:42:58 +00:00
|
|
|
} else if (LASER == "panel_cover") {
|
2022-10-07 12:38:34 +00:00
|
|
|
intval_laser_panel_cover(true, ALL_RED=true);
|
|
|
|
}
|