Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
andypugh
338 Views, 4 Replies

Can't post-process with an A-axis

I have been running a modified LinuxCNC PP for a while, with the A-axis enabled. 

I can't recall if I have ever used it, though. 

 

I am trying to machine a hex on the end of a part using A-axis rotations. I have defined a tool orientation for each operation, and it all works fine in the simulation. 

 

When I try to Post, however, I get no G-code, and the log is not helpful:

 

Information: Configuration: LinuxCNC_Milling
Information: Vendor: LinuxCNC
Information: Posting intermediate data to '/Users/andypugh/Fusion 360 CAM/nc/D14Cam.ngc'
Error: Failed to post process. See below for details.
...
Start time: Sat May  8 23:37:51 2021
Post processor engine: 4.5754.0
Configuration path: /Users/andypugh/Autodesk/Fusion 360 CAM/Posts/LinuxCNC_Milling.cps
Include paths: /Users/andypugh/Autodesk/Fusion 360 CAM/Posts
Configuration modification date: Sat May  8 23:37:37 2021
Output path: /Users/andypugh/Fusion 360 CAM/nc/D14Cam.ngc
Checksum of intermediate NC data: 6f7199aff633d0c5b16b5b723e07b872
Checksum of configuration: 6c965568a8c8293ac276eb779ab7ebcd
Vendor url: http://www.linuxcnc.org
Legal: Copyright (C) 2012-2021 by Autodesk, Inc.
Generated by: Fusion 360 CAM 2.0.10148
...
Error: Failed to invoke function 'onSection'.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Failed to invoke 'onSection' in the post configuration.
Error: Failed to execute configuration.
Stop time: Sat May  8 23:37:51 2021
Post processing failed.

 

I think that I have tracked the problem down to this line in the post, by adding some "warning" commands before and after. 

 

function getWorkPlaneMachineABC(workPlane) {
  var W = workPlane; // map to global frame
  warning("Before");
  var abc = machineConfiguration.getABC(W);
  warning("After");
  if (closestABC) {

 

Gives this output:

 

Generated by: Fusion 360 CAM 2.0.10148
...
Warning: Before
Error: Failed to invoke function 'onSection'.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Failed to invoke 'onSection' in the post configuration.
Error: Failed to execute configuration.
Stop time: Sat May  8 23:48:20 2021
Post processing failed.

 

So it seems that the PP is giving up during the "machineConfiguration.GetABC(W)". But that does not appear to be code in the .cps file. 

 

I have tried starting from scratch with the latest LinuxCNC generic post, and the EMC2 one too (after following the general instructions to add an A-axis)

 

It looks like the issue might be with my machine configuration. But I am not clear if that means the config in the post or the kinematics tree in the GUI. 

 

I am working on a Mac, so most of the PP screenshots that I have found are no help, my PP dialog box looks utterly different, and I see no option to define the A-axis axis there. 

Labels (1)