mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
Add support for Point representations too, not just point cloud.
This commit is contained in:
@@ -892,7 +892,7 @@ class IfcImporter:
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
for representation in representations:
|
for representation in representations:
|
||||||
if representation.RepresentationType == "PointCloud":
|
if representation.RepresentationType in ("PointCloud", "Point"):
|
||||||
return representation
|
return representation
|
||||||
|
|
||||||
elif self.file.schema == "IFC2X3" and representation.RepresentationType == "GeometricSet":
|
elif self.file.schema == "IFC2X3" and representation.RepresentationType == "GeometricSet":
|
||||||
|
|||||||
Reference in New Issue
Block a user