fix lathe rotation sign inversion
remove unused axis from lathe op
This commit is contained in:
parent
385547312e
commit
e44e4e81ed
2 changed files with 3 additions and 3 deletions
|
|
@ -1371,7 +1371,7 @@ CAM.init = function(kiri, api) {
|
|||
axis: 'X'
|
||||
}).inputs = {
|
||||
tool: UC.newSelect(LANG.cc_tool, {}, "tools"),
|
||||
axis: UC.newSelect(LANG.cd_axis, {}, "xyaxis"),
|
||||
// axis: UC.newSelect(LANG.cd_axis, {}, "xyaxis"),
|
||||
sep: UC.newBlank({class:"pop-sep"}),
|
||||
spindle: UC.newInput(LANG.cc_spnd_s, {title:LANG.cc_spnd_l, convert:UC.toInt, show:hasSpindle}),
|
||||
rate: UC.newInput(LANG.cc_feed_s, {title:LANG.cc_feed_l, convert:UC.toInt, units:true}),
|
||||
|
|
|
|||
|
|
@ -339,7 +339,7 @@ class Topo4 {
|
|||
const { degrees, heights } = rec;
|
||||
[...heights].group(3).forEach((a,i) => {
|
||||
// progress each path 360 degrees to prevent A rolling backwards
|
||||
paths[i].camLines[0].push( newPoint(a[0], a[1], a[2] + leave).setA(degrees+ i * -360) );
|
||||
paths[i].camLines[0].push( newPoint(a[0], a[1], a[2] + leave).setA(-degrees + i * -360) );
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -415,7 +415,7 @@ class Topo4 {
|
|||
const { degrees, heights } = rec;
|
||||
[...heights].group(3).forEach((a,i) => {
|
||||
// progress each path 360 degrees to prevent A rolling backwards
|
||||
paths[i].camLines[0].push( newPoint(a[0], a[1], a[2] + leave).setA(degrees+ i * -360) );
|
||||
paths[i].camLines[0].push( newPoint(a[0], a[1], a[2] + leave).setA(-degrees + i * -360) );
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue