I tried to model a (very simple) building that adapts to its orientation. I managed to put in a few drivers and constraints, which allow to modify “the roof”. What would be a good method to measure the area of the floors with a python script? Because at the moment it’s a ugly hack. (see attached file for more explanations).
Also it would be great if it would be possible to “drive” the building also by the measured area. That’s how a designer could constraint a design to a given area size. Is there a possibility to do this with python or should I think about writing a patch to add a constraint? (there’s always a first time…).
Thanks for your input!
pyDrivers_rotHeight.blend (447 KB)