- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Ive attached a sample from the dump post. Here are some relevant excerpts from a spot drill:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, @jonathanBUCVS . Could you please share Fusion project with us for looking into the issue. Because, from the output it is unclear what is wrong: Fusion or postprocessor.
Viacheslav Shapilov
Developer Technical Services
Autodesk Developer Network
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Attached is a sample Fusion file as well as the Dump post output, using the latest Dump post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Looked into the issue. And seems, these values are default, they are not passed from Fusion.
What I can suggest - don't use these values, if it is not a turning tool. You can check it by `tool.isTurningTool()` function.
Viacheslav Shapilov
Developer Technical Services
Autodesk Developer Network
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Thats unexpected, but OK, at least I know whats going on now. Thanks for looking into that.
While we are sort of on the topic of onSection variables, I posted a few weeks ago about the variables tool.type, tool.insertType and tool.holderType asking if there was a cross reference for the numerical values that the function outputs to what type of tool it actually is.
For example, I have figured out through trial and error that tool.Type=35 is a boring bar and =30 is a threading bar. Is there a published table of all the options? I didnt see anything in the Post Processor Guide pdf.
Here is a link to my original post: https://forums.autodesk.com/t5/fusion-manufacture/list-for-tool-holdertype-variables/m-p/12635017#M1...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Sure, we have an online postprocessor's API documentation. Here is tool type for example: Tool Class Reference (autodesk.com)
Also, you can take a look, how names are printed in dump.cps post.
If you want to switch behaviour depending on tool type you can check if it is equal to specific type like this:
if (tool.type == TOOL_BORING_BAR) {
// Do something special
}
Viacheslav Shapilov
Developer Technical Services
Autodesk Developer Network
Fusion