changes for exploded view

pull/9/head
Glen Chung 2013-10-20 13:39:05 +08:00
parent 38025f347e
commit d8a4be7cc7
1 changed files with 5 additions and 2 deletions

View File

@ -115,10 +115,13 @@ rotate([180,0,0]) union() difference() {
translate( [0, 0, -6] ) cylinder( r=motor_shaft_diameter/2, h=20, $fn=30 );
}
// --- M3 x 8mm grub screw to attach Gear to motor shaft ---
if(with_extra_parts)
translate([0,-2.5,-(12-3.5)]) rotate([90, 0, 0]) color(Steel) cylinder(r=1.5, h=8, $fn=30);
cyclone_motor_z_gear_extras(exploded_distance = (exploded?24:0));
module cyclone_motor_z_gear_extras(exploded_distance=0) {
echo("PART: 1 x M3 x 8 mm grub screw to attach Z motor gear to motor shaft");
translate([0,-2.5-exploded_distance,-(12-3.5)]) rotate([90, 0, 0]) color(Steel) cylinder(r=1.5, h=8, $fn=30);
}
}
cyclone_motor_z_gear();