Hi, everybody
I tried to find a ready-made script on the forum, because the task, it seems to me, is common. I need to find out the equipment mark (in my case, electrical equipment and lighting fixtures) from the architects’ clean floor. The floors are at different heights, but are based on the same level. They are in a related model. I had the idea to find the geometry of the families and lower the perpendicular to the nearest overlap and then specify the length of the resulting perpendicular in the parameter. It didn’t look so difficult in my head, but in fact I found the upper surface of the floor and the insertion point of the family or its geometry. But I don’t know how to lower the perpendicular down to the first surface. Does anyone have any ideas on how to solve this problem?
Hey,
You should see a ‘ray bounce’ node like in this post…
I tend to move the point down by half the height of the element / geometry bounding box then shoot it. I think there is a BiMorph raybounce node for linked elements.
There are other methods which are more geometry based, but given that there are various floors and your only way to identify which is below them is to shoot the ray, I think that is a fair solution.
I am not sure what you mean by ‘clean’ but you might want to extract some layer data from the floor and adjust your values if your intended offset is from a substrate rather than floor finish.
I hope that helps,
Mark
Thank u, I will try it
1 Like

