Interface IToolPath
Gives access to operation tool path. A tool path is a list of lines in a table. Because a lot of possibilities is available to define a tool path item, TopSolid'Cam creates columns for all capabilities in the table, and each item only fill relevant columns.
Event | X | Y | Z | Fr | ...
Move | 10 | 10 | 20 | 150 | ...
Namespace: TopSolid.Cam.NC.Kernel.Automating
Assembly: TopSolid.Cam.NC.Kernel.Automating.dll
Syntax
public interface IToolPath
Methods
EndToolPath(ElementId)
Ends the scan of the given operation.
Declaration
void EndToolPath(ElementId inElementId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of the Cam operation to analyze. |
Remarks
The use of this method is optionnal. Its only target is to free memory. If not called, the memory will be also freed, of course, but only when the application exits.
NextToolPathItem(ElementId)
Gets the next tool path item values of the given operation.
Declaration
Dictionary<string, object> NextToolPathItem(ElementId inElementId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of the Cam operation to analyze. |
Returns
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> | Tool path item values or null if no more item is available. The dictionary contains column name as key, and basic class for values (int, double, string...). All doubles are in Standard unit: distance in meters, angle in radians, linear speed like feedrate in meter/second, revolution speed in revolution/minute... |
StartToolPath(ElementId)
Gets the tool path table columns of the given operation.
Declaration
List<string> StartToolPath(ElementId inElementId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of the Cam operation to analyze. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | Tool path table columns found or null if no tool path is available. |