Is there a better way to get what we choose for stock mode (Box, Cylinder,Tube)
Even if we enter a cylinder, fusion always dump a square bounding box ....
11: onParameter('stock', '((-25.527, -25.527, -123.952), (25.527, 25.527, 3.048))')
13: onParameter('stock-lower-x', -1.005)
15: onParameter('stock-lower-y', -1.005)
17: onParameter('stock-lower-z', -4.8799999999999635)
19: onParameter('stock-upper-x', 1.005)
21: onParameter('stock-upper-y', 1.005)
23: onParameter('stock-upper-z', 0.12000000000003559)
When defining the " Workpiece" line on a siemens controller i can choose what type of stock to be machined for the simulation. Right now the postprocessor are hard coded to "box" for milling postprocessor and "cylinder" for turning postprocessor...
I get to create a Manual NC =>Action with the "stockBOX" or "stockCYLINDER" word and being able to manage it in the post but it add a section in the file.
It could be less painful to have a posting parameter for this imo....
Can't find what you're looking for? Ask the community or share your knowledge.