automated testing for post processors?

automated testing for post processors?

ginabythebay
Explorer Explorer
323 Views
4 Replies
Message 1 of 5

automated testing for post processors?

ginabythebay
Explorer
Explorer

Is there a recommended way to set up automated testing for post processors?

 

I would like to find a command line way to run my post processor against an intermediate file to verify that I haven't made any changes I did not expect to. I can figure out how to compare the expected output versus the output produced.

 

Ideally it would be something that I can run under linux, using, e.g. github actions, as well as on the mac and on windows.

 

In searching around, I ran across this page which implies the existence of a standalone post executable: https://cam.autodesk.com/posts/reference/usage.html but haven't figured out where to find the post executable.

 

Alternatively, perhaps there is a way to cobble something up with node?

 

Thanks for any advice or pointers!

0 Likes
Accepted solutions (1)
324 Views
4 Replies
Replies (4)
Message 2 of 5

a.laasW8M6T
Mentor
Mentor

get the fusion post utility for Visual studio code, this will post out a variety of test code and allow you to verify post processor changes, you can even test with actual toolpaths from Fusion too

https://marketplace.visualstudio.com/items?itemName=Autodesk.hsm-post-processor 

 

0 Likes
Message 3 of 5

ginabythebay
Explorer
Explorer

Thanks for you reply. I find the visual studio extension useful for many things but I am looking for a way to set up automated testing.

0 Likes
Message 4 of 5

seth.madore
Community Manager
Community Manager
Accepted solution

The post executable is found at /user/name/.vscode/extensions/autodesk.hsm-post-processor-x.x.x/res/settings.json


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes
Message 5 of 5

ginabythebay
Explorer
Explorer

That worked on my mac, thank you!

0 Likes