mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Improved accuracy of ModelVolume matrix store / restore
into the 3MF / AMF. Improved accuracy of ModelVolume's mesh transform back from Object's coordinate space to its own coordinate space after reloading from 3MF / AMF.
This commit is contained in:
parent
2bf472988b
commit
26b7dbd6f5
5 changed files with 73 additions and 68 deletions
|
@ -466,6 +466,7 @@ public:
|
|||
|
||||
const Geometry::Transformation& get_transformation() const { return m_transformation; }
|
||||
void set_transformation(const Geometry::Transformation& transformation) { m_transformation = transformation; }
|
||||
void set_transformation(const Transform3d &trafo) { m_transformation.set_from_transform(trafo); }
|
||||
|
||||
const Vec3d& get_offset() const { return m_transformation.get_offset(); }
|
||||
double get_offset(Axis axis) const { return m_transformation.get_offset(axis); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue