From 7e4e1ab121dca20f92dfa97fe524750c683db58a Mon Sep 17 00:00:00 2001 From: Joel Ebel Date: Mon, 14 May 2018 15:55:09 -0400 Subject: [PATCH] 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. --- files/U_Box_V104_Test_Cleaned.scad | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/files/U_Box_V104_Test_Cleaned.scad b/files/U_Box_V104_Test_Cleaned.scad index bafb6ef..7a60ead 100644 --- a/files/U_Box_V104_Test_Cleaned.scad +++ b/files/U_Box_V104_Test_Cleaned.scad @@ -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