-rw-r--r-- | another.scad | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/another.scad b/another.scad index fcd179e..f01e765 100644 --- a/another.scad +++ b/another.scad @@ -68,2 +68,4 @@ module the_extruder( + body_label = "another", body_label_thickness = 2*layer_height, + what="lever", // lever|body|knob|springpad|* @@ -73,3 +75,2 @@ module the_extruder( debug = false, - label = "another" ) { @@ -362,5 +363,5 @@ module the_extruder( // label + if(body_label) let(label=body_label,label_thickness=body_label_thickness) { label_thickness = 2*layer_height; label_len = len(label); - if(label_len) { labelspace = [gearbox_d/2-mount_screwhead_d/2-min_xy_shell,longwing-(mount_screwhead_d-st_split_w-st_split_w_tolerance)/2-2*min_xy_shell]; @@ -371,3 +372,3 @@ module the_extruder( text(text=label,size=labelspace.x/label_len,halign="center",valign="center",font="Arial Black"); - }//if(label_len) + }//if(body_label) |