Class ArcNcArg
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
srcArcNcArgThe 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
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
L
circle number. count as once cycle if not approach one cycle.
public int L { get; set; }
Property Value
Q
Gets or sets the Q parameter value.
public double Q { get; set; }
Property Value
R
Gets or sets the radius value for defining the arc.
public double R { get; set; }
Property Value
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
beginXyzvec3d_tThe start point of the arc.
endXyzvec3d_tThe end point of the arc.
programOrthogonalPlaneNormalvec3d_tThe normal vector of the plane containing the arc.
isCcwboolTrue if the arc is counter-clockwise, false if clockwise.
Returns
- vec3d_t
The center point of the arc.