Offsets and Workplane:Workplanes: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Chrish (talk | contribs)
GaryE (talk | contribs)
Line 15: Line 15:
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.
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.


====Operation CS====
====Op CS when Depth Aligned====
This mode will align the output workplane with the machining cs. 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.
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.


===Use Current Rotary Repeat===
===Use Current Rotary Repeat===

Revision as of 22:25, 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.

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 commands will compute there angular values for operation CS style workplaces.

Axis Order

Euler angles are always 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.

Euler Workplane in Part Space

This setting changes how the euler workplane is computed, if it takes part rotations into account or not. Part space Euler workplanes are 100% machine independent and do not take any machine kinematics into account. They describe a rotation of the XY CS to make it align with the operation CS, all in part space.

Non part space workplanes only compute the rotations required for the tool to align with the operation CS after any part (table) rotations. This modes does take part rotary axis kinematics into account and removes them from the euler computation. On a machine that only has a rotary table, this type of workplane will ONLY ever have an in-plane rotation as part of the workplane definition since the machine will have rotated the table into position using kinematic angles.

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.