Unable to post drilling operations (UCCNC)

Unable to post drilling operations (UCCNC)

patrick-soldato
Explorer Explorer
2,012 Views
7 Replies
Message 1 of 8

Unable to post drilling operations (UCCNC)

patrick-soldato
Explorer
Explorer

Hey everyone,

 

i cannot for the life of me figure out why i always get an error message when i try to post a drilling operation with the uccnc post processor.

I just drew a quick test part that i'm going to attach to demonstrate my problem.

Everything else can be posted fine but drilling always leads to an Error:

 

Information: Configuration: Generic UCCNC
Information: Vendor: UCCNC
Information: Posting intermediate data to 'C:\Users\patri\AppData\Local\Fusion 360 CAM\nc\1001.nc'
Information: Total number of warnings: 1
Error: Failed to post process. See below for details.
...
Loading locale from 'C:\Users\patri\AppData\Local\Autodesk\webdeploy\production\8230b364be98230257f730ec9822611826c56dfb\Applications\CAM360\Data\Translations\german_de.xml'
Code page changed to '1252  (ANSI - Lateinisch I)'
Start time: Sunday, September 11, 2016 9:12:56 PM
Code page changed to '20127 (US-ASCII)'
Post processor engine: 4.2.1 41078
Configuration path: C:\Users\patri\AppData\Local\Autodesk\Autodesk Fusion 360\EK35LDJYQJMS\CAMPosts\uccnc.cps
Include paths: C:\Users\patri\AppData\Local\Autodesk\Autodesk Fusion 360\EK35LDJYQJMS\CAMPosts
Configuration modification date: Sunday, September 11, 2016 9:04:04 PM
Output path: C:\Users\patri\AppData\Local\Fusion 360 CAM\nc\1001.nc
Checksum of intermediate NC data: 7e0e8c981718228ba7946d3d4f1f66c6
Checksum of configuration: ec9ca72bbbee908b406bfff0bde002e9
Vendor url: http://www.cncdrive.com/
Legal: Copyright (C) 2012-2016 by Autodesk, Inc.
Generated by: Fusion 360 CAM 2.0.2377
...
Warnung: Work offset has not been specified. Using G54 as WCS.
Fehler(C:\Users\patri\AppData\Local\Autodesk\Autodesk Fusion 360\EK35LDJYQJMS\CAMPosts\uccnc.cps:566): ReferenceError: spatialFormat is not defined
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Stack dump:
getCommonCycle(0,0,-15,5)@C:\Users\patri\AppData\Local\Autodesk\Autodesk Fusion 360\EK35LDJYQJMS\CAMPosts\uccnc.cps:565
onCyclePoint(0,0,-15)@C:\Users\patri\AppData\Local\Autodesk\Autodesk Fusion 360\EK35LDJYQJMS\CAMPosts\uccnc.cps:619

Failed while processing onCycle() for record 319.
Fehler: Failed to execute configuration.
Stop time: Sunday, September 11, 2016 9:12:56 PM
Post processing failed.

Weirdly i can post drilling operations with all the other postprocessors i tried so far but with the generic uccnc and stepcraft post i always end up with an error.

I'm out of ideas what is causing the problem. Even the error message saying that the work offset has not been specified doesnt really make sense because i get the same error message trying to use other offsets.

 

Did anyone have this problem before and might help me out?

 

regards

0 Likes
Accepted solutions (1)
2,013 Views
7 Replies
Replies (7)
Message 2 of 8

Anonymous
Not applicable

Same problem. Most operations I have tried work well, but drilling always fails:

 

*******

 

Information: Configuration: Generic STEPCRAFT UCCNC
Information: Vendor: UCCNC
Information: Posting intermediate data to '\\******\temp\drill.nc'
Information: Total number of warnings: 1
Error: Failed to post process. See below for details.
...
Code page changed to '1252 (ANSI - Latin I)'
Start time: Thursday, September 15, 2016 5:13:20 PM
Code page changed to '20127 (US-ASCII)'
Post processor engine: 4.2.1 41078
Configuration path: C:\Users\******\AppData\Local\Autodesk\webdeploy\production\2772edc8fb3ae48c042ce175c11672d9c192d9ff\Applications\CAM360\Data\Posts\stepcraft.cps
Include paths: C:\Users\******\AppData\Local\Autodesk\webdeploy\production\2772edc8fb3ae48c042ce175c11672d9c192d9ff\Applications\CAM360\Data\Posts
Configuration modification date: Wednesday, August 17, 2016 2:56:38 PM
Output path: \\******\temp\drill.nc
Checksum of intermediate NC data: 10728abcf53927f16e3921ae7d288813
Checksum of configuration: 44968fb2c04d822f4c73dc02025ee40a
Vendor url: http://www.cncdrive.com/
Legal: Copyright (C) 2012-2016 by Autodesk, Inc.
Generated by: Fusion 360 CAM 2.0.2377
...
Warning: Work offset has not been specified. Using G54 as WCS.
Error(C:\Users\******\AppData\Local\Autodesk\webdeploy\production\2772edc8fb3ae48c042ce175c11672d9c192d9ff\Applications\CAM360\Data\Posts\stepcraft.cps:571): ReferenceError: spatialFormat is not defined
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Stack dump:
getCommonCycle(7,181,-4.699461460113525,5)@C:\Users\******\AppData\Local\Autodesk\webdeploy\production\2772edc8fb3ae48c042ce175c11672d9c192d9ff\Applications\CAM360\Data\Posts\stepcraft.cps:570
onCyclePoint(7,181,-4.699461460113525)@C:\Users\******\AppData\Local\Autodesk\webdeploy\production\2772edc8fb3ae48c042ce175c11672d9c192d9ff\Applications\CAM360\Data\Posts\stepcraft.cps:624

Failed while processing onCycle() for record 319.
Error: Failed to execute configuration.
Stop time: Thursday, September 15, 2016 5:13:20 PM
Post processing failed.

 

 

0 Likes
Message 3 of 8

HughesTooling
Consultant
Consultant

It'll help if you attach the post because it looks like it's a custom one not supplied with Fusion.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 4 of 8

Steinwerks
Mentor
Mentor

@HughesTooling

 

It's available via the Autodesk CAM Posts page. I have not had time to look into what's causing it though.

Neal Stein

New to Fusion 360 CAM? Click here for an introduction to 2D Milling, here for 2D Turning.

Find me on:
Instagram and YouTube
Message 5 of 8

HughesTooling
Consultant
Consultant
Accepted solution

@Steinwerks thanks found the post.

 

The problem is spatialFormat was not defined in the post I needed to add this line.

var spatialFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true});

Updated post attached.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Message 6 of 8

Anonymous
Not applicable
0 Likes
Message 7 of 8

Anonymous
Not applicable
The updated UCCCNC attached and the Stepcraft UCCNC I was using seem quite similar. So I got the Stepcraft UCCNC I linked to working by adding the same line as suggested above. Thanks!
0 Likes
Message 8 of 8

patrick-soldato
Explorer
Explorer

Thanks alot Mark, your updated post works just fine.

 

regards

Patrick

0 Likes