mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Fixed bug in get_object_bounding_box #3023
This commit is contained in:
@@ -176,7 +176,7 @@ class Blender:
|
||||
"max_y": bound_box[6][1],
|
||||
"min_z": bound_box[0][2],
|
||||
"max_z": bound_box[6][2],
|
||||
"center": (Vector(bound_box[6]) - Vector(bound_box[0])) / 2,
|
||||
"center": (Vector(bound_box[6]) + Vector(bound_box[0])) / 2,
|
||||
}
|
||||
return bbox_dict
|
||||
|
||||
|
||||
Reference in New Issue
Block a user