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

@ -347,7 +347,7 @@ let add = {
h.label('twist angle'),
h.input({ value: opt.twist || 0, size: 5, id: "gtwist" }),
h.label('shaft diameter'),
h.input({ value: opt.shaft || 10, size: 5, id: "gshaft" }),
h.input({ value: opt.shaft || 5, size: 5, id: "gshaft" }),
h.button({ _: "create", onclick() {
gengear(
api.modal.bound.gteeth.value,