diff options
author | bubnikv <bubnikv@gmail.com> | 2017-01-19 15:35:55 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-01-19 15:35:55 +0300 |
commit | e016c4e423a468b7351b7e03a49e42493bab0242 (patch) | |
tree | bd8255aec0bc3b795a5ad93027f5fcdecb2d4d26 /xs/src/libslic3r/GCode.hpp | |
parent | e6b441eea45029014ce928a7ffcccc78c906a63c (diff) |
New extrusion class: ExtrusionMultiPath
This is similar to an ExtrusionLoop, but it is open.
It may contain multiple chained paths with differing parameters.
This allows one to have a hierarchy of paths, where the ExtrusionEntityCollection
will be chained by the G-code generator, but ExtrusionMultiPath will not.
Diffstat (limited to 'xs/src/libslic3r/GCode.hpp')
-rw-r--r-- | xs/src/libslic3r/GCode.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xs/src/libslic3r/GCode.hpp b/xs/src/libslic3r/GCode.hpp index e1b6ad03c..51a77f41c 100644 --- a/xs/src/libslic3r/GCode.hpp +++ b/xs/src/libslic3r/GCode.hpp @@ -121,6 +121,7 @@ class GCode { std::string change_layer(const Layer &layer); std::string extrude(const ExtrusionEntity &entity, std::string description = "", double speed = -1); std::string extrude(ExtrusionLoop loop, std::string description = "", double speed = -1); + std::string extrude(ExtrusionMultiPath multipath, std::string description = "", double speed = -1); std::string extrude(const ExtrusionPath &path, std::string description = "", double speed = -1); std::string travel_to(const Point &point, ExtrusionRole role, std::string comment); bool needs_retraction(const Polyline &travel, ExtrusionRole role = erNone); |