SpeckleAdmin icon indicating copy to clipboard operation
SpeckleAdmin copied to clipboard

Assiging Colors to objects in a stream

Open MaximilianFranz opened this issue 4 years ago • 0 comments

Step 0:

Expected Behaviour

When I create object using PySpeckle, I add a field color and expect the Three.js viewer to render it according to the code in the renderer, where the propert color contains hex and a.

I'd expect the object in the viewer to be colored.

Actual Behaviour

However, it is not. Instead, when looking at the stream directly at: https://hestia.speckle.works/api/streams/stream-id/objects, I see the color property is there, but it does not seem to be read.

What do I need to do differently for the viewer to find and parse colors assigned to objects?

Thanks in advance! Might just be me not fully understanding the API here, but would be glad to get some hint :)

MaximilianFranz avatar Aug 04 '20 11:08 MaximilianFranz