}
}
-module BoxCavityEdgeModelPlan() {
- difference(){
- BoxCavityModelMainPlan();
- offset(r = -box_edge_width)
- BoxCavityModelMainPlan();
- }
-}
-
module BoxCavityModel() { ////toplevel
translate([ 0,0, -below_plane_z ]) {
linextr(0, box_main_z)
BoxCavityModelMainPlan();
- for (z = [-box_edge_z_hindent, box_main_z-10 + box_edge_z_hindent]) {
- linextr(z, z+10) {
- BoxCavityEdgeModelPlan();
+
+ difference(){
+ hull(){
+ linextr(0, 1)
+ BoxCavityModelMainPlan();
+ linextr(-box_edge_z_hindent, 1)
+ offset(r = -box_edge_z_hindent)
+ BoxCavityModelMainPlan();
}
+ linextr(-1, 2)
+ offset(r = -box_edge_width)
+ BoxCavityModelMainPlan();
}
}
}
h = 0.5;
difference(){
linextr(0, h + box_edge_z_hindent) {
- BoxCavityEdgeModelPlan();
+ // TODO this needs to be here but we deleted it!
+ // BoxCavityEdgeModelPlan();
}
AtPlateFixings(){
linextr(-10, 10)