Convert all lengths to mm for engine calls

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-04-11 13:17:19 +12:00
parent 6288ab5f2f
commit f93979c648
301 changed files with 20915 additions and 17482 deletions

View File

@ -38,11 +38,11 @@ invas = map(angles, fn(a) {
// Map the involute curve
xs = map([0..cmo], fn(i) {
return rs[i] * cos(invas[i])
return rs[i] * cos(invas[i]: number(rad))
})
ys = map([0..cmo], fn(i) {
return rs[i] * sin(invas[i])
return rs[i] * sin(invas[i]: number(rad))
})
// Extrude the gear body