GroundhogLighting / Groundhog

SketchUp Extension for performing Radiance lighting analysis
http://www.groundhoglighting.com
13 stars 4 forks source link

Group planes in order to get aggregated data #18

Closed germolinal closed 7 years ago

germolinal commented 7 years ago

Sometimes, information is required for groups of workplanes instead of for a single one... For example, when several workplanes are defined within the same space.

Would be cool to get the aggregated data from groups of workplanes.

germolinal commented 7 years ago

Done.

Now you can select multiple faces and label them as Workplanes... these surfaces will be considered as one single workplane from then on.

Since sometimes one selects lots of faces (i.e. a mesh or a cilinder), I had to change the way workplanes are stored in the model... for a while, we had Values within workplanes (which was an array of objectives). Now, this is stored in a simpler way directly in the Model.

Also... had to include an Observer class for updating the Design Assistant when deleting a Workplane. I have been affraid of observers since I started developing Groundhog, but I did not see any simpler way that did not involve a mess.