mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-04 03:09:45 +00:00
Made gear shaft holes have minimum 12 sides.
This commit is contained in:
parent
790f08c143
commit
5300ac3c8c
1 changed files with 2 additions and 2 deletions
|
@ -385,7 +385,7 @@ module gear(
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (shaft_diam > 0) {
|
if (shaft_diam > 0) {
|
||||||
cylinder(h=2*thickness+1, r=shaft_diam/2, center=true);
|
cylinder(h=2*thickness+1, r=shaft_diam/2, center=true, $fn=max(12,segs(shaft_diam/2)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
children();
|
children();
|
||||||
|
@ -552,7 +552,7 @@ module bevel_gear(
|
||||||
polyhedron(points=vertices, faces=faces, convexity=floor(teeth/2));
|
polyhedron(points=vertices, faces=faces, convexity=floor(teeth/2));
|
||||||
}
|
}
|
||||||
if (shaft_diam > 0) {
|
if (shaft_diam > 0) {
|
||||||
cylinder(h=2*thickness+1, r=shaft_diam/2, center=true);
|
cylinder(h=2*thickness+1, r=shaft_diam/2, center=true, $fn=max(12,segs(shaft_diam/2)));
|
||||||
}
|
}
|
||||||
if (bevelang != 0) {
|
if (bevelang != 0) {
|
||||||
h = (c1-r1)/tan(45);
|
h = (c1-r1)/tan(45);
|
||||||
|
|
Loading…
Reference in a new issue