Assembler relies on the AssemblerLib.dll .NET library (written in C#). It is possible to use its methods and classes in custom scripts, in order to extend Assembler functionality and/or write your own selection criteria to grow an assemblage.

The Library documentation is available here:

This section will go through an example of using the library for programming your own custom criteria in Assembler.

Using an External Editor (Visual Studio or Visual Studio Code)

Instead of the standard Grasshopper script editor, you can use an external editor like Visual Studio. In fact, scripting examples are built to inject code in the scripted C# engine via Visual Studio or Visual Studio Code.

You need to install the following plugin from the PackageManager:

The 05-00_base 2 Objects_scripted engine.gh example file shows how to implement ScriptParasite with a custom C# engine component. See the ScriptParasite food4Rhino page for detailed plugin usage instructions.

Script anatomy

The core idea for customisation is the possibility to write your own computing and selection criteria. To do that, a custom Engine component must be created, using a C# Scripting Component.

Script setup

sender and receiver selection

advanced scripting 🚧