Files
creaturedex/model/right-half.scad
T

49 lines
1.2 KiB
OpenSCAD

include <common.scad>
$fa = 1;
$fs = 0.4;
module right_half_components() {
cube([1,1,1]);
}
module right_half_orig() {
translate(BASE_MODEL_TRANSLATE) scale(BASE_MODEL_SCALE) import(file = "right-half.3mf");
}
// #right_half_orig();
module right_half_door_only() {
translate(BASE_MODEL_TRANSLATE+[11.3, -85, -17]) scale(BASE_MODEL_SCALE) import(file = "right-half_door-only.stl");
}
// #right_half_door_only();
module right_half_hinge_only() {
module original() {
translate(BASE_MODEL_TRANSLATE+[0.34, -12.3, -6]) scale(BASE_MODEL_SCALE) import(file = "right-half_hinge-only.3mf", convexity=3);
}
module base_model() {
difference() {
original();
translate([-20, -108.3, -20]) cube(40);
}
}
base_model();
}
// #right_half_hinge_only();
module right_half_connector() {
translate(BASE_MODEL_TRANSLATE+[5.86, -12.3, -11.5]) scale(BASE_MODEL_SCALE) import(file = "right-half_connector.3mf");
}
// #right_half_connector();
module right_half() {
right_half_connector();
right_half_door_only();
right_half_hinge_only();
}
right_half();
// #right_half_components();
// #rotate([0, 0, 90]) battery();