scad: visual component debuggability
This commit is contained in:
@@ -4,3 +4,8 @@ use <right-half.scad>
|
|||||||
|
|
||||||
left_half();
|
left_half();
|
||||||
right_half();
|
right_half();
|
||||||
|
|
||||||
|
#union() {
|
||||||
|
right_half_components();
|
||||||
|
left_half_components();
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
BASE_MODEL_SCALE = [1,1,1];
|
BASE_MODEL_SCALE = [1,1,1];
|
||||||
|
BASE_MODEL_TRANSLATE = [0,0,16];
|
||||||
|
|
||||||
module main_display(){
|
module main_display(){
|
||||||
// Outer dimensions, height currently unknown
|
// Outer dimensions, height currently unknown
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
include <common.scad>
|
include <common.scad>
|
||||||
|
|
||||||
|
module left_half_components() {
|
||||||
|
cube([1,1,1]);
|
||||||
|
}
|
||||||
|
|
||||||
module left_half() {
|
module left_half() {
|
||||||
import(file = "left-half.3mf");
|
translate(BASE_MODEL_TRANSLATE) import(file = "left-half.3mf");
|
||||||
}
|
}
|
||||||
|
|
||||||
left_half();
|
left_half();
|
||||||
|
#left_half_components();
|
||||||
@@ -1,7 +1,12 @@
|
|||||||
include <common.scad>
|
include <common.scad>
|
||||||
|
|
||||||
|
module right_half_components() {
|
||||||
|
cube([1,1,1]);
|
||||||
|
}
|
||||||
|
|
||||||
module right_half() {
|
module right_half() {
|
||||||
import(file = "right-half.3mf");
|
translate(BASE_MODEL_TRANSLATE) import(file = "right-half.3mf");
|
||||||
}
|
}
|
||||||
|
|
||||||
right_half();
|
right_half();
|
||||||
|
#right_half_components();
|
||||||
Reference in New Issue
Block a user