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

gbXML metric defaults #43

Closed theo-armour closed 7 years ago

theo-armour commented 7 years ago

With the new menu system in Build Well and gbXML Reader, it is going to be much easier to build menus for different measurement standards and different languages.

In order to build the first set of demo menus, we need defaults, minimums and maximums for

@bwelle has supplied US defaults and these are what is currently available.

What should the metric defaults be?

And should we have separate demo menus for cm and mm standards?

mdengusiak commented 7 years ago

@theo-armour

  1. I think for buildings scale we should use [m] meters this should be sufficient, please allow decimals so we can type 65.508 [m] in this case we cover also [mm] case if anyone needs this.

2.Not sure why I can not type decimals in current version 10.2 because of units? image

3.Please implement Units conversion to [m] so I can see current default settings.

theo-armour commented 7 years ago

@mdengusiak

This menu is set up for integer feet - to keep things very very simple for us Americans.

The metric demo menu will of course be full floating point.

We might be able to play with the up down arrows so values jump by 10mm or 100mm, but let look at those enhancements once a menu is first built.

bwelle commented 7 years ago

@theo-armour @mdengusiak

So as I understand it, we are going from unitless inputs to menus for tabs or conversion field from IP to SI. That's fine for me, as you need to know units for the gbXML export. As Theo mentioned, most of our users, especially in early phases of deployment, will be using IP. However, we have many non-US offices using SI (and in fact, the convention we decided upon with our web GUI is not matter what the entry units are, we export to metric for use in OS API and everything downstream. How we handle it in the GUI is we use defaults and enumerations listed in a JSON file for various fields in IP. Then if the user toggles to SI, we use simple conversion equations to change value to SI. Here are the equations, which are official conversion used in Open Studio:

1 ft^2 = 0.092903 m^2 1 m^2 = 10.7639 ft^2 1 ft = 0.3048m 1 m= 3.281 ft

So for Build Well, I would proposed I provide defaults/enumerations in IP, then when in SI mode use those conversion factors.

I don't foresee any need for mm or cm. I rarely see anyone wanting to use this.

bwelle commented 7 years ago

In order to build the first set of demo menus, we need defaults, minimums and maximums for

Perimeter depth Overhangs Floor height

I will provide a revised set of IP defaults to you @theo-armour given that now we are addressing the issue of conflicting dimensional parameters. More on this to come.

bwelle commented 7 years ago

@theo-armour I see only 10.1 posted. Mike mentioned 10.2. Is that link somewhere else?

mdengusiak commented 7 years ago

I think I mess sth up...I guess I saw 10.2 but it must be 10.1.. I agree we use deafults from your IP * conversion as start and then we see if we need some separate defaults inputs in case sth looks silly... but lets start per @bwelle suggestion

theo-armour commented 7 years ago

@bwelle @mdengusiak

Ceiling heights I searched for for ceiling height standards on the https://www.bre.co.uk/bretrust/index.jsp site, BSI site and elsewhere but found nothing readily available to link to. But I was able to see usual numbers for ceilings here and there.

How about we start at 2.100 and go up by 300 mm increments up to 4.8 meters, with 2.4 m as the default?

Perimeter depths How about starting at 3 meters and going up to or 7.2 meters again at 300 mm increments with 3.6 m as the default?

Overhangs and Fins How about 0 to 3 meters again by 300 mm increments with zero as the default?

If anybody knows of any suitable regulatory standards or codes, then please send a link and we can build one of the demo menus around such guidelines.