add chamfer top option for gears

This commit is contained in:
Stewart Allen 2024-07-19 18:05:41 -04:00
commit ee68930f73
6 changed files with 135 additions and 19 deletions

View file

@ -810,7 +810,6 @@ mesh.tool = class MeshTool {
polar(r, r < b ? -k : pi / numTeeth),
// polar(r, 3.142 / numTeeth) // omit b/c overlaps start when rotated
];
console.log({ p, f });
// create all gear teeth by rotating the first tooth
for (var i = 0; i < numTeeth; i++) {