add (flawed) faces to sketch
This commit is contained in:
parent
43914a027f
commit
2ca2dc1c70
5 changed files with 41 additions and 5 deletions
|
|
@ -680,7 +680,9 @@ let sketch = {
|
|||
|
||||
let add = {
|
||||
sketch(opt) {
|
||||
selection.set([ sketch.add(new mesh.sketch(opt)) ]);
|
||||
let nu = new mesh.sketch(opt);
|
||||
selection.set([ sketch.add(nu) ]);
|
||||
return nu;
|
||||
},
|
||||
|
||||
/** add sketch components */
|
||||
|
|
@ -1071,6 +1073,12 @@ const tool = {
|
|||
}
|
||||
},
|
||||
|
||||
toSketch() {
|
||||
for (let m of selection.models()) {
|
||||
m.selectionToSketch();
|
||||
}
|
||||
},
|
||||
|
||||
rename(models, type = 'model') {
|
||||
models = fallback(models, true);
|
||||
let model = models[0];
|
||||
|
|
|
|||
Loading…
Reference in a new issue