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:
parent
27785d60d8
commit
7e4e1ab121
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user