mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
Allow export of native faceted breps
This commit is contained in:
@@ -2324,6 +2324,9 @@ class IfcExporter():
|
|||||||
for item in items.values():
|
for item in items.values():
|
||||||
if item['name'] == 'IfcExtrudedAreaSolid':
|
if item['name'] == 'IfcExtrudedAreaSolid':
|
||||||
ifc_items.append(self.create_native_extruded_area_solid(obj, item))
|
ifc_items.append(self.create_native_extruded_area_solid(obj, item))
|
||||||
|
elif item['name'] == 'IfcFacetedBrep':
|
||||||
|
# TODO: check if we allow representation item type mixing
|
||||||
|
return self.create_solid_representation(representation)
|
||||||
return self.file.createIfcShapeRepresentation(
|
return self.file.createIfcShapeRepresentation(
|
||||||
self.ifc_rep_context[representation['context']][representation['subcontext']][
|
self.ifc_rep_context[representation['context']][representation['subcontext']][
|
||||||
representation['target_view']]['ifc'],
|
representation['target_view']]['ifc'],
|
||||||
|
|||||||
Reference in New Issue
Block a user