Hi Damien, thanks a lot for the answer! in the meanwhile I already solved the problem by not using a Brep picked from rhino anymore, but one constructed in Grashopper. This grashopper Brep doesn´t have the section problem. Anyway, this definition you posted is always usefull!
thnx, Gilles On 23 Jan., 06:25, damien_alomar <[email protected]> wrote: > There isn't anything specifically that will close a curve, but you can > test and see if a curve is closed, split the list based on whether its > closed or not, create a line segment from the end points, join the > previously open curves and connecting lines, and merge the two streams > back together. The only thing about this is that the curves that were > open are now at the end of the list. That may not matter, but if you > were depending on that order being there, you may have to resort the > curves after they're all closed. > > 3dmhttp://grasshopper3d.googlegroups.com/web/closeGaps.3dm?hl=en > > ghxhttp://grasshopper3d.googlegroups.com/web/closeGaps.ghx?hl=en > > HTH > Damien > > On Jan 22, 6:06 am, GillesR <[email protected]> wrote: > > > > > > > Hi everbody, > > > I'm using grasshopper to calculate the GFA of a tower we're working > > on. The shape of the tower wasn't generated by grashopper and is a > > fairly complex polysurface, but perfectly closed (no gaps). It´s set > > in grasshopper as a Brep, and then I used this very simple setup to > > make sections for the floorplates. The strange thing is actually that > > it works for almost every floor to create closed curves for planar > > srf, except for some. When I take the same sections by hand in Rhino, > > all curves are perfectly closed. Anyone an idea how I should solve > > this? I know you can test whether curves are closed or not, but I have > > no idea how to actually close them... I should maybe do something with > > selecting the endpoints I guess, and then creating a line between > > them... > > > image: > > >http://grasshopper3d.googlegroups.com/web/close%20curves.jpg?gsc=WtWw...
