mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
ENABLE_ENHANCED_RELOAD_FROM_DISK
1) Modified .zip.amf import/export to save/load volume matrices and source data 2) Incremented .zip.amf version to 3
This commit is contained in:
parent
3a40565d03
commit
74747226f7
7 changed files with 130 additions and 35 deletions
|
@ -453,7 +453,11 @@ public:
|
|||
|
||||
// Translates the mesh and the convex hull so that the origin of their vertices is in the center of this volume's bounding box.
|
||||
// Attention! This method may only be called just after ModelVolume creation! It must not be called once the TriangleMesh of this ModelVolume is shared!
|
||||
#if ENABLE_ENHANCED_RELOAD_FROM_DISK
|
||||
void center_geometry_after_creation(bool update_source_offset = true);
|
||||
#else
|
||||
void center_geometry_after_creation();
|
||||
#endif // ENABLE_ENHANCED_RELOAD_FROM_DISK
|
||||
|
||||
void calculate_convex_hull();
|
||||
const TriangleMesh& get_convex_hull() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue