SetStockHoleArc
Name
SetStockHoleArc
When to use it
After setting the stock information using the SetStock, SetStockHole and SetStockHoleVertex.
Prototype
SetStockHoleArc(
IndexStock: long /*[in]*/,
IndexHole: long /*[in]*/,
IndexStartVertex: long /*[in]*/,
CenterX: double /*[in]*/,
CenterY: double /*[in]*/,
Direction: long /*[in]*/,
UserDefinedData: long/*[in]*/
);
Explanation
Sets the information regarding the polygon representing the hole of 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 information is to be set.
IndexHole - index of the hole whose vertices are 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
GetStockHoleArc, GetStockArc, GetStock, SetStock, SetStockHole, SetStockHoleVertex, SetStockVertex.