ThatOpen / engine_components

MIT License
349 stars 134 forks source link

Wrong y points of fragment plans when ifc length unit is in centimeters (too high) #233

Closed robertbiskup closed 4 months ago

robertbiskup commented 11 months ago

Describe the bug 📝

I have some ifc projects in CENTI units (screen 2). I think this was not included in the algorithm in the IfcPropertiesUtils class in the getUnits method - there are METER and MILLI and missing CENTI and DECI

image image image

Reproduction ▶️

No response

Steps to reproduce 🔢

  1. Load ifc with CENTI length units
  2. Generate fragment plans

System Info 💻

"openbim-components": "1.2.0"

Used Package Manager 📦

npm

Error Trace/Logs 📃

No response

Validations ✅

agviegas commented 4 months ago

Solved from 2.0.23. Let us know otherwise. Cheers!

image