fix offsets / offset typo

This commit is contained in:
Stewart Allen 2020-12-08 12:38:24 -05:00
commit c7aa882ebb
2 changed files with 4 additions and 1 deletions

View file

@ -60,11 +60,14 @@
# CAM
* `B` failure to go *up* when moving between parts
* `B` starting export during animation unleashes chaos
* `B` climb vs conventional not fully consistent after refactor
* `B` outside cutting direction in roughing mode inverted
* `B` top clearing operations should use linear, not offset, passes
* `B` on rotation, tabs dissociate from parts whose center changes with rotation
* `F` duplicating a part should duplicate added features like tabs
* `F` validate muti-part layout and spacing exceeds largest outside tool diameter
* `F` skip "thru" holes checkbox for roughing and outlining
* `F` polygon simplification option in tracing (for image derived maps)
* `F` use 3 registration holes to prevent rotation accidents (midline offset one axis)

View file

@ -205,7 +205,7 @@
let merged = [];
widget.slices.forEach(function(slice) {
let polys = [];
slice.offsets.clone(true).forEach(p => p.flattenTo(polys));
slice.offset.clone(true).forEach(p => p.flattenTo(polys));
polys.forEach(p => {
let match = false;
for (let i=0; i<merged.length; i++) {