intval3/hardware/intval3.scad

83 lines
2.6 KiB
OpenSCAD
Raw Normal View History

include <./case.scad>
include <./mount.scad>
include <./plunger.scad>
//include <./anyeye_revere.scad>
/*
INTVAL 3
*/
module stl_plate () {
//translate([0, 0, -0.5]) cube([150, 150, 1], center = true);
translate([-60, 10, 7.5]) rotate([0, 180, 0]) intval_laser_standoffs_plate();
translate([-27, 50, -9.5]) rotate([0, 0, 13]) translate([-40 + 2, -1, 14]) rotate([0, 0, -13]) l289N_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_120();
translate([65, 44, 26.5]) rotate([0, 180, 0]) motor_key_120();
translate([15, -42, 15]) plunger_plate();
translate([-52, -20, 85.5]) rotate([0, 180, -90]) motor_cap_120(false);
};
module dxf_plate () {
2017-10-25 15:40:54 +00:00
translate([125, 0, 0]) rotate([0, 0, 13]) projection() intval_panel_laser();
rotate([0, 0, 13]) intval_laser_panel_cover(LASER=true, ALL_RED=true);
};
module exploded_view () {
intval_panel_laser();
translate([0, 0, 5]) translate([-40 + 2, -1, 14]) rotate([0, 0, -13]) l289N_mount();
translate([0, 0, 5]) motor_mount_bottom();
translate([0, 0, 20]) motor_key_120();
translate([one_to_one_x, one_to_one_y, 50]) geared_motor_mount_120();
translate([one_to_one_x, one_to_one_y, 50]) motor_cap_120(false);
//translate([0, 0, 60]) intval_laser_panel_cover(false, ALL_RED=true);
translate([0, 0, -10]) intval_laser_standoffs_alt();
}
//exploded_view();
MODEL = "stl_plate";
if (MODEL == "stl_plate") {
stl_plate();
} else if (MODEL == "plunger_plate") {
plunger_plate();
} else if (MODEL == "standoffs_plate") {
intval_laser_standoffs_plate();
} else if (MODEL == "standoff") {
bolex_pin_laser(0, 0);
} else if (MODEL == "electronics_mount") {
intval_electronics_mount();
} else if (MODEL == "motor_mount_bottom") {
motor_mount_bottom();
} else if (MODEL == "motor_mount_120") {
geared_motor_mount_120();
} else if (MODEL == "motor_key_120") {
motor_key_120();
} else if (MODEL == "motor_key_120_reinforced") {
motor_key_120_reinforced();
} else if (MODEL == "motor_key_120_reinforced_roller") {
motor_key_120_reinforced_roller();
}
//rotate([0, 180, 0]) key_cap();
2018-08-16 20:32:39 +00:00
//plunger();
//plunger_top();
//motor_cap(false);
2018-08-16 20:32:39 +00:00
//rotate([0, 180, 0]) motor_cap_120(false);
2017-10-27 21:40:32 +00:00
//translate([0, 0, 39 / 2 + 5.75]) bolt_guide();
//intval_laser_standoffs_alt();
//intval_laser_standoffs_plate_alt();
LASER = "dxf_plate";
if (LASER == "laser_plate") {
dxf_plate();
} else if (LASER == "panel") {
intval_panel_laser();
} else if (LASER == "panel_cover") {
intval_laser_panel_cover(true, ALL_RED=true);
}