migrate more settings, fix index/ranges in slice post
This commit is contained in:
parent
290b6b7ca1
commit
e0ca12fe58
6 changed files with 266 additions and 243 deletions
|
|
@ -52,7 +52,7 @@
|
|||
*/
|
||||
base.slicePost.FDM = function(data, options) {
|
||||
const { z, lines, groups } = data;
|
||||
const { useAssembly, post_args, index } = options;
|
||||
const { useAssembly, post_args, zIndexes } = options;
|
||||
const { process, isSynth, isDanger, vaseMode } = post_args;
|
||||
const { shellOffset, fillOffset, clipOffset } = post_args;
|
||||
const tops = POLY.nest(groups);
|
||||
|
|
@ -65,6 +65,7 @@
|
|||
delete data.groups;
|
||||
return;
|
||||
}
|
||||
const index = zIndexes.indexOf(z);
|
||||
const range = FDM.getRangeParameters(process, index);
|
||||
// calculate fractional shells
|
||||
let shellFrac = (range.sliceShells - (range.sliceShells | 0));
|
||||
|
|
|
|||
Loading…
Reference in a new issue