add strict closing rule for fdm, laser slicing

This commit is contained in:
Stewart Allen 2025-12-25 22:57:14 -05:00
commit 97a3edf039
3 changed files with 7 additions and 0 deletions

View file

@ -222,6 +222,7 @@ export function fdm_slice(settings, widget, onupdate, ondone) {
}
slice(points, {
strict: true,
debug: process.xray,
xray: process.xray,
zMin: bounds.min.z,

View file

@ -191,6 +191,7 @@ function laser_slice(settings, widget, onupdate, ondone) {
let indices = [];
slicer.slice(points, {
strict: true,
zMin: bounds.min.z,
zMax: bounds.max.z,
zGen(zopt) {