Gradient Not Displaying

I am using curve length to colorize with a gradient in grasshopper; it works perfectly in grasshopper but only one color will display in ShapeDiver. Here is a simplified version of the problem:
https://app.shapediver.com/m/color-test-3
color_test.gh (9.6 KB)

I recommend to use ShapeDiverDisplayGeometry component as it allows more advanced control over the rendering parameters and supports textures. In order to apply different materials you need to have a tree of geometry, a list can only have a single material. I updated your definition, have a look.

color_test_SDDisplay.gh (36.9 KB)

It’s also worth exploring the documentation page where you can find example files to play with. Our blog is good source of tips for efficient Grasshopper and ShapeDiver modelling too.

1 Like

Thank you for your response! Before seeing your response I figured out that applying a material to a list was the problem and came up with a more time intensive solution of separating each item out and applying the gradient. Not the best solution but it worked!
https://app.shapediver.com/m/emotion-temperament-1