From: Ian Jackson Date: Tue, 22 Apr 2025 17:55:42 +0000 (+0100) Subject: toolbox-inserts: new way to avoid bugs, tidying X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0bccaeb1c3f23536d5710c0234c5b09518e98438;p=reprap-play.git toolbox-inserts: new way to avoid bugs, tidying Signed-off-by: Ian Jackson --- diff --git a/toolbox-inserts.scad b/toolbox-inserts.scad index 00613bf..6499c93 100644 --- a/toolbox-inserts.scad +++ b/toolbox-inserts.scad @@ -201,13 +201,11 @@ module AtFixings() { } } -module SomePlates(right) { ////toplevel +module FullPlate(right) { ////toplevel render() difference(){ intersection(){ BoxCavityModel(); linextr(-20, 0) square(1000, center=true); - - children(0); } union(){ @@ -229,7 +227,10 @@ module PlateSelect(right) { square(1000, center=true); } module OnePlate(right) { - SomePlates() PlateSelect(right); + intersection(){ + FullPlate(); + PlateSelect(right); + } } module LeftPlate() { ////toplevel render() OnePlate(false); @@ -238,20 +239,6 @@ module RightPlate() { ////toplevel render() OnePlate(true); } -module TestPlates() { ////toplevel - render() intersection() { - SomePlates() union(){ - PlateSelect(false); - PlateSelect(true); - } - - linextr(-100,100) - rectfromto([ -100, -100 ], - [ 100, -40 ]); - } - -// %OdAt(-5.5, -6) DriverHandleHolder(); -} module LeftPlatePrint() { ////toplevel rotate([180,0,0]) LeftPlate(); } @@ -259,7 +246,16 @@ module RightPlatePrint() { ////toplevel rotate([180,0,0]) RightPlate(); } module TestPlatesPrint() { ////toplevel - rotate([180,0,0]) TestPlates(); + rotate([180,0,0]) intersection() { + union(){ + LeftPlate(); + RightPlate(); + } + + linextr(-100,100) + rectfromto([ -100, -100 ], + [ 100, -40 ]); + } } module OdAt(x,y) {