pub struct BuildItem {
pub object_id: ResourceId,
pub uuid: Option<Uuid>,
pub path: Option<String>,
pub part_number: Option<String>,
pub transform: Mat4,
}Expand description
A reference to an object that should be manufactured.
Build items specify which objects from the resource collection should be printed and where they should be positioned on the build platform. Each item can apply a transformation to position/rotate the object.
Only objects with types that can appear in the build (not ObjectType::Other)
are valid build item references.
Fields§
§object_id: ResourceIdThe ID of the object to manufacture.
uuid: Option<Uuid>Production Extension UUID for tracking this build item instance (optional).
path: Option<String>External reference path for production tracking (optional).
part_number: Option<String>Part number for this build item instance (optional).
transform: Mat4Transformation matrix positioning the object on the build platform. Defaults to identity (origin position, no rotation). The transformation is applied using the glam Mat4 type.