add CAM z extend option on registration op independent of 'Z Thru' global

This commit is contained in:
Stewart Allen 2022-10-06 13:20:47 -04:00
commit 3f2e9e3c19
6 changed files with 10 additions and 3 deletions

View file

@ -40,7 +40,7 @@ CAM.slice = function(settings, widget, onupdate, ondone) {
zBottom = proc.camZBottom - zbOff,
zMin = Math.max(bounds.min.z, zBottom),
zMax = bounds.max.z,
zThru = zBottom === 0 ? (proc.camZThru || 0) : 0,
zThru = proc.camZBottom ? 0 : (proc.camZThru || 0),
zTop = zMax + ztOff,
minToolDiam = Infinity,
maxToolDiam = -Infinity,