set_properties
Assign metadata such as material, color, quantity, supplier, and part number to objects so mass properties, FEM, BOM, and renders reflect accurate data.
Instructions
Set metadata on an object. These feed mass_properties, run_fem, bom and the renders. material is one of aluminium_6061, steel, stainless_304, pa12, pla, pom (see the freecad://materials resource). color is [r,g,b] 0..1 (defaults to the material's colour). quantity is used by the BOM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| name | Yes | ||
| color | No | ||
| group | No | ||
| part_no | No | ||
| material | No | ||
| quantity | No | ||
| supplier | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |