IFCJSON-Team / IFC2JSON_python

Python converter from IFC SPF to JSON
MIT License
21 stars 8 forks source link

JSON--to--THREEJS #2

Open nikhilgupta2001 opened 3 years ago

nikhilgupta2001 commented 3 years ago

how we will use this json file to load in three js

janbrouwer commented 3 years ago

Check out: https://github.com/IFCJSON-Team/IFC.JSON-Viewer

nikhilgupta2001 commented 3 years ago

Actually the sample files in IFC.JSON-viewer have {RepresentationType =>OBJ }so i am able to load them using OBJLOADER of three js but the examples of ifc file in ifc2json_python samplefiles have {RepresentationType =>curve2D and sweptSolid } .please let me know how can i load these .thanks in advance

janbrouwer commented 3 years ago

That's the main difference between the IFC.JSON4 and IFC.JSON5a projects. Only the 5a includes the non-standard-IFC OBJ geometry.