add negative chamfer hack for bottom-only gear chamfers

This commit is contained in:
Stewart Allen 2024-07-19 21:39:23 -04:00
commit 17581dbe7e
2 changed files with 11 additions and 3 deletions

View file

@ -352,7 +352,7 @@ let add = {
h.input({ value: opt.shaft || last.shaft || 5, size: 5, id: "_shaft" }),
h.label('z height'),
h.input({ value: opt.height || last.height || 15, size: 5, id: "_height" }),
h.label('chamfer'),
h.label({ _:'chamfer', title:"negative values apply chamfer to the bottom only" }),
h.input({ value: opt.chamfer || last.chamfer || 0, size: 5, id: "_chamfer" }),
h.hr(),
h.code("all other settings must"),