diff options
author | YuSanka <yusanka@gmail.com> | 2021-02-09 19:04:32 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2021-02-09 19:04:32 +0300 |
commit | a86e7107a5d4549cf313c4097f87c309c3ff4d2c (patch) | |
tree | 6b4ded1f9b7b61cf1f7ebea2fdbe423924cb6f8d /src/libslic3r/Model.hpp | |
parent | a1e49e7f8c44f676d19d33b6dc06a101e15fe8b0 (diff) |
Added check for loaded STL file if it was saved in meters. Related to #4521 (Some files are imported in the wrong size)
Diffstat (limited to 'src/libslic3r/Model.hpp')
-rw-r--r-- | src/libslic3r/Model.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libslic3r/Model.hpp b/src/libslic3r/Model.hpp index 99db132f6..b06ecf527 100644 --- a/src/libslic3r/Model.hpp +++ b/src/libslic3r/Model.hpp @@ -1019,6 +1019,8 @@ public: void convert_multipart_object(unsigned int max_extruders); bool looks_like_imperial_units() const; void convert_from_imperial_units(bool only_small_volumes); + bool looks_like_saved_in_meters() const; + void convert_from_meters(bool only_small_volumes); // Ensures that the min z of the model is not negative void adjust_min_z(); |