author | Michael Krelin <hacker@klever.net> | 2018-08-31 22:20:06 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-31 22:20:06 (UTC) |
commit | 875ceca4d231a22423c42d44d8d14e02d3b4ef37 (patch) (side-by-side diff) | |
tree | dc2240e3696adcbc41512a7659bf6066a3bd2246 | |
parent | 428ea05af148a788e379a9b84a31c6322271cf37 (diff) | |
download | extrudery-875ceca4d231a22423c42d44d8d14e02d3b4ef37.zip extrudery-875ceca4d231a22423c42d44d8d14e02d3b4ef37.tar.gz extrudery-875ceca4d231a22423c42d44d8d14e02d3b4ef37.tar.bz2 |
body label and thickness as parameters
-rw-r--r-- | another.scad | 11 |
1 files changed, 6 insertions, 5 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 - label_thickness = 2*layer_height; - label_len = len(label); - if(label_len) { + if(body_label) let(label=body_label,label_thickness=body_label_thickness) { + label_thickness = 2*layer_height; + label_len = len(label); 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) |