mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 18:57:17 +00:00
Fix api.boundary.assign_connection_geometry TypeError
TypeError: attribute 'DirectionRatios' for entity 'IFC4.IfcDirection' is
expecting value of type 'AGGREGATE OF DOUBLE', got 'ndarray'
This commit is contained in:
@@ -127,7 +127,7 @@ class Usecase:
|
|||||||
return self.file.createIfcPlane(
|
return self.file.createIfcPlane(
|
||||||
self.file.createIfcAxis2Placement3D(
|
self.file.createIfcAxis2Placement3D(
|
||||||
self.create_point(location),
|
self.create_point(location),
|
||||||
self.file.createIfcDirection(axis),
|
self.file.createIfcDirection(ifc_safe_vector_type(axis)),
|
||||||
self.file.createIfcDirection(ref_direction),
|
self.file.createIfcDirection(ifc_safe_vector_type(ref_direction)),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user