fix for anchor lifting some parts
This commit is contained in:
parent
d693212ce5
commit
a109ebca29
2 changed files with 4 additions and 3 deletions
|
|
@ -479,7 +479,8 @@
|
|||
if (isBelt) {
|
||||
// find belt min y
|
||||
let minby = Infinity;
|
||||
for (let layer of output) {
|
||||
let normout = output.filter(l => !l.anchor);
|
||||
for (let layer of normout) {
|
||||
for (let rec of layer) {
|
||||
let point = rec.point;
|
||||
minby = Math.min(minby, -point.y + point.z * bfactor);
|
||||
|
|
@ -502,7 +503,6 @@
|
|||
|
||||
let thresh = firstLayerHeight * 0.25;
|
||||
let seqn = 0;
|
||||
|
||||
// iterate over layers, find extrusion on belt and
|
||||
// apply corrections and add brim when specified
|
||||
for (let layer of output) {
|
||||
|
|
|
|||
|
|
@ -910,7 +910,8 @@ th, tr, td, label {
|
|||
#code-preview-textarea {
|
||||
width: 40em;
|
||||
height: 12em;
|
||||
font-size: 10px;
|
||||
font-size: smaller;
|
||||
font-family: Courier,monospace;
|
||||
}
|
||||
.mod-end {
|
||||
height: 10px;
|
||||
|
|
|
|||
Loading…
Reference in a new issue