From 9b60be0c1aeda35d81cb30fbef05e11c7e7351e3 Mon Sep 17 00:00:00 2001 From: supermerill Date: Fri, 29 May 2020 21:01:30 +0200 Subject: Initial working prototype for the milling post-process --- src/libslic3r/Config.hpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/libslic3r/Config.hpp') 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 { public: ConfigOptionStrings() : ConfigOptionVector() {} - explicit ConfigOptionStrings(size_t n, const std::string &value) : ConfigOptionVector(n, value) {} + explicit ConfigOptionStrings(const std::string& value) : ConfigOptionVector(value) {} + explicit ConfigOptionStrings(size_t n, const std::string& value) : ConfigOptionVector(n, value) {} explicit ConfigOptionStrings(const std::vector &values) : ConfigOptionVector(values) {} explicit ConfigOptionStrings(std::vector &&values) : ConfigOptionVector(std::move(values)) {} explicit ConfigOptionStrings(std::initializer_list il) : ConfigOptionVector(std::move(il)) {} @@ -990,7 +998,8 @@ class ConfigOptionPoints : public ConfigOptionVector { public: ConfigOptionPoints() : ConfigOptionVector() {} - explicit ConfigOptionPoints(size_t n, const Vec2d &value) : ConfigOptionVector(n, value) {} + explicit ConfigOptionPoints(const Vec2d& value) : ConfigOptionVector(value) {} + explicit ConfigOptionPoints(size_t n, const Vec2d& value) : ConfigOptionVector(n, value) {} explicit ConfigOptionPoints(std::initializer_list il) : ConfigOptionVector(std::move(il)) {} explicit ConfigOptionPoints(const std::vector &values) : ConfigOptionVector(values) {} -- cgit v1.2.3