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:
Joel Ebel 2018-05-16 00:27:45 -04:00
parent fb647fbd18
commit d9312ae7a8

View File

@ -195,15 +195,13 @@ module Coque() { //Coque - Shell
}
} //Fin diff Coque
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)),
$b=(Width - Thick*2),
$c=(Height - Thick*2));
$b=(Width - Thick),
$c=(Height - Thick));
} //fin Rails
translate([Thick*2 + PanelThick + m, Thick, Thick]) {
RoundBox($a=(Length - ((Thick*2 + PanelThick + m) * 2)),
$b=(Width - Thick*2),
$c=(Height - Thick*2));
translate([Thick*2 + PanelThick + m, 0, 0]) {
RoundBox($a=(Length - ((Thick*2 + PanelThick + m) * 2)));
}
} //Fin largeur Rails
} //Fin union