change default tool change methods for fdm

This commit is contained in:
Stewart Allen 2025-02-18 18:37:02 -05:00
commit a7363732ac
43 changed files with 150 additions and 270 deletions

View file

@ -56,7 +56,7 @@ class Slice {
*/
clone(deep) {
const from = this, slice = newSlice(from.z, from.view);
from.tops.forEach(function(top) {
from.tops?.forEach(function(top) {
slice.addTop(top.poly.clone(deep));
});
return slice;