There is alot of work to do to get the right vectors, right lines, etc…but i can do that.
But what i have no idea about is how to get the faces of the walls that i need. The goal is to just select the Platform and dynamo will find the connecting walls. I think there are endless ways to do that so i just wanted to ask what the best solution would be so i dont go the wrong direction in the beginning.
So getting geometry of 2500 Walls takes 82 seconds, and my whole script should run in a few seconds, so i have to use another method. I´m having trouble with the python code for getting elements inside boundingbox, have to open a new thread for that.
You should take a smaller scale factor in your bb enlargement (Wise remark from Mr. Jacob to avoid getting a wall with Expansion joint)
You still have to manage the exceptions (Staircase orthogonal but inclined)
I tried now about 10 ways to get my desired points for family placement and they are all not good an reliable. (but hey it already worked to place my 3 families in the 3 walls, woohoo :))
Use bottom surface of platform to intersect with walls
Use platform to intersect with walls
Use platform surfaces and point at parameter
Use platform bottom curve
…
The problem is the platform doesn´t have a bottom curve made of 4 lines, it are more then 10 lines because there are always little modelling mistakes and problems with the stair cutout etc.
I think i should start with simplifying the platform geometry by just making a element.boundingbox out of it and then work with the boundingbox instead! And then some pull onto plane/surface stuff…
But its hard to make the points then corresponding to the right wall face…
More tomorrow…
The only problem i see, this method only works if the platform and walls are really touching each other and it will fail if there is a little space in the model. I would have to pull off some projection to the walls to make the method better…
Any thoughts about my method very much appreciated!
As i was afraid of i had to make a whole new method because an intersecting of wall and platform faces was not reliable, i am now looking for the platform face that is parallel and nearest to a wall face.