Custom components with Cluster - definitions stop working when clustered

Hi!

I’ve been having some issues with the Cluster function. I’ve created a couple of staircase definitions that work fine when they’re unclustered (Images 1, 2, 3 and 4).

To prepare them for clustering, I removed the number sliders that controlled the inputs and replaced them with primitive params/cluster inputs, and tacked a geometry param/cluster output onto the end (images 5 and 6).

This is where it gets weird. At this point, when I try to use my clusters *in the grasshopper file where they were made*, the spiral staircase one works. Outside of that specific file, it doesn’t work (images 7 and 8).

The solid staircase cluster doesn’t work in any grasshopper environment, including the one where it was initially made (images 9 and 10).

In both cases I’ve made minimal edits to the definitions – just removing the initial number sliders, adding the cluster inputs/outputs, and attaching new number sliders to the resulting cluster. I’m not sure what’s creating the issue and I’d appreciate any advice!

SolidStaircase.gh (20.3 KB)

SpiralStaircase.gh (33.5 KB)

(if it’s handy at all, I’m working in Rhino 8 on windows)

Two things

  1. Attach a Panel to the output of the cluster, does it show the same output as what it showed pre-clustering?

  2. If it does, and you are unable to find the preview in rhino, then select the cluster > right click anywhere on the canvas > click on the ‘Zoom’ button. A new rhino file might mean that the numbers you are using for the cluster might be out of scale since units might be different. So the geometry is probably getting generated but its too tiny.