Matthias, You've got to realize that the SDK is by developers, for developers. Its just recently (I'd say in the last 9 months) that there's been a increasing interest in the SDK from the "non-programmer" contingent. Its not that developers have a 6th sense, but since that's their main focus, they have more experience, are able to get into it easier, and figure stuff out through a few tests. Since most of the "non- programmers" coming to the SDK are scripters and most have gotten into Rhinoscript with David's Rhinoscript 101 (guilty on both accounts here) there's A) the expectation of a nicely graphical, easy to understand PDF to get our feet wet and B) there's very little, if any, familiarity with object oriented programming practices. From my experience, its really B that's the biggest trip up in the long run. Once you can understand the class hierarchy, inheritance, abstract classes, and the which classes are really the most useful, then you can really get going with the SDK. The documentation of the SDK has been brought up a few times, and every time I mention it to one of the developers, they've said that its something that they'd like to do. However, I don't think there's going to be something like RhinoScript 101 rolled out.
The main thing is to ask questions when you have them. This group is probably not the best place to ask SDK questions, since there are very few people with the knowledge to answer them. Post on the Plugins Newsgroup and you'll probably get answers a little quicker there. Also, seeing other people's questions are good as well. Lastly, I'd suggest you download Visual Studio (the express edition of VB.NET is free) if you want to work with .NET. The main reason is that its much easier to work on things in that development environment than to do it all in the VB component. With VS you get a ton more stuff and can debug which makes a world of difference. With in a scripting component, it just fails, with very little information about what failed, why and where. Visual Studio will give much more robust feedback which can be very useful when just starting out. HTH, Damien On Jan 27, 5:08 am, rompompom <[email protected]> wrote: > 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 -
