@denis_q wrote:
Given: a machine with heidenhain TNC640 control. (machineConfiguration is defined in postprocessor and 'properties.usePlane' is 'true')
Given: a pocket which edges aren't parallel to machine axis.
Wanted: measure length and width of pocket with cycle 425 (implemented in custom post processor)
problem: 425 works only axis parallel whereas pocket's edges aren't
approach: Using PLANE SPATIAL SPA+AAA SPB+BBB SPC+CCC to orientate workplane in such
way that pocket edges are axis parallel.
problem: 1. in a HSMWorks workplane definition (geometry tab in an operation) you can't (directly) specify the direction of x and y
axis in tilted workplane
2. PLANE SPATIAL only get's angle around ToolAxis if it's a pure3D operation (zOriented)
hope thats better
Thanks Laurens
Aaah,
I think I'm getting it now.
So you would want an output like
PLANE SPATIAL SPA+90 SPB+45 SPC+33
Instead of what it does now
PLANE SPATIAL SPA+90 SPB+00 SPC+33
Because the post only makes sure the tool angle is correct but doesn't care about the other rotations in the machine.
I'm not actually sure if PLANE SPATIAL SPA+90 SPB+45 SPC+33
would work in the machine, but I like the idea.
Let's see if we can get @AchimN to help out with this.
Because before plane spatial I don't think there were machine's that would allow for such a rotation that is outside of the actual machine's rotations but can be done partially virtual.
Laurens Wijnschenk
3DTechDraw
AutoDesk CAM user & Post editor.
Found out the hard way is the best way to win.