generative modeling for Rhino
This is What i want to do:
1. extract contours of a brep closed free form in both x and y axis.
2. Take intersection points and make sufaces of the rectangles formed on surfaces by the perpendicular contour lines.
3. take out the centre points of the surface by the are cammand.
I am having troublewith number 2. Please help. Thankyou.
if i understand this, you are trying to make a waffle construction method right? i thing the problem is your approach, with the curves you should make planar surfaces, then you will be able to find intersections by brep/brep intersection, and i would recommend you to use cylinders as the trimming geometry since it's a regular form and you will just need to control radius, after that apply and intersection between cylinders and planar surfaces and an surface split to cut the intersection, to pick un the piece without the intersections you can use list item.
you can look at the gh file i just attached of how i got the waffle.
i don't really understand what you mean, i opened the gh def, but i don't get what is the final result you are trying to achieve
just guessing you need something like this?
This is it. Can you please tell me how to do it or share the file?
Is it also possible to achieve the each divided surface on the grid?
I achieved the points. Thanks to you Loenardo. Had to do little tweaking with the definition to match my waffle. I still can figure out how to get the panels in between. Please can you explain in detail how to do it?
Another problem is that i need to give circles on the panels from the center points. For this i will need point tangents to surface or panel surface tangent vector. need your help again. Thanks again.
Pretty slow and tested only on a torus.
Thankyou so much Systemiq. Its exactly what i need. I extracted both the individual panels and points.
I wasted so much of my time on the divide surface component and then taking each of 140 surfaces individually to divide surface nearest to the grid. stupid of me. Thanks again.