Shapediver output component ignoring transformations

Hi!

I want to use the ShapediverOutput component to visualize meshes with transformation lists attachted, as the tree structure of the output is very important. Unfortunately this output seems to ignore transformations attached to the meshes? Is that so?

Using the same meshes with the gltf output, gives me a correct result, but the meshes are in wrong order. As the meshes are generated from the transformations and are not present in the GH-definition yet, I also can’t attach custom attributes to the meshes where I could store order information (which I already have).

How would you solve this? Any help would be very appreciated. Thanks!

EDIT:

Ok, I think that answers my first question. But how can I attach meta info to meshes generated by transformations?

If I understand correctly, you would like to attach attributes to the individual instances defined by the transformations? Currently, we don’t offer a direct possibility to do this. However, the typical way to solve this would be to use a Direct Data Output component and output JSON data containing your meta info.

Thanks @snabela,

we are sending a list of origin points in the correct order as well now. This way we are able to identify the transformed meshes by origin, and therefore know the original order in the GH definition.

1 Like