libslic3r
Library for generating gcode from 3d models
Public Member Functions | Public Attributes | List of all members
Slic3r::PrintConfig Class Reference

#include <PrintConfig.hpp>

Inheritance diagram for Slic3r::PrintConfig:
Slic3r::GCodeConfig Slic3r::StaticPrintConfig Slic3r::PrintConfigBase Slic3r::StaticConfig Slic3r::ConfigBase Slic3r::ConfigBase Slic3r::FullPrintConfig

Public Member Functions

 PrintConfig (bool initialize=true)
 
virtual ConfigOptionoptptr (const t_config_option_key &opt_key, bool create=false)
 
- Public Member Functions inherited from Slic3r::GCodeConfig
 GCodeConfig (bool initialize=true)
 
std::string get_extrusion_axis () const
 
- Public Member Functions inherited from Slic3r::StaticPrintConfig
 StaticPrintConfig ()
 
- Public Member Functions inherited from Slic3r::PrintConfigBase
 PrintConfigBase ()
 
bool set_deserialize (t_config_option_key opt_key, std::string str, bool append=false)
 
double min_object_distance () const
 
- Public Member Functions inherited from Slic3r::ConfigBase
 ConfigBase ()
 
 ConfigBase (const ConfigDef *def)
 
virtual ~ConfigBase ()
 
bool has (const t_config_option_key &opt_key) const
 
const ConfigOptionoption (const t_config_option_key &opt_key) const
 
ConfigOptionoption (const t_config_option_key &opt_key, bool create=false)
 
template<class T >
T * opt (const t_config_option_key &opt_key, bool create=false)
 
template<class T >
const T * opt (const t_config_option_key &opt_key) const
 
void apply (const ConfigBase &other, bool ignore_nonexistent=false)
 
void apply_only (const ConfigBase &other, const t_config_option_keys &opt_keys, bool ignore_nonexistent=false)
 
bool equals (const ConfigBase &other) const
 
t_config_option_keys diff (const ConfigBase &other) const
 
std::string serialize (const t_config_option_key &opt_key) const
 
double get_abs_value (const t_config_option_key &opt_key) const
 
double get_abs_value (const t_config_option_key &opt_key, double ratio_over) const
 
void setenv_ ()
 
void load (const std::string &file)
 
void save (const std::string &file) const
 
- Public Member Functions inherited from Slic3r::StaticConfig
 StaticConfig ()
 
t_config_option_keys keys () const
 
void set_defaults ()
 Set all statically defined config options to their defaults defined by this->def. More...
 

Public Attributes

ConfigOptionBool avoid_crossing_perimeters
 
ConfigOptionPoints bed_shape
 
ConfigOptionBool has_heatbed
 
ConfigOptionInt bed_temperature
 
ConfigOptionFloat bridge_acceleration
 
ConfigOptionInt bridge_fan_speed
 
ConfigOptionFloat brim_connections_width
 
ConfigOptionFloat brim_width
 
ConfigOptionBool complete_objects
 
ConfigOptionBool cooling
 
ConfigOptionFloat default_acceleration
 
ConfigOptionInt disable_fan_first_layers
 
ConfigOptionFloat duplicate_distance
 
ConfigOptionFloat extruder_clearance_height
 
ConfigOptionFloat extruder_clearance_radius
 
ConfigOptionPoints extruder_offset
 
ConfigOptionBool fan_always_on
 
ConfigOptionInt fan_below_layer_time
 
ConfigOptionStrings filament_colour
 
ConfigOptionFloat first_layer_acceleration
 
ConfigOptionInt first_layer_bed_temperature
 
ConfigOptionFloatOrPercent first_layer_extrusion_width
 
ConfigOptionFloatOrPercent first_layer_speed
 
ConfigOptionInts first_layer_temperature
 
ConfigOptionBool gcode_arcs
 
ConfigOptionFloat infill_acceleration
 
ConfigOptionBool infill_first
 
ConfigOptionFloat interior_brim_width
 
ConfigOptionInt max_fan_speed
 
ConfigOptionFloats max_layer_height
 
ConfigOptionInt min_fan_speed
 
ConfigOptionFloats min_layer_height
 
ConfigOptionFloat min_print_speed
 
ConfigOptionFloat min_skirt_length
 
ConfigOptionFloats nozzle_diameter
 
ConfigOptionBool only_retract_when_crossing_perimeters
 
ConfigOptionBool ooze_prevention
 
ConfigOptionString output_filename_format
 
ConfigOptionFloat perimeter_acceleration
 
ConfigOptionStrings post_process
 
ConfigOptionFloat resolution
 
ConfigOptionFloats retract_before_travel
 
ConfigOptionBools retract_layer_change
 
ConfigOptionFloat skirt_distance
 
ConfigOptionInt skirt_height
 
ConfigOptionInt skirts
 
ConfigOptionInt slowdown_below_layer_time
 
ConfigOptionBool spiral_vase
 
ConfigOptionInt standby_temperature_delta
 
ConfigOptionInts temperature
 
ConfigOptionInt threads
 
ConfigOptionFloat vibration_limit
 
ConfigOptionBools wipe
 
ConfigOptionFloat z_offset
 
ConfigOptionFloat z_steps_per_mm
 
- Public Attributes inherited from Slic3r::GCodeConfig
ConfigOptionString before_layer_gcode
 
ConfigOptionString between_objects_gcode
 
ConfigOptionString end_gcode
 
ConfigOptionStrings end_filament_gcode
 
ConfigOptionString extrusion_axis
 
ConfigOptionFloats extrusion_multiplier
 
ConfigOptionFloats filament_diameter
 
ConfigOptionFloats filament_density
 
ConfigOptionFloats filament_cost
 
ConfigOptionFloats filament_max_volumetric_speed
 
ConfigOptionStrings filament_notes
 
ConfigOptionBool gcode_comments
 
ConfigOptionEnum< GCodeFlavorgcode_flavor
 
ConfigOptionBool label_printed_objects
 
ConfigOptionString layer_gcode
 
ConfigOptionFloat max_print_speed
 
ConfigOptionFloat max_volumetric_speed
 
ConfigOptionString notes
 
ConfigOptionFloat pressure_advance
 
ConfigOptionString printer_notes
 
ConfigOptionFloats retract_length
 
ConfigOptionFloats retract_length_toolchange
 
ConfigOptionFloats retract_lift
 
ConfigOptionFloats retract_lift_above
 
ConfigOptionFloats retract_lift_below
 
ConfigOptionFloats retract_restart_extra
 
ConfigOptionFloats retract_restart_extra_toolchange
 
ConfigOptionFloats retract_speed
 
ConfigOptionString start_gcode
 
ConfigOptionStrings start_filament_gcode
 
ConfigOptionString toolchange_gcode
 
ConfigOptionFloat travel_speed
 
ConfigOptionBool use_firmware_retraction
 
ConfigOptionBool use_relative_e_distances
 
ConfigOptionBool use_volumetric_e
 
ConfigOptionBool use_set_and_wait_extruder
 
ConfigOptionBool use_set_and_wait_bed
 
- Public Attributes inherited from Slic3r::ConfigBase
const ConfigDefdef
 

Additional Inherited Members

- Protected Member Functions inherited from Slic3r::PrintConfigBase
void _handle_legacy (t_config_option_key &opt_key, std::string &value) const
 

Constructor & Destructor Documentation

◆ PrintConfig()

Slic3r::PrintConfig::PrintConfig ( bool  initialize = true)
inline

Member Function Documentation

◆ optptr()

virtual ConfigOption* Slic3r::PrintConfig::optptr ( const t_config_option_key opt_key,
bool  create = false 
)
inlinevirtual

Reimplemented from Slic3r::GCodeConfig.

Reimplemented in Slic3r::FullPrintConfig.

Member Data Documentation

◆ avoid_crossing_perimeters

ConfigOptionBool Slic3r::PrintConfig::avoid_crossing_perimeters

◆ bed_shape

ConfigOptionPoints Slic3r::PrintConfig::bed_shape

◆ bed_temperature

ConfigOptionInt Slic3r::PrintConfig::bed_temperature

◆ bridge_acceleration

ConfigOptionFloat Slic3r::PrintConfig::bridge_acceleration

◆ bridge_fan_speed

ConfigOptionInt Slic3r::PrintConfig::bridge_fan_speed

◆ brim_connections_width

ConfigOptionFloat Slic3r::PrintConfig::brim_connections_width

◆ brim_width

ConfigOptionFloat Slic3r::PrintConfig::brim_width

◆ complete_objects

ConfigOptionBool Slic3r::PrintConfig::complete_objects

◆ cooling

ConfigOptionBool Slic3r::PrintConfig::cooling

◆ default_acceleration

ConfigOptionFloat Slic3r::PrintConfig::default_acceleration

◆ disable_fan_first_layers

ConfigOptionInt Slic3r::PrintConfig::disable_fan_first_layers

◆ duplicate_distance

ConfigOptionFloat Slic3r::PrintConfig::duplicate_distance

◆ extruder_clearance_height

ConfigOptionFloat Slic3r::PrintConfig::extruder_clearance_height

◆ extruder_clearance_radius

ConfigOptionFloat Slic3r::PrintConfig::extruder_clearance_radius

◆ extruder_offset

ConfigOptionPoints Slic3r::PrintConfig::extruder_offset

◆ fan_always_on

ConfigOptionBool Slic3r::PrintConfig::fan_always_on

◆ fan_below_layer_time

ConfigOptionInt Slic3r::PrintConfig::fan_below_layer_time

◆ filament_colour

ConfigOptionStrings Slic3r::PrintConfig::filament_colour

◆ first_layer_acceleration

ConfigOptionFloat Slic3r::PrintConfig::first_layer_acceleration

◆ first_layer_bed_temperature

ConfigOptionInt Slic3r::PrintConfig::first_layer_bed_temperature

◆ first_layer_extrusion_width

ConfigOptionFloatOrPercent Slic3r::PrintConfig::first_layer_extrusion_width

◆ first_layer_speed

ConfigOptionFloatOrPercent Slic3r::PrintConfig::first_layer_speed

◆ first_layer_temperature

ConfigOptionInts Slic3r::PrintConfig::first_layer_temperature

◆ gcode_arcs

ConfigOptionBool Slic3r::PrintConfig::gcode_arcs

◆ has_heatbed

ConfigOptionBool Slic3r::PrintConfig::has_heatbed

◆ infill_acceleration

ConfigOptionFloat Slic3r::PrintConfig::infill_acceleration

◆ infill_first

ConfigOptionBool Slic3r::PrintConfig::infill_first

◆ interior_brim_width

ConfigOptionFloat Slic3r::PrintConfig::interior_brim_width

◆ max_fan_speed

ConfigOptionInt Slic3r::PrintConfig::max_fan_speed

◆ max_layer_height

ConfigOptionFloats Slic3r::PrintConfig::max_layer_height

◆ min_fan_speed

ConfigOptionInt Slic3r::PrintConfig::min_fan_speed

◆ min_layer_height

ConfigOptionFloats Slic3r::PrintConfig::min_layer_height

◆ min_print_speed

ConfigOptionFloat Slic3r::PrintConfig::min_print_speed

◆ min_skirt_length

ConfigOptionFloat Slic3r::PrintConfig::min_skirt_length

◆ nozzle_diameter

ConfigOptionFloats Slic3r::PrintConfig::nozzle_diameter

◆ only_retract_when_crossing_perimeters

ConfigOptionBool Slic3r::PrintConfig::only_retract_when_crossing_perimeters

◆ ooze_prevention

ConfigOptionBool Slic3r::PrintConfig::ooze_prevention

◆ output_filename_format

ConfigOptionString Slic3r::PrintConfig::output_filename_format

◆ perimeter_acceleration

ConfigOptionFloat Slic3r::PrintConfig::perimeter_acceleration

◆ post_process

ConfigOptionStrings Slic3r::PrintConfig::post_process

◆ resolution

ConfigOptionFloat Slic3r::PrintConfig::resolution

◆ retract_before_travel

ConfigOptionFloats Slic3r::PrintConfig::retract_before_travel

◆ retract_layer_change

ConfigOptionBools Slic3r::PrintConfig::retract_layer_change

◆ skirt_distance

ConfigOptionFloat Slic3r::PrintConfig::skirt_distance

◆ skirt_height

ConfigOptionInt Slic3r::PrintConfig::skirt_height

◆ skirts

ConfigOptionInt Slic3r::PrintConfig::skirts

◆ slowdown_below_layer_time

ConfigOptionInt Slic3r::PrintConfig::slowdown_below_layer_time

◆ spiral_vase

ConfigOptionBool Slic3r::PrintConfig::spiral_vase

◆ standby_temperature_delta

ConfigOptionInt Slic3r::PrintConfig::standby_temperature_delta

◆ temperature

ConfigOptionInts Slic3r::PrintConfig::temperature

◆ threads

ConfigOptionInt Slic3r::PrintConfig::threads

◆ vibration_limit

ConfigOptionFloat Slic3r::PrintConfig::vibration_limit

◆ wipe

ConfigOptionBools Slic3r::PrintConfig::wipe

◆ z_offset

ConfigOptionFloat Slic3r::PrintConfig::z_offset

◆ z_steps_per_mm

ConfigOptionFloat Slic3r::PrintConfig::z_steps_per_mm

The documentation for this class was generated from the following file: