fix start point and extra moves on belt
This commit is contained in:
parent
b7ea514c6b
commit
0b37838639
1 changed files with 3 additions and 2 deletions
|
|
@ -413,7 +413,7 @@
|
||||||
// output seek to start point between mesh slices if previous data
|
// output seek to start point between mesh slices if previous data
|
||||||
printPoint = print.slicePrintPath(
|
printPoint = print.slicePrintPath(
|
||||||
slice,
|
slice,
|
||||||
slice.belt && slice.belt.touch ? newPoint(-5000, 0, 0) : printPoint.sub(offset),
|
slice.belt && slice.belt.touch ? newPoint(-5000, 5000, 0) : printPoint.sub(offset),
|
||||||
offset,
|
offset,
|
||||||
layerout,
|
layerout,
|
||||||
{
|
{
|
||||||
|
|
@ -558,7 +558,8 @@
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// for any layer touching belt, ensure start point is nearest origin
|
// for any layer touching belt, ensure start point is nearest origin
|
||||||
print.addOutput(tmpout, newPoint(minx, maxy, minz), 0, firstLayerSeek, first.tool);
|
// print.addOutput(tmpout, newPoint(minx, maxy, minz), 0, firstLayerSeek, first.tool);
|
||||||
|
// print.lastPoint = newPoint(minx, maxy, minz);
|
||||||
seqn = 0;
|
seqn = 0;
|
||||||
}
|
}
|
||||||
layer.splice(0,0,...tmpout);
|
layer.splice(0,0,...tmpout);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue