mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Creoox json serializer
This commit is contained in:
@@ -672,7 +672,7 @@ class serializers:
|
||||
# so no wrap_buffer_creation() for these serializers
|
||||
xml = ifcopenshell_wrapper.XmlSerializer
|
||||
buffer = ifcopenshell_wrapper.buffer
|
||||
# gltf and hdf5 availability depend on IfcOpenShell configuration settings
|
||||
# gltf, hdf5, collada and json availability depend on IfcOpenShell configuration settings
|
||||
try:
|
||||
gltf = ifcopenshell_wrapper.GltfSerializer
|
||||
except:
|
||||
@@ -685,6 +685,10 @@ class serializers:
|
||||
collada = ifcopenshell_wrapper.ColladaSerializer
|
||||
except:
|
||||
pass
|
||||
try:
|
||||
json = ifcopenshell_wrapper.JsonSerializer
|
||||
except:
|
||||
pass
|
||||
# ttl is always available since it doesn't depend on any C++ libraries,
|
||||
# just people might be using an outdated binary
|
||||
if hasattr(ifcopenshell_wrapper, "TtlWktSerializer"):
|
||||
|
||||
Reference in New Issue
Block a user