Hi everyone,
I am trying to automate the finite element model building process of concrete stability cores using Grasshopper, and I’d need to determine the width of the coupling beams over the door openings. The width of the beams should match the thickness of the wall to which they are connected, but I couldn’t prepare a GH definition that finds the appropriate wall thickness based on a 2D plan drawing.
The different wall thicknesses and beams are differentiated by layer names in the DWG/3dm file as per the attached pdf. The lines representing the beams and walls are stored in data trees whose meaning is explained in the attached pdf.
How could the thickness of the wall be determined to which the beams are connected AND are in one plane/line with them? It would be great to have an output data tree with the same structure as the beam’s data tree containing the wall thicknesses, i.e. 500, 400 or 300.
I have attached the 3dm file, which the script takes as input and a sketch pdf for further explanation.
Any guidance would be much appreciated. Thanks,
Explanation.pdf (90.9 KB)
Wall Thickness.3dm (46.1 KB)
Wall Thickness.gh (28.0 KB)