fix gear shaft diam, log gear pitch when created

This commit is contained in:
Stewart Allen 2024-07-19 00:55:05 -04:00
commit 9106d8ad21
4 changed files with 8 additions and 4 deletions

View file

@ -813,6 +813,8 @@ mesh.tool = class MeshTool {
for (var i = 0; i < numTeeth; i++) {
gear.appendAll(rotate(points, -i * 2 * pi / numTeeth));
}
mesh.log(`gear pitch radius: ${p.round(3)}`);
}
return gear;