I need to place family instances in intersection points of walls. It’s simple, but in my particular case instance relates of intersection type. For angle it will be type 1, for T-joint it will be type 2 and for cross it will be type 3.
Can someone give a hint how to define types of intersections?
Look at this side
edit: I found the script, if you want to improve and/or share, here it is, good luck
essai pour ch maconnerie_v2_simplifie.dyn (29.1 KB)
Nice idea, but I don’t inderstand how we can find the X point in this case.
Check my version.
Wall Junction Type.dyn (70.4 KB)
I fixed a bug (an analysis fault on my part) that I had in the management of list processing
essai pour ch maconnerie_v3.dyn (95.0 KB)
Great work and a wonderful method. You may want to consider a smaller circle (say 1mm instead of 20mm) in some jobs as the walls should literally touch, and intersections of facing walls might be caught as well. Could also filter by wall type since the exercise likely needs walls of a particular set of parameters.
Thank you for the always wise advice (Expansion joint) and compliment.
Mr. Poupin C would have solved this in two shots with Itertools.groupby()
Thank you, @christian.stan. You saved me a lot of time.