Added check for loaded STL file if it was saved in meters. Related to #4521 (Some files are imported in the wrong size)

This commit is contained in:
YuSanka 2021-02-09 17:04:32 +01:00
parent a1e49e7f8c
commit a86e7107a5
3 changed files with 37 additions and 1 deletions

View file

@ -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();