Working on a 45deg truncation for the gears
parent
4a2065d5b9
commit
bf1838cffb
|
@ -44,12 +44,18 @@ nholes = 9; // 7
|
|||
holes_diam = 6;
|
||||
hole_distance_from_center = 13.5-4.5+holes_diam/2;
|
||||
|
||||
// Increase the resolution of default shapes
|
||||
$fa = 5; // Minimum angle for fragments [degrees]
|
||||
$fs = 0.5; // Minimum fragment size [mm]
|
||||
|
||||
/* Herringbone gear module, adapted from MCAD/involute_gears */
|
||||
module herringbone_gear( teeth=12, circles=0, shaft=5 ) {
|
||||
twist=200;
|
||||
height=10;
|
||||
pressure_angle=30;
|
||||
|
||||
module myGear() {
|
||||
difference() {
|
||||
gear(
|
||||
number_of_teeth=teeth,
|
||||
circular_pitch=320,
|
||||
|
@ -62,24 +68,22 @@ module herringbone_gear( teeth=12, circles=0, shaft=5 ) {
|
|||
hub_diameter=1,
|
||||
bore_diameter=shaft,
|
||||
circles=circles,
|
||||
twist=twist/teeth
|
||||
twist=twist/teeth,
|
||||
$fn=15*2
|
||||
);
|
||||
translate([0,0,-height/2-0.01]) {
|
||||
difference() {
|
||||
cylinder(r=40.5/2, h=height/4);
|
||||
translate([0,0,-0.01])
|
||||
cylinder(r1=30/2, r2=40.5/2, h=height/4+0.02);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
myGear();
|
||||
mirror( [0,0,1] )
|
||||
gear(
|
||||
number_of_teeth=teeth,
|
||||
circular_pitch=320,
|
||||
pressure_angle=pressure_angle,
|
||||
clearance = 0.2,
|
||||
gear_thickness = height/2,
|
||||
rim_thickness = height/2,
|
||||
rim_width = 1,
|
||||
hub_thickness = height/2,
|
||||
hub_diameter=1,
|
||||
bore_diameter=shaft,
|
||||
circles=circles,
|
||||
twist=twist/teeth
|
||||
);
|
||||
myGear();
|
||||
}
|
||||
|
||||
module cyclone_motor_gear(with_extra_parts=false, exploded=false) {
|
||||
|
@ -119,17 +123,6 @@ union() difference() {
|
|||
//shaft hole
|
||||
translate( [0, 0, -6] ) cylinder( r=motor_shaft_diameter/2, h=20, $fn=30 );
|
||||
}
|
||||
|
||||
|
||||
if(with_extra_parts)
|
||||
cyclone_motor_gear_extras(exploded_distance=(exploded?20:0));
|
||||
|
||||
module cyclone_motor_gear_extras(exploded_distance=0) {
|
||||
echo("Non-Plastic Parts, 1, Grub Screw M3 x 8 mm to attach gear to motor shaft");
|
||||
translate([0,2.5+8+exploded_distance,12-3.5])
|
||||
rotate([90, 0, 0])
|
||||
color(Steel) cylinder(r=1.5, h=8, $fn=30);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue