# Extracting a subnetwork from 3D volume

**URL:** <https://discourse.slicer.org/t/extracting-a-subnetwork-from-3d-volume/11570>\
**Category:** Support\
**Created:** [May 16, 2020, 3:21am UTC](https://discourse.slicer.org/t/extracting-a-subnetwork-from-3d-volume/11570 "2020-05-16T03:21:12Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Deepa](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/deepa/32/5634_2.png) [@Deepa](https://discourse.slicer.org/u/Deepa)\
**Post date:** [May 17, 2020, 7:29am UTC](https://discourse.slicer.org/t/extracting-a-subnetwork-from-3d-volume/11570/7 "2020-05-17T07:29:43Z")

</div>

@lassoan Thanks a lot. I’m looking for ways to do the above tasks programmatically (in Python) and I’d a chance to go through this information provided here

> [@Run Slicer in your web browser - as a Jupyter notebook or as a full application](https://discourse.slicer.org/t/run-slicer-in-your-web-browser-as-a-jupyter-notebook-or-as-a-full-application/11569):
>
> It has been possible to use Slicer from Jupyter notebooks but the most recent Slicer Preview Release takes this to a whole new level. [Click here to try a few example interactive notebooks now](https://mybinder.org/v2/gh/slicer/SlicerNotebooks/master) - or see a short video demonstrating the new features: [[Medical image processing in your web browser using Jupyter notebooks and 3D Slicer] ](https://www.youtube.com/watch?v=oZ3_cRXX2QM) Highlights: Improved interactive use You can now use IPython widgets (sliders, buttons, etc.) to control Slicer or adjust processing and visualization…

This is for Jupyter notebooks, I would like to have the above workflow in a script and run it in a server.

The input will be the tiff images and the output will be the stl file. I am not sure how the clipping can be  
done programmatically, so I wish to exclude that step for now.

Any help on how to set up the above workflow in Python will be of great help!

Thanks a lot

---

_[View the full topic](https://discourse.slicer.org/t/extracting-a-subnetwork-from-3d-volume/11570)._
