ShopToolsUtilCalculateLayout(CutProfileItem, WorkpieceInfoItem, FPoint) Method

Calculate the start and end locations of the tool and display for each of the operations in the caller's operations collection, returning a collection of locations, each referenced to its associated operation.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static FPoint CalculateLayout(
	CutProfileItem pattern,
	WorkpieceInfoItem workpiece,
	FPoint startLocation
)

Parameters

pattern  CutProfileItem
Reference to the cut pattern to inspect.
workpiece  WorkpieceInfoItem
Reference to the active workpiece used for relative offsets.
startLocation  FPoint
Reference to the starting location of the pattern, in drawing space.

Return Value

FPoint
Reference to the last known tool location.

Remarks

The pattern / Operations / Operation / LayoutElements collection will contain additional transitions not specified in the source collection so the tool head is moved properly to an from each operational site.

See Also