ladybug-tools / spider

:spider_web: 3D interactive analysis in your browser mostly written around the Three.js JavaScript library
http://www.ladybug.tools/spider
44 stars 14 forks source link

Update 2017-12-02 ~ gbXML Viewer R8.1 #63

Closed theo-armour closed 6 years ago

theo-armour commented 6 years ago

@ladybug-tools/spiders

image

gbXML Viewer R8.1

The app is beginning to have some nice aspects and there's much more on the way.

There's way too much that's happened since the last post, we let's just start with today:

Probably every file in the release was touched in some way today. Many of the changes were related to renumbering text in links to handle the new release. Fingers-crossed this release-processing is mostly complete and we can get back to adding new features nice and fast


Look, gbXML Viewer is helping find errors in our own scripts. Yay!

image

theo-armour commented 6 years ago

gbXML Viewer R8.2

image

Highlights surfaces with

theo-armour commented 6 years ago

gbXML Viewer R8.3

image

Little fixes and new features everywhere

Items form To Do list completed or well underway

mdengusiak commented 6 years ago

@theo-armour THANK FOR amazing work. Seems you are on the case so I am back. I hope we will make the most amazing gbXML viewer/fixer ever.

here are comment:

1. image

2. image

3. image

4. image

5. image

6. image

7. image

8. image

  1. can we introduce new color scheme to show: exposed, ground, link surfaces image

aslo add them here so we can see by analysis type image

theo-armour commented 6 years ago

@mdengusiak

Many thanks for your easy to read (and easy to fix ) list.

I believe that many of the items have been dealt with in this release:

Resizing heads-up is there but very unstable.

gbXML Viewer R8.4

The main item not addressed is that last item - which I am not sure I understand completely.

Currently the viewer list all the surface types listed in the file. If it's there then its listed.

I am thinking of adding a settings feature that would add a ground surface to the display. This would receive shadow etc. Would that help? Or maybe we should talk things over if I am missing something.

mdengusiak commented 6 years ago

Thanks @theo-armour for great chat I hope now everything is clear... Here is sample one space gbXML export fro reference: Building1.zip

theo-armour commented 6 years ago

@mdengusiak

App2 R8.5 12:44

8.6 21:32

theo-armour commented 6 years ago

@mdengusiak

image

gbXML Viewer R8.7

Done

michaldengusiak commented 6 years ago

this is great.. drag works excellent I love storey

  1. reset does not reset : background gradient , materials colors or camera ortho

image

  1. Is there any chace to almost replicate in storey view - floor plans with space name and number

image

  1. Storey ability to hide roofs or floor to better see layout image

  2. can we show number of zones per storey image

mostaphaRoudsari commented 6 years ago

This is awesome! I needed a quick gbXML viewer today and worked great for me! :) image

theo-armour commented 6 years ago

@mdengusiak

image

R8.9

R8.8

Note 'reset view' button not currently working in reports, so has been disabled for the moment

Done

theo-armour commented 6 years ago

@mostaphaRoudsari

I'm glad you like it. It's a fun project.

The script takes gbXML data and turns it into JSON. Do any of your apps read/write to JSON? Or read/write to gbXML?

michaldengusiak commented 6 years ago

@theo-armour Hi progress is amazing....

  1. reset works great now the only one that is not resetting is after Set Camera to Ortho

  2. can we change color for inside surfaces to RGB(255,128,128) image other colors are: exposed RGB(128,255,128) adiabatic RGB(192,128,255) ground RGB(208,104,0)

  3. can we show normals for selected items only image

  4. can we swtich off shadows image

  5. would be nice to operate them when level (storey) is selected only on this object switch off and on different surfaces image

6.this is great we can see odd one out image

  1. this new feature is unique and amazing, I guess we could connect to some game engine and play based on our own building as a break from working - --- THIS IS AWSOME!!!!!

I can see straight away that there are some keyboard keys working...can you send me full keyboard shortcut keys and explanation I can see that: A,S,R,F are doing something... image

  1. can we make that when is blue is ON and is grey is off...at the moment there is many option posible depends how we click image

  2. would be cool to work on exposure surface types same way as on surfaces types with ON and OFF

mostaphaRoudsari commented 6 years ago

The script takes gbXML data and turns it into JSON. Do any of your apps read/write to JSON? Or read/write to gbXML?

@theo-armour, yes! Honeybee does. We're currently using OpenStudio libraries to import/export gbXML. Can you direct me to the parser code? Converting to JSON making it easier to parse.

theo-armour commented 6 years ago

@mostaphaRoudsari

All the heavy lifting is in this stand-alone HTML file with the actual parser function highlighted:

https://github.com/ladybug-tools/spider/blob/master/gbxml-viewer/r8/gbxml-viewer8-01-core/gbxml-viewer8-core-r3.html#L250-L307

And, frankly, there's not much heavy lifting to be done. ;-)

mdengusiak commented 6 years ago

@mostaphaRoudsari This sounds now very interesting apart from viewing gbXML and showing errors and issues with gemometry we want aslo try to fix some of them and open new ways of collaborations. I am thinking about this:

  1. ability to transform JSON to gbXML, gbXML to JSON
  2. Allow Honeybee/Ladybug to import one space form whole gbXML/JSON that allow us to run detail Butterfly or Radians calcs... 2a. In fact wound be amazing to bring results back so calculate space and display in our Viewer.... whole building but also details for selected space so we can see for which space simulation where done and how does it look in whole context
  3. Could we use honeybee/ladybug to open gbXML/JSON file directly form gbXML viewer ? This is super fast to see changes and review quality of file and spot all problems with geometry

I guess first of all we want:

@theo-armour pease let me know what do you think and if agree with my vision

ps. I come across this task list approach that we can tick boxes I will try to use it from now on as we can easily monitor what was completed)

theo-armour commented 6 years ago

@mdengusiak

can we swtich off shadows?

This is likely to be part of an Analemma/light/shadow settings menu

would be nice to operate them when level (storey) is selected only on this object switch off and on different surfaces

Yes, the interaction get complicated. We need to play with the interaction some more and come up with some logical 'rules'. What we don't want to do is keep adding buttons and UI widgets. What we want is a few simple interactions that take care of most everything. Let's us continue playing and interaction with what is there for a while. And after some decide some new rules.

this is great we can see odd one out

We need different colors for the different odd things. And some good rules for finding these types of things.

adiabatic

The definition of adiabatic is 'relating to or denoting a process or condition in which heat does not enter or leave the system concerned.' ;-)

I need a better sense of what 'adiabatic' means in terms of setting colors of walls or finding issues.


I think many of the other points you raise are covered in R8.9 and R8.10

mdengusiak commented 6 years ago

@theo-armour I am speachless --thanks for solving many comments!!!!! Love it!!!

viewert

  1. I like you managed to get now underground surfaces image

  2. ok shadows we are not crucial I think this will be solved with your new sunpaths feature..

  3. Adiabatic is internal surfaces that do not have two different spaces Adjaciencies

  4. In version 8.10 head up does not work image

  5. Set exposure Type material this is for surrunging building and context can we change color for Shade to RGB(255,180,128) image