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

#include <PrintConfig.hpp>

Inheritance diagram for Slic3r::CLIConfig:
Slic3r::ConfigBase Slic3r::StaticConfig Slic3r::ConfigBase

Public Member Functions

 CLIConfig ()
 
virtual ConfigOptionoptptr (const t_config_option_key &opt_key, bool create=false)
 
- 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
 
virtual bool set_deserialize (t_config_option_key opt_key, std::string str, bool append=false)
 
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

ConfigOptionFloat cut
 
ConfigOptionPoint cut_grid
 
ConfigOptionFloat cut_x
 
ConfigOptionFloat cut_y
 
ConfigOptionBool export_obj
 
ConfigOptionBool export_pov
 
ConfigOptionBool export_svg
 
ConfigOptionBool export_3mf
 
ConfigOptionBool gui
 
ConfigOptionBool info
 
ConfigOptionBool help
 
ConfigOptionStrings load
 
ConfigOptionString output
 
ConfigOptionFloat rotate
 
ConfigOptionFloat rotate_x
 
ConfigOptionFloat rotate_y
 
ConfigOptionString save
 
ConfigOptionFloat scale
 
ConfigOptionPoint3 scale_to_fit
 
ConfigOptionPoint center
 
ConfigOptionBool slice
 
ConfigOptionBool threads
 
- Public Attributes inherited from Slic3r::ConfigBase
const ConfigDefdef
 

Constructor & Destructor Documentation

◆ CLIConfig()

Slic3r::CLIConfig::CLIConfig ( )
inline

Member Function Documentation

◆ optptr()

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

Implements Slic3r::ConfigBase.

Member Data Documentation

◆ center

ConfigOptionPoint Slic3r::CLIConfig::center

◆ cut

ConfigOptionFloat Slic3r::CLIConfig::cut

◆ cut_grid

ConfigOptionPoint Slic3r::CLIConfig::cut_grid

◆ cut_x

ConfigOptionFloat Slic3r::CLIConfig::cut_x

◆ cut_y

ConfigOptionFloat Slic3r::CLIConfig::cut_y

◆ export_3mf

ConfigOptionBool Slic3r::CLIConfig::export_3mf

◆ export_obj

ConfigOptionBool Slic3r::CLIConfig::export_obj

◆ export_pov

ConfigOptionBool Slic3r::CLIConfig::export_pov

◆ export_svg

ConfigOptionBool Slic3r::CLIConfig::export_svg

◆ gui

ConfigOptionBool Slic3r::CLIConfig::gui

◆ help

ConfigOptionBool Slic3r::CLIConfig::help

◆ info

ConfigOptionBool Slic3r::CLIConfig::info

◆ load

ConfigOptionStrings Slic3r::CLIConfig::load

◆ output

ConfigOptionString Slic3r::CLIConfig::output

◆ rotate

ConfigOptionFloat Slic3r::CLIConfig::rotate

◆ rotate_x

ConfigOptionFloat Slic3r::CLIConfig::rotate_x

◆ rotate_y

ConfigOptionFloat Slic3r::CLIConfig::rotate_y

◆ save

ConfigOptionString Slic3r::CLIConfig::save

◆ scale

ConfigOptionFloat Slic3r::CLIConfig::scale

◆ scale_to_fit

ConfigOptionPoint3 Slic3r::CLIConfig::scale_to_fit

◆ slice

ConfigOptionBool Slic3r::CLIConfig::slice

◆ threads

ConfigOptionBool Slic3r::CLIConfig::threads

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