# Development

**URL:** https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=3

[Latest](https://discourse.slicer.org/latest.md) · [Categories](https://discourse.slicer.org/categories.md) · [Tags](https://discourse.slicer.org/tags.md)

**Page:** 4

---

## [3D views synchronized using python](https://discourse.slicer.org/t/3d-views-synchronized-using-python/45423)

<div class="topic-metadata">

**Author:** [@PimBeentjes](https://discourse.slicer.org/u/PimBeentjes)\
**Replies:** 5\
**Last updated:** [December 15, 2025, 1:46pm UTC](https://discourse.slicer.org/t/3d-views-synchronized-using-python/45423 "2025-12-15T13:46:01Z")

</div>

I am doing an VR/AR project in 3Dslicer, we open multiple 3D views, for example the black views shown in the image. We also have the blue 3D. We can now synchronize them in slicer by pressing the two interlooped circles,…

---

## [Additional module path disappears after restart](https://discourse.slicer.org/t/additional-module-path-disappears-after-restart/45357)

<div class="topic-metadata">

**Author:** [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Replies:** 11\
**Last updated:** [December 10, 2025, 12:02am UTC](https://discourse.slicer.org/t/additional-module-path-disappears-after-restart/45357 "2025-12-10T00:02:25Z")

</div>

I am adding a new module directory via application settings, but after restart, the added directory disappears. There are no errors relevant to this during application startup. I observe this with both 5.10 and nightly. …

---

## [There is an error when create a segment from numpy array](https://discourse.slicer.org/t/there-is-an-error-when-create-a-segment-from-numpy-array/45371)

<div class="topic-metadata">

**Author:** [@zhutouzjq](https://discourse.slicer.org/u/zhutouzjq)\
**Replies:** 3\
**Last updated:** [December 9, 2025, 2:32am UTC](https://discourse.slicer.org/t/there-is-an-error-when-create-a-segment-from-numpy-array/45371 "2025-12-09T02:32:02Z")

</div>

hellow, everyone. i want to creat a segment from a numpy array. and i found the python code in script repository as following. volumeNode = getNode('MRHead') segmentationNode = getNode('Segmentation') segmentId = segme…

---

## [SAM 2 with video support](https://discourse.slicer.org/t/sam-2-with-video-support/37717)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.slicer.org/u/dzenanz)\
**Replies:** 13\
**Last updated:** [December 7, 2025, 7:48am UTC](https://discourse.slicer.org/t/sam-2-with-video-support/37717 "2025-12-07T07:48:49Z")

</div>

Meta’s Segment Anything Model 2 was announced last week. Are there any thoughts about its applicability to 3D images?

---

## [What is the event to react to a point location being changed in a MarkupsNode/MarkupsLineNode?](https://discourse.slicer.org/t/what-is-the-event-to-react-to-a-point-location-being-changed-in-a-markupsnode-markupslinenode/45307)

<div class="topic-metadata">

**Author:** [@Victor\_Wayne](https://discourse.slicer.org/u/Victor_Wayne)\
**Replies:** 3\
**Last updated:** [December 4, 2025, 10:34am UTC](https://discourse.slicer.org/t/what-is-the-event-to-react-to-a-point-location-being-changed-in-a-markupsnode-markupslinenode/45307 "2025-12-04T10:34:02Z")

</div>

Hi, To react to a point location being changed in a MarkupsLineNode I’ve been using PointModifiedEvent and I am calling one function whenever the location of a point changes. However my callback function is being called…

---

## [How to get the IJK coordinate of a fiducial node in 3d slicer development](https://discourse.slicer.org/t/how-to-get-the-ijk-coordinate-of-a-fiducial-node-in-3d-slicer-development/45362)

<div class="topic-metadata">

**Author:** [@zhutouzjq](https://discourse.slicer.org/u/zhutouzjq)\
**Replies:** 3\
**Last updated:** [December 4, 2025, 3:17am UTC](https://discourse.slicer.org/t/how-to-get-the-ijk-coordinate-of-a-fiducial-node-in-3d-slicer-development/45362 "2025-12-04T03:17:32Z")

</div>

thank the help provided by jamesobulter and cpinter, now i can successfully choose the fiducial in myself extension. but i fail to get the ijk coordinate of this fudicial node in my extension. i can only get the ras …

---

## [Slicer build factory speed](https://discourse.slicer.org/t/slicer-build-factory-speed/45358)

<div class="topic-metadata">

**Author:** [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Replies:** 1\
**Last updated:** [December 3, 2025, 10:43pm UTC](https://discourse.slicer.org/t/slicer-build-factory-speed/45358 "2025-12-03T22:43:12Z")

</div>

It is now past 12p on the west coast (meaning half of the workday in US is gone), and the builds for today’s slicers are still not finished (Macos extensions are still ongoing). I am looking at the logs and it is looking…

---

## [Writing a Scripted Subject Hierarchy Plugin -- documentation lacking](https://discourse.slicer.org/t/writing-a-scripted-subject-hierarchy-plugin-documentation-lacking/45252)

<div class="topic-metadata">

**Author:** [@shai-ikko](https://discourse.slicer.org/u/shai-ikko)\
**Replies:** 2\
**Last updated:** [December 3, 2025, 4:18pm UTC](https://discourse.slicer.org/t/writing-a-scripted-subject-hierarchy-plugin-documentation-lacking/45252 "2025-12-03T16:18:40Z")

</div>

Hi, Recently I’ve been writing an internal-use Subject Hierarchy plugin. I ran into some difficulties that stem, IMO, from lacking documentation, so I want to share what I’ve learned with a view to getting some comments…

---

## [Specific reason for using WinMain instead of main?](https://discourse.slicer.org/t/specific-reason-for-using-winmain-instead-of-main/45235)

<div class="topic-metadata">

**Author:** [@codeling](https://discourse.slicer.org/u/codeling)\
**Replies:** 0\
**Last updated:** [November 26, 2025, 10:56am UTC](https://discourse.slicer.org/t/specific-reason-for-using-winmain-instead-of-main/45235 "2025-11-26T10:56:02Z")

</div>

I just discovered that Slicer is using int \_\_stdcall WinMain(…) on Windows (basically since forever, as far as I can tell). From what I can tell, WinMain is just a wrapper making it easier for Windows-targeted developme…

---

## [How to react to a segmentation node being changed using cut, erase, paint?](https://discourse.slicer.org/t/how-to-react-to-a-segmentation-node-being-changed-using-cut-erase-paint/45201)

<div class="topic-metadata">

**Author:** [@Victor\_Wayne](https://discourse.slicer.org/u/Victor_Wayne)\
**Replies:** 4\
**Last updated:** [November 24, 2025, 5:55am UTC](https://discourse.slicer.org/t/how-to-react-to-a-segmentation-node-being-changed-using-cut-erase-paint/45201 "2025-11-24T05:55:24Z")

</div>

Hello, How can I react to a segmentation node being changed using the cut, erase and paint capabilities of the segmentation extension? At first I tried to attach slicer.vtkMRMLSegmentationNode.SegmentationChangedEvent t…

---

## [How to detect MRI file being loaded?](https://discourse.slicer.org/t/how-to-detect-mri-file-being-loaded/45079)

<div class="topic-metadata">

**Author:** [@Victor\_Wayne](https://discourse.slicer.org/u/Victor_Wayne)\
**Replies:** 8\
**Last updated:** [November 21, 2025, 9:40am UTC](https://discourse.slicer.org/t/how-to-detect-mri-file-being-loaded/45079 "2025-11-21T09:40:31Z")

</div>

Hello, I need to log the header of the MRI file. How can I detect if an MRI file is loaded in slicer? Thanks for your help.

---

## [Adding an Extension/Module](https://discourse.slicer.org/t/adding-an-extension-module/45158)

<div class="topic-metadata">

**Author:** [@elisedl1](https://discourse.slicer.org/u/elisedl1)\
**Replies:** 1\
**Last updated:** [November 20, 2025, 4:27am UTC](https://discourse.slicer.org/t/adding-an-extension-module/45158 "2025-11-20T04:27:48Z")

</div>

Is it possible to build an extension package and add it to the Extension Manager to be publicly available for installation? I currently have a developed module that is locally integrated or can be integrated via cloning …

---

## [Custom 3D Slicer does not accept url functions](https://discourse.slicer.org/t/custom-3d-slicer-does-not-accept-url-functions/44194)

<div class="topic-metadata">

**Author:** [@nicofutur8](https://discourse.slicer.org/u/nicofutur8)\
**Replies:** 5\
**Last updated:** [November 14, 2025, 8:28pm UTC](https://discourse.slicer.org/t/custom-3d-slicer-does-not-accept-url-functions/44194 "2025-11-14T20:28:14Z")

</div>

Hello everyone! I’m testing a custom build of Slicer but, when I got into URLs functions (because I want to open slicer via browser with “slicer://”) it doesn’t seem to recognize them and nothing happens at all. Could …

---

## [How to set the .ini file's entries beofre build?](https://discourse.slicer.org/t/how-to-set-the-ini-files-entries-beofre-build/45078)

<div class="topic-metadata">

**Author:** [@Victor\_Wayne](https://discourse.slicer.org/u/Victor_Wayne)\
**Replies:** 0\
**Last updated:** [November 14, 2025, 10:21am UTC](https://discourse.slicer.org/t/how-to-set-the-ini-files-entries-beofre-build/45078 "2025-11-14T10:21:17Z")

</div>

Hello, I am currently using \`slicer.app.slicerUserSettingsFilePath()\` function to get the .ini file path when slicer is running and setting some entries. For example I set NumberOfFilesToKeep entry in the logging sectio…

---

## [qMRMLSubjectHierarchyComboBox: Setting noneDisplay from Python segfaults](https://discourse.slicer.org/t/qmrmlsubjecthierarchycombobox-setting-nonedisplay-from-python-segfaults/45052)

<div class="topic-metadata">

**Author:** [@shai-ikko](https://discourse.slicer.org/u/shai-ikko)\
**Replies:** 4\
**Last updated:** [November 14, 2025, 9:27am UTC](https://discourse.slicer.org/t/qmrmlsubjecthierarchycombobox-setting-nonedisplay-from-python-segfaults/45052 "2025-11-14T09:27:22Z")

</div>

Hi, I’m trying to write a SegmentEditorEffect to apply a mask to all volumes in a study (related to Applying manipulations to all volumes in a study ). I want the result to go into a study, so where MaskVolume has a vol…

---

## [Is there any plug-in or supplementary program in 3D slicer that can automatically delineate and distinguish subcutaneous fat, visceral fat and skeletal muscle in CT?](https://discourse.slicer.org/t/is-there-any-plug-in-or-supplementary-program-in-3d-slicer-that-can-automatically-delineate-and-distinguish-subcutaneous-fat-visceral-fat-and-skeletal-muscle-in-ct/32139)

<div class="topic-metadata">

**Author:** [@IrisFang](https://discourse.slicer.org/u/IrisFang)\
**Replies:** 2\
**Last updated:** [November 13, 2025, 2:38am UTC](https://discourse.slicer.org/t/is-there-any-plug-in-or-supplementary-program-in-3d-slicer-that-can-automatically-delineate-and-distinguish-subcutaneous-fat-visceral-fat-and-skeletal-muscle-in-ct/32139 "2025-11-13T02:38:41Z")

</div>

As the title, I hope to find a plug-in that can automatically identify the fat and skeletal muscle components of a certain layer in CT or MRI through 3D slicers, and can tell me the corresponding area or volume. If some…

---

## [Release of Slicer 5.10 in progress](https://discourse.slicer.org/t/release-of-slicer-5-10-in-progress/44994)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 2\
**Last updated:** [November 10, 2025, 7:29pm UTC](https://discourse.slicer.org/t/release-of-slicer-5-10-in-progress/44994 "2025-11-10T19:29:30Z")

</div>

We’ve temporarily disabled regular Preview and Stable builds of Slicer (and associated extensions) while we prepare the Slicer 5.10 Stable release. The Slicer repository will be tagged tomorrow, and the release process …

---

## [Maintenance of macOS dashboard in progress - upgrading from Ventura to Sequoia](https://discourse.slicer.org/t/maintenance-of-macos-dashboard-in-progress-upgrading-from-ventura-to-sequoia/44950)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 3\
**Last updated:** [November 8, 2025, 5:28am UTC](https://discourse.slicer.org/t/maintenance-of-macos-dashboard-in-progress-upgrading-from-ventura-to-sequoia/44950 "2025-11-08T05:28:20Z")

</div>

The macOS system named “computron” has been upgraded from 13.7.5 (Ventura) to 15.7.1 (Sequoia). While we finish updating the build tools and Qt dependencies , macOS builds of Slicer and extensions are temporarily unavai…

---

## [Issues loading module to slicer](https://discourse.slicer.org/t/issues-loading-module-to-slicer/44929)

<div class="topic-metadata">

**Author:** [@mohammed\_alshakhas](https://discourse.slicer.org/u/mohammed_alshakhas)\
**Replies:** 4\
**Last updated:** [November 7, 2025, 11:54am UTC](https://discourse.slicer.org/t/issues-loading-module-to-slicer/44929 "2025-11-07T11:54:27Z")

</div>

im developing module for in python using ai vibe coding . i had incredibly hard time to create / maintain loadable module . first one was loadable then stopped after some iteration not related to the matter itself . i f…

---

## [Annotation -\> Markups: disable line shading?](https://discourse.slicer.org/t/annotation-markups-disable-line-shading/44978)

<div class="topic-metadata">

**Author:** [@codeling](https://discourse.slicer.org/u/codeling)\
**Replies:** 0\
**Last updated:** [November 6, 2025, 2:17pm UTC](https://discourse.slicer.org/t/annotation-markups-disable-line-shading/44978 "2025-11-06T14:17:52Z")

</div>

Lines in the annotation module were rendered flat, i.e. without shading. The lines from the Markups module are now shaded by default. Is there a possibility to configure flat shading for these? I have searched, but curr…

---

## [When will 3D Slicer support Qt 6?](https://discourse.slicer.org/t/when-will-3d-slicer-support-qt-6/44319)

<div class="topic-metadata">

**Author:** [@Vincent](https://discourse.slicer.org/u/Vincent)\
**Replies:** 7\
**Last updated:** [November 5, 2025, 4:21am UTC](https://discourse.slicer.org/t/when-will-3d-slicer-support-qt-6/44319 "2025-11-05T04:21:03Z")

</div>

First of all, thank 3D Slicer developers so much for working on supporting Qt 6. When will 3D Slicer support Qt 6? Will 3D Slicer support Qt 6 in 2025 ?

---

## [qSlicerWebWidget crash on Slicer built on Win 10 Pro x64](https://discourse.slicer.org/t/qslicerwebwidget-crash-on-slicer-built-on-win-10-pro-x64/18852)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 5\
**Last updated:** [November 3, 2025, 6:17am UTC](https://discourse.slicer.org/t/qslicerwebwidget-crash-on-slicer-built-on-win-10-pro-x64/18852 "2025-11-03T06:17:35Z")

</div>

Hi. I compiled Slicer from source following the instructions here on debug mode. When I run these lines Slicer crashes: ww = slicer.qSlicerWebWidget() ww.url = 'http://www.google.com' Does this mean that the compilati…

---

## [Pythonslicer.exe interpreter , imports can t be resolved](https://discourse.slicer.org/t/pythonslicer-exe-interpreter-imports-can-t-be-resolved/44914)

<div class="topic-metadata">

**Author:** [@ThizizBachir](https://discourse.slicer.org/u/ThizizBachir)\
**Replies:** 0\
**Last updated:** [October 29, 2025, 5:13pm UTC](https://discourse.slicer.org/t/pythonslicer-exe-interpreter-imports-can-t-be-resolved/44914 "2025-10-29T17:13:58Z")

</div>

Operating system: windows 11 Slicer version:5.8.1 Expected behavior: when using pythonslicer.exe as an interpreter in vs code, it should be aware about the location of the imports that the interpreter use as slicer , v…

---

## [How to rename segment name or segmentation IDs by label in \`ImportLabelmapToSegmentationNode\`?](https://discourse.slicer.org/t/how-to-rename-segment-name-or-segmentation-ids-by-label-in-importlabelmaptosegmentationnode/44888)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 2\
**Last updated:** [October 29, 2025, 2:38am UTC](https://discourse.slicer.org/t/how-to-rename-segment-name-or-segmentation-ids-by-label-in-importlabelmaptosegmentationnode/44888 "2025-10-29T02:38:27Z")

</div>

Howto rename segment name or segmentation IDs by label instead of color in ImportLabelmapToSegmentationNode? 我发现有时候会返回标签, 有时候却返回颜色…怎么控制呢? 为何用颜色作为默认命名而不是标签呢? 我觉得后者更有意义啊 I noticed that sometimes it returns labels, and s…

---

## [Tmj viewer module](https://discourse.slicer.org/t/tmj-viewer-module/44882)

<div class="topic-metadata">

**Author:** [@mohammed\_alshakhas](https://discourse.slicer.org/u/mohammed_alshakhas)\
**Replies:** 2\
**Last updated:** [October 25, 2025, 3:39pm UTC](https://discourse.slicer.org/t/tmj-viewer-module/44882 "2025-10-25T15:39:31Z")

</div>

im working on modeule for view tmj images especially mri . code vibing , zero coding skills or knowledge now im at point of doing dual sagittal view and im trying to have independet slice intersection . the idea to…

---

## [Repurpose an existing module](https://discourse.slicer.org/t/repurpose-an-existing-module/44767)

<div class="topic-metadata">

**Author:** [@mohammed\_alshakhas](https://discourse.slicer.org/u/mohammed_alshakhas)\
**Replies:** 4\
**Last updated:** [October 25, 2025, 2:53pm UTC](https://discourse.slicer.org/t/repurpose-an-existing-module/44767 "2025-10-25T14:53:16Z")

</div>

Im completely novice and have zero coding skills . I’m planning to start coding a module . One for TMj viewer and possibly another one dedicated for Clipping segmentation. It’s partially a need and partially a fun pr…

---

## [Sending commands to python interactor from Microsoft kinect](https://discourse.slicer.org/t/sending-commands-to-python-interactor-from-microsoft-kinect/2284)

<div class="topic-metadata">

**Author:** [@Ahmed\_Soufane](https://discourse.slicer.org/u/Ahmed_Soufane)\
**Replies:** 8\
**Last updated:** [October 25, 2025, 2:36pm UTC](https://discourse.slicer.org/t/sending-commands-to-python-interactor-from-microsoft-kinect/2284 "2025-10-25T14:36:42Z")

</div>

I’m trying to use the sendmessage() command to send the python code to manipulate the 3-D Slicer from the Kinect c# code. Currently the code to do so is: Process notepadProccess = Process.GetProcessesByName("NEED NAME")…

---

## [CTK build failed](https://discourse.slicer.org/t/ctk-build-failed/44881)

<div class="topic-metadata">

**Author:** [@ButtonL1037](https://discourse.slicer.org/u/ButtonL1037)\
**Replies:** 0\
**Last updated:** [October 25, 2025, 2:29pm UTC](https://discourse.slicer.org/t/ctk-build-failed/44881 "2025-10-25T14:29:02Z")

</div>

项“F:\\Slicer-build\\CTK-build\\CMakeFiles\\c5e549a2cbff6adcda8702920558993a\\CTK-configure.rule”的自定义生成成功，但尚未创建指定的输出“f:\\slicer-build\\ctk-build\\ctk-prefix\\src\\ctk-stamp\\release\\ctk-configure”。这可能会导致增量生成无法正常工作。 \[F:\\Slicer-build\\…

---

## [Binary is missing from the extension package](https://discourse.slicer.org/t/binary-is-missing-from-the-extension-package/44832)

<div class="topic-metadata">

**Author:** [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Replies:** 2\
**Last updated:** [October 21, 2025, 6:42pm UTC](https://discourse.slicer.org/t/binary-is-missing-from-the-extension-package/44832 "2025-10-21T18:42:07Z")

</div>

We have a situation where one (and only one!) of the binaries that are build as part of the dcmqi extension is missing, only on Mac. For example, see this build: SlicerPreview . There are no build errors, but segimage2it…

---

## [We have completed the development of the instance segmentation plugin for individual teeth, and it supports batch operations](https://discourse.slicer.org/t/we-have-completed-the-development-of-the-instance-segmentation-plugin-for-individual-teeth-and-it-supports-batch-operations/42844)

<div class="topic-metadata">

**Author:** [@zhang\_ming](https://discourse.slicer.org/u/zhang_ming)\
**Replies:** 7\
**Last updated:** [October 20, 2025, 2:21pm UTC](https://discourse.slicer.org/t/we-have-completed-the-development-of-the-instance-segmentation-plugin-for-individual-teeth-and-it-supports-batch-operations/42844 "2025-10-20T14:21:15Z")

</div>

[Previous page](https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=2)

[Next page](https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=4)
