diff options
author | bubnikv <bubnikv@gmail.com> | 2017-05-03 19:28:22 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-05-03 19:28:22 +0300 |
commit | e90279c513a1fb1fb50bf78d7e58a74e4889d7af (patch) | |
tree | 8aa1de52f2571bc93d47524b852ff65abd7005e9 /xs/src/libslic3r/Print.hpp | |
parent | 72ae3585e415189286cdb85f6e02e4ec150084ee (diff) |
Ported the G-code generator from Perl to C++.
Removed GCode.pm
Removed the Perl bindigns for AvoidCrossingPerimeters, OozePrevention, SpiralVase, Wipe
Changed the std::set of extruder IDs to vector of IDs.
Removed some MSVC compiler warnings, removed obnoxious compiler warnings when compiling the Perl bindings.
Diffstat (limited to 'xs/src/libslic3r/Print.hpp')
-rw-r--r-- | xs/src/libslic3r/Print.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xs/src/libslic3r/Print.hpp b/xs/src/libslic3r/Print.hpp index e1f386fc9..9ad45bbcd 100644 --- a/xs/src/libslic3r/Print.hpp +++ b/xs/src/libslic3r/Print.hpp @@ -117,7 +117,7 @@ public: ModelObject* model_object() { return this->_model_object; } const ModelObject* model_object() const { return this->_model_object; } - Points copies() const { return this->_copies; } + const Points& copies() const { return this->_copies; } bool add_copy(const Pointf &point); bool delete_last_copy(); bool delete_all_copies(); @@ -249,9 +249,9 @@ public: Flow brim_flow() const; Flow skirt_flow() const; - std::set<size_t> object_extruders() const; - std::set<size_t> support_material_extruders() const; - std::set<size_t> extruders() const; + std::vector<unsigned int> object_extruders() const; + std::vector<unsigned int> support_material_extruders() const; + std::vector<unsigned int> extruders() const; void _simplify_slices(double distance); double max_allowed_layer_height() const; bool has_support_material() const; |