I would like to find distance between surface edges. Is it possible in gh? is there any component available for that. Attached an image for reference. I tried exploding curves and getting distance between end points but not good when sizes of surfaces vary. Please help!
perhaps also closest point, if you get the corner points you can compare each point of one rectangle with each point from the other and the smaller value is your edge distance. Assuming they are alligned like on the picture
Still though, if you select a vertex and the near rectangle, the nearest point. If you measure the distance between that vertex and that nearest point you’ll have what you need
Nice work. I agree with you completely that the very least @greatsaiyamandbz could do is post his geometry. Rather rude not to, really.
I don’t have ‘Elefront’ installed so substituted GH’s native LineDim and see that it returns diagonal distances in some cases: Very cool though, it does the job!
Thanks this is pretty good. I just posted some random shapes to understand concepts, next time will post the definition definitely, I apologise for that.
Hi @Joseph_Oster - This may be a long shot, as it’s such an old thread… This is a really neat solution… Is there a way in which this solution could reduce the number of outcomes in order to only show the distance to the closest curve in proximity? (I have attached a screenshot to show where having multiple curves can make things messy fast)