Offsets and Workplane:Workplanes: Difference between revisions
| (4 intermediate revisions by 2 users not shown) | |||
| Line 13: | Line 13: | ||
This setting specifies the axial alignment of the output workplane, | This setting specifies the axial alignment of the output workplane, | ||
====XY Tilted by Actual Rotations==== | ====XY Tilted by Actual Rotations==== | ||
This is a kinematic workplane definition. It will involve up to 2 compounded tool axis rotations. The axes used are read from the Kinematic Workplane Options settings below. This type of workplane is most common in traditional mill/turns with a B axis on the head (TiltOp). | This is a kinematic workplane definition. It will involve up to 2 compounded tool axis rotations. The axes used are read from the Kinematic Workplane Options settings below. This type of workplane is most common in traditional mill/turns with a B axis on the head (TiltOp). The computations are always done as if the machine was a rotary head, there is no option to compute kinematic workplanes for table configurations. | ||
==== | ====Op CS when Depth Aligned==== | ||
If the operation is a 3+2 operation, this mode will align the output workplane with the machining cs. If the operation has a true 5-axis path, where the tool axis is not always aligned with the depth axis of the machining CS, the workplane will be the same as "XY Tilted by Actual Rotations". This workplane definition may involve an in-plane rotation from any physical rotary solution and should only be used if the workplane mode on the CNC is capable of doing a full 3D coordinate rotation, such as using Euler angles (3 angles), or Axis vectors (at least 2 vectors) to define the workplane. | |||
====Machine Aligned when Singular==== | |||
If "Op CS when Depth Aligned" is chosen, this option will align the workplane's H and V axes with the Machine's CS if the Op CS D axis is aligned with the 1st rotary axis. | |||
===Use Current Rotary Repeat=== | ===Use Current Rotary Repeat=== | ||
| Line 22: | Line 25: | ||
==Euler Workplane Options== | ==Euler Workplane Options== | ||
This section is used to define how the Euler axis | This section is used to define how the Euler axis values will be calculated. | ||
===Axis Order=== | ===Axis Order=== | ||
Euler angles are | Euler angles are made up of 3 compounding rotations output by the [[EulerAlpha]]#, [[EulerBeta]]#, and [[EulerGamma]]# commands. These rotations must be applied in a specific order around a specific set of axes. This setting lists all possible rotational axes combinations and orderings. Post developers must get the axis ordering from the machine manual and set it correctly or the computed Euler angles will not be correct. | ||
=====Note===== | =====Note===== | ||
Some CNC machines do the | Some CNC machines do the Euler computations "backwards" from how GibbsCAM computes them. In this case the post should be set to the reverse order as described in the CNC machine manual, and the Euler commands called in reverse order, Gamma, Beta, Alpha. This type of reversal provides a mathematically identical transformation for these types of machines. | ||
=== | ===From=== | ||
Euler angles are calculated using the transformation from the machine's XYZ CS to a target node attached to the part. Using this option, the machine's rotary axes are positioned before that transformation is determined. | |||
*Zeroed Angles: No rotary axis state is taken into account. The Euler angles describe the target node "in part space". | |||
*Op Start Angles: The Euler angles describe the target node relative to the machine's CS after any part rotations. On a machine that only has a rotary table, these angles will only describe an in-plane rotation, since the machine will have rotated so the tool is depth-aligned with the target node. | |||
*WFO Angles: The Euler angles describe the target node relative to the machine's CS after the rotations of the current WFO. | |||
===To=== | |||
This defines the "target node" for calculation. Choices are: | |||
*Workplane: Euler angle commands always use the workplane definition, whether it's "Op CS when Depth Aligned" or "XY Tilted by Actual Rotations" | |||
*Op CS when Depth Aligned: Euler angle commands always use the "Op CS when Depth Aligned workplane definition, even if "XY Tilted by Actual Rotations" is chosen. This is the legacy setting. | |||
==Kinematic Workplane Options== | ==Kinematic Workplane Options== | ||
| Line 42: | Line 50: | ||
in this mode, up to 2 rotary axes attached to the toolgroup that are in the current interpolation set from the MDD will be used to compute the workplane. They will be compounded based on the order they are attached in the MDD. | in this mode, up to 2 rotary axes attached to the toolgroup that are in the current interpolation set from the MDD will be used to compute the workplane. They will be compounded based on the order they are attached in the MDD. | ||
====Arbitrary Axis Ordering==== | ====Arbitrary Axis Ordering==== | ||
The other settings listed are all arbitrary kinematic axis orderings. When selected the workplane will be computed as if it was on a rotary head machine with the specified axis in the defined order (first | The other settings listed are all arbitrary kinematic axis orderings. When selected the workplane will be computed as if it was on a rotary head machine with the specified axis in the defined order (first mounted on second). The computations are always done as if the machine was a rotary head, there is no option to compute kinematic workplanes for table configurations. These settings are most useful for non-orthogonal machines that are programmed as if they were orthogonal machines with some nominal set of "virtual" axes. The setting chosen must match the axes and order defined in the machine manual. | ||
[[Category:Dialog_Help]] | [[Category:Dialog_Help]] | ||
Latest revision as of 23:31, 20 November 2026
Overview
The Workplanes tab on the Offsets and Workplanes dialog contains information about how the post will handle CNC Workplane (3d Coordinate Rotation) functions.
Workplane Definition
This section includes the settings that affect any workplane modes that the post may enter during runtime. A command like SetOutputMode with a mode that uses the workplane node will use these settings when creating the output coordinate system. The command SetUseWorkplaneAxes also forces the Post Engine into a Workplane mode that will use the settings specified in this dialog.
Origin
This setting specifies where the origin of the workplane node will be, at the part station origin, or at the machining coordinate system origin.
Axis Alignment
This setting specifies the axial alignment of the output workplane,
XY Tilted by Actual Rotations
This is a kinematic workplane definition. It will involve up to 2 compounded tool axis rotations. The axes used are read from the Kinematic Workplane Options settings below. This type of workplane is most common in traditional mill/turns with a B axis on the head (TiltOp). The computations are always done as if the machine was a rotary head, there is no option to compute kinematic workplanes for table configurations.
Op CS when Depth Aligned
If the operation is a 3+2 operation, this mode will align the output workplane with the machining cs. If the operation has a true 5-axis path, where the tool axis is not always aligned with the depth axis of the machining CS, the workplane will be the same as "XY Tilted by Actual Rotations". This workplane definition may involve an in-plane rotation from any physical rotary solution and should only be used if the workplane mode on the CNC is capable of doing a full 3D coordinate rotation, such as using Euler angles (3 angles), or Axis vectors (at least 2 vectors) to define the workplane.
Machine Aligned when Singular
If "Op CS when Depth Aligned" is chosen, this option will align the workplane's H and V axes with the Machine's CS if the Op CS D axis is aligned with the 1st rotary axis.
Use Current Rotary Repeat
This setting causes the workplane to be recomputed with each rotary duplication repeat(EachRotation/NextRotation loop)
Euler Workplane Options
This section is used to define how the Euler axis values will be calculated.
Axis Order
Euler angles are made up of 3 compounding rotations output by the EulerAlpha#, EulerBeta#, and EulerGamma# commands. These rotations must be applied in a specific order around a specific set of axes. This setting lists all possible rotational axes combinations and orderings. Post developers must get the axis ordering from the machine manual and set it correctly or the computed Euler angles will not be correct.
Note
Some CNC machines do the Euler computations "backwards" from how GibbsCAM computes them. In this case the post should be set to the reverse order as described in the CNC machine manual, and the Euler commands called in reverse order, Gamma, Beta, Alpha. This type of reversal provides a mathematically identical transformation for these types of machines.
From
Euler angles are calculated using the transformation from the machine's XYZ CS to a target node attached to the part. Using this option, the machine's rotary axes are positioned before that transformation is determined.
- Zeroed Angles: No rotary axis state is taken into account. The Euler angles describe the target node "in part space".
- Op Start Angles: The Euler angles describe the target node relative to the machine's CS after any part rotations. On a machine that only has a rotary table, these angles will only describe an in-plane rotation, since the machine will have rotated so the tool is depth-aligned with the target node.
- WFO Angles: The Euler angles describe the target node relative to the machine's CS after the rotations of the current WFO.
To
This defines the "target node" for calculation. Choices are:
- Workplane: Euler angle commands always use the workplane definition, whether it's "Op CS when Depth Aligned" or "XY Tilted by Actual Rotations"
- Op CS when Depth Aligned: Euler angle commands always use the "Op CS when Depth Aligned workplane definition, even if "XY Tilted by Actual Rotations" is chosen. This is the legacy setting.
Kinematic Workplane Options
This section determines how the 2 rotations for Kinematic (machine dependent) workplanes are computed.
Axis Order
The axis order determines the orientation of the final output workplane cs, and what angles are returned by the FirstKinematicWorkplaneAngle# and SecondKinematicWorkplaneAngle# commands.
MDD Kinematics
in this mode, up to 2 rotary axes attached to the toolgroup that are in the current interpolation set from the MDD will be used to compute the workplane. They will be compounded based on the order they are attached in the MDD.
Arbitrary Axis Ordering
The other settings listed are all arbitrary kinematic axis orderings. When selected the workplane will be computed as if it was on a rotary head machine with the specified axis in the defined order (first mounted on second). The computations are always done as if the machine was a rotary head, there is no option to compute kinematic workplanes for table configurations. These settings are most useful for non-orthogonal machines that are programmed as if they were orthogonal machines with some nominal set of "virtual" axes. The setting chosen must match the axes and order defined in the machine manual.