This is for all you CAM junkies / machine operators - I want to generate usable tool tags from a setup sheet!
I'm hacking on the post file called 'tool sheet.cps'. Here's an example of the output Setup Sheet:
The Problem:
The specific problem I'm having is that the property 'tool.material' (the material which the cutting tool is made of) comes up 'unspecified' (actual value displayed is zero). From some testing, I already know that the function 'getMaterialName()' takes the following numerical input and outputs the following words:
- 1 - hss
- 2 - ti coated
- 3 - carbide
- 4 - ceramics
- 0 or 5 - unspecified
However, using the function 'getMaterialName(tool.material)' for the tool definition below should output 'carbide' as selected below, but it outputs 'unspecified' instead (as shown above).
tl;dr
What I really need is a glossary of objects and properties HSMWorks/HSMXpress can call so I can make the best Tool Setup Sheet ever. Any leads?
Thank you,
Chris
Hey Chris,
This is definitely one for the HSM post forum.
But have you read the output from posting with the dump.cps post? That dumps out all the variables and their values.
Cheers
Scott.