# Probe Volume with Model Question

**URL:** <https://discourse.slicer.org/t/probe-volume-with-model-question/44765>\
**Category:** Support\
**Created:** [October 14, 2025, 9:33pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765 "2025-10-14T21:33:12Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![aceegreene](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@aceegreene](https://discourse.slicer.org/u/aceegreene)\
**Post date:** [October 14, 2025, 9:33pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765/1 "2025-10-14T21:33:12Z")

</div>

Hi everyone - I am struggling to understand what the probe volume with model module in Slicer does. When probing a model with a volume that has scalar values assigned to its entire volume, are the values ultimately seen on the model surface a representation of just the corresponding voxels that intersect with the volume at those positions or does it also take into account values on the interior of the volume i.e. beneath the surface as well when estimating what to show on the surface of the model?

I am not a coder so didn’t really understand what the source code does so thought I’d ask here. Thank you!

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [October 14, 2025, 9:48pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765/2 "2025-10-14T21:48:06Z")

</div>

It just looks up the pixel value at the location that corresponds with the location of each vertex of the model. You can then manipulate the view of that information with the scalars feature of the Models module.

---

<div class="post-metadata">

**Author:** ![aceegreene](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@aceegreene](https://discourse.slicer.org/u/aceegreene)\
**Post date:** [October 14, 2025, 11:59pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765/3 "2025-10-14T23:59:32Z")

</div>

Thank you! I have a follow up question. I am trying to map T2\* values from an MRI onto a model I created from a segmentation but if the module only generates surface values, then I am not sure of what utility that would be as I want data even from inside the volume. Is there a way to generate that?

As an aside, how are only surface values useful in other cases when using probe volume with model? I assumed you would need the volume’s internal data as well. Apologies if these are naive questions.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [October 15, 2025, 1:50pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765/4 "2025-10-15T13:50:20Z")

</div>

I’m not sure what you are trying to accomplish, but if you want a continuum mesh, you can use the SegmentMesher extension and then when you probe you will get the internal vertices too.

The module can be used for something like sampling an fMRI map on the surface of a subcortical structure or similar.

---

<div class="post-metadata">

**Author:** ![aceegreene](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@aceegreene](https://discourse.slicer.org/u/aceegreene)\
**Post date:** [October 15, 2025, 3:40pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765/5 "2025-10-15T15:40:34Z")

</div>

Thank you for that suggestion! I just tried using that extension with Cleaver but it unfortunately does not fully capture the details of my segmentation. Tetgen gives me an error saying command returns non-zero status.

I am working with a meniscus segmentation so need it to be fully replicated. Is that not possible with this tool? And is there an alternate way of completing this task after which I could import the file back as a solid model in Slicer to probe it with the volume?

Thanks!

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [October 15, 2025, 4:12pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765/6 "2025-10-15T16:12:04Z")

</div>

yes, cleaver and tetgen often don’t behave well. I tend to write python code to generate meshes using vtk which works well but there’s nothing packaged up for use.

There’s some experimental code here:

> **[SlicerSOFA/Experiments at main · pieper/SlicerSOFA](https://github.com/pieper/SlicerSOFA/tree/main/Experiments)**
>
> 3D Slicer extension to enable simulations using the SOFA framework - pieper/SlicerSOFA

---

<div class="post-metadata">

**Author:** ![aceegreene](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@aceegreene](https://discourse.slicer.org/u/aceegreene)\
**Post date:** [October 15, 2025, 5:05pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765/7 "2025-10-15T17:05:10Z")

</div>

Thank you for sharing this! Unfortunately I have no experience with coding. Is there something in the experimental codes that I could plug and play into Slicer’s python console to generate the mesh? Or any other way I could generate it (even if outside of Slicer)?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [October 15, 2025, 5:48pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765/8 "2025-10-15T17:48:41Z")

</div>

Meshing is a big complex topic, but gmsh is popular and you can easily move data back and forth once you get the hang of it.

---

<div class="post-metadata">

**Author:** ![aceegreene](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@aceegreene](https://discourse.slicer.org/u/aceegreene)\
**Post date:** [October 15, 2025, 10:03pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765/9 "2025-10-15T22:03:01Z")

</div>

Got it, I’ll try that. Thank you for your help!

---

<div class="post-metadata">

**Author:** ![aceegreene](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@aceegreene](https://discourse.slicer.org/u/aceegreene)\
**Post date:** [October 20, 2025, 1:57pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765/10 "2025-10-20T13:57:21Z")

</div>

Hi pieper. I was able to generate an accurate volumetric mesh from gmsh, thank you!

My ultimate goal is to 3d print this but it seems like there is no way to convert the volumetric vtk file to a volumetric printable format. Am I missing something or is there any other way to do this? Like using the volume directly to convert it to a printable format or something?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [October 20, 2025, 2:16pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765/11 "2025-10-20T14:16:45Z")

</div>

It depends on what your printer supports. Mostly people use stl files for this, but they only provide surface structure. More modern printers can accept bitmaps and the [SlicerFab](https://github.com/SlicerFab/SlicerFab) extension can help with that, but it’s still not a common process so that extension is not really maintained. I’m not sure it’s currently working.

---

<div class="post-metadata">

**Author:** ![aceegreene](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@aceegreene](https://discourse.slicer.org/u/aceegreene)\
**Post date:** [October 20, 2025, 3:20pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765/12 "2025-10-20T15:20:55Z")

</div>

I think the printer can support voxel level printing, I just can’t find a way to convert my volumetric mesh in 3D Slicer to a printable format that would contain internal scalar values. Do you know if any graphics or CAD softwares could do the conversion?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [October 20, 2025, 3:53pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765/13 "2025-10-20T15:53:18Z")

</div>

No, I don’t know of anything off the shelf that can do that. But everything you need is in Slicer if you just do some scripting something like what is done in SlicerFab.

---

<div class="post-metadata">

**Author:** ![aceegreene](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@aceegreene](https://discourse.slicer.org/u/aceegreene)\
**Post date:** [October 20, 2025, 3:57pm UTC](https://discourse.slicer.org/t/probe-volume-with-model-question/44765/14 "2025-10-20T15:57:06Z")

</div>

Got it, thanks so much!
