Implementation of the ShapeOp C++ framework in GHPython.
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dependencies
examples
src
.gitattributes
.gitignore
README.md

README.md

ShapeOpGHPython

Implementation of the ShapeOp C++ geometry processing library in Rhino/Grasshopper 64 Bit using GHPython and the Python standard foreign function library ctypes. The implementation has the following dependencies which will need to be installed on your system (see dependencies folder):

ghpython.gha
ShapeOp.dll
vcomp120.dll

Installing ghpython.gha

  1. Move the file to the Grasshopper Libraries folder (%appdata%\Grasshopper\Libraries).
  2. Unblock it (right-click the file -> Properties -> Unblock -> Ok).

Installing ShapeOp.dll and vcomp120.dll
You can either place these files in the default Windows folder (C:\Windows) or the Grasshopper Libraries folder. Remember to unblock the files in both cases. If you place the files in the Grasshopper libraries folder you need to do the following:

Add the Grasshopper Libraries folder path to the Windows path:

  1. Navigate to "Control Panel\System and Security\System".
  2. Click "Advanced System Settings".
  3. Click "Environment Variables".
  4. Append the Grasshopper Libraries folder path to the Path variable (in the System variables list).
  5. Restart Rhino.

Add the Grasshopper Libraries folder path to the RhinoPython paths list:

  1. In Rhino type in the command "EditPythonScript".
  2. In this Python editor go "Tools -> Options -> Files".
  3. Here you will see an overview of the directories which are currently referenced.
  4. Add a reference to the Grasshopper Libraries folder (it may be hidden, of so unhide it).

alt tag alt tag alt tag