Python script for converting nrrd to gltf

For this you will need to segment the structures and then export the closed surface to GLTF.

Here are two extensions that can do automatic segmentation. The TotalSegmentator video includes GLTF export as well towards the end.