author | Michael Krelin <hacker@klever.net> | 2018-08-26 19:28:39 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-26 19:28:39 (UTC) |
commit | d6334783daaca35ad796760be3c44fd80af5e5aa (patch) (unidiff) | |
tree | d29411a27de1d799f52cc381871341f79d30b89c | |
parent | d19aafaa5b0def955a82f3952a3dc9e96dbca954 (diff) | |
download | extrudery-d6334783daaca35ad796760be3c44fd80af5e5aa.zip extrudery-d6334783daaca35ad796760be3c44fd80af5e5aa.tar.gz extrudery-d6334783daaca35ad796760be3c44fd80af5e5aa.tar.bz2 |
collapsed transformations a bit
-rw-r--r-- | another.scad | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/another.scad b/another.scad index e6d9ca3..20ac37a 100644 --- a/another.scad +++ b/another.scad | |||
@@ -428,15 +428,13 @@ module the_extruder( | |||
428 | 428 | ||
429 | module debug() { | 429 | module debug() { |
430 | difference() { | 430 | difference() { |
431 | children(); | 431 | children(); |
432 | if(debug) { | 432 | if(debug) { |
433 | // spring tensioner debug cutout | 433 | // spring tensioner debug cutout |
434 | // TODO: collapse copypasted transformations | 434 | translate([-gearbox_d/2,-longwing,ls_z]) rotate([0,-90,0]) |
435 | translate([-gearbox_d/2,0,0]) | ||
436 | translate([0,-longwing,ls_z]) rotate([0,-90,0]) | ||
437 | translate([0,-lever_thickness/2-1,-gearbox_d]) | 435 | translate([0,-lever_thickness/2-1,-gearbox_d]) |
438 | cube(size=[body_h/2+1,lever_thickness/2+1,gearbox_d+2]); | 436 | cube(size=[body_h/2+1,lever_thickness/2+1,gearbox_d+2]); |
439 | // lever axis debug cutout | 437 | // lever axis debug cutout |
440 | translate([mount_d/2,0,-1]) | 438 | translate([mount_d/2,0,-1]) |
441 | rotate([0,0,-45]) | 439 | rotate([0,0,-45]) |
442 | cube(size=[gearbox_d-mount_d,gearbox_d-mount_d,body_h+knob_h+2]); | 440 | cube(size=[gearbox_d-mount_d,gearbox_d-mount_d,body_h+knob_h+2]); |