Class RadiusCompensation
Section key holder + concrete implementation for IRadiusCompensationDef.
public class RadiusCompensation : IRadiusCompensationDef
- Inheritance
-
RadiusCompensation
- Implements
- Inherited Members
- Extension Methods
Fields
SideLeft
Left of programmed path (G41 / Heidenhain RL).
public const string SideLeft = "Left"
Field Value
SideNone
No active compensation (G40 / Heidenhain R0).
public const string SideNone = "None"
Field Value
SideRight
Right of programmed path (G42 / Heidenhain RR).
public const string SideRight = "Right"
Field Value
Properties
OffsetId
Offset number (Fanuc D number) selecting the radius in the tool offset table. Modal — preserved across G40 blocks so the next G41/G42 without an explicit D continues to reference the same row, matching real Fanuc/Siemens behaviour.
public int OffsetId { get; set; }
Property Value
Radius_mm
Unsigned compensation radius in mm, looked up from the tool offset table. Real controller tool tables hold the radius as a non-negative geometry value (wear/delta sits in a separate column); this property mirrors that convention. Direction is encoded by Side. Omitted from the JSON section when Side is SideNone.
public double Radius_mm { get; set; }
Property Value
Side
public string Side { get; set; }
Property Value
Term
CNC term: “G41”, “G42”, or “G40”.
public string Term { get; set; }