Description
@ladybug-tools/spiders
https://www.ladybug.tools/spider-2020/sandbox/spider-idf-viewer/
Spider IDF Viewer
The script enables you to open EnergyPlus Input Data Files (IDF) from ypur computer or via a URL. Ths script locates all surfaces and windows data and displays the data in 3D in your browser.
- You can rotate, zoom and pan the model by clicking or touching
- Clicking on a surface allow you to display parametric data for the surface
- Gallery menu allows you to load hundreds of demos
Issues
- PopUps are broken
- Not all files have been tested. Some files cause issues
To Do
- Whatever you want
Backstory
On 2020-06-06 in issue #7 Mostapha said " since you have an importer for idf and OSM all the EnergyPlus users will be able to take advantage of this viewer even if they are not going to use honeybee schema. That is huge!"
This was a wonderful boost. The only problem was that yesterday Spider had an OSM file viewer but no IDF viewer. And we love huge and that was yesterday.
Here is the timeline for 2020-06-07:
- First commit
12:27 ~
In this GitHub issue, Mostapha mentioned that we could view IDF files. In actual fact, the Spider team has a lot of 3D viewers but not one for IDF. So let's make one.
The core files are prepared. The Read Me is started.
It is worth considering that, as far as I know, I have never "seen" an IDF file. I do not know what IDF stands for. I have no clue as to what one should look like and how it should behave. I know 3D but I an a BEM newb.
15:07
We have Spider IDF Viewer! In two and a half hours. In 2015 it took me weeks to read OSM files and display in 3D. In 2017 it took me days to read gbXML files. Ditto RAD files.
And now it's like "Pff"
As of now it's lines for walls, door and window borders. Let's get some surfaces in here.
16:43 ~
Now we have meshes - but only in beige. Let's see if we can get some color.
19:19 ~
Now we have colors. And an "open all" button that opens and displays all the sample files in 3D.
And we have what are getting to be the usual features:
- Open files on your computer
- Open files on the Internet
- Display surface data parameters when you click on a surface.
2020-06-08
00:10
Just discovered and added link to all 701 EnergyPlus testfiles . Started testing. None worked at first. ;-( Did a bunch of fixes. Now they seem to work mostly