add support for open poly line width and miter distances

This commit is contained in:
Stewart Allen 2024-07-27 22:35:01 -04:00
commit 50e7ef906a
5 changed files with 21 additions and 12 deletions

View file

@ -466,7 +466,7 @@ let sketch = {
h.button({ _: "create", onclick() {
const { _height, _chamtop, _chambot } = api.modal.bound;
sketch.extrude({
selection: sketch.selected.count() > 0,
selection: sketch.selection.count() > 0,
...opt,
height: parseFloat(_height.value),
chamfer_top: parseFloat(_chamtop.value),
@ -1271,7 +1271,7 @@ const prefs = {
select: []
},
sketch: {
close_poly: false,
open_close: false,
open_thick: 1,
open_type: 'miter'
},