I’m curious if it is possible to export multiple objects into one .vtkjs file. Ideally, I would like to export CFD data with volume representation, along with the confining geometry as a .stl file with surface representation. I’d want to export this into one .html file, and use Glance to view both the CFD results and the geometry at the same time.
I have a flow going through a narrow, then a wide, and then a narrow passage again. To visualize the case, the outer domain (ParaviewExample.stl) is clipped to show the inside of the domain. Inside the domain is CFD data, first converted to pointdata, resampled to image, clipped to show the high-velocity regions, and shown with the volume representation.
How can I export the clipped .stl file with surface representation and the clipped CFD volume representation into the same .vtkjs and .html file?
Ah, yes, volume representations is not typically exportable to surface-based scene formats, unfortunately. While the .vtkjs format could theoretically support volume data exports, I don’t believe that it does.
Altough, I can’t apply a clip filter to it, then it exports nothing again.
Should I conclude that it is the combination of a scene export of surface representation object, and a volume representation one, that is not possible?
It could be that some types of volume data, likely Image Data, are exported in volume representation, but not other types of volume data like unstructured grids with 3D cells.