Prev: Designs Next: Managing 3D printing orders
Materials¶
The full list of materials we support may be retrieved in JSON format at this URL:
https://www.sculpteo.com/LANGUAGE_CODE/api/material/list/
replacing LANGUAGE_CODE with either ‘en’ or ‘fr’ for localization.
The data is formatted as an array of objects each describing a single material:
- id
material identifier used in API calls
- name
localized name of the material
- description
localized description of the material
- dimensions_mm
printing dimensions in millimeter, see below
- rendering
rendering information, see below
The printing dimensions indicate minimum thickness and maximum printing size for each material:
- minimum_thickness
minimum thickness of the material, using a smaller thickness may result in a broken object
- max_x
maximum dimension of the object along the X axis
- max_y
maximum dimension of the object along the Y axis
- max_z
maximum dimension of the object along the Z axis
The rendering parameters enable visual represention of the material using the Phong model and are formatted as follows:
- ambient_color
dictionary of r,g,b float value [0.0-1.0] for ambient color
- diffuse_color
dictionary of r,g,b float value [0.0-1.0] for diffuse color
- specular_color
dictionary of r,g,b float value [0.0-1.0] for specular color
- specular_exponent
exponent of the specular component in the rendering equation
- smooth
boolean indicating whether smooth rendering using vertices normals should be enabled or not
- envmap
boolean indicating whether environment mapping should be used for specular reflections or not
» webapi documentation » Querying information » Materials
Last update: 1970-01-01 01:00 (CET)