Skip to content

rhinoscriptsyntax library for Python scripting engine that runs on both the Windows and OSX Rhino as well as Grasshopper

License

Notifications You must be signed in to change notification settings

mcneel/rhinoscriptsyntax

Repository files navigation

RhinoPython Scripts

This is the repository for the RhinoScriptSyntax. This is a library of python scripts used by the python scripting engine in Rhinoceros and Grasshopper. For details on using python, go to Rhino.Python including Guides, Samples and Documentation.

Discussions for help on using these scripts can be found at: Rhino Scripting Forum

Get Involved

There are many ways to contribute to this project:

Using the Source

You are going to need either:

Start Rhino and run EditPythonScript or RunPythonScript. This will cause the python plug-in for Rhino to unpack the scripts defined in this project to your computer. Every new build of Rhino5 contains the latest version of the scripts in this project. The scripts on this site can be updated in between new versions of Rhino, permitting for new python functions without waiting for a new Rhino build. This is when you may want to get the latest changes from here.

Here are some instructions on copying the python source code from this site to your local computer. http://python.rhino3d.com/threads/430-Wish-rs.PointClosestObject

Python 3

Use the tools/convert_py2to3.py to convert the python files under Scripts/ to python 3 compatible files under python3/. To do this using pipenv:

# one time only to setup pipenv environment and packages
pipenv install

# to convert the files
pipenv run convert

Authors

Steve Baer - https://github.com/sbaer steve@mcneel.com

Legal Stuff

Copyright (c) 2011 Robert McNeel & Associates. All Rights Reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software.

THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF MERCHANTABILITY ARE HEREBY DISCLAIMED.

Rhinoceros is a registered trademark of Robert McNeel & Associates.

Rhino Python

About

rhinoscriptsyntax library for Python scripting engine that runs on both the Windows and OSX Rhino as well as Grasshopper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages