Class ToolHeightCompensation
Section key holder for IToolHeightCompensationDef.
public class ToolHeightCompensation : IToolHeightCompensationDef
- Inheritance
-
ToolHeightCompensation
- Implements
- Inherited Members
- Extension Methods
Properties
OffsetId
Generic offset selector: Fanuc H number, Heidenhain T number, Mazak/Okuma H number. For Siemens (T+D addressing), see ISiemensToolOffsetConfig.
public int OffsetId { get; set; }
Property Value
Offset_mm
Derived effective tool height compensation in mm. Computed from Term and OffsetId: looks up the offset table for OffsetId, obtains the effective height (geometry minus wear), then applies sign from Term (positive for G43/G43.4, negative for G44, zero for G49).
public double Offset_mm { get; set; }
Property Value
Term
CNC term for tool height compensation: “G43”, “G43.4”, “G44”, “G49”. Brand-specific syntaxes may write equivalent terms (e.g., “TRAORI” for Siemens, “M128” for Heidenhain).
public string Term { get; set; }