mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Fix #1007. Bug where box representations don't respect project units.
This commit is contained in:
@@ -2363,9 +2363,9 @@ class IfcExporter():
|
||||
obj.bound_box[0][1],
|
||||
obj.bound_box[0][2]
|
||||
),
|
||||
obj.dimensions[0],
|
||||
obj.dimensions[1],
|
||||
obj.dimensions[2]
|
||||
self.convert_si_to_unit(obj.dimensions[0]),
|
||||
self.convert_si_to_unit(obj.dimensions[1]),
|
||||
self.convert_si_to_unit(obj.dimensions[2])
|
||||
)
|
||||
return self.file.createIfcShapeRepresentation(
|
||||
self.ifc_rep_context[representation['context']][representation['subcontext']][
|
||||
|
||||
Reference in New Issue
Block a user