diff options
author | Y. Sapir <yasapir@gmail.com> | 2014-04-28 01:49:05 +0400 |
---|---|---|
committer | Y. Sapir <yasapir@gmail.com> | 2014-04-28 01:49:05 +0400 |
commit | e005ff32c40f9f1b70e6351ae764507b9e4a1775 (patch) | |
tree | bb322460727efd6490626e9c17bd17ef683a7eb5 /xs/xsp/Extruder.xsp | |
parent | 71b0b211ecb3f12905c6a413f827f82b16f1a733 (diff) |
Replace Extruder::config accessor with Perl wrapper, with C++ option accessors.
Diffstat (limited to 'xs/xsp/Extruder.xsp')
-rw-r--r-- | xs/xsp/Extruder.xsp | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/xs/xsp/Extruder.xsp b/xs/xsp/Extruder.xsp index ad19daf11..47b5c0fa2 100644 --- a/xs/xsp/Extruder.xsp +++ b/xs/xsp/Extruder.xsp @@ -33,9 +33,19 @@ double set_restart_extra(double val) const %code%{ RETVAL = THIS->restart_extra = val; %}; - PrintConfig *config() - %code%{ - const char *CLASS = "Slic3r::Config::Print::Ref"; - RETVAL = &THIS->config; - %}; + Clone<Pointf> extruder_offset() const; + double nozzle_diameter() const; + double filament_diameter() const; + double extrusion_multiplier() const; + int temperature() const; + int first_layer_temperature() const; + double retract_length() const; + double retract_lift() const; + int retract_speed() const; + double retract_restart_extra() const; + double retract_before_travel() const; + bool retract_layer_change() const; + double retract_length_toolchange() const; + double retract_restart_extra_toolchange() const; + bool wipe() const; }; |