Skip to content

Commit

Permalink
Update IFCtoLBDConverterCore.java
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkioraskari committed Sep 20, 2024
1 parent ab0568f commit 93d16b3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 93d16b3

Please sign in to comment.