add option to alerntate fdm shell winding order

This commit is contained in:
Stewart Allen 2022-05-10 23:40:25 -04:00
commit a9c6d3132a
8 changed files with 32 additions and 10 deletions

View file

@ -67,7 +67,11 @@ class Print {
// fdm & laser
polyPrintPath(poly, startPoint, output, options = {}) {
poly.setClockwise();
if (options.ccw) {
poly.setCounterClockwise();
} else {
poly.setClockwise();
}
const scope = this;
const { settings } = scope;