Tutorials

Convert an OBJ file to STL

The sample code below reads an OBJ file and passes it to our API telling the API to convert it to STL format.

The sample below assumes you have exported your API token as an environment variable like so.

export KITTYCAD_API_TOKEN="YOUR-API-TOKEN"

Replace YOUR-API-TOKEN with one of your API tokens. It looks like you need to generate an API Token first.

Below is our API-client code:

Found a typo?