Hey guys thanks for the help. the node is working now.
@rajaa: that link for brep topology in the open nurbs structure is great! i never had a clue how those classes and things in the SDK are linked together. i wonder, why mcNeel isn't providing such information with the SDK, alltogether in a beatifully structured pdf, with nice links, colors and so on. is there an online repository where i can find all this (nurbs curve structure, breps, surfaces ...)? matthias On 20 Jan., 20:12, Rajaa <[email protected]> wrote: > Damien is right, > > It will be best if you use the Brep utility functions and functions in > OnBrep, OnBrepFace, etc. > > Also check the following page for samples (especially the > BrepSamples):http://en.wiki.mcneel.com/default.aspx/McNeel/Rhino4DotNetPlugIns.html > > Also check this page for Brep > topology:http://en.wiki.mcneel.com/default.aspx/McNeel/BrepStructure.html > > On Jan 20, 11:09 am, damien_alomar <[email protected]> wrote: > > > I don't think its as simple as just adding the surfaces. I haven't > > done any real B-Rep work, but there is a function in the SDK to join > > Breps, so I'd imagine that that method would be a better way to > > go....RhUtil.RhinoJoinBreps > > > -Damien > > > On Jan 20, 11:52 am, rompompom <[email protected]> > > wrote: > > > > Hi grasshoppers > > > > As a test for a node that joins surfaces to polysurfaces i tried to > > > understand how to add a surface to a brep. next planned step would be > > > to eliminate double edges within a certain tolerance. but the > > > following script just delivers a bunch of "invalid topology"s > > > > Sub RunScript(ByVal S1 As OnBrep, ByVal S2 As OnBrep) > > > > Dim bTmp As OnBrep : bTmp = New OnBrep() > > > > If S1.IsSurface Then bTmp.AddSurface(S1.m_S(0)) > > > If S2.IsSurface Then bTmp.AddSurface(S2.m_S(0)) > > > > A = bTmp > > > > End Sub > > > > ??? please help > > > matthias- Hide quoted text - > > > - Show quoted text -
