From 3c20c090273e3f87fc3d0e50d031400f57aff238 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Fri, 31 Aug 2018 23:04:29 +0000 Subject: avoid make break in case of no label --- (limited to 'another.scad') diff --git a/another.scad b/another.scad index 1c6d836..0d67286 100644 --- a/another.scad +++ b/another.scad @@ -378,7 +378,7 @@ module the_extruder( translate([-mount_screwhead_d/2-min_xy_shell-labelspace.x/2,-longwing+(st_split_w+st_split_w_tolerance)/2+min_xy_shell+labelspace.y/2]) mirror([left?0:1,0]) text(text=label,size=labelspace.x/label_len,halign="center",valign="center",font="Arial Black"); - }//if(body_label) + }else sphere(d=epsilon); // to avoid makefile breakage } module springpad() { @@ -443,7 +443,7 @@ module the_extruder( linear_extrude(height=knob_label_thickness+epsilon,convexity=64) mirror([left?0:1,0]) text(text=knob_label,size=ts,halign="center",valign="center",font="Arial Black"); - } + }else sphere(d=epsilon); // to avoid makefile breakage } module debug() { -- cgit v0.9.0.2