Skip to content

Artisan Grasshopper

Bespoke

4 components in Capsules › Bespoke.

Capsule Info

Writes <gh file name>.json next to the .gh file with the info, the merged schema and the configurator schema. Double-click to edit the stored info (name, description, tags, unique id, date).

Nickname: Capsule Info · Tab: Capsules › Bespoke

Inputs

NameNicknameTypeAccessDefaultDescription
EnabledEnabledBooleanitemtrueSet to false to compute the JSON without writing the file.
Info (optional)InfoTextitem—Optional info JSON: replaces the stored info record (double-click the component to edit that one).
Scheme (optional)SchemeTextlist—Scheme JSONs (from the readers’ Scheme outputs). Connect several: they are merged into one object.
Configurator Scheme (optional)ConfiguratorTextitem—Configurator scheme JSON. Empty writes {}.
Path (optional)PathTextitem—Optional file path. Defaults to the .gh file’s folder and name with a .json extension.

Outputs

NameNicknameTypeAccessDescription
JSONJSONTextitemThe design JSON.
PathPathTextitemPath of the written file.

Capsule Input

The input of a Knowledge Capsule: outputs the design record that arrives from Compute (or from a wired test panel; an empty record otherwise). Wire it into the readers. Compute finds it by its name, RH_IN:100:GLOBAL, with no group needed.

Nickname: RH_IN:100:GLOBAL · Tab: Capsules › Bespoke · Parameter — a single output and no inputs: it carries one value into the definition

Capsule Mode

The computation mode of a Knowledge Capsule: RENDER (default) or MANUFACTURING, as the backend sends it (or a wired test panel). Wire it into the Computation Mode inputs and into Capsule Output. Compute finds it by its name, RH_IN:000:MODE, with no group needed.

Nickname: RH_IN:000:MODE · Tab: Capsules › Bespoke · Parameter — a single output and no inputs: it carries one value into the definition

Capsule Output

The outputs of a knowledge capsule from its Parts: GLB (Base64), TECH (technical chart JSON), RESOLVED (the values the engine used, from the schemes the parts carry) and SEMANTIC (the piece in words). It sits in its own RH_OUT group, created on placement, so Compute publishes the four.

Nickname: Capsule Output · Tab: Capsules › Bespoke

Inputs

NameNicknameTypeAccessDefaultDescription
PartsPartsPartlist—Parts of the jewel: the Parts outputs of the geometry components, or Part components. Parts with the same path are joined.
Semantic (optional)SemanticTextlist—The piece in words: the Semantic component’s output, or the components’ Semantic outputs straight in (joined with a space).
Design Type (optional)Design TypeTextitemRINGDesign type written in the technical chart (RING, PENDANT, EARRING…).
Computation Mode (optional)Computation ModeTextitemRENDERRENDER (default) or MANUFACTURING: wire the Capsule Mode. In MANUFACTURING the STL of the metal parts comes out too.

Outputs

NameNicknameTypeAccessDescription
GLBGLBTextitemThe piece as a GLB, Base64 encoded: one node per part, named after it.
TECHTECHTextitemTechnical chart JSON: metal volume and weight per part, gems per part, the parts manifest.
RESOLVEDRESOLVEDTextitemFlat JSON of the values the engine used (<section>.<id>.<field>), from the schemes the parts carry.
SEMANTICSEMANTICTextitemThe piece in words.
STLSTLTextitemThe metal parts as one binary STL, Base64 encoded; only in MANUFACTURING mode (empty otherwise).