BoxCavityModelMainPlan();
}
-module OnePlate(right) { ////toplevel
+module SomePlates(right) { ////toplevel
render() difference(){
intersection(){
BoxCavityModel();
linextr(-20, 0) square(1000, center=true);
- mirror([ right? 0 : 1, 0,0 ])
- linextr_x_yz(plate_mid_gap/2, box_x)
- square(1000, center=true);
+
+ children(0);
}
union(){
}
}
+module PlateSelect(right) {
+ mirror([ right? 0 : 1, 0,0 ])
+ linextr_x_yz(plate_mid_gap/2, box_x)
+ square(1000, center=true);
+}
+module OnePlate(right) {
+ SomePlates() PlateSelect(right);
+}
module LeftPlate() { ////toplevel
render() OnePlate(false);
}
}
module TestPlates() { ////toplevel
- render() intersection(){
- union(){
- LeftPlate();
- RightPlate();
+ render() intersection() {
+ SomePlates() union(){
+ PlateSelect(false);
+ PlateSelect(true);
}
linextr(-100,100)