Hi there
Is there a possibility to change the behaviour of the Heidenhain generic PP, so it uses the Tool names instead of Tool numbers?
Since this is a common option while using Heidenhain Systems.
Regards Sam
Hello,
Yes, there is. You can replace the "tool.number" variable with other variables inside your postprocessor.
If you postprocess your file with the dump postprocessor you can see all available parameters related to the tool.
For example, you can change this line:
writeBlock( "TOOL CALL " + tool.number + SP + spindleAxisTable.lookup(spindleAxis) + conditional(!isProbeOperation(), " S" + rpmFormat.format(spindleSpeed)) );
with this:
writeBlock( "TOOL CALL " + tool.vendor + SP + spindleAxisTable.lookup(spindleAxis) + conditional(!isProbeOperation(), " S" + rpmFormat.format(spindleSpeed)) );
etc.
Ivan Stanojevic
Pretty sure it is in the generic Siemens as a post processor property.
So you can find it there.
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
@ivan.stanojevic wrote:Hello,
Yes, there is. You can replace the "tool.number" variable with other variables inside your postprocessor.
If you postprocess your file with the dump postprocessor you can see all available parameters related to the tool.
For example, you can change this line:
writeBlock( "TOOL CALL " + tool.number + SP + spindleAxisTable.lookup(spindleAxis) + conditional(!isProbeOperation(), " S" + rpmFormat.format(spindleSpeed)) );with this:
writeBlock( "TOOL CALL " + tool.vendor + SP + spindleAxisTable.lookup(spindleAxis) + conditional(!isProbeOperation(), " S" + rpmFormat.format(spindleSpeed)) );etc.
Yes I did have a look at that, but was not able to find any documentation about, what methods (tool.number, tool.vendor) you could use. Tried it with tool.name wich apparently didn't work. So is .vendor the actual thing or just an example?
@Anonymous wrote:
@ivan.stanojevic wrote:
Hello,
Yes, there is. You can replace the "tool.number" variable with other variables inside your postprocessor.
If you postprocess your file with the dump postprocessor you can see all available parameters related to the tool.
For example, you can change this line:
writeBlock( "TOOL CALL " + tool.number + SP + spindleAxisTable.lookup(spindleAxis) + conditional(!isProbeOperation(), " S" + rpmFormat.format(spindleSpeed)) );with this:
writeBlock( "TOOL CALL " + tool.vendor + SP + spindleAxisTable.lookup(spindleAxis) + conditional(!isProbeOperation(), " S" + rpmFormat.format(spindleSpeed)) );etc.
Yes I did have a look at that, but was not able to find any documentation about, what methods (tool.number, tool.vendor) you could use. Tried it with tool.name wich apparently didn't work. So is .vendor the actual thing or just an example?
Pretty sure it is .description
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
René for Legend.
@Anonymous
Please take a look here:
However, if you want to get the tool type instead of the listed above you need to use something like this:
getParameter("operation:tool_type")
Ivan Stanojevic
For normal use you can use the generic postprocessor from Autodesk library. Only if you wish special things you need a edited one.
Can't find what you're looking for? Ask the community or share your knowledge.