Rhino Python Examples

Hi,

Where i can find Rhino Python Examples
something like (openprocessing, where you can see both the code and its implementation)
any suggestions

I do not think such thing exists (yet).
Check mcneel wiki page for some tutorials where you could also see their results.
Also, from time to time users at grasshopper forum might post a photo or a video with python component usage. You could ask for a code preview.

1 Like

Also, see the list of examples in the RhinoCommon GitHub repository

1 Like

is there is something similar, for grasshopper python?

Found more at http://www.rhino3d.com/download/IronPython/5.0/RhinoPython101

Also, I’m sure I recently saw a document in which computational geometry in Rhino was explained with Python scripting and/or Grasshopper. But, I have not found it again! I’ll keep looking though…

I know about the primer,
I am interested more in geometrical implementations

Ah, got it.
http://www.rhino3d.com/download/rhino/5.0/EssentialMathematicsThirdEdition/

1 Like

Actually, i am looking for python examples

The Essential Mathematics contains a lot of examples using Grasshopper and Python.

not what i am looking for,
i am looking for something more/ geometrical, complete examples,something design/architecture related is preferred,
but not important, but at least working complete examples

I found this blog,

http://www.algorithmicdesign.net/

it have interesting examples,

but it seem like its in MonkeyScript,

Do you know what i need to convert it into Python

A little experience with both… Much is similar, but the syntax is somewhat different. It’s like asking what do I need to convert Italian into Spanish… A little knowledge of both languages is necessary.

You might also look here, I don’t know how it works…

–Mitch

Maybe it would help better, if you solved one example and show what you did to make it work

The best way would definitively be if you would learn the VBscript by yourself. You already know the rhinoscriptsyntax functions, and what most of them do - you just have to learn the VBscript syntax now.
This book will pretty much help you with that:
http://wiki.mcneel.com/developer/rhinoscript101

thank you, even its not helping

Hi, did anyone find some useful Python example for Rhino 3d modeling, such as ring or furniture.

Not specific for rings or furniture, but will include it:

  1. http://developer.rhino3d.com/5/api/RhinoScriptSyntax/win/
  2. http://developer.rhino3d.com/5/guides/#rhinopython
  3. http://developer.rhino3d.com/5/samples/#rhinopython

I’m seeing this thread quite late, but in case anyone else happens to stumble upon it looking for the same thing, this is a great little repository.

Best,
Eric

3 Likes

Wow, this is a gift that keeps on giving! It’s well worth also taking a look at the other site categories.
Do you know other great web resources like this (doesn’t have to be linked to Python)?