I’ve a script that tells me which are the surrounding walls of a floor.

The next step is to know which is the length between those walls and the floor.

Can somebody give me a hint how to calculate this?

Maybe I’ve started with the wrong node and is there a better node to know what is the length?

My ultimate goal is to calculate the length for skirting boards per floor type and keep in mind the length of the surrounding walls minus the width of each door.

i had this problem with some curves and i used this

but i don’t know if it works with your elements.

best

Elisabetta

Hi @Elisabetta_Caterina, it’s not the distance from one object to another I’ve needed, it’s the length of the intersection betweem them.

@joris.vanbossche

What about a Geometry.Intersect node ?

You could get the common surface between the floor and each individual wall.

If you want the length, you will have to work from the intersecting surface to get the length you are looking for.