Skip to content

Releases: anthonyesau/rhino-gh-kit

Script Forge 0.4.5-beta

Pre-release

Choose a tag to compare

@anthonyesau anthonyesau released this 13 Sep 20:40
  • A multi-line description can now be laid out as multiple lines in the header, instead of one long string with \n escapes buried in it. Write it as an array of strings — one element per line, an empty element for a blank line — and the tooltip comes out identical. description only; every other key still takes a plain string. Existing headers are unaffected.

Script Forge 0.4.4-beta

Pre-release

Choose a tag to compare

@anthonyesau anthonyesau released this 03 Sep 22:12

The @component header no longer cares about case. Existing headers are unaffected.

  • Keyword values match case-insensitively — "access": "Tree" was the last holdout; type, language and exposure already did.
  • Fixes a silent one too: a mixed-case access could build an item param from a header that meant tree.
  • Keys match case-insensitively: "VariableName", "variableName", "variablename" are one slot.
  • Unknown keys still ignored, but now say so — KEY WARNING: header: unknown key 'nickanme' — ignored. Not an error; the component still forges.
  • New error: two keys of one object differing only in case ("name" and "Name"). JSON allows it; nothing says which you meant.

Script Forge 0.4.3-beta

Pre-release

Choose a tag to compare

@anthonyesau anthonyesau released this 03 Sep 12:38

Script Forge now installs on Rhino 8 SR21 and newer, on macOS and Windows
alike. The package was previously tagged rh8_34, so Yak refused it below SR34;
this release is tagged rh8_21.

Nothing about the component's behaviour changed — the same source, built against
an older Grasshopper SDK.

Why SR21 and not further back

Two independent limits, and the floor is the higher of them:

  • SR18 — the script-component API. Script Forge writes a component's source
    through RhinoCodePlatform.GH.IScriptComponent, and sets type hints and
    defaults through ScriptVariableParam.TypeHints.Select and
    SetPersistentData. That surface shipped in SR18. Before it the interface was
    IScriptObject, its Text was read-only, and there was no writable source
    API at all — so no amount of fallback makes a forge work below SR18.
  • SR20 — the .NET host. Rhino installs and defaults to the .NET 8 runtime
    from 8.20 onward; 8.12–8.19 run .NET 7 unless a user has separately installed
    .NET 8. ScriptForge.gha targets net8.0, so it loads reliably only from
    8.20.

NuGet publishes no stable Grasshopper 8.20 package — only release candidates —
so SR21 is the nearest honest floor. Targeting net7.0 instead would reach
SR18, since a net7.0 assembly runs on both hosts, but that trades an
out-of-support target framework for two service releases and is deliberately not
done.

Script Forge 0.4.2-beta

Pre-release

Choose a tag to compare

@anthonyesau anthonyesau released this 30 Aug 23:07