# Python script for converting nrrd to gltf

**URL:** <https://discourse.slicer.org/t/python-script-for-converting-nrrd-to-gltf/38101>\
**Category:** Development\
**Created:** [August 28, 2024, 8:56pm UTC](https://discourse.slicer.org/t/python-script-for-converting-nrrd-to-gltf/38101 "2024-08-28T20:56:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [August 29, 2024, 9:01am UTC](https://discourse.slicer.org/t/python-script-for-converting-nrrd-to-gltf/38101/4 "2024-08-29T09:01:41Z")

</div>

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.

> [@New extension: Fully automatic whole-body CT segmentation in 2 minutes using TotalSegmentator](https://discourse.slicer.org/t/new-extension-fully-automatic-whole-body-ct-segmentation-in-2-minutes-using-totalsegmentator/26710):
>
> The [TotalSegmentator AI model is now available as an extension for 3D Slicer](https://github.com/lassoan/SlicerTotalSegmentator#totalsegmentator) version 5.2 and above (see installation instructions [here](https://github.com/lassoan/SlicerTotalSegmentator#setup)). A large number of AI segmentation models have been developed over the past few years, but [TotalSegmentator](https://github.com/wasserth/TotalSegmentator) stands out in several aspects: it can segment many structures: 104 anatomical structures (all abdominal organs, bones, larger vessels, muscles) it is very robust: it can segment any whole-body, abdominal, chest CT images, regardless of image…

> [@New extension: MONAI Auto3DSeg - raise the bar in AI medical image segmentation](https://discourse.slicer.org/t/new-extension-monai-auto3dseg-raise-the-bar-in-ai-medical-image-segmentation/35680):
>
> New extension: MONAI Auto3DSeg - raise the bar in AI medical image segmentation MONAI Auto3DSeg extension is a collaboration between MONAI and 3D Slicer developer teams (led by Andres Diaz Pinto - NVIDIA and Andras Lasso - PerkLab) to improve on the state-of-the-art in fully automatic 3D medical image segmentation and make the results widely accessible. The extension comes with dozens of pre-trained segmentation models for specific clinical use cases, which are designed to be fast and run anywh…

---

_[View the full topic](https://discourse.slicer.org/t/python-script-for-converting-nrrd-to-gltf/38101)._
