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

Build Well L-Shape Updates #25

Closed bwelle closed 7 years ago

bwelle commented 7 years ago

Let's use this issue for L-Shape specific issues.

theo-armour commented 7 years ago

@bwelle @antonszilasi

I am looking at: L-Shape Equations.pdf (sent privately) - more specifically at 'Parametric Relationship = L-Shape-1'

If you change the total area of the building, how does that affect the length (X1) of the building?

bwelle commented 7 years ago

L-shape equations need not be private, you may post. I believe for L shape same method applies when changing Total area and # of Floors as does for box. Take fraction increases/decrease, take sqrt, and multiply by all dimensions (or in this case apply to independent value X1 and the rest should update accordingly).

bwelle commented 7 years ago
  1. L-Shape: Fortunately, with the Box logic complete, there are only a few things to enable a new shape such as this L.

a. Match all the functionality for the Box-Shape.

b. To-Do List: i. Add an input called “Parametric Relationship”. Give the dropdown 2 values: “None” and “L-Shape-1”. Make this the first input. Default to “L-Shape-1”. ii. If “None” selected, the following input dimensions appear: Length 1 (X1), Width 1 (Y1), Length 2 (X2), Width 2 (Y2). Length 1, Width 1, Length 1 are independent (unlocked), only Width 2 is locked. iii. If “L-Shape-1” selected, the following input dimensions appear: Length 1 (X1), Width 1 (Y1), Length 2 (X2), Width 2 (Y2). Length 1 is unlocked, Width 1, Length 1, and Width 2 are locked. iv. Equations to show on original 2D view and to calculate all the dimension values are shown in the attached pdf. v. Use the following default starting values: a. L-Shape-1: Building Area: 4800 ft2, Length 1=80ft, # of Floors=1, Floor Height=12, Perimeter Depth=10, WWR=40, Overhang Depth=0, Orientation=0. Other dimensions calculated. b. None: Building Area: 4800 ft2, Length 1=80ft, , Width 1=80, Length 1=40. # of Floors=1, Floor Height=12, Perimeter Depth=10, WWR=40, Overhang Depth=0, Orientation=0. Other dimensions calculated.

bwelle commented 7 years ago

My thinking is user lands on the above geometry for L-Shape-1. If they change Building Area or # of Floors, we update automatically the dimensions per the Box strategy. The user may still go to the independent parameter and modify within a limited range...for now it is assumed they will visually make sure the new value works. We will add automated checks later.