Use debug modifier on PCB parent

Rather than debug both the text and the PCB, just debug the parent of
both. This requires that the text be 3, so go ahead and extrude it by
FontThick.
This commit is contained in:
Joel Ebel 2018-05-14 15:55:09 -04:00
parent 27785d60d8
commit 7e4e1ab121

View File

@ -327,11 +327,13 @@ module foot(FootDia, FootHole, FootHeight) {
module Feet() {
translate([BackEdgeMargin + Thick + PanelThick + m, LeftEdgeMargin + Thick, Thick]) {
/////////////// - PCB only visible in the preview mode - ///////////////
translate([0, 0, FootHeight]) {
%cube([PCBLength, PCBWidth, PCBThick]);
%translate([0, 0, FootHeight]) {
cube([PCBLength, PCBWidth, PCBThick]);
translate([PCBLength/2, PCBWidth/2, PCBThick]) {
color("Olive") {
%text("PCB", halign="center", valign="center", font="Arial black");
linear_extrude(FontThick) {
text("PCB", halign="center", valign="center", font="Arial black");
}
}
}
} // Fin PCB