ScriptParasite for Grasshopper
(by arendvw)
Allows editing of Grasshopper C# and Python scripts in external editors such as VSCode, Visual Studio, Pycharm and Rider
Downloads:
4068
Support Email

ScriptParasite
Offers two-way synchronisation between a C# or Python script component and an external C# or python file.

When enabled, the script parasite component watches the C# component it’s grouped with, and writes the changes to the file [Nickname].cs in the selected folder. By default this is the folder “GrasshopperScripts” in my documents.

Installation

  • Rhino 8 using Package manager: Type the command PackageManager, and select ScriptParasite2

Getting started

  • Add the script component to the canvas. 
  • Drag from the top to connect to the C# script.
  • Set enabled to true
  • Head over to your My Documents\GrasshopperScripts
  • With Visual Studio Code: Open the folder.
  • With Visual Studio Community or Rider, open the GrasshopperScripts.csproj file.
  • That’s it!

Support
For support regarding this plugin, please do not use the comments below, but use the grasshopper and rhino forum at discourse.mcneel.com with the tag scriptparasite.

For bugs, please use the github issue tracker

Folders
The folder that is last successfully written to will be saved as the default export folder for all future times you use the component.

By default a .csproj is created for your if it does not exist.

Watching for changes
The following changes to the component are synced and written to the C# file:

  • Added /removed parameters (input/output)
  • Changed parameter name (input/output)
  • Changed parameter type and list type (input)

Supported IDE's

Python

  • Visual Studio Code for Python works automatically
  • Pycharm (Community): Needs manual configuration

Grasshopper for Mac
This plugin is reported to have been working for mac.

Source code / Licence / Contributing
The plugin is open source (MIT Licence) and available on Github. If you have suggestions or improvements, send an issue/pull request on github, and I'll get back to you.

Legacy versions
ScriptParasite 1 is no longer maintained, but still works for Rhino 6 and 7.

  • Rhino 7 on Windows using Package manager: Type the command PackageManager, and select ScriptParasite
  • Rhino 6 on Windows using Package manager: using the command TestPackageManager, and select ScriptParasite
  • Rhino 7 on Mac: download the rhino for mac .zip file, the packagemanger version is currently broken, and will be fixed in future releases.

 

Autor
Arend van Waart

Credits
Andrew Heumann, Anton Kerezov, Zac Zhang for kindly contributing code improvements

  • License Type:
Cost:
Downloads
Title
Description
Platform
 
ScriptParasite 2
2025-10-13
Grasshopper for Rhino 8 for Win
Grasshopper for Rhino 8 Mac
ScriptParasite 1.2.1 for Rhino 8 on Windows
2023-12-10
Grasshopper for Rhino 8 for Win
ScriptParasite 1.1.2 for Rhino 7 for Mac
2021-08-29
Grasshopper for Rhino 7 Mac
ScriptParasite 1.1.1 for Rhino 6 & Rhino 7 for Windows
2021-08-18
Grasshopper for Rhino 6 for Win
Grasshopper for Rhino 7 for Win
ScriptParasite 1.0.4
2020-11-06
Grasshopper for Rhino 4 & 5 for Win
Grasshopper for Rhino 6 for Win
Grasshopper for Rhino 7 for Win
Grasshopper for Rhino 5 Mac
Grasshopper for Rhino 6 Mac
Grasshopper for Rhino 7 Mac
ScriptParasite 1.0.1
2019-03-12
Grasshopper for Rhino 4 & 5 for Win
Grasshopper for Rhino 6 for Win
Grasshopper for Rhino 5 Mac
ScriptParasite 1.0.0
2018-12-21
Grasshopper for Rhino 4 & 5 for Win
Grasshopper for Rhino 6 for Win
Grasshopper for Rhino 5 Mac
Reviews