I've been holding off on this for a few weeks, but I guess I'll say something about it now. I'm currently in the process of writing a Rhinoscript to Grasshopper Scripting Manual that should help a lot of the Rhinoscripters out there get used to coding within GH. Since GH uses the SDK, and there's no real resource for that other than the dotNET helpfile (which isn't that helpful). A great deal of the manual is devoted to introducing the various aspects of the SDK, OOP principles, and syntax differences between VBscript and VB.Net. Of course there will be code that goes along with this, and the idea is to have Rhinoscript presented along side Grasshopper code so that you can see how doing something in Rhinoscript looks within Grasshopper. At some point, I would like to extend this to C# and Python, but I'm not worrying about it for the first go around.
Right now I don't have a specific timetable on this, but I'm hoping to have something substantial enough to get out there in a few weeks (London Shape to Fabrication hopefully). Hopefully this is something thats of interest to the community. Best, Damien On Mar 20, 7:00 am, baldino <[email protected]> wrote: > i had the same problem as you, i was used to script in vba in autocad > (more or less like rhinoscript) - but if you want to script in vb.net > for such things as loops or create multidimensional arrays for > lofting, it is not difficult to do so, just handle the type data > you're familiar with inside a vb.net component and let GH draw > geometry with this info... i hope i am not confusing here, but believe > me when i say that for simple stuff (especially looping), vb.net is > not that hard. > a good start:http://www.programmersheaven.com/2/VB-NET-School > > On Mar 20, 10:39 am, sprungwurm <[email protected]> wrote: > > > thanks david, > > > after posting my question i did some research and realized that many > > other people asked similar things like me. sorry for that. > > i also did some research on vb.net and i think it will take me too > > much time to learn it properly. > > this incompatibility is a real pity. > > for me as an architect and not an it-professional it's not worth > > learning such complex languages. okay soon or late it would be > > an advantage but then it's still much slower to get results than with > > rhinoscript i reckon. > > > the advantages i saw in rhinoscript: > > - it contains almost all the commands of rhino, which people like me > > know compared to vb.net "commands" which makes it easy to work with > > - the handling with loops and arrays(especially multidimesional) is > > much easier (once you know how to do it!) > > - the combination made it so powerfull > > > when i did the rhinoscript class i tried to do most of the exercises > > in grasshopper aswell and it was quite limiting. > > but now with every new release it's getting better, and i'm looking > > forward to the point when grasshopper has also implemented most > > of the rhinocommands. i'm sure it has the potential to be as powerfull > > as mayascript or GenerativeComponents (sorry when i compare but it's > > happening quite often at uni) > > but within the rhino interface (which is a big advatage!). > > > So thanks very much for the fast answer and keep working ;-) > > > patrick
