glance
glance copied to clipboard
Bug: Glance doesn't respect "ColorBy" property when loading STLs from URL
My team is encountering a very similar bug to #408 but the work-around proposed there isn't adequate for us: https://discourse.paraview.org/t/glance-file-generation-colorby-not-loading-solid-color-for-stl-files/15180
We need to programatically generate state.json files, to be opened by Glance, with meshes loaded from URLs in STL format and colored with a solid color of our choice. In the current version of Glance, we get the "attempt to set zero width color range" error mentioned in #408 and all loaded models show up in dark blue (minimum value of the "cool to warm" colormap).
Interestingly, in v3.5.10 of glance (hosted on https://pvw.kitware.com/glance/) the colorBy property is respected, but we encounter other bugs which make it unusable for us. We are currently looking at past releases and trying to find one that works for us.
I am attaching two .glance files. TieFighter.json is an example we found which works with both v3.5.10 and "nightly" versions (hosted at https://kitware.github.io/glance/app/) while colorby_bug.json only works with v3.5.10. The only difference is that TieFighter.glance loads a .obj file, while colorby_bug.glance loads a .stl file from a different url.