fix opening ifc files with streaming #5457

This commit is contained in:
Andrej730
2024-09-23 17:40:58 +05:00
parent 7e6be53237
commit 08bba92b2e
@@ -86,6 +86,8 @@ try:
return (int(items[0]), str(items[1]), items[2])
class stream(file):
schema: ifcopenshell.util.schema.IFC_SCHEMA = "IFC4"
def __init__(self, filepath: str):
self.wrapped_data = None
self.history_size = 64