API 3D and CAD rendering
Engineering files in. Clean PNG thumbnails out, in about 70 ms.
zrender turns STL, GLB/glTF, OBJ, 3MF, PLY, STEP, IGES and DXF files into edge-lined previews that read like a CAD viewport, and returns the numbers an instant quote needs: FDM print time and filament, holes and corner radii for CNC, sheet thickness and bends, laser cut length and pierces. One API, published prices, EU-hosted.
- ~70 msend to end, typical part
- CPU onlyno GPU anywhere
- EUhosted, or self-hosted
- 0input files retained
01 Live converter
Drop a model, get the render
This is the same renderer the API runs, compiled to WebAssembly. It accepts STL, GLB, glTF, OBJ, 3MF and PLY. STEP needs a CAD kernel, so it has its own page that uses the API.
02 Speed
Milliseconds, not a render queue
A thumbnail does not need a path tracer. zrender rasterises on the CPU with flat CAD shading and feature edges, so a preview is ready before the upload progress bar would have finished animating.
| What | Workload | Time per still |
|---|---|---|
| zrender, end to end | Typical part (8k-triangle gear), 512 × 512 PNG | ≈ 70 ms |
| zrender, render + PNG encode | Same gear, 512 × 512 | ≈ 55 ms |
| zrender, render | 1,000,000 triangles | ≈ 275 ms |
| Typical cloud render APIs | Published figures for GPU/cloud render APIs | 30–50 s |
03 Quickstart
One request, one PNG
POST the raw file bytes. Render options go in the query string. The response body is the image.
- Views:
iso,front,back,left,right,top,bottom,persp - Add
sheet=1for a 2×2 drawing sheet - Add
format=apngfor a turntable - Or pass
url=with GET and let the server fetch the file
curl -X POST "https://api.example.com/v1/render?view=iso&size=512&filename=gear.stl" \
-H "Authorization: Bearer zr_live_YOUR_KEY" \
-H "Content-Type: application/octet-stream" \
--data-binary @gear.stl \
-o gear.png
HTTP/1.1 200 OK
Content-Type: image/png
X-ZRender-Cache: miss
X-ZRender-Triangles: 8192
X-ZRender-Render-Ms: 55
X-ZRender-Units: 1
04 Features
What you get
AEdge lines
Flat CAD shading with dark feature lines, so holes, chamfers and steps stay readable at thumbnail size. Adjustable width, or off.
BEight views
Isometric, perspective and the six orthographic directions. Set the margin, background and a colour override per request.
C4-view sheet
One image with iso, front, right and top at a common scale. Useful for quote confirmations and part lists.
DTurntable
A rotating preview as an animated PNG or GIF, 8 to 72 frames. It plays in an <img> tag with no player script; GIF also plays in e-mail and chat.
ETransparent background
Alpha-channel PNGs that sit on any page colour, or pick an exact background with bg=RRGGBB.
FEU hosting
The hosted API runs in the EU. For teams that need more than that, there is a self-hosted licence.
GNo input retention
Your file is held only while it renders and is then deleted. Outputs are cached for at most 30 days. Logs never contain file contents.
HSelf-hosted option
If CAD may not leave your network, run the same renderer as a single binary on your own servers. Self-hosted licence.
ISeven input formats
STL (binary and ASCII), GLB/glTF, OBJ, 3MF, PLY (ASCII and binary, with vertex colours; also point clouds and Gaussian splats as coloured points), AMF, OFF, VRML, Open Inventor, FEM meshes and results, DXF flat parts, and STEP, IGES, BREP and FreeCAD documents. Curved surfaces are shaded smoothly; STEP uses the exact surface normals of the CAD model. glTF base-colour textures (PNG and JPEG) and vertex colours are drawn, and meshopt-compressed files are read. Draco-compressed files render through the API (not in the in-browser converter).
05 Beyond pictures
One upload, everything a quote or a catalogue needs
The same API, the same keys and the same per-request pricing also convert, draw and measure the file.
JConvert
STEP and IGES to GLB for web viewers (quantized and simplified on request), any mesh to STL, OBJ, PLY or 3MF for printing. /v1/convert
K2D drawings
Line drawings with hidden lines dashed, true to scale, as SVG or DXF: single views or a front/top/right/iso sheet. /v1/drawing
LMeasurements and BOM
Size, area, volume, mass, watertightness, overhangs and printer fit; for STEP every part with its name, quantity and exact CAD volume, also as CSV. For quoting: FDM print time and filament, CNC holes and corner radii, sheet-metal thickness and bends, DXF cut length and pierces. /v1/analyze
MBatches and webhooks
Send a ZIP of up to 100 models as one job and get a ZIP back, or let finished jobs call your endpoint with a signed request.
N3D viewer
Turn, measure and convert a model in the browser, or embed it on your site with one <iframe>. Open the viewer.
ORepair
Welds loose STL triangles, drops duplicates and degenerate faces and turns inside-out parts the right way before anything else runs.
06 Examples
Unretouched output
Every image below came straight from the renderer with the parameters shown.
07 Built for
Anywhere a part needs a picture or a price
If your product takes engineering files, your users expect to see them and, often, to get a price. One upload returns both: the preview and the measurements a quote is built from.
- 3D-print quoting
- Quote plug-ins, print farms and print services: print time, filament and supports from the uploaded file (or the slicer profile inside a 3MF), plus the picture for the cart and the job queue.
- CNC and sheet metal
- Instant-quote platforms: stock size, holes by type, smallest internal radius, sheet thickness and bends from the STEP file, without an SDK contract.
- Laser and waterjet
- Cut length, pierces, parts and net area from the DXF, ready to multiply by your machine rates.
- PDM / PLM
- Thumbnails for part lists, search results and revision history, without opening a CAD seat.
- Marketplaces
- Consistent listing images and turntables for every model, whatever the seller uploaded.
Get an API key
The free plan includes 100 units a month with a hard stop, so there is nothing to pay by accident. Sign in with an email link and create a key in the dashboard.