SetStockArc
Name
SetStockArc
When to use it
After setting the part information using the SetStock and SetStockVertex.
Prototype
SetStockArc(
IndexStock: long /*[in]*/,
IndexStartVertex: long /*[in]*/,
CenterX: double /*[in]*/,
CenterY: double /*[in]*/,
Direction: long /*[in]*/,
UserDefinedData: long /*[in]*/
);
Explanations
Sets the information regarding the polygon representing the stock sheet to be cut. Vertices can be connected either by straight lines or arcs. This method sets the arc information (if existing). The extremities of the arc are IndexStartVertex and the next one.
Parameters
IndexStock - index of the piece whose vertices are to be set.
IndexStartVertex - index of the vertex where the arc begins.
CenterX, CenterY - the coordinates of the center of the arc.
Direction - 0 - counter clockwise, 1 - clockwise.
UserDefinedData- an user defined value.
See also
GetStockArc, GetStock, SetStock, GetPartArc, SetStockVertex.