1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-29 10:55:50 +00:00

Place on bed improvements

- works with large meshes
- area discrimination takes into account scaling of the object
- planes are recalculated when some volume's type is changed (e.g. from a part to modifier mesh)
This commit is contained in:
Lukas Matena
2019-01-04 15:34:07 +01:00
parent 94becf120b
commit f7726b99a7
2 changed files with 63 additions and 47 deletions
+2
View File
@@ -403,6 +403,8 @@ private:
// This holds information to decide whether recalculation is necessary:
std::vector<Transform3d> m_volumes_matrices;
std::vector<ModelVolume::Type> m_volumes_types;
Vec3d m_first_instance_scale;
std::vector<PlaneData> m_planes;
mutable Vec3d m_starting_center;