xeokit / xeokit-sdk

Open source JavaScript SDK for viewing high-detail, full-precision 3D BIM and AEC models in the Web browser.
https://xeokit.io
Other
737 stars 291 forks source link

Quantity takeoff in xeokit #1672

Open j209 opened 2 months ago

j209 commented 2 months ago

Length, Area and volume can be measured in Zeokit.So a complete quantity takeoff implementation in xeokit should be possible seamlessly.

paireks commented 2 months ago

Hello @j209, maybe it could be possible, but it's debatable if it's worth adding to Xeokit itself, because:

  1. isn't it out of scope of graphics SDK? (probably yes)
  2. it would require the model itself always have only elements that can be measured (e.g. you can't calculate volumes correctly if mesh is open)
  3. measurements on meshes are sometimes less precise than brep measurements in modelling software
  4. quantity takeoffs are structured in a various different ways for various different elements, e.g. if I'd like to have a take offs for steel structure I'd do separate lists for different elements, e.g. separate lists for bolts and separates for plates. For each group you need slightly different information. I haven't seen myself takeoffs with areas and volumes only in practice.

Personally I think takeoffs should be done in the modelling software itself. I've heard about cases where someone gets takeoffs in some IFC viewers, but for that probably it should be implemented on the viewer level itself, not the graphics SDK. But I'm sharing just personal opinion here :)