From 93d16b32ff29e2f84217751ea387cd5924cac606 Mon Sep 17 00:00:00 2001 From: Jyrki Oraskari <31693668+jyrkioraskari@users.noreply.github.com> Date: Fri, 20 Sep 2024 13:03:09 +0200 Subject: [PATCH] Update IFCtoLBDConverterCore.java --- .../ifc2lbd/core/IFCtoLBDConverterCore.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/IFCtoLBD/src/main/java/org/linkedbuildingdata/ifc2lbd/core/IFCtoLBDConverterCore.java b/IFCtoLBD/src/main/java/org/linkedbuildingdata/ifc2lbd/core/IFCtoLBDConverterCore.java index 7f9f0e27..20cbf9e8 100644 --- a/IFCtoLBD/src/main/java/org/linkedbuildingdata/ifc2lbd/core/IFCtoLBDConverterCore.java +++ b/IFCtoLBD/src/main/java/org/linkedbuildingdata/ifc2lbd/core/IFCtoLBDConverterCore.java @@ -409,6 +409,7 @@ private void addGeometry(Resource lbd_resource, String guid) { try { if (this.has_geometry.add(lbd_resource)) { + System.out.println("got geometry"); BoundingBox bb = this.ifc_geometry.getBoundingBox(guid); ObjDescription obj = this.ifc_geometry.getOBJ(guid); @@ -495,14 +496,14 @@ private void addGeometry(Resource lbd_resource, String guid) { } - /*if (obj != null) { + if (obj != null) { if (this.fogasObj == null) this.fogasObj = this.lbd_general_output_model .createProperty("https://w3id.org/fog#asObj_v3.0-obj"); Literal base64 = this.lbd_general_output_model.createTypedLiteral(obj.toString(), "https://www.w3.org/2001/XMLSchema#base64Binary"); sp_geometry.addLiteral(this.fogasObj, base64); - }*/ + } } } catch (Exception e) { // Just in case IFCOpenShell does not function