bldrs-ai / Share

Share is a web-based BIM & CAD collaboration platform.
http://bldrs.ai
109 stars 31 forks source link

System: Data: CSV Export #163

Open pablo-mayrgundter opened 2 years ago

pablo-mayrgundter commented 2 years ago

Just click a button somewhere and save out to CSV.

The export should be in the context of whatever the URL is. If it's the root model IFC, then export the whole building. If an element path, then export that subtree.

Have a simple panel showing the result for copy-paste and save to file.

pablo-mayrgundter commented 2 years ago

Per discussion with Adrian, I'll put a proposal together for a CSV <-> IFC library.. not at the App level, but just using web-ifc.

pablo-mayrgundter commented 2 years ago

First cut is here:

https://github.com/bldrs-ai/tools

> node src/ifctool.js index.ifc --type=IFCBUILDINGELEMENTPROXY --out=csv --fmt='["Name.value"]'
web-ifc: 0.0.34 threading: 0
"Name.value"
"Together"
"Together"
"Together"
"Together"
"Together"
"Together"
"Together"