Class ClsfKeys
- Namespace
- Hi.Numerical.ClsfParsers
- Assembly
- HiMech.dll
JSON section names and keys specific to the NX-CL (CLSF) pipeline.
General sections shared with the NC/CSV pipelines
(MotionEvent, Feedrate, SpindleSpeed, Coolant,
ToolChange) keep their contracts from
Hi.NcParsers.Keywords /
ToolChangeSyntax.
public static class ClsfKeys
- Inheritance
-
ClsfKeys
- Inherited Members
Fields
ActiveTool
Modal section — the currently loaded tool id
(ToolIdKey),
written by RecordToToolingSyntax on every LOAD/TOOL
block and carried onto every subsequent block by the modal carry —
unlike the one-shot ToolChange section (whose IsChange
flag must not repeat), so per-block readers
(ClToMcTransformSyntax tool-offset resolution) get O(1)
access instead of a backward walk to the distant LOAD block.
public const string ActiveTool = "ActiveTool"
Field Value
AxisI
Arc axis X component (unit vector).
public const string AxisI = "AxisI"
Field Value
AxisJ
Arc axis Y component (unit vector).
public const string AxisJ = "AxisJ"
Field Value
AxisK
Arc axis Z component (unit vector).
public const string AxisK = "AxisK"
Field Value
CenterX
Arc center X in mm.
public const string CenterX = "CenterX"
Field Value
CenterY
Arc center Y in mm.
public const string CenterY = "CenterY"
Field Value
CenterZ
Arc center Z in mm.
public const string CenterZ = "CenterZ"
Field Value
ClArcEvent
One-shot event on the GOTO block that closes a circle record — the arc geometry ClMotionSemantic resolves together with the begin/end cutter locations. Same keys as ClCircleEvent.
public const string ClArcEvent = "ClArcEvent"
Field Value
ClCircleEvent
One-shot event — a CIRCLE/MOVARC record, already
transformed to workpiece coordinates (NX axis negation applied).
The next GOTO consumes it into a ClArcEvent.
Keys: CenterX/CenterY/CenterZ,
AxisI/AxisJ/AxisK,
Radius, Turns.
public const string ClCircleEvent = "ClCircleEvent"
Field Value
ClRapidEvent
One-shot event — a standalone RAPID record. The next GOTO's
backward walk turns it into MotionEvent.IsRapid; a passed
motion or feedrate event cancels it (legacy CL parser behavior).
public const string ClRapidEvent = "ClRapidEvent"
Field Value
ClsfToolData
Modal section — the latest TLDATA/MILL tool geometry, kept for
ClsfToolBuildSemantic to materialize a tool on
LOAD/TOOL when the tool house has no entry for the id.
Keys: D, R0, Rr,
Rz, TaperAngle_deg,
TipAngle_deg, H.
public const string ClsfToolData = "ClsfToolData"
Field Value
CutterLocationState
Modal section — the current cutter location in workpiece coordinates (post-Msys): point X/Y/Z in mm and unit normal I/J/K. Written by RecordToClMotionSyntax on each GOTO block and carried onto every block by the pipeline's modal carry.
public const string CutterLocationState = "CutterLocationState"
Field Value
D
Tool diameter in mm.
public const string D = "D"
Field Value
FeedrateEvent
One-shot event — a FEDRAT record. Marks the rapid-cancel
boundary for the ClRapidEvent backward walk (the modal
Feedrate section itself is carried onto every block, so it
cannot serve as the boundary).
public const string FeedrateEvent = "FeedrateEvent"
Field Value
H
Flute height (CLSF LENGTH field) in mm.
public const string H = "H"
Field Value
I
Cutter-axis normal X component (unit vector).
public const string I = "I"
Field Value
J
Cutter-axis normal Y component (unit vector).
public const string J = "J"
Field Value
K
Cutter-axis normal Z component (unit vector).
public const string K = "K"
Field Value
Matrix
The 16-element matrix array inside Msys.
public const string Matrix = "Matrix"
Field Value
Msys
Modal section — the CLSF MSYS transform. Holds the
Matrix key with a 16-element row-major matrix array
(rows = rotation rows then translation, matching
Mat4d row-vector convention); wrapped in an
object because the modal carry only carries object sections. Absent
means identity.
public const string Msys = "Msys"
Field Value
R0
Corner (lower) radius in mm.
public const string R0 = "R0"
Field Value
Radius
Arc radius in mm as declared by the record (informational — the resolved ClCircleArc derives radii from the geometry).
public const string Radius = "Radius"
Field Value
Rr
Corner-center to tool-axis distance in mm (optional).
public const string Rr = "Rr"
Field Value
Rz
Tip to corner-center height in mm (optional).
public const string Rz = "Rz"
Field Value
TaperAngle_deg
Taper angle (side, above the corner) in degrees.
public const string TaperAngle_deg = "TaperAngle_deg"
Field Value
TipAngle_deg
Tip angle (below the corner) in degrees.
public const string TipAngle_deg = "TipAngle_deg"
Field Value
Turns
Full-circle count included in the sweep (CLSF TIMES,n).
public const string Turns = "Turns"
Field Value
X
Cutter-location point X in mm.
public const string X = "X"
Field Value
Y
Cutter-location point Y in mm.
public const string Y = "Y"
Field Value
Z
Cutter-location point Z in mm.
public const string Z = "Z"