In my quest through Grasshopper I ran into a thing I would like to achieve.
I want to make squares from data out of an excel file, with holes in each corner, 60 mm from the edges. So far no problem.
My question is: How do I get a hole (or point) in the middle of the sides that are longer then 1500 mm (or 1380 mm between the centres of the corner holes)?
My inexperienced amateur brain is stuck here.
I hope I explained it good enough. Attached is the file I’m working on.
I don’t use lunchbox and even if I did, I don’t think the Excel link would work. In this case it would be better to post a file without the Excel import at the beginning. You can use a geometry node and then right click to internalise data.
To find the curve segments which are longer than 1500 units, explode a polyline, get the lengths and compare them with a larger than component. Then either dispatch or cull.
Thanks for your solution. It works like a charm.
I am receiving my measurements as an excel sheet so instead of drawing all the squares I can now make them all at ones.