2017-02-26 20:46:33 +00:00
|
|
|
#ifndef slic3r_Format_AMF_hpp_
|
|
|
|
#define slic3r_Format_AMF_hpp_
|
|
|
|
|
|
|
|
namespace Slic3r {
|
|
|
|
|
|
|
|
class Model;
|
2018-11-07 13:57:50 +00:00
|
|
|
class DynamicPrintConfig;
|
2017-02-26 20:46:33 +00:00
|
|
|
|
2018-09-25 09:53:05 +00:00
|
|
|
// Load the content of an amf file into the given model and configuration.
|
2019-08-23 11:12:31 +00:00
|
|
|
extern bool load_amf(const char* path, DynamicPrintConfig* config, Model* model, bool check_version);
|
2017-02-26 20:46:33 +00:00
|
|
|
|
2018-11-07 13:57:50 +00:00
|
|
|
// Save the given model and the config data into an amf file.
|
2018-02-14 13:30:03 +00:00
|
|
|
// The model could be modified during the export process if meshes are not repaired or have no shared vertices
|
2018-11-07 13:57:50 +00:00
|
|
|
extern bool store_amf(const char *path, Model *model, const DynamicPrintConfig *config);
|
2017-02-26 20:46:33 +00:00
|
|
|
|
|
|
|
}; // namespace Slic3r
|
|
|
|
|
2018-09-25 09:53:05 +00:00
|
|
|
#endif /* slic3r_Format_AMF_hpp_ */
|