Improve subtraction on interior rails
There was some artifacting and errors resulting from the inner rails not producing a valid 2-manifold object. Make the rails larger so they interect the box, and make the subtraction the full height and width of the box so the boundary isn't indeterminate.
This commit is contained in:
parent
fb647fbd18
commit
d9312ae7a8
@ -195,15 +195,13 @@ module Coque() { //Coque - Shell
|
|||||||
}
|
}
|
||||||
} //Fin diff Coque
|
} //Fin diff Coque
|
||||||
difference() { //largeur Rails
|
difference() { //largeur Rails
|
||||||
translate([Thick + PanelThick + m, Thick, Thick]) { // Rails
|
translate([Thick + PanelThick + m, Thick/2, Thick/2]) { // Rails
|
||||||
RoundBox($a=(Length - ((Thick + PanelThick + m)*2)),
|
RoundBox($a=(Length - ((Thick + PanelThick + m)*2)),
|
||||||
$b=(Width - Thick*2),
|
$b=(Width - Thick),
|
||||||
$c=(Height - Thick*2));
|
$c=(Height - Thick));
|
||||||
} //fin Rails
|
} //fin Rails
|
||||||
translate([Thick*2 + PanelThick + m, Thick, Thick]) {
|
translate([Thick*2 + PanelThick + m, 0, 0]) {
|
||||||
RoundBox($a=(Length - ((Thick*2 + PanelThick + m) * 2)),
|
RoundBox($a=(Length - ((Thick*2 + PanelThick + m) * 2)));
|
||||||
$b=(Width - Thick*2),
|
|
||||||
$c=(Height - Thick*2));
|
|
||||||
}
|
}
|
||||||
} //Fin largeur Rails
|
} //Fin largeur Rails
|
||||||
} //Fin union
|
} //Fin union
|
||||||
|
Loading…
Reference in New Issue
Block a user