enable compound loop path code as parameter

This commit is contained in:
Stewart Allen 2022-01-16 16:20:42 -05:00
commit f4f89bc1ed
4 changed files with 37 additions and 39 deletions

View file

@ -179,8 +179,9 @@ let model = {
return { o1, o2 };
},
analyze(id) {
let tool = analyze(id, { mapped: true });
analyze(data) {
let { id, opt } = data;
let tool = analyze(id, { mapped: true, ...opt });
let { stats, mapped } = tool;
let { cull, dups, faces } = stats;
log(`${id} | face count=${faces} bad=${cull} dup=${dups}`);