Table of Contents

Interface IRadiusCompensationDef

Namespace
Hi.NcParsers.Keywords
Assembly
HiMech.dll

Radius compensation state written by RadiusCompensationSyntax. Property names are used as JSON keys via nameof.

Managed commands (ISO): G41 (left), G42 (right), G40 (cancel). When active, the tool path is offset perpendicular to the programmed path by Radius_mm. The root ProgramXyz retains the user-programmed position; MachineCoordinate is overwritten to reflect the compensated path.

public interface IRadiusCompensationDef
Extension Methods

Examples

"RadiusCompensation": {
  "Term": "G41",
  "OffsetId": 1,
  "Radius_mm": 5.0
}

Properties

OffsetId

Offset number (Fanuc D number) selecting the radius in the tool offset table.

int OffsetId { get; set; }

Property Value

int

Radius_mm

Signed compensation radius in mm. Positive for G41 (left offset), negative for G42 (right offset), zero when cancelled.

double Radius_mm { get; set; }

Property Value

double

Term

CNC term: “G41”, “G42”, or “G40”.

string Term { get; set; }

Property Value

string