Skip to main content

Calculate toolpaths

POST 

/v1/parts/:id/toolpaths

Creates a plan and calculates its toolpaths in one step, returning a job. Wait for the job with Stream job updates (GET /v1/jobs/{id}/events), then read the result with Get toolpaths (GET /v1/plans/{planId}/toolpaths) and Get machining time (GET /v1/plans/{planId}/machining-time).

Experimental. Available now and still gaining functionality. It may change in breaking ways in a minor API release; each such change is listed in the release notes, so check them before upgrading.

Request​

Responses​

The toolpath job was accepted; wait for it on GET /v1/jobs/{id}/events, then read /v1/plans/{planId}/toolpaths for the calculated result. The plan is readable at planned (GET /v1/plans/{planId}) as soon as the job has planned the part, with jobId naming this job; it becomes toolpathed when the cuts are done. A failed job leaves it planned under the failed job.