hello.
I am here to ask a question regarding logic and a script I am working on.
I am trying to draw an offset from all edges. I am able to achieve my goal to some extent but there is a problem when there is an opening in a slab the script works in an opposite way for the opening. As shown in the figure the script is able to detect edges and draw offset on the inside of corners or on the slab (yellow lines) but when comes to opening it selects edges and draws offset on the inside whole space (red) whereas it should be also on slab(black line).
I tried to change the conditions but I am not able to do it.
solution i tried to add a codeblock and conditions to seperate edges from openings. it gives this error
FFINAL EDGES.dyn (95.2 KB)
Your concern regarding this would be helpful. Thank you in advance.