Table of Contents

Class ArcNcArg

Namespace
Hi.Numerical.NcArgs
Assembly
HiUniNc.dll

Arc parameters for HardNcLine. Arc comes from G02,G03.

public class ArcNcArg
Inheritance
ArcNcArg
Inherited Members
Extension Methods

Constructors

ArcNcArg()

Initializes a new instance of the ArcNcArg class.

public ArcNcArg()

ArcNcArg(ArcNcArg)

Initializes a new instance of the ArcNcArg class by copying an existing instance.

public ArcNcArg(ArcNcArg src)

Parameters

src ArcNcArg

The source instance to copy.

Properties

Ijk

Gets or sets the I, J, K values that define the center of the arc.

public vec3d_t Ijk { get; set; }

Property Value

vec3d_t

IsIjkAbsolute

Whether Ijk addresses the circle center as absolute program coordinates instead of offsets from the arc start. Heidenhain DIN/ISO reads I/J/K this way (the ISO twin of the Klartext CC pole); Fanuc/Siemens/Syntec/Mazak — and Heidenhain under G91 — use start-to-center offsets. Stamped by HardNcLine.BuildArcNcArg from the brand and the G91 state.

public bool IsIjkAbsolute { get; set; }

Property Value

bool

L

circle number. count as once cycle if not approach one cycle.

public int L { get; set; }

Property Value

int

Q

Gets or sets the Q parameter value.

public double Q { get; set; }

Property Value

double

R

Gets or sets the radius value for defining the arc.

public double R { get; set; }

Property Value

double

Methods

GetCenterOrCenterOnBeginPlane(vec3d_t, vec3d_t, vec3d_t, bool)

Calculates the center point of the arc.

public vec3d_t GetCenterOrCenterOnBeginPlane(vec3d_t beginXyz, vec3d_t endXyz, vec3d_t programOrthogonalPlaneNormal, bool isCcw)

Parameters

beginXyz vec3d_t

The start point of the arc.

endXyz vec3d_t

The end point of the arc.

programOrthogonalPlaneNormal vec3d_t

The normal vector of the plane containing the arc.

isCcw bool

True if the arc is counter-clockwise, false if clockwise.

Returns

vec3d_t

The center point of the arc.