Table of Contents

Interface IPolarInterpolationDef

Namespace
Hi.NcParsers.Keywords
Assembly
HiMech.dll

JSON section schemas for Fanuc Polar Coordinate Interpolation (G12.1/G13.1). Property names are used as JSON keys via nameof.

PolarInterpolationState is the modal valve: its presence on a block means polar interpolation is active there. It is written by PolarInterpolationSyntax on the G12.1 block and re-materialized onto every following block until a G13.1 block ends the mode (single-step lookback carry, same pattern as PositioningSyntax — not registered on ModalCarrySyntax).

ProgramPolarRxcz is the per-block polar position, relative to the G12.1 anchor (InitRxcz). Rxcz axes: X = radius-direction linear axis in mm (the NC word X is a diameter and is halved on parse), Y = hypothetical rotary-substitute axis in mm, Z = real Z in mm. The absolute (rotation-center-origin) position used by the math is InitRxcz + ProgramPolarRxcz, mirroring HardNc PolarEntry.CentralProgramPolarRxcz.

public interface IPolarInterpolationDef
Extension Methods

Properties

PolarInterpolationState

Modal polar-interpolation state section (the valve). Inner keys: Dir, InitRxcz.

JsonObject PolarInterpolationState { get; set; }

Property Value

JsonObject

ProgramPolarRxcz

Per-block polar position (anchor-relative Rxcz, mm).

JsonObject ProgramPolarRxcz { get; set; }

Property Value

JsonObject