# Development

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

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

**Page:** 11

---

## [3D Slicer Release Build Error (Variable Slicer\_WC\_LAST\_CHANGED\_DATE is expected to be defined in SlicerPackageAndUploadTarget)](https://discourse.slicer.org/t/3d-slicer-release-build-error-variable-slicer-wc-last-changed-date-is-expected-to-be-defined-in-slicerpackageanduploadtarget/20984)

<div class="topic-metadata">

**Author:** [@mertsaner](https://discourse.slicer.org/u/mertsaner)\
**Replies:** 24\
**Last updated:** [January 29, 2025, 10:41am UTC](https://discourse.slicer.org/t/3d-slicer-release-build-error-variable-slicer-wc-last-changed-date-is-expected-to-be-defined-in-slicerpackageanduploadtarget/20984 "2025-01-29T10:41:16Z")

</div>

Hello, When I build Slicer in my Windows 11 Intel laptop using the following instructions as stated in Slicer website the I got the following error, Instructions: mkdir C:\\D\\S4R cd /d C:\\D\\S4R "C:\\Program Files\\CMake\\…

---

## [Variable Slicer\_WC\_LAST\_CHANGED\_DATE is expected to be defined](https://discourse.slicer.org/t/variable-slicer-wc-last-changed-date-is-expected-to-be-defined/25389)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.slicer.org/u/miniminic)\
**Replies:** 9\
**Last updated:** [January 29, 2025, 10:40am UTC](https://discourse.slicer.org/t/variable-slicer-wc-last-changed-date-is-expected-to-be-defined/25389 "2025-01-29T10:40:57Z")

</div>

Cmake error: Variable Slicer\_WC\_LAST\_CHANGED\_DATE is expected to be defined. 1\>CMake Warning (dev) at CMake/SlicerMacroExtractRepositoryInfo.cmake:87 (message): 1\> Skipping repository info extraction: directory \[E:/QY3…

---

## [Unable to use DICOMUtils to load dicom files](https://discourse.slicer.org/t/unable-to-use-dicomutils-to-load-dicom-files/41290)

<div class="topic-metadata">

**Author:** [@slicerpy](https://discourse.slicer.org/u/slicerpy)\
**Replies:** 3\
**Last updated:** [January 27, 2025, 10:45pm UTC](https://discourse.slicer.org/t/unable-to-use-dicomutils-to-load-dicom-files/41290 "2025-01-27T22:45:29Z")

</div>

I am trying use the below sample code from vscode , but getting the error captured below. from DICOMLib import DICOMUtils with DICOMUtils.TemporaryDICOMDatabase() as db: DICOMUtils.importDicom(dicomDataDir, db) pati…

---

## [MonaiLabel Server problems](https://discourse.slicer.org/t/monailabel-server-problems/41325)

<div class="topic-metadata">

**Author:** [@natachavalador](https://discourse.slicer.org/u/natachavalador)\
**Replies:** 0\
**Last updated:** [January 27, 2025, 7:30pm UTC](https://discourse.slicer.org/t/monailabel-server-problems/41325 "2025-01-27T19:30:57Z")

</div>

Hi, I am facing a problem with the server connection. . Running on my own pc (Windows 11) . 3D Slicer installed with MonaiLabel plug-in working . Tryed Anaconda, Python 3.11 and Visual Studio Code as an interface . …

---

## [3D MPR using Python](https://discourse.slicer.org/t/3d-mpr-using-python/41279)

<div class="topic-metadata">

**Author:** [@Eers](https://discourse.slicer.org/u/Eers)\
**Replies:** 2\
**Last updated:** [January 26, 2025, 11:07am UTC](https://discourse.slicer.org/t/3d-mpr-using-python/41279 "2025-01-26T11:07:33Z")

</div>

Hi, I am trying to reformat a 3D MR volume to an oblique plane. Given new directional cosines, using sitk resampleImage filter I get the expected anatomical landmark but the view has some in-plane rotation in some cases,…

---

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

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 2\
**Last updated:** [January 24, 2025, 10:30pm UTC](https://discourse.slicer.org/t/release-of-slicer-5-8-in-progress/41251 "2025-01-24T22:30:12Z")

</div>

To follow-up on out last topic titled Temporary disabling of Stable extension builds in preparation for Slicer 5.8 Release & Visual Studio update, this evening, regular preview and stable builds of Slicer and associated …

---

## [Temporary disabling of Stable extension builds in preparation for Slicer 5.8 Release & Visual Studio update](https://discourse.slicer.org/t/temporary-disabling-of-stable-extension-builds-in-preparation-for-slicer-5-8-release-visual-studio-update/41207)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 7\
**Last updated:** [January 24, 2025, 1:50am UTC](https://discourse.slicer.org/t/temporary-disabling-of-stable-extension-builds-in-preparation-for-slicer-5-8-release-visual-studio-update/41207 "2025-01-24T01:50:34Z")

</div>

As discussed in the 2025-01-25 Weekly Meeting, the builds of Slicer Stable extensions will be temporarily disabled this evening. This step is necessary to facilitate updating the version of Visual Studio installed on th…

---

## [How to give camera position and camera focal point  as utm format in VTK ](https://discourse.slicer.org/t/how-to-give-camera-position-and-camera-focal-point-as-utm-format-in-vtk/41238)

<div class="topic-metadata">

**Author:** [@manafpv](https://discourse.slicer.org/u/manafpv)\
**Replies:** 1\
**Last updated:** [January 23, 2025, 3:45pm UTC](https://discourse.slicer.org/t/how-to-give-camera-position-and-camera-focal-point-as-utm-format-in-vtk/41238 "2025-01-23T15:45:27Z")

</div>

Hello Guys, I am facing a issue which i want to give lat and long and distance of the camera from ground in utm format. but my camera is only considering lat, long manner , here i attaching my code… please find a soluti…

---

## [How is the ui designed?](https://discourse.slicer.org/t/how-is-the-ui-designed/41111)

<div class="topic-metadata">

**Author:** [@VirOrange](https://discourse.slicer.org/u/VirOrange)\
**Replies:** 6\
**Last updated:** [January 22, 2025, 9:36pm UTC](https://discourse.slicer.org/t/how-is-the-ui-designed/41111 "2025-01-22T21:36:07Z")

</div>

I am curious about how the UI for existing plugins in Slicer is designed, specifically how the UI in the Segment Editor plugin is structured. For example, how is the thresholding interface (or similar new sub-interfaces)…

---

## [Error when dowloading ScriptEditor](https://discourse.slicer.org/t/error-when-dowloading-scripteditor/41214)

<div class="topic-metadata">

**Author:** [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Replies:** 1\
**Last updated:** [January 22, 2025, 4:55pm UTC](https://discourse.slicer.org/t/error-when-dowloading-scripteditor/41214 "2025-01-22T16:55:26Z")

</div>

Hello, I get an error when downloading the script editor. Installing other extension seems fine. I’m using window 11 and slicer 5.6.2. I get the error “Could not find an extension with id = 66f3fb60e6b8965d1e48570c” …

---

## [Apidocs "broken" because of master-\>main rename](https://discourse.slicer.org/t/apidocs-broken-because-of-master-main-rename/41223)

<div class="topic-metadata">

**Author:** [@shai-ikko](https://discourse.slicer.org/u/shai-ikko)\
**Replies:** 0\
**Last updated:** [January 22, 2025, 3:09pm UTC](https://discourse.slicer.org/t/apidocs-broken-because-of-master-main-rename/41223 "2025-01-22T15:09:07Z")

</div>

Hi there, As far as I can see, development moved from the master branch to a main branch about 2.5 years ago. I’m not sure when the generation of apidocs was changed to fit this. Today, I was looking for docs on AddArc…

---

## [How to Trigger an Event on Left-Click When Mouse Hovers Over a CurveNode?](https://discourse.slicer.org/t/how-to-trigger-an-event-on-left-click-when-mouse-hovers-over-a-curvenode/41209)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 0\
**Last updated:** [January 22, 2025, 6:13am UTC](https://discourse.slicer.org/t/how-to-trigger-an-event-on-left-click-when-mouse-hovers-over-a-curvenode/41209 "2025-01-22T06:13:24Z")

</div>

Hi all, I have a MarkupsCurveNode and noticed that in the Slice view, the mouse cursor changes to a hand icon when hovering over the curve line. I would like to enhance this behavior with two specific features: Trigger…

---

## [Slicer Omniverse Support](https://discourse.slicer.org/t/slicer-omniverse-support/41179)

<div class="topic-metadata">

**Author:** [@Islam\_Ibrahim](https://discourse.slicer.org/u/Islam_Ibrahim)\
**Replies:** 3\
**Last updated:** [January 21, 2025, 8:17am UTC](https://discourse.slicer.org/t/slicer-omniverse-support/41179 "2025-01-21T08:17:47Z")

</div>

Hi I’m going to build extention to export slicer model to Nvidia omniverse

---

## [Issue with vtk.vtkCommand.HoverEvent on vtk.vtkHandleWidget](https://discourse.slicer.org/t/issue-with-vtk-vtkcommand-hoverevent-on-vtk-vtkhandlewidget/41159)

<div class="topic-metadata">

**Author:** [@jhan1245](https://discourse.slicer.org/u/jhan1245)\
**Replies:** 0\
**Last updated:** [January 20, 2025, 7:53am UTC](https://discourse.slicer.org/t/issue-with-vtk-vtkcommand-hoverevent-on-vtk-vtkhandlewidget/41159 "2025-01-20T07:53:32Z")

</div>

I am currently working with the vtk.vtkHandleWidget and attempting to add the vtk.vtkCommand.HoverEvent using the AddObserver method. However, it seems that the hover event is not functioning as expected. Could you prov…

---

## [HD\_BET does not work in latest Slicer Preview Release](https://discourse.slicer.org/t/hd-bet-does-not-work-in-latest-slicer-preview-release/30583)

<div class="topic-metadata">

**Author:** [@Muhammed\_Fatih\_Talu](https://discourse.slicer.org/u/Muhammed_Fatih_Talu)\
**Replies:** 4\
**Last updated:** [January 20, 2025, 2:52am UTC](https://discourse.slicer.org/t/hd-bet-does-not-work-in-latest-slicer-preview-release/30583 "2025-01-20T02:52:15Z")

</div>

While the code below works without any errors in the stable version, it gives an error in the preview version. import HDBrainExtractionTool HDBetLogic = HDBrainExtractionTool.HDBrainExtractionToolL…

---

## [Is it possible to reuse parts of other modules' source code to create a custom module?](https://discourse.slicer.org/t/is-it-possible-to-reuse-parts-of-other-modules-source-code-to-create-a-custom-module/41128)

<div class="topic-metadata">

**Author:** [@igi133](https://discourse.slicer.org/u/igi133)\
**Replies:** 1\
**Last updated:** [January 17, 2025, 2:18pm UTC](https://discourse.slicer.org/t/is-it-possible-to-reuse-parts-of-other-modules-source-code-to-create-a-custom-module/41128 "2025-01-17T14:18:50Z")

</div>

Hello everyone, I’ve been working with Slicer and I’m interested in creating my own custom module. I wanted to ask the community whether it’s possible to reuse parts of source code from other existing modules to help bu…

---

## [How to debug loadable module in visual studio?](https://discourse.slicer.org/t/how-to-debug-loadable-module-in-visual-studio/9751)

<div class="topic-metadata">

**Author:** [@leemoncn](https://discourse.slicer.org/u/leemoncn)\
**Replies:** 6\
**Last updated:** [January 16, 2025, 10:22am UTC](https://discourse.slicer.org/t/how-to-debug-loadable-module-in-visual-studio/9751 "2025-01-16T10:22:15Z")

</div>

I have compiled slicer through the source code. Then i created a module (C++) and compiled it using cmake to generate module.sln. I want to debug this module using visual studio. What should I do? Should I add this modu…

---

## [3D view screen capture](https://discourse.slicer.org/t/3d-view-screen-capture/19035)

<div class="topic-metadata">

**Author:** [@liku](https://discourse.slicer.org/u/liku)\
**Replies:** 12\
**Last updated:** [January 14, 2025, 8:07pm UTC](https://discourse.slicer.org/t/3d-view-screen-capture/19035 "2025-01-14T20:07:54Z")

</div>

Operating system: Win 10 Slicer version: 4.11 I captured images of 3D view (refer to the ScreenCapture module), and transferred these images to the library which uses OpenCL and performs image processing. Now I want t…

---

## [Development Language](https://discourse.slicer.org/t/development-language/41065)

<div class="topic-metadata">

**Author:** [@Reza\_Mohammadi](https://discourse.slicer.org/u/Reza_Mohammadi)\
**Replies:** 1\
**Last updated:** [January 13, 2025, 11:41pm UTC](https://discourse.slicer.org/t/development-language/41065 "2025-01-13T23:41:21Z")

</div>

Dear Sir/Madam, As far as I understood, 3D Slicer is using C++ and Qt for development. As there are several experience, I just want to know, what are the best language for developing a medical device? For instance, in t…

---

## [Getting Involved in development](https://discourse.slicer.org/t/getting-involved-in-development/39866)

<div class="topic-metadata">

**Author:** [@Kent-McPhail](https://discourse.slicer.org/u/Kent-McPhail)\
**Replies:** 3\
**Last updated:** [January 9, 2025, 1:02pm UTC](https://discourse.slicer.org/t/getting-involved-in-development/39866 "2025-01-09T13:02:51Z")

</div>

Is there any particular way to get involved in development. If there is general topics or bugs that I could jump into

---

## [Convert.dcm to .ply , is it possible?](https://discourse.slicer.org/t/convert-dcm-to-ply-is-it-possible/28133)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 8\
**Last updated:** [January 9, 2025, 9:00am UTC](https://discourse.slicer.org/t/convert-dcm-to-ply-is-it-possible/28133 "2025-01-09T09:00:13Z")

</div>

Operating system: window 10 Slicer version: 5.2.1 Hi , slicer users ! I want to directly convert it to .ply to import both the modeling information and texture information of the dcm file exported from 3shape, but I k…

---

## [Alternative to recommended way to respond to volume loading](https://discourse.slicer.org/t/alternative-to-recommended-way-to-respond-to-volume-loading/40906)

<div class="topic-metadata">

**Author:** [@shai-ikko](https://discourse.slicer.org/u/shai-ikko)\
**Replies:** 2\
**Last updated:** [January 8, 2025, 1:06pm UTC](https://discourse.slicer.org/t/alternative-to-recommended-way-to-respond-to-volume-loading/40906 "2025-01-08T13:06:03Z")

</div>

Hi all, The script repository recommends, if you want to respond to a volume being loaded, to respond to the Node-Added event, but then call the responding method using a timer: # Call showVolumeRendering using a t…

---

## [Handling Node Names with Square Brackets and Filtering Nodes of RTDose Type Exported from TPS in 3DSlicer](https://discourse.slicer.org/t/handling-node-names-with-square-brackets-and-filtering-nodes-of-rtdose-type-exported-from-tps-in-3dslicer/40606)

<div class="topic-metadata">

**Author:** [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Replies:** 9\
**Last updated:** [January 8, 2025, 8:14am UTC](https://discourse.slicer.org/t/handling-node-names-with-square-brackets-and-filtering-nodes-of-rtdose-type-exported-from-tps-in-3dslicer/40606 "2025-01-08T08:14:03Z")

</div>

Hello Dear Developers and Users, I am facing two issues: First issue: Running getNode on a node whose name contains square brackets with a number inside. I noticed that if a node’s name contains square brackets with a…

---

## [Convert binary label map into 2D contours (ideally splines) and back](https://discourse.slicer.org/t/convert-binary-label-map-into-2d-contours-ideally-splines-and-back/11135)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 12\
**Last updated:** [January 7, 2025, 12:54pm UTC](https://discourse.slicer.org/t/convert-binary-label-map-into-2d-contours-ideally-splines-and-back/11135 "2025-01-07T12:54:18Z")

</div>

From @dzenanz: Background: we are writing custom application with web UI for segmentation of 2D+time data. The semi-automatic algorithm relying on grow from seeds works well, but not all the time. So manual corrections …

---

## [LR rotation transform reduces axial resolution](https://discourse.slicer.org/t/lr-rotation-transform-reduces-axial-resolution/40508)

<div class="topic-metadata">

**Author:** [@Shirly\_Someck](https://discourse.slicer.org/u/Shirly_Someck)\
**Replies:** 9\
**Last updated:** [January 6, 2025, 5:32pm UTC](https://discourse.slicer.org/t/lr-rotation-transform-reduces-axial-resolution/40508 "2025-01-06T17:32:37Z")

</div>

Hi, I performed an LR rotation transform using an angle and this matrix: self.transform = np.array(\[ \[1, 0, 0, 0\], \[0, cos\_angle, sin\_angle, 0\], \[0, -sin\_angle, cos\_angle, 0\], \[0, 0, 0, 1\] \]) From what I understa…

---

## [How to validate the accuracy of a vision-based tracking instrument in 3D Slicer navigation?](https://discourse.slicer.org/t/how-to-validate-the-accuracy-of-a-vision-based-tracking-instrument-in-3d-slicer-navigation/40833)

<div class="topic-metadata">

**Author:** [@wenlin\_x](https://discourse.slicer.org/u/wenlin_x)\
**Replies:** 0\
**Last updated:** [December 23, 2024, 8:51am UTC](https://discourse.slicer.org/t/how-to-validate-the-accuracy-of-a-vision-based-tracking-instrument-in-3d-slicer-navigation/40833 "2024-12-23T08:51:30Z")

</div>

Hi everyone, I’m developing a vision-based tracking instrument and would like to use it for navigation in 3D Slicer. So far, I have completed the following steps: Installed the “IGT” module in 3D Slicer. Created a nee…

---

## [How to calculate XYToSlice](https://discourse.slicer.org/t/how-to-calculate-xytoslice/40830)

<div class="topic-metadata">

**Author:** [@BigBrotherHui](https://discourse.slicer.org/u/BigBrotherHui)\
**Replies:** 0\
**Last updated:** [December 23, 2024, 4:18am UTC](https://discourse.slicer.org/t/how-to-calculate-xytoslice/40830 "2024-12-23T04:18:19Z")

</div>

hello,i want to know what XYToSlice matrix depends on? the renderer size,image spacing,image dimensions,image origin? anything else? i have seen the 3d slice’s source code ,but i’m confused about fieldofview ,why it init…

---

## [Installing a python package that is not supported by pip](https://discourse.slicer.org/t/installing-a-python-package-that-is-not-supported-by-pip/30125)

<div class="topic-metadata">

**Author:** [@bongo\_kat](https://discourse.slicer.org/u/bongo_kat)\
**Replies:** 5\
**Last updated:** [December 20, 2024, 9:29pm UTC](https://discourse.slicer.org/t/installing-a-python-package-that-is-not-supported-by-pip/30125 "2024-12-20T21:29:09Z")

</div>

Hello, I have a python script that uses Ezc3d library: GitHub - pyomeca/ezc3d: Easy to use C3D reader/writer for C++, Python and Matlab I can’t use pip to install it on Slicer as it is not supported. I’ve installed it u…

---

## [Select Multiple Nodes in custom module](https://discourse.slicer.org/t/select-multiple-nodes-in-custom-module/40821)

<div class="topic-metadata">

**Author:** [@acgupta](https://discourse.slicer.org/u/acgupta)\
**Replies:** 0\
**Last updated:** [December 20, 2024, 8:43pm UTC](https://discourse.slicer.org/t/select-multiple-nodes-in-custom-module/40821 "2024-12-20T20:43:50Z")

</div>

Is there a way to either use a qMRMLNodeComboBox to select multiple nodes (in my use case, Markup Nodes)? I am trying to use the qMRMLCheckableNodeComboBox, but am having trouble connecting it to between the GUI and the …

---

## [Model Interaction](https://discourse.slicer.org/t/model-interaction/40792)

<div class="topic-metadata">

**Author:** [@JohnWick](https://discourse.slicer.org/u/JohnWick)\
**Replies:** 0\
**Last updated:** [December 18, 2024, 10:30pm UTC](https://discourse.slicer.org/t/model-interaction/40792 "2024-12-18T22:30:56Z")

</div>

Hi Everyone, I would like to enable 3D Interaction for a model using Python. I know that in the scene, I can toggle the interaction by right-clicking on the model’s eye icon. However, I would like to create an on/off ch…

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

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