mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
CURA-1223: Checking whether the bounding box is correct
Adds an additional check, like suggested by @awhiemstra. Contributes to CURA-1223
This commit is contained in:
parent
4dbe895c15
commit
d4861ee626
1 changed files with 2 additions and 1 deletions
|
@ -124,7 +124,8 @@ class ThreeMFReader(MeshReader):
|
|||
Logger.log("e", "exception occured in 3mf reader: %s", e)
|
||||
|
||||
try: # Selftest - There might be more functions that should fail
|
||||
result.getBoundingBox()
|
||||
boundingBox = result.getBoundingBox()
|
||||
boundingBox.isValid()
|
||||
except:
|
||||
message = Message(catalog.i18nc("@info:status", "Your 3MF file seems to be broken. Please visit https://modelrepair.azurewebsites.net/ and try to repair your model!"), lifetime = 0)
|
||||
message.show()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue