add model cleaning
This commit is contained in:
parent
49f1729946
commit
4797a72810
4 changed files with 34 additions and 9 deletions
|
|
@ -88,8 +88,9 @@ let model = {
|
|||
return { stats, mapped };
|
||||
},
|
||||
|
||||
heal(id) {
|
||||
let tool = analyze(id, { merge: true });
|
||||
heal(data) {
|
||||
let { id, opt } = data;
|
||||
let tool = analyze(id, opt);
|
||||
log(`${id} | unrolling...`);
|
||||
return {
|
||||
vertices: tool.unrolled().toFloat32(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue