suppress indexed lerp output points. fixes #337
invert a axis input/output b/c display rotation is inverted
This commit is contained in:
parent
da16b3740f
commit
de02c7526d
4 changed files with 20 additions and 5 deletions
|
|
@ -482,6 +482,9 @@ function exportGCodeDialog(gcode, sections, info, names) {
|
|||
$('print-filename').value = filename;
|
||||
$('print-filesize').value = util.comma(info.bytes);
|
||||
$('print-filament').value = Math.round(info.distance);
|
||||
if (set.controller.devel) {
|
||||
$('code-preview-textarea').style.height = "30em";
|
||||
}
|
||||
calcTime();
|
||||
if (fdm) {
|
||||
calcWeight();
|
||||
|
|
|
|||
|
|
@ -404,7 +404,7 @@ class Print {
|
|||
|
||||
if (pos.A) {
|
||||
let ip = new THREE.Vector3(pos.X, pos.Y, pos.Z)
|
||||
.applyAxisAngle(XAXIS, pos.A * DEG2RAD);
|
||||
.applyAxisAngle(XAXIS, -pos.A * DEG2RAD);
|
||||
point.x = ip.x;
|
||||
point.y = ip.y;
|
||||
point.z = ip.z;
|
||||
|
|
@ -603,6 +603,7 @@ class Output {
|
|||
this.speed = speed;
|
||||
this.tool = tool;
|
||||
this.type = type;
|
||||
// this.where = new Error().stack.split("\n");
|
||||
}
|
||||
|
||||
clone(z) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue