I’m sure there is a very simple solution to this,
but i have tried for hours to no avail.
I intersected my imported STP nurb surface file with a plane (brep | plane),
and got a list of 5 different planar curves which, for the life of me,
i cannot join.
I need them to join because i eventually require a consecutive list co-ordinates around the entire surface intersection of the part.
Seems like your STP geometry is open. That polysurface is not closed.
On rhino, select it and use the “Show edges” command and select the “naked edges” option.
Is it closed?
Thanks Riccardo, but I had already used rhino’s join command to join all the surfaces.
The confirmation msg was “18 surfaces or polysurfaces joined into one closed polysurface.”
I also used the brep join component but it didn’t make a difference.
is actually a problem…
but without analyzing the data directly is difficult to tell.
If you want, you can send me via private message the geometry.
(nobody is truly interested of a random geometry in the web… i’m more interested on the problem here)
Or, at least, attach here the curves resulting of the Brep-Plane intersection.
Just the section curve… that should not be a problem.
Your curves don’t touch each-other! if you zoom in enough you’ll see it directly on screen.
Almost certainly because the original solid geometry has gaps, maybe it was made with low accuracy or the exportation to rhino lost some details.
On rhino, if you use the command “Join” and select the curves 1 by 1, rhino will trigger a message and ask if you want to join even with large gap. (If you select all them at once it will just silently fail).
I’ve made a simple c# join curve with custom tolerance:
private void RunScript(List<Curve> C, double t, ref object A)
{
A = Rhino.Geometry.Curve.JoinCurves(C, t);
}
Edit: i guess, if you explode your “closed” solid and then launch “Rebuild edges” command, you won’t be able to join it back again in a closed polysurface.
Riccardo you star, thank you.
You were perfectly right.
I checked the end and start points of those planar curves, and about 4 decimals down, they were microscopically different.
Seems like it happens when importing my igs files into rhino. The surfaces of solids don’t all meet up edge to edge.
So I tried another format, and rhino read it as a fully closed solid, and all my planar curves were closed.
And your definition worked too!
thank you thank you