Hi Guys, I am trying to retrieve the polygons or triangle between the intersecting lines
kindly find the image for better understanding
\do anyone have logic or nodes?
Thanks in Advance
Hi Guys, I am trying to retrieve the polygons or triangle between the intersecting lines
kindly find the image for better understanding
\do anyone have logic or nodes?
Thanks in Advance
Hi Anders, Thanks for the Response but what iam expecting is a node or a python code which works generic for any number of lines or polygons the shown image is just as example
Hi Vikram, Thanks for the Response , on mentioned procedure we retrieve many polygons which we dont require actually
Filter out any polygons where all vertices don’t match line intersection points
If you have a surface containing all these polygons you could use the Geometry.DistanceTo node to determine the polygons distance to the perimetercurve. If the value isn’t 0 you know you have one of the inner polygons.
@dineshsubramani ,
have a look: (467) Topologic Closed Circuits in Dynamo (ft. Wassim Jabi, 1 of 2) - YouTube
I’ve worked out a solution for your problem. I found it intersting to solve and therefore had been busy with it for a while.
Input:
By now the script doens’t work when three lines cross each other at one point. Maybe I will fix this later.
In other cases it should work as shown below.
Notice, draw your lines on the same leve with elevation 0. The elevation can be adjusted when needed.
The python script can be obtained here
Hi Meychik,
Thank you so much for your Valuable time
i tried executing the program but i face some issues
Hello, here is another approach, I don’t know if it is less greedy in computation time
(to be discarded if your “room” is completely enclosed, common point)
edit:
it’s good, seems to work even if well enclosed
Cordially
christian.stan
what version of revit do you use? It seems that you don’t have the library “copy” installed.
you can check out how to install some here
Thanks I tried using in Dynamo2.9 it works
Thanks Again for your valuable time
hello, you forgot the polysurface phase
Cordially
christian.stan