cottom/mesh-tools

3D model tools for the platform's mesh-tools: make a provider's 3D bundle (a ZIP, or an OBJ with its MTL and textures) one GLB, or convert a GLB. The same code and limits as its Cloudflare containers, run with Node.

Public
6 runs

Run cottom/mesh-tools with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
operation
string
The mesh-tools operation: `import` (a 3D bundle made one model) or `convert`.
files
string
The files as JSON: [{name, url, bytes, sha256}], https read grants in order; " "bytes 0 and sha256 empty check nothing.
request
string
A conversion's request as JSON (`MeshToolRequest`); empty for an import.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output"
}