ManualArrangeGetCut


Name


            ManualArrangeGetCut


When to use it


            During the OnAfterManualArrange event.


Prototype


HRESULT ManualArrangeGetCut(

            Index: long/*[in]*/,

            TopX: long /*[out]*/,

            TopY: long /*[out]*/,

            BottomX: long /*[out]*/,

            BottomY: long /*[out]*/,

            CutThickness: long /*[out]*/,

);


Explanations


            This method returns information about one cut.

            The number of cuts performed is obtained using the property ManualArrangeNumberOfCuts.


Parameters


            Index - the index of the cut whose information are extracted. This number is in range [0...ManualArrangeNumberOfCuts - 1].

           TopX, TopY, BottomX and BottomY are coordinates of the current cut.

            CutThickness - the actual thickness of a cut (see below).

           


In most of the cases CutThickness is equal to BladeWidth, but there are some cases (specially at the margins of the table or when there is only one piece left tu extract) where the thickness is smaller. See picture below:


Waste 

See Also:


            ManualArrageNumberOfCuts, ManualArrangeSetCut, OnAfterManualArrange.



Links

       back to index

       www.optimalprograms.com