Michael Diamond 2021-05-15 12:00:11 -07:00
parent a700b7e8cb
commit f957022442
3 changed files with 4 additions and 4 deletions

View file

@ -266,13 +266,13 @@ module involute_bevel_gear_tooth (
{
for (i=[1:res])
{
assign (
let (
point1=
involute (base_radius*2,start_angle+(stop_angle - start_angle)*(i-1)/res),
point2=
involute (base_radius*2,start_angle+(stop_angle - start_angle)*(i)/res))
{
assign (
let (
side1_point1 = rotate_point (centre_angle, point1),
side1_point2 = rotate_point (centre_angle, point2),
side2_point1 = mirror_point (rotate_point (centre_angle, point1)),

View file

@ -20,7 +20,7 @@ difference() {
translate([(i * i + i)/2 + 3 * i , 8,-1])
polyhole(h = 5, d = i);
assign(d = i + 0.5)
let(d = i + 0.5)
translate([(d * d + d)/2 + 3 * d, 19,-1])
polyhole(h = 5, d = d);
}

View file

@ -48,7 +48,7 @@ module ball_groove2(pitch, length, diameter, ball_radius, slices=200){
offset = length/slices;
union(){
for (i = [0:slices]) {
assign (z = i*offset){
let (z = i*offset){
translate(helix_curve(pitch, radius, z)) sphere(ball_radius, $fa=5, $fs=1);
}
}