# Development

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

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

**Page:** 9

---

## [Packaging Acute Stroke Detection Module for Slicer](https://discourse.slicer.org/t/packaging-acute-stroke-detection-module-for-slicer/42340)

<div class="topic-metadata">

**Author:** [@software](https://discourse.slicer.org/u/software)\
**Replies:** 3\
**Last updated:** [April 8, 2025, 1:05pm UTC](https://discourse.slicer.org/t/packaging-acute-stroke-detection-module-for-slicer/42340 "2025-04-08T13:05:24Z")

</div>

Repository: GitHub - Chin-Fu-Liu/Acute-stroke\_Detection\_Segmentation Problem: I want to package the Acute Stroke Detection and Segmentation (ADS) module for 3D Slicer with pre-trained models. Specific Challenges: Inc…

---

## [Issue with Generating Specific Isodose Surface using the Isodose Module in Python Interactor](https://discourse.slicer.org/t/issue-with-generating-specific-isodose-surface-using-the-isodose-module-in-python-interactor/41826)

<div class="topic-metadata">

**Author:** [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Replies:** 1\
**Last updated:** [April 7, 2025, 11:35am UTC](https://discourse.slicer.org/t/issue-with-generating-specific-isodose-surface-using-the-isodose-module-in-python-interactor/41826 "2025-04-07T11:35:12Z")

</div>

Hello Dear Developers and Users Sorry for asking my question again. In the question I asked titled “Is it better to integrate settings from Module B into Module A for improved user workflow (or user convenience)?” in th…

---

## [Contribution to the SlicerMONAIAuto3DSeg extension](https://discourse.slicer.org/t/contribution-to-the-slicermonaiauto3dseg-extension/34739)

<div class="topic-metadata">

**Author:** [@rfenioux](https://discourse.slicer.org/u/rfenioux)\
**Replies:** 5\
**Last updated:** [April 7, 2025, 7:57am UTC](https://discourse.slicer.org/t/contribution-to-the-slicermonaiauto3dseg-extension/34739 "2025-04-07T07:57:33Z")

</div>

There has been an internal effort at Kitware Europe to simplify the use of segmentation models available as MONAI bundles from 3D Slicer. The goal of this post is to gather some feedback about the best way to share this…

---

## [The .obj model file is offset far from the world origin,However, it is still possible to achieve position-based interaction between the image and the model ](https://discourse.slicer.org/t/the-obj-model-file-is-offset-far-from-the-world-origin-however-it-is-still-possible-to-achieve-position-based-interaction-between-the-image-and-the-model/42422)

<div class="topic-metadata">

**Author:** [@jiajiadelequ](https://discourse.slicer.org/u/jiajiadelequ)\
**Replies:** 6\
**Last updated:** [April 7, 2025, 4:00am UTC](https://discourse.slicer.org/t/the-obj-model-file-is-offset-far-from-the-world-origin-however-it-is-still-possible-to-achieve-position-based-interaction-between-the-image-and-the-model/42422 "2025-04-07T04:00:35Z")

</div>

I have a set of matching .nii image files and .obj model files. After importing them into 3D Slicer, I found that the .obj model file is offset far from the world origin, basically out of the image’s range in the worl…

---

## [Deep Learning Model in Slicer](https://discourse.slicer.org/t/deep-learning-model-in-slicer/42432)

<div class="topic-metadata">

**Author:** [@Saladi](https://discourse.slicer.org/u/Saladi)\
**Replies:** 1\
**Last updated:** [April 4, 2025, 3:46pm UTC](https://discourse.slicer.org/t/deep-learning-model-in-slicer/42432 "2025-04-04T15:46:23Z")

</div>

Dear All, I am new to Slicer, and I have a trained deep learning model that I need to deploy within the Slicer software. Could someone kindly point me to the relevant documentation or explain the process for integrating…

---

## [How to add additional actions when using parameterNodeWrapper?](https://discourse.slicer.org/t/how-to-add-additional-actions-when-using-parameternodewrapper/42320)

<div class="topic-metadata">

**Author:** [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Replies:** 2\
**Last updated:** [March 28, 2025, 3:57pm UTC](https://discourse.slicer.org/t/how-to-add-additional-actions-when-using-parameternodewrapper/42320 "2025-03-28T15:57:04Z")

</div>

I like the newer parameterNodeWrapper architecture for modules, and it nicely simplifies keeping parameters and GUI elements in sync. However, I run into problems whenever I want to add any other effects from changing a…

---

## [Slicer build failed](https://discourse.slicer.org/t/slicer-build-failed/42319)

<div class="topic-metadata">

**Author:** [@TinaNant28](https://discourse.slicer.org/u/TinaNant28)\
**Replies:** 3\
**Last updated:** [March 28, 2025, 3:05pm UTC](https://discourse.slicer.org/t/slicer-build-failed/42319 "2025-03-28T15:05:51Z")

</div>

Hi, I followed the Build Instructions to build Slicer on Windows 11. CMake: 3.31.6 Git: 2.48.1 Qt: 5.15.2 64-bit (MSVC 2019) Visual Studio 2022 C++ x64 After build Slicer in Visual Studio, 10 errors occurred. H…

---

## [Support for pathology DICOM](https://discourse.slicer.org/t/support-for-pathology-dicom/42248)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.slicer.org/u/dzenanz)\
**Replies:** 11\
**Last updated:** [March 26, 2025, 6:44pm UTC](https://discourse.slicer.org/t/support-for-pathology-dicom/42248 "2025-03-26T18:44:40Z")

</div>

I tried loading some DICOM microscopy images from IDC, but Slicer does not open them properly. HistomicsTK does open some of them (bigger files). Is this the format mentioned long ago by @pieper? Am I missing some Slicer…

---

## [Python script to get axis-aligned bounding box](https://discourse.slicer.org/t/python-script-to-get-axis-aligned-bounding-box/26227)

<div class="topic-metadata">

**Author:** [@xackey](https://discourse.slicer.org/u/xackey)\
**Replies:** 7\
**Last updated:** [March 26, 2025, 12:17pm UTC](https://discourse.slicer.org/t/python-script-to-get-axis-aligned-bounding-box/26227 "2025-03-26T12:17:31Z")

</div>

Could you tell me how to get an axis-aligned bounding box that fits a segment using python interactor? The script repository describes how to create an oriented bounding box, but not an axis-aligned bounding box. I would…

---

## [DRR generation from Projection matrix](https://discourse.slicer.org/t/drr-generation-from-projection-matrix/42243)

<div class="topic-metadata">

**Author:** [@DARSHAN\_K\_N](https://discourse.slicer.org/u/DARSHAN_K_N)\
**Replies:** 0\
**Last updated:** [March 21, 2025, 2:36am UTC](https://discourse.slicer.org/t/drr-generation-from-projection-matrix/42243 "2025-03-21T02:36:29Z")

</div>

Is it possible to generate the DRR by using the C-arm projection matrix in Plastimatch drr if it possible tell me how to use this projection matrix in DRR generation -4389.749385 702.196627 419.994726 758491.354247 -8…

---

## [Disabling Surface Constraints Snap for Activated Markups Node](https://discourse.slicer.org/t/disabling-surface-constraints-snap-for-activated-markups-node/42182)

<div class="topic-metadata">

**Author:** [@jhan1245](https://discourse.slicer.org/u/jhan1245)\
**Replies:** 3\
**Last updated:** [March 18, 2025, 11:11pm UTC](https://discourse.slicer.org/t/disabling-surface-constraints-snap-for-activated-markups-node/42182 "2025-03-18T23:11:15Z")

</div>

Hi, I am currently using 3D Slicer 5.8.0 and developing scripted modules. As part of my work, I would like to know if there is an option to disable the automatic snapping to surface constraints when a Markups node is act…

---

## [Vtk collection 1 instance memory leak](https://discourse.slicer.org/t/vtk-collection-1-instance-memory-leak/42121)

<div class="topic-metadata">

**Author:** [@Derek\_Wang](https://discourse.slicer.org/u/Derek_Wang)\
**Replies:** 3\
**Last updated:** [March 15, 2025, 12:06am UTC](https://discourse.slicer.org/t/vtk-collection-1-instance-memory-leak/42121 "2025-03-15T00:06:49Z")

</div>

in 3d slicer ScriptedLoadableModuleWidget class, setup is to load the widget,when exitting from slicer,what method will be called to prevent memory leak

---

## [Compute distance between 2 models](https://discourse.slicer.org/t/compute-distance-between-2-models/42108)

<div class="topic-metadata">

**Author:** [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Replies:** 1\
**Last updated:** [March 14, 2025, 1:48am UTC](https://discourse.slicer.org/t/compute-distance-between-2-models/42108 "2025-03-14T01:48:57Z")

</div>

I have reconstructed two 3D models in the scene. I want to convert them into point clouds and then calculate a comprehensive distance between the two models. How should I achieve this? For example, if I convert each mod…

---

## [SimpleITK Direction Matrix Behavior](https://discourse.slicer.org/t/simpleitk-direction-matrix-behavior/42094)

<div class="topic-metadata">

**Author:** [@ColbyCoffman](https://discourse.slicer.org/u/ColbyCoffman)\
**Replies:** 0\
**Last updated:** [March 12, 2025, 4:43pm UTC](https://discourse.slicer.org/t/simpleitk-direction-matrix-behavior/42094 "2025-03-12T16:43:13Z")

</div>

Hello, I am having trouble understanding the behavior of the calculation of SimpleITK’s direction matrix. I sort a series in increasing z value based on ImagePositionPatient, but when i pass those files into ImageSeriesR…

---

## [vtkClipPolyData results in hollow models](https://discourse.slicer.org/t/vtkclippolydata-results-in-hollow-models/42083)

<div class="topic-metadata">

**Author:** [@huwqchn](https://discourse.slicer.org/u/huwqchn)\
**Replies:** 0\
**Last updated:** [March 12, 2025, 8:41am UTC](https://discourse.slicer.org/t/vtkclippolydata-results-in-hollow-models/42083 "2025-03-12T08:41:29Z")

</div>

Hello All, I’m trying to use vtkClipPolyData() to split a model into two separate segments within a scripted segment editor effect. The operation itself works, but the resulting models are hollow shells (open surfaces) …

---

## [Custom modules and building issue](https://discourse.slicer.org/t/custom-modules-and-building-issue/42033)

<div class="topic-metadata">

**Author:** [@software](https://discourse.slicer.org/u/software)\
**Replies:** 0\
**Last updated:** [March 8, 2025, 9:05pm UTC](https://discourse.slicer.org/t/custom-modules-and-building-issue/42033 "2025-03-08T21:05:38Z")

</div>

Hello everyone, I am facing a similar issue while working with a custom 3D Slicer application. I followed the SlicerCAT guide to create a custom 3D Slicer template and built it using CMake. Now, I want to add modules, …

---

## [Add a new module to custom app template](https://discourse.slicer.org/t/add-a-new-module-to-custom-app-template/29327)

<div class="topic-metadata">

**Author:** [@Anjalimukundan](https://discourse.slicer.org/u/Anjalimukundan)\
**Replies:** 3\
**Last updated:** [March 8, 2025, 9:03pm UTC](https://discourse.slicer.org/t/add-a-new-module-to-custom-app-template/29327 "2025-03-08T21:03:07Z")

</div>

Hello everyone , I have downloaded source code for slicer custom app template and have build it. Now, how can I add my own module into the application.

---

## [Adding custom module into the 3d slicer customtemplate](https://discourse.slicer.org/t/adding-custom-module-into-the-3d-slicer-customtemplate/42000)

<div class="topic-metadata">

**Author:** [@software](https://discourse.slicer.org/u/software)\
**Replies:** 0\
**Last updated:** [March 7, 2025, 3:42am UTC](https://discourse.slicer.org/t/adding-custom-module-into-the-3d-slicer-customtemplate/42000 "2025-03-07T03:42:49Z")

</div>

I have used the following commands from the blog \*SlicerCAT: Creating custom applications based on 3D Slicer: pip install cookiecutter jinja2-github cookiecutter gh:KitwareMedical/SlicerCustomAppTemplate After creating…

---

## [Release of Slicer 5.8.1 in progress](https://discourse.slicer.org/t/release-of-slicer-5-8-1-in-progress/41931)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 2\
**Last updated:** [March 3, 2025, 9:19pm UTC](https://discourse.slicer.org/t/release-of-slicer-5-8-1-in-progress/41931 "2025-03-03T21:19:59Z")

</div>

As discussed in the February 25th weekly meeting, the regular Preview and Stable builds of Slicer and its extensions will be temporarily disabled this evening (March 2nd) to facilitate the Slicer 5.8.1 patch release. To…

---

## [The difference in the results of running Isodose from Python Interactor between the two versions of 3DSlicer and the result from the Isodose module](https://discourse.slicer.org/t/the-difference-in-the-results-of-running-isodose-from-python-interactor-between-the-two-versions-of-3dslicer-and-the-result-from-the-isodose-module/41842)

<div class="topic-metadata">

**Author:** [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Replies:** 2\
**Last updated:** [March 3, 2025, 10:44am UTC](https://discourse.slicer.org/t/the-difference-in-the-results-of-running-isodose-from-python-interactor-between-the-two-versions-of-3dslicer-and-the-result-from-the-isodose-module/41842 "2025-03-03T10:44:50Z")

</div>

Hello Dear Developers and Users In my attempt to generate the Isodose surface of 47.00 Gy, I noticed that the output of the isodose surfaces differed between two versions of 3DSlicer, versions 5.6.2 and 5.0.2. I execute…

---

## [SlicerSPECTRecon on Ubuntu](https://discourse.slicer.org/t/slicerspectrecon-on-ubuntu/41926)

<div class="topic-metadata">

**Author:** [@Michel\_Atieh](https://discourse.slicer.org/u/Michel_Atieh)\
**Replies:** 1\
**Last updated:** [March 1, 2025, 1:39pm UTC](https://discourse.slicer.org/t/slicerspectrecon-on-ubuntu/41926 "2025-03-01T13:39:40Z")

</div>

Hello, I recently discovered the extension SlicerSPECTRecon and have successfully been able to get it working on Windows with 3D Slicer version 5.6.2. However, I am encountering issues when trying to run it on Ubuntu. …

---

## [Issues building SlicerIGSIO](https://discourse.slicer.org/t/issues-building-slicerigsio/41896)

<div class="topic-metadata">

**Author:** [@Arber\_Demi](https://discourse.slicer.org/u/Arber_Demi)\
**Replies:** 5\
**Last updated:** [February 27, 2025, 2:59pm UTC](https://discourse.slicer.org/t/issues-building-slicerigsio/41896 "2025-02-27T14:59:22Z")

</div>

Hello everyone. Im trying to build Slicer from source, managed to build Slicer itself with no issues, however when building SlicerIGSIO (I need it for SlicerIGT), I am running into some issues. cannot open input file '…

---

## [Way to acess eagag](https://discourse.slicer.org/t/way-to-acess-eagag/41886)

<div class="topic-metadata">

**Author:** [@Djonathan\_Souza](https://discourse.slicer.org/u/Djonathan_Souza)\
**Replies:** 1\
**Last updated:** [February 26, 2025, 6:46pm UTC](https://discourse.slicer.org/t/way-to-acess-eagag/41886 "2025-02-26T18:46:31Z")

</div>

Hello, I need a way to access the segmentation node, as I need to save the segmentations. However, I am using pythonSlicer to run the application and I cannot use MRML according to the documentation at slicer — 3D Slice…

---

## [How to Call 3D Slicer API Methods in My Code?](https://discourse.slicer.org/t/how-to-call-3d-slicer-api-methods-in-my-code/41871)

<div class="topic-metadata">

**Author:** [@Djonathan\_Souza](https://discourse.slicer.org/u/Djonathan_Souza)\
**Replies:** 2\
**Last updated:** [February 25, 2025, 4:17pm UTC](https://discourse.slicer.org/t/how-to-call-3d-slicer-api-methods-in-my-code/41871 "2025-02-25T16:17:19Z")

</div>

Hello, Is there a way to call 3D Slicer API methods directly from my code? If so, what are the recommended approaches or best practices for interacting with the API? Thanks!

---

## [RAS to IJK conversion issues](https://discourse.slicer.org/t/ras-to-ijk-conversion-issues/41863)

<div class="topic-metadata">

**Author:** [@patricklynch7](https://discourse.slicer.org/u/patricklynch7)\
**Replies:** 6\
**Last updated:** [February 25, 2025, 3:49pm UTC](https://discourse.slicer.org/t/ras-to-ijk-conversion-issues/41863 "2025-02-25T15:49:25Z")

</div>

Hey guys, I have a series of nifti files, Slicer mrml files, and the .mrk.json files corresponding to their respective annotated control points. I am having trouble recovering the correct coordinates/IJK plane that were…

---

## [Compile and run slicer in vs2022, and the prompt “Access Denied” appears](https://discourse.slicer.org/t/compile-and-run-slicer-in-vs2022-and-the-prompt-access-denied-appears/41833)

<div class="topic-metadata">

**Author:** [@zhuofalin](https://discourse.slicer.org/u/zhuofalin)\
**Replies:** 3\
**Last updated:** [February 25, 2025, 2:41pm UTC](https://discourse.slicer.org/t/compile-and-run-slicer-in-vs2022-and-the-prompt-access-denied-appears/41833 "2025-02-25T14:41:30Z")

</div>

I compiled slicer on two windows (one is win10 and the other is win11). At that time, I could compile and run slicer normally using vs2022. However, after a few days, when I compiled and ran slicer again, it prompted acc…

---

## [Display model in slice viewer](https://discourse.slicer.org/t/display-model-in-slice-viewer/208)

<div class="topic-metadata">

**Author:** [@mag](https://discourse.slicer.org/u/mag)\
**Replies:** 7\
**Last updated:** [February 21, 2025, 1:30pm UTC](https://discourse.slicer.org/t/display-model-in-slice-viewer/208 "2025-02-21T13:30:41Z")

</div>

Hi, I am trying to draw a polygon on the axial viewer given the coordinates of some fiducial points. I am using a model created from a polydata object so I can easily export it for my analysis. I used this code in a scr…

---

## [Run commands at PythonSlicer](https://discourse.slicer.org/t/run-commands-at-pythonslicer/41775)

<div class="topic-metadata">

**Author:** [@Djonathan\_Souza](https://discourse.slicer.org/u/Djonathan_Souza)\
**Replies:** 1\
**Last updated:** [February 19, 2025, 7:13pm UTC](https://discourse.slicer.org/t/run-commands-at-pythonslicer/41775 "2025-02-19T19:13:54Z")

</div>

Hi, Is there a way to run these commands in PythonSlicer? I need to access mrmlScene from PythonSlicer, but I’m not sure how to do it. Any suggestions?

---

## [Is it better to integrate settings from Module B into Module A for improved user workflow (or user convenience)?](https://discourse.slicer.org/t/is-it-better-to-integrate-settings-from-module-b-into-module-a-for-improved-user-workflow-or-user-convenience/41189)

<div class="topic-metadata">

**Author:** [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Replies:** 7\
**Last updated:** [February 19, 2025, 12:06pm UTC](https://discourse.slicer.org/t/is-it-better-to-integrate-settings-from-module-b-into-module-a-for-improved-user-workflow-or-user-convenience/41189 "2025-02-19T12:06:31Z")

</div>

Hello Dear Developers and Users, I wanted to get some advice on an issue. Suppose I am trying to develop a module named A, where one of the inputs of Module A is the output from another module, Module B which has alrea…

---

## [VMTK Centerline Tree Model Implementation Problem](https://discourse.slicer.org/t/vmtk-centerline-tree-model-implementation-problem/41760)

<div class="topic-metadata">

**Author:** [@yoonjh119](https://discourse.slicer.org/u/yoonjh119)\
**Replies:** 0\
**Last updated:** [February 18, 2025, 4:39pm UTC](https://discourse.slicer.org/t/vmtk-centerline-tree-model-implementation-problem/41760 "2025-02-18T16:39:04Z")

</div>

Hello, I am implementing the centerline function of VMTK so that it can be executed with Python code. Recently, I have completed the implementation of the network model and am implementing the tree model. After loading t…

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

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