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

#include <PrintConfig.hpp>

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

Public Member Functions

 GCodeConfig (bool initialize=true)
 
virtual ConfigOptionoptptr (const t_config_option_key &opt_key, bool create=false)
 
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

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

◆ GCodeConfig()

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

Member Function Documentation

◆ get_extrusion_axis()

std::string Slic3r::GCodeConfig::get_extrusion_axis ( ) const
inline

◆ optptr()

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

Member Data Documentation

◆ before_layer_gcode

ConfigOptionString Slic3r::GCodeConfig::before_layer_gcode

◆ between_objects_gcode

ConfigOptionString Slic3r::GCodeConfig::between_objects_gcode

◆ end_filament_gcode

ConfigOptionStrings Slic3r::GCodeConfig::end_filament_gcode

◆ end_gcode

ConfigOptionString Slic3r::GCodeConfig::end_gcode

◆ extrusion_axis

ConfigOptionString Slic3r::GCodeConfig::extrusion_axis

◆ extrusion_multiplier

ConfigOptionFloats Slic3r::GCodeConfig::extrusion_multiplier

◆ filament_cost

ConfigOptionFloats Slic3r::GCodeConfig::filament_cost

◆ filament_density

ConfigOptionFloats Slic3r::GCodeConfig::filament_density

◆ filament_diameter

ConfigOptionFloats Slic3r::GCodeConfig::filament_diameter

◆ filament_max_volumetric_speed

ConfigOptionFloats Slic3r::GCodeConfig::filament_max_volumetric_speed

◆ filament_notes

ConfigOptionStrings Slic3r::GCodeConfig::filament_notes

◆ gcode_comments

ConfigOptionBool Slic3r::GCodeConfig::gcode_comments

◆ gcode_flavor

ConfigOptionEnum<GCodeFlavor> Slic3r::GCodeConfig::gcode_flavor

◆ label_printed_objects

ConfigOptionBool Slic3r::GCodeConfig::label_printed_objects

◆ layer_gcode

ConfigOptionString Slic3r::GCodeConfig::layer_gcode

◆ max_print_speed

ConfigOptionFloat Slic3r::GCodeConfig::max_print_speed

◆ max_volumetric_speed

ConfigOptionFloat Slic3r::GCodeConfig::max_volumetric_speed

◆ notes

ConfigOptionString Slic3r::GCodeConfig::notes

◆ pressure_advance

ConfigOptionFloat Slic3r::GCodeConfig::pressure_advance

◆ printer_notes

ConfigOptionString Slic3r::GCodeConfig::printer_notes

◆ retract_length

ConfigOptionFloats Slic3r::GCodeConfig::retract_length

◆ retract_length_toolchange

ConfigOptionFloats Slic3r::GCodeConfig::retract_length_toolchange

◆ retract_lift

ConfigOptionFloats Slic3r::GCodeConfig::retract_lift

◆ retract_lift_above

ConfigOptionFloats Slic3r::GCodeConfig::retract_lift_above

◆ retract_lift_below

ConfigOptionFloats Slic3r::GCodeConfig::retract_lift_below

◆ retract_restart_extra

ConfigOptionFloats Slic3r::GCodeConfig::retract_restart_extra

◆ retract_restart_extra_toolchange

ConfigOptionFloats Slic3r::GCodeConfig::retract_restart_extra_toolchange

◆ retract_speed

ConfigOptionFloats Slic3r::GCodeConfig::retract_speed

◆ start_filament_gcode

ConfigOptionStrings Slic3r::GCodeConfig::start_filament_gcode

◆ start_gcode

ConfigOptionString Slic3r::GCodeConfig::start_gcode

◆ toolchange_gcode

ConfigOptionString Slic3r::GCodeConfig::toolchange_gcode

◆ travel_speed

ConfigOptionFloat Slic3r::GCodeConfig::travel_speed

◆ use_firmware_retraction

ConfigOptionBool Slic3r::GCodeConfig::use_firmware_retraction

◆ use_relative_e_distances

ConfigOptionBool Slic3r::GCodeConfig::use_relative_e_distances

◆ use_set_and_wait_bed

ConfigOptionBool Slic3r::GCodeConfig::use_set_and_wait_bed

◆ use_set_and_wait_extruder

ConfigOptionBool Slic3r::GCodeConfig::use_set_and_wait_extruder

◆ use_volumetric_e

ConfigOptionBool Slic3r::GCodeConfig::use_volumetric_e

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