pub struct BambuProjectSettings {Show 13 fields
pub printer_model: Option<String>,
pub printer_inherits: Option<String>,
pub bed_type: Option<String>,
pub layer_height: Option<f32>,
pub first_layer_height: Option<f32>,
pub filament_type: Vec<String>,
pub filament_colour: Vec<String>,
pub nozzle_diameter: Vec<f32>,
pub print_sequence: Option<String>,
pub wall_loops: Option<u32>,
pub infill_density: Option<String>,
pub support_type: Option<String>,
pub extras: HashMap<String, Value>,
}Expand description
Global project settings from a Bambu Studio project file.
Fields§
§printer_model: Option<String>Printer model name.
printer_inherits: Option<String>Name of the printer profile this inherits from.
bed_type: Option<String>Bed/plate type (e.g., "Engineering Plate").
layer_height: Option<f32>Layer height in millimeters.
first_layer_height: Option<f32>First layer height in millimeters.
filament_type: Vec<String>Filament type strings per extruder.
filament_colour: Vec<String>Filament display colors per extruder.
nozzle_diameter: Vec<f32>Nozzle diameters per extruder.
print_sequence: Option<String>Print sequence (e.g., "by_layer" or "by_object").
wall_loops: Option<u32>Number of perimeter walls.
infill_density: Option<String>Infill density percentage string.
support_type: Option<String>Support generation type.
extras: HashMap<String, Value>Additional key-value settings not covered by named fields.
Trait Implementations§
Source§impl Clone for BambuProjectSettings
impl Clone for BambuProjectSettings
Source§fn clone(&self) -> BambuProjectSettings
fn clone(&self) -> BambuProjectSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BambuProjectSettings
impl Debug for BambuProjectSettings
Source§impl Default for BambuProjectSettings
impl Default for BambuProjectSettings
Source§fn default() -> BambuProjectSettings
fn default() -> BambuProjectSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BambuProjectSettings
impl<'de> Deserialize<'de> for BambuProjectSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BambuProjectSettings
impl RefUnwindSafe for BambuProjectSettings
impl Send for BambuProjectSettings
impl Sync for BambuProjectSettings
impl Unpin for BambuProjectSettings
impl UnsafeUnpin for BambuProjectSettings
impl UnwindSafe for BambuProjectSettings
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more