Merge branch 'master' of github.com:GridSpace/grid-apps
This commit is contained in:
commit
676bb07cc7
2 changed files with 4 additions and 3 deletions
|
|
@ -479,7 +479,8 @@
|
||||||
if (isBelt) {
|
if (isBelt) {
|
||||||
// find belt min y
|
// find belt min y
|
||||||
let minby = Infinity;
|
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) {
|
for (let rec of layer) {
|
||||||
let point = rec.point;
|
let point = rec.point;
|
||||||
minby = Math.min(minby, -point.y + point.z * bfactor);
|
minby = Math.min(minby, -point.y + point.z * bfactor);
|
||||||
|
|
@ -502,7 +503,6 @@
|
||||||
|
|
||||||
let thresh = firstLayerHeight * 0.25;
|
let thresh = firstLayerHeight * 0.25;
|
||||||
let seqn = 0;
|
let seqn = 0;
|
||||||
|
|
||||||
// iterate over layers, find extrusion on belt and
|
// iterate over layers, find extrusion on belt and
|
||||||
// apply corrections and add brim when specified
|
// apply corrections and add brim when specified
|
||||||
for (let layer of output) {
|
for (let layer of output) {
|
||||||
|
|
|
||||||
|
|
@ -910,7 +910,8 @@ th, tr, td, label {
|
||||||
#code-preview-textarea {
|
#code-preview-textarea {
|
||||||
width: 40em;
|
width: 40em;
|
||||||
height: 12em;
|
height: 12em;
|
||||||
font-size: 10px;
|
font-size: smaller;
|
||||||
|
font-family: Courier,monospace;
|
||||||
}
|
}
|
||||||
.mod-end {
|
.mod-end {
|
||||||
height: 10px;
|
height: 10px;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue