From 482caec6a0d0e6dcd33a880d3681b1bc5ca80bfa Mon Sep 17 00:00:00 2001 From: kovacsv Date: Sun, 27 Jun 2021 00:22:33 +0200 Subject: [PATCH] Add property types. --- source/external/ifcimporter.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/external/ifcimporter.js b/source/external/ifcimporter.js index 49a85f4..435e39e 100644 --- a/source/external/ifcimporter.js +++ b/source/external/ifcimporter.js @@ -149,12 +149,15 @@ OV.ImporterIfc = class extends OV.ImporterBase case 'IFCBOOLEAN': meshProperty = new OV.Property (OV.PropertyType.Boolean, property.Name.value, property.NominalValue.value === 'T' ? true : false); break; + case 'IFCINTEGER': case 'IFCCOUNTMEASURE': meshProperty = new OV.Property (OV.PropertyType.Integer, property.Name.value, property.NominalValue.value); break; case 'IFCREAL': case 'IFCLENGTHMEASURE': case 'IFCPOSITIVELENGTHMEASURE': + case 'IFCAREAMEASURE': + case 'IFCVOLUMEMEASURE': case 'IFCRATIOMEASURE': case 'IFCPOSITIVERATIOMEASURE': case 'IFCMASSMEASURE':