For a project of mine, I want to change panel type to empty for all panels in front of windows or doors placed in a wall behind the curtain wall.
My solution is working ok, but the script gets slow when the amount of panels and windows increase. For just 1000 panels and 30 windows the script has to run 30000 intersection tests as it checks bounding box collisions for each panel and every window/door.
Another downside is that the current script can only handle one building facade at a time as the script requires a work plane to be specified.
I’m curious to see if perhaps anyone of you Dynamo Pros out there has a better approach to this than what I could come up with? Maybe an idea for a fast script that handles mutliple facade orientations.
Then why is all this you may be thinking… Well… I was thinking of modeling the facade cladding as a curtain wall in front of the external wall, in order to make some facade color designs using curtain wall panels with different colors, something a little bit like the this picture (but really thats the next part of my quest):
Anyway, any hints would be much appreciated!