Free plan
3D model preview
Make a picture of a 3D model from the angle you choose
About this tool
A 3D model is a file that describes an object in three dimensions, such as an STL, OBJ or text PLY file. This tool draws a picture of it from the side or angle you choose, shaded by a light. You can show edges, a ground shadow and axes, make a turntable sheet and read its size, surface area and volume.
For example, you make a preview picture of a product model.
How to use it
- Choose this tool.
- Add your 3D model file with Upload or drag and drop.
- Choose the view or angle, and the colour.
- Choose extras such as edges or a shadow, then press Generate.
- Download the picture.
What you get back
You get a picture of your model, plus its measurements. Download it.
GOOD TO KNOW
The model is drawn by the service itself (no graphics card), so very large models are thinned out. Colours and materials in the file are not used. A binary PLY is not supported. Counts as one render.
TEST IT LIVE
Try 3D model preview in the Studio
One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Family
Render
Plan
Free
Method
POST
Endpoint
/v1/render/model-3d
Tool ID
render.model-3d
Authentication
API key
Accepts
Text and settings
Background jobs
Yes
Usage group
Render
For developers
Use it from your code
cURL
curl -X POST "https://app.h2i.davixlabs.io/v1/render/model-3d" \
-H "X-Api-Key: $DAVIX_H2I_API_KEY" \
-F 'file=@document.pdf' \
-F 'view=isometric' \
-F 'up=z' \
-F 'azimuth=-360'Node.js
const { DavixH2I } = require('@davixlabs/h2i-sdk');
const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.render.model3d({
"file": 'document.pdf',
"view": "isometric",
"up": "z",
"azimuth": -360
});
console.log(result.data, result.requestId);PHP
<?php
require 'vendor/autoload.php';
$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->render()->model3d([
'file' => 'document.pdf',
'view' => 'isometric',
'up' => 'z',
'azimuth' => -360,
]);
echo $result->requestId;