xeokit-convert icon indicating copy to clipboard operation
xeokit-convert copied to clipboard

[IFC->XKT] Parse units from IFC

Open elyrank opened this issue 4 years ago • 0 comments

if the IFC has a conversion measure unit - it is not updated in the xkt model i.e. : #43= IFCSIUNIT(*,.LENGTHUNIT.,$,.METRE.); #44= IFCDIMENSIONALEXPONENTS(1,0,0,0,0,0,0); #45= IFCMEASUREWITHUNIT(IFCRATIOMEASURE(0.3048),#43); #46= IFCCONVERSIONBASEDUNIT(#44,.LENGTHUNIT.,'FOOT',#45);

expected: viewer.scene.metrics.units === 'feet' actual: viewer.scene.metrics.units === 'meters'

elyrank avatar Dec 29 '21 13:12 elyrank