04-11-2023
09:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-11-2023
09:14 AM
Hello piotrVMP6A
Give the following a try. Be careful though.
// Consider part cutoff as stockTransfer operation
if (!(machineState.stockTransferIsActive && partCutoff)) {
machineState.stockTransferIsActive = false;
}
var previous = getCurrentDirection();
var abc = getWorkPlaneMachineABC(currentSection, currentSection.workPlane);
bChange = useG368(abc) && ((currentWorkPlaneABC == undefined) ||
abcFormat.areDifferent(abc.y, currentWorkPlaneABC.y));
setCurrentDirection(previous);
// cancel previous work plane
if (insertToolCall || (newWorkPlane && bChange)) {
cancelWorkPlane(); //piotr g369 po pierwszym wieceniu
}
// Process Pass Through commands
executeManualNC();

Bill Cain
Sr. Technical Consultant
Fusion