Add universal method to get bed shape from Config objects

This commit is contained in:
tamasmeszaros 2020-03-27 09:58:08 +01:00
parent 69c02a407b
commit 44ca0a6c3d
2 changed files with 35 additions and 0 deletions

View file

@ -1306,6 +1306,10 @@ private:
static PrintAndCLIConfigDef s_def;
};
Points get_bed_shape(const DynamicPrintConfig &cfg);
Points get_bed_shape(const PrintConfig &cfg);
Points get_bed_shape(const SLAPrinterConfig &cfg);
} // namespace Slic3r
// Serialization through the Cereal library