Get machining time
GET/v1/plans/:planId/machining-time
Returns the machining time for a plan’s toolpaths, per action and totalled. Requires Calculate toolpaths (POST /parts/{id}/toolpaths) or Recalculate toolpaths (POST /plans/{planId}/toolpaths) to have run and its job to have succeeded.
Early access. Machining plans and toolpath calculation are available now but still gaining functionality — planned additions include plan constraints and specifying material and stock, among others. Breaking changes still follow the API major version, so you can build against them today; expect new capabilities to arrive as they mature.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 410
- 500
- 503
The calculated machining time for the plan, per action and totalled. The total is the toolpath time at programmed feeds (links and rapids included), with tool changes excluded and refused actions omitted — so a nonzero refusedCount means it covers only part of the plan.
The request is invalid.
The API key is missing or invalid.
The API key may not perform this operation: it has no access to this part of the API, it may only read it, or its creator has not met the organization’s two-factor requirement.
The plan was not found.
Toolpaths have not been calculated for this plan yet.
The plan is older than the retention window and is no longer available.
The machining time could not be retrieved.
Authentication is temporarily unavailable.