mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
parent
42b1a0e028
commit
e8d2e070d8
2 changed files with 4 additions and 1 deletions
|
@ -181,6 +181,8 @@ class SliceInfo(QObject, Extension):
|
|||
model = dict()
|
||||
model["hash"] = node.getMeshData().getHash()
|
||||
bounding_box = node.getBoundingBox()
|
||||
if not bounding_box:
|
||||
continue
|
||||
model["bounding_box"] = {"minimum": {"x": bounding_box.minimum.x,
|
||||
"y": bounding_box.minimum.y,
|
||||
"z": bounding_box.minimum.z},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue