Rhinoscript source


#1

Is the source code for Rhinoscripts available for review somewhere? There are some rhinoscript methods I am trying to convert to .net and I thought the source might give me some insight.

Thanks,
Don


(Steve Baer) #2

There are a bunch of Rhinoscript samples here
http://wiki.mcneel.com/developer/rhinoscript
and here


#3

@stevebaer I’m not looking for sample rhinoscripts, but the source code for a rhinoscript method. (i.e. Rhino.ExtrudeCurveTapered)


(Pascal Golay) #4

Hi Don- running the Python version of the rs functions with break points in the Python editor will allow you to see the Rhino Common functions used - not sure if that is useful for what you want.

-Pascal


(Steve Baer) #5

Ah, that code is not currently available and is written in C++. You may find this useful though
https://github.com/mcneel/rhinopython/tree/master/scripts/rhinoscript
These are the python equivalent functions to RhinoScript that use RhinoCommon


#6

@Pascal Thanks for the tip!

@Stevebaer C++ is so last year!!! :wink: Thanks for the link, I’ll see what I can learn from there!