mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 10:33:20 +00:00
Rocksdb streaming serializer connect to IfcConvert
This commit is contained in:
@@ -410,7 +410,7 @@ def convert_path_to_rocksdb(
|
||||
instances become dangling - reads that walk into them will fail.
|
||||
"""
|
||||
skip = list(skip_supertypes) if skip_supertypes else []
|
||||
ser = ifcopenshell_wrapper.RocksDbSerializer(str(ifcspf_path), str(rocksdb_path), True, skip)
|
||||
ser = ifcopenshell_wrapper.RocksDbSerializer(str(ifcspf_path), str(rocksdb_path), skip)
|
||||
ser.finalize()
|
||||
|
||||
|
||||
|
||||
@@ -275,13 +275,18 @@ class GeometrySerializer:
|
||||
READ_BREP: Any
|
||||
READ_TRIANGULATION: Any
|
||||
def __init__(self, *args, **kwargs): ...
|
||||
def finalize(self): ...
|
||||
def geometry_settings(self, *args): ...
|
||||
def isTesselated(self): ...
|
||||
def is_streaming(self) -> bool: ...
|
||||
def object_id(self, o): ...
|
||||
def read(self, *args): ...
|
||||
def ready(self): ...
|
||||
def setFile(self, arg2): ...
|
||||
def setUnitNameAndMagnitude(self, name, magnitude): ...
|
||||
def settings(self, *args): ...
|
||||
def write(self, *args): ...
|
||||
def writeHeader(self): ...
|
||||
|
||||
class GltfSerializer(WriteOnlyGeometrySerializer):
|
||||
def __init__(self, filename, geometry_settings, settings): ...
|
||||
|
||||
Reference in New Issue
Block a user