The tool object describes a cutting tool defined by the digital thread model. A tool object describes the ID, name, and other associated information.
{ "id": int, "name": string, "type": string, "toolType": string, "workingsteps": int[], "diameter": double, "diameterUnit": string, "cornerRadius": double, "cornerRadiusUnit": string, "length": double, "lengthUnit": string }
Property | Type | Description |
---|---|---|
id | string | The unique identifier for the tool. |
name | string | The tool name, if any. |
type | string | Always "tool" for objects returned by the tools endpoint. |
toolType | string | A string describing the general type of tool. Most tools will return "User Defined Milling Tool", but "Touch Probe" is another string that may appear. |
workingsteps | int[] | An array containing the identifiers for all workingsteps that use the tool. |
diameter | double | The numeric value of the cutter diameter. |
diameterUnit | string | The name of the unit that applies to the diameter value. |
cornerRadius | double | The numeric value of the cutter corner radius. |
cornerRadiusUnit | string | The name of the unit that applies to the corner radius value. |
length | double | The numeric value of the length radius. |
lengthUnit | string | The name of the unit that applies to the length value. |
For example, the following describes a pair of end-mills :
[ { "id":87713, "name":"End Mill 44 mm", "type":"tool", "toolType":"User Defined Milling Tool", "workingsteps":[86380, 86499, 86506, 86513], "diameter":44, "diameterUnit":"mm", "cornerRadius":4, "cornerRadiusUnit":"mm", "length":2.2250738585072014e-308, "lengthUnit":"" }, { "id":87753, "name":"End Mill 20 mm", "type":"tool", "toolType":"User Defined Milling Tool", "workingsteps":[86520, 86527, 86534, 86541, 86548], "diameter":20, "diameterUnit":"mm", "cornerRadius":4, "cornerRadiusUnit":"mm", "length":2.2250738585072014e-308, "lengthUnit":"" } ]