I am trying to get beam boundaries as polygons using CAD file. Beam curves are open curves, there are only two curves and I haven’t been able to isolate their shapes. How can I extrude beams with their appropriate thickness/height using attached CAD File? Any help is welcomed.
this might be one way of doing it, but there’s a majour drawback: it only recognizes beams that are composed by the very same amount of lines on each side
for instance, this beam A to B is composed by 1 line on one side, and by 3 lines on the opposite side:
thanks for taking your time to look into it. when i try your script, I get the following result. Is that because you used some custom package that is not installed in my device or something else?
yes, I’m sorry, had forgot to flatten something before attaching the file
here is the “right-ish” one beam_Finder_loop.gh (46.3 KB)
just a note, there is a double line here on A, and a polyline here on B that I have deleted from the original DWG (you can even just change their layers so they won’t be referenced) because they were causing some troubles: