Skip to content

PillScript 0.4.1

Choose a tag to compare

@mateuszzwierzycki mateuszzwierzycki released this 04 Oct 00:18
· 5 commits to master since this release

PillScript is a C# script component for Grasshopper in Rhino 8.

Download the .yak below, put it in a folder of its own, and install it from there:

"C:\Program Files\Rhino 8\System\Yak.exe" install --source C:\path\to\the\folder pillscript

Restart Rhino afterwards. The package is not on the Rhino package server, so the Package
Manager will not find it by name. Adding the same folder to
Rhino.Options.PackageManager.Sources under Options > Advanced lists it there beside the
public packages.

Windows, Rhino 8.30 or newer. The editor runs in the WebView2 runtime that Rhino 8 installs
for its own interface.

Tree inputs of a plain type receive their data

An input declared as DataTree<Curve>, DataTree<string> or a DataTree of any other type with
its own Grasshopper parameter arrived empty in every earlier version, with no message on the
component. Only GH_Structure<IGH_Goo> and DataTree<object> carried the tree. The component asked
Grasshopper for the tree as plain goo, and Grasshopper hands a tree over only in the exact goo type
the parameter holds, which for a Curve input is GH_Curve. The tree is now read from the input
itself and each item converted. An empty branch now stays in the tree, where before it disappeared
from a DataTree.

Verified in Rhino 8: three grafted lines into DataTree<Curve> arrive as three branches of one
LineCurve, three panel lines into DataTree<string> arrive as one branch of three strings, and
the same text into DataTree<double> gives one empty branch and a warning naming the input.