Hi all.
I have a curve panelized surface. I have the points of the intersection among panels, and i have the planes of the surfaces.
Now, I want the connections for each point.
the idea is to put a box for each point, and orient each box in the normal direction to the planes of each surface. and until here its ok more or less.
The question is:
in the edge among two consecutive surfaces i can’t use exactly the same plane of the surface, but a plane whose normal direction is halfway between the normal directions of the planes of the 2 consecutive surfaces.
look at these images
I would like to get the result of the second image, for all the surfaces.
I post the definition with my attempts, so I hope is clearer. planes_1.gh (221.2 KB)
Maybe I get your question wrong, but don’t you have them already? The purple group in the bottom. There are all “average” planes on the bottem curve or not?
Ok so your ‘‘boxes’’ would actually represent your nodes, there are a few ways to do this. but for all of them you would need connectivity information of your wireframe/mesh, i.e. Which panels lie on each of the nodes, so then you can average all of the panels normals connected to each node an then get your node normal this way. You can also weight each of the normals according to the area, there are some other criteria to do this.
You can use sandbox to get some basic connectivity trees and work your way up from there, Its also possible to do something with very basic code and native GH components for more complex surfaces. A simple way is just make a mesh and deconstruct it and you will get some vectors at each of the nodes with basic gh components, though I’m not exactly sure how it works I think it will give you something pretty close to what you’re looking for, which i think for academic purposes or simple single curvature surfaces are good enough and easier to digest. Please find attached a very quick, easy and simple solution, though not optimal
These are wrong because there are small segments. It is the same with the curves on top of the brep. If we manage to get rid of the small segments, your method is perfect.
Yep, you’re right David, I’m pretty sure that’s it!, this is easily solved when you have the original surface or take some time to rebuild the mesh/ panels / or wireframe.
As you suggest getting rid of the small segments would be an appropriate criteria for this specific thing, specially when only looking to get the orientation plane for the nodes. I was just trying to point in the right direction while also mentioning that there are other ways to do it depending on what you’re after and the geometry to analyze.