Simplio3D

Materials

PBR materials with base color, metallic, roughness, normal maps.

List Materials

const materials = await client.getMaterials();
materials.forEach(m => console.log(m.name, m.pbr.baseColor));

Create Material

const material = await client.createMaterial({
  name: 'Brushed Metal',
  category: 'metals',
  pbr: { baseColor: '#808080', metallic: 0.9, roughness: 0.3 }
});

Update Material

await client.updateMaterial('mat_123', {
  pbr: { roughness: 0.5, metallic: 0.8 }
});

Delete Material

await client.deleteMaterial('mat_123');

Continue reading