Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsupermerill <merill@free.fr>2020-05-29 22:01:30 +0300
committersupermerill <merill@free.fr>2020-05-29 22:01:30 +0300
commit9b60be0c1aeda35d81cb30fbef05e11c7e7351e3 (patch)
tree837dcfa6cc9b408a47b422c1a99589584cef2c73 /src/libslic3r/Config.hpp
parentd0a8bdebe8deec7144d9d6d7519d0be861157397 (diff)
Initial working prototype for the milling post-process
Diffstat (limited to 'src/libslic3r/Config.hpp')
-rw-r--r--src/libslic3r/Config.hpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/libslic3r/Config.hpp b/src/libslic3r/Config.hpp
index 16dcc9fac..488c07326 100644
--- a/src/libslic3r/Config.hpp
+++ b/src/libslic3r/Config.hpp
@@ -66,6 +66,9 @@ enum OptionCategory : int
wipe,
hollowing,
+
+ milling_extruders,
+ milling,
};
std::string toString(OptionCategory opt);
@@ -157,6 +160,10 @@ enum PrinterTechnology : uint8_t
ptSLA = 1 << 1,
// Selective Laser-Sintering
ptSLS = 1 << 2,
+ // CNC
+ ptMill = 1 << 3,
+ // Laser engraving
+ ptLaser = 1 << 4,
// Any technology, useful for parameters compatible with both ptFFF and ptSLA
ptAny = 1+2+4,
// Unknown, useful for command line processing
@@ -774,7 +781,8 @@ class ConfigOptionStrings : public ConfigOptionVector<std::string>
{
public:
ConfigOptionStrings() : ConfigOptionVector<std::string>() {}
- explicit ConfigOptionStrings(size_t n, const std::string &value) : ConfigOptionVector<std::string>(n, value) {}
+ explicit ConfigOptionStrings(const std::string& value) : ConfigOptionVector<std::string>(value) {}
+ explicit ConfigOptionStrings(size_t n, const std::string& value) : ConfigOptionVector<std::string>(n, value) {}
explicit ConfigOptionStrings(const std::vector<std::string> &values) : ConfigOptionVector<std::string>(values) {}
explicit ConfigOptionStrings(std::vector<std::string> &&values) : ConfigOptionVector<std::string>(std::move(values)) {}
explicit ConfigOptionStrings(std::initializer_list<std::string> il) : ConfigOptionVector<std::string>(std::move(il)) {}
@@ -990,7 +998,8 @@ class ConfigOptionPoints : public ConfigOptionVector<Vec2d>
{
public:
ConfigOptionPoints() : ConfigOptionVector<Vec2d>() {}
- explicit ConfigOptionPoints(size_t n, const Vec2d &value) : ConfigOptionVector<Vec2d>(n, value) {}
+ explicit ConfigOptionPoints(const Vec2d& value) : ConfigOptionVector<Vec2d>(value) {}
+ explicit ConfigOptionPoints(size_t n, const Vec2d& value) : ConfigOptionVector<Vec2d>(n, value) {}
explicit ConfigOptionPoints(std::initializer_list<Vec2d> il) : ConfigOptionVector<Vec2d>(std::move(il)) {}
explicit ConfigOptionPoints(const std::vector<Vec2d> &values) : ConfigOptionVector<Vec2d>(values) {}