# Development

**URL:** https://discourse.slicer.org/c/dev/5.md?page=11

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

**Page:** 12

---

## [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…

---

## [Controlling visibility of slice intersections](https://discourse.slicer.org/t/controlling-visibility-of-slice-intersections/40709)

<div class="topic-metadata">

**Author:** [@shai-ikko](https://discourse.slicer.org/u/shai-ikko)\
**Replies:** 11\
**Last updated:** [December 18, 2024, 1:36pm UTC](https://discourse.slicer.org/t/controlling-visibility-of-slice-intersections/40709 "2024-12-18T13:36:02Z")

</div>

Hello, I’m trying to get a layout where one slice view serves as “target” and other slice views serve as “controls”. So, I want to make the target slice (“intersection”) visible in the controls, but not vice versa, and …

---

## [New Module: Remote VISTA3D server for CT segmentation](https://discourse.slicer.org/t/new-module-remote-vista3d-server-for-ct-segmentation/40719)

<div class="topic-metadata">

**Author:** [@aylward](https://discourse.slicer.org/u/aylward)\
**Replies:** 2\
**Last updated:** [December 17, 2024, 2:37pm UTC](https://discourse.slicer.org/t/new-module-remote-vista3d-server-for-ct-segmentation/40719 "2024-12-17T14:37:49Z")

</div>

Goal Provide access to MONAI-based foundation models to users running 3D Slicer on low-end (e.g., no GPU) machines by launching those AI methods on freely available (albeit limited total usage) high-end servers. Overvi…

---

## [How to Enable Maximum Intensity Projection (MIP) Automatically for MRML Presets?](https://discourse.slicer.org/t/how-to-enable-maximum-intensity-projection-mip-automatically-for-mrml-presets/40679)

<div class="topic-metadata">

**Author:** [@LounesAl](https://discourse.slicer.org/u/LounesAl)\
**Replies:** 6\
**Last updated:** [December 17, 2024, 10:43am UTC](https://discourse.slicer.org/t/how-to-enable-maximum-intensity-projection-mip-automatically-for-mrml-presets/40679 "2024-12-17T10:43:48Z")

</div>

Hello, I have created custom volume rendering presets in an MRML file. Below is an example structure: \<MRML version="Slicer4.4.0"\> \<VolumeProperty id="vtkMRMLVolumeProperty1" name="MyPreset1" references="IconVolume:v…

---

## [New frame set table in the DICOM database?](https://discourse.slicer.org/t/new-frame-set-table-in-the-dicom-database/35012)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 8\
**Last updated:** [December 16, 2024, 9:45pm UTC](https://discourse.slicer.org/t/new-frame-set-table-in-the-dicom-database/35012 "2024-12-16T21:45:38Z")

</div>

I’ve come across a serious limitation in our current database structure: the frame set (see also here) level is completely missing. We treat series as displayable set of frames, which is wrong for image modalities such a…

---

## [Linux builds failed today](https://discourse.slicer.org/t/linux-builds-failed-today/40697)

<div class="topic-metadata">

**Author:** [@pieper](https://discourse.slicer.org/u/pieper)\
**Replies:** 3\
**Last updated:** [December 16, 2024, 8:15pm UTC](https://discourse.slicer.org/t/linux-builds-failed-today/40697 "2024-12-16T20:15:05Z")

</div>

It seems the linux preview builds failed last night. It worked yesterday. When someone has time could they have a look? (@Sam\_Horvath @jcfr ).

---

## [Cannot decrease the width of my module](https://discourse.slicer.org/t/cannot-decrease-the-width-of-my-module/40649)

<div class="topic-metadata">

**Author:** [@koeglfryderyk](https://discourse.slicer.org/u/koeglfryderyk)\
**Replies:** 5\
**Last updated:** [December 16, 2024, 12:48pm UTC](https://discourse.slicer.org/t/cannot-decrease-the-width-of-my-module/40649 "2024-12-16T12:48:40Z")

</div>

I created a default extension with a module (it contains an input selector) After I reload it, when I select a volume, I can only reduce the width of the module so that the full name of the volume is still visible. Is …

---

## [Baffle Planner: Limitation in Creating Multiple Baffles Simultaneously](https://discourse.slicer.org/t/baffle-planner-limitation-in-creating-multiple-baffles-simultaneously/40666)

<div class="topic-metadata">

**Author:** [@JohnWick](https://discourse.slicer.org/u/JohnWick)\
**Replies:** 4\
**Last updated:** [December 15, 2024, 7:15pm UTC](https://discourse.slicer.org/t/baffle-planner-limitation-in-creating-multiple-baffles-simultaneously/40666 "2024-12-15T19:15:28Z")

</div>

Hi everyone, I’m experiencing an issue while trying to create two baffles on the same model. Unfortunately, whenever I add a second baffle, it seems to overwrite or delete the first one, as shown in the attached image. …

---

## [Loadable module with external binary dependencies](https://discourse.slicer.org/t/loadable-module-with-external-binary-dependencies/40667)

<div class="topic-metadata">

**Author:** [@PatrickR](https://discourse.slicer.org/u/PatrickR)\
**Replies:** 2\
**Last updated:** [December 13, 2024, 12:16pm UTC](https://discourse.slicer.org/t/loadable-module-with-external-binary-dependencies/40667 "2024-12-13T12:16:17Z")

</div>

Hi, I am new to slicer and I am trying to learn extension development for my Company’s internal use. I am currently building an extension with a loadable module. This module depends on a few proprietary libraries distr…

---

## [Can I use multiprocessing in a Python module](https://discourse.slicer.org/t/can-i-use-multiprocessing-in-a-python-module/1537)

<div class="topic-metadata">

**Author:** [@langderyos](https://discourse.slicer.org/u/langderyos)\
**Replies:** 16\
**Last updated:** [December 13, 2024, 3:16am UTC](https://discourse.slicer.org/t/can-i-use-multiprocessing-in-a-python-module/1537 "2024-12-13T03:16:30Z")

</div>

Hello， I am trying to use python multiprocessing in Slicer to deal with a large amount of calculations. I tried ThreadPool but it brings little effect.Then I tried Pool and Process,but they just can’t work. Could you te…

---

## [Troubleshooting PyCharm Debug Egg File Path Configuration in 3DSlicer](https://discourse.slicer.org/t/troubleshooting-pycharm-debug-egg-file-path-configuration-in-3dslicer/40458)

<div class="topic-metadata">

**Author:** [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Replies:** 3\
**Last updated:** [December 12, 2024, 9:24pm UTC](https://discourse.slicer.org/t/troubleshooting-pycharm-debug-egg-file-path-configuration-in-3dslicer/40458 "2024-12-12T21:24:58Z")

</div>

Hello Dear Developers and Users, OS: Ubuntu 22.04.3 LTS Slicer: 5.0.2 r30822 PyCharm: 2021.3 (Professional Edition) First, I must mention that unfortunately, I am unable to set the PyCharm debug egg file path in the …

---

## [Segmentation of trabeculal and corticalis from HRpQCT images](https://discourse.slicer.org/t/segmentation-of-trabeculal-and-corticalis-from-hrpqct-images/40640)

<div class="topic-metadata">

**Author:** [@nikkos](https://discourse.slicer.org/u/nikkos)\
**Replies:** 2\
**Last updated:** [December 12, 2024, 2:18am UTC](https://discourse.slicer.org/t/segmentation-of-trabeculal-and-corticalis-from-hrpqct-images/40640 "2024-12-12T02:18:02Z")

</div>

Hello dear Slicer Community, I wonder if there is an extension that allows me to automatically segment the corticalis of the femur and the trabeculae ? Best regards Niklas

---

## [Possible regression in events triggered by plane and ROI markups](https://discourse.slicer.org/t/possible-regression-in-events-triggered-by-plane-and-roi-markups/40474)

<div class="topic-metadata">

**Author:** [@rfenioux](https://discourse.slicer.org/u/rfenioux)\
**Replies:** 5\
**Last updated:** [December 11, 2024, 2:31pm UTC](https://discourse.slicer.org/t/possible-regression-in-events-triggered-by-plane-and-roi-markups/40474 "2024-12-11T14:31:14Z")

</div>

Hi all, I am encountering an inconsistent behavior regarding the handling of events for plane and ROI markups in the latest preview version of Slicer, comparing to the stable release (slicer 5.6.2) It seems that in the…

---

## [Problem debugging SlicerVirtualReality extension](https://discourse.slicer.org/t/problem-debugging-slicervirtualreality-extension/40585)

<div class="topic-metadata">

**Author:** [@petr.raunigr](https://discourse.slicer.org/u/petr.raunigr)\
**Replies:** 3\
**Last updated:** [December 10, 2024, 10:25am UTC](https://discourse.slicer.org/t/problem-debugging-slicervirtualreality-extension/40585 "2024-12-10T10:25:48Z")

</div>

Hello, I need help with debugging process of the SlicerVirtualReality extension. First things first… what I managed to do: Cloned 3D Slicer repo and built it (debug). Tried running 3D Slicer which was ok. Tried to deb…

---

## [Pedicle Screw Simulation Modification](https://discourse.slicer.org/t/pedicle-screw-simulation-modification/9485)

<div class="topic-metadata">

**Author:** [@manjula](https://discourse.slicer.org/u/manjula)\
**Replies:** 15\
**Last updated:** [December 9, 2024, 2:46pm UTC](https://discourse.slicer.org/t/pedicle-screw-simulation-modification/9485 "2024-12-09T14:46:53Z")

</div>

I came across the Pedicle Screw simulator when i was trying to figure out the segment interaction with mouse pointer. Developers of this module have done something great both clinicians and researchers both will benefit…

---

## [Does 3D slicer give support for miltuple user roles](https://discourse.slicer.org/t/does-3d-slicer-give-support-for-miltuple-user-roles/40571)

<div class="topic-metadata">

**Author:** [@Muhammad\_Hilal](https://discourse.slicer.org/u/Muhammad_Hilal)\
**Replies:** 1\
**Last updated:** [December 9, 2024, 3:44am UTC](https://discourse.slicer.org/t/does-3d-slicer-give-support-for-miltuple-user-roles/40571 "2024-12-09T03:44:22Z")

</div>

Does 3D slicer give support for miltuple user roles example, annotator, reviewer and Admin

---

## [how to use left mouse click & drag to browse slice](https://discourse.slicer.org/t/how-to-use-left-mouse-click-drag-to-browse-slice/18945)

<div class="topic-metadata">

**Author:** [@wycstar](https://discourse.slicer.org/u/wycstar)\
**Replies:** 6\
**Last updated:** [December 8, 2024, 10:16am UTC](https://discourse.slicer.org/t/how-to-use-left-mouse-click-drag-to-browse-slice/18945 "2024-12-08T10:16:28Z")

</div>

NOT use shift, only use left mouse click && drag to browse the slice in each sliceWidge(Red ,green etc) separately

---

## [Displaying Segments of a Specific Segmentation in the qMRMLSegmentsTableView](https://discourse.slicer.org/t/displaying-segments-of-a-specific-segmentation-in-the-qmrmlsegmentstableview/40486)

<div class="topic-metadata">

**Author:** [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Replies:** 6\
**Last updated:** [December 7, 2024, 8:05am UTC](https://discourse.slicer.org/t/displaying-segments-of-a-specific-segmentation-in-the-qmrmlsegmentstableview/40486 "2024-12-07T08:05:50Z")

</div>

Hello Dear Developers and Users, I used the answers given to a question titled Input segments in new module to help me write the following lines of code. import os import unittest from \_\_main\_\_ import vtk, qt, ctk, sli…

---

## [What is the best way to store data for a model, loaded from DICOM-RT ion plan file?](https://discourse.slicer.org/t/what-is-the-best-way-to-store-data-for-a-model-loaded-from-dicom-rt-ion-plan-file/40545)

<div class="topic-metadata">

**Author:** [@Mik](https://discourse.slicer.org/u/Mik)\
**Replies:** 0\
**Last updated:** [December 6, 2024, 12:27pm UTC](https://discourse.slicer.org/t/what-is-the-best-way-to-store-data-for-a-model-loaded-from-dicom-rt-ion-plan-file/40545 "2024-12-06T12:27:06Z")

</div>

Currently i’m working on loading and visualization of ion range compensator, which data is loaded from DICOM-RT ion plan file. The compensator volume data taken from the dicom file are very similar to image parameters: …

---

## [Implementing Widgets for Selecting Nodes of Type Segment and Beam](https://discourse.slicer.org/t/implementing-widgets-for-selecting-nodes-of-type-segment-and-beam/40359)

<div class="topic-metadata">

**Author:** [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Replies:** 2\
**Last updated:** [December 1, 2024, 6:51am UTC](https://discourse.slicer.org/t/implementing-widgets-for-selecting-nodes-of-type-segment-and-beam/40359 "2024-12-01T06:51:49Z")

</div>

Hello Dear Developers and Users, My question is probably very basic, so I would appreciate your guidance Or guide me on which tutorial I should refer to in order to implement functions for widgets that select nodes of d…

---

## [AWS EC2 (GPU) Instance setup](https://discourse.slicer.org/t/aws-ec2-gpu-instance-setup/40453)

<div class="topic-metadata">

**Author:** [@Muhammad\_Hilal](https://discourse.slicer.org/u/Muhammad_Hilal)\
**Replies:** 1\
**Last updated:** [November 30, 2024, 2:02pm UTC](https://discourse.slicer.org/t/aws-ec2-gpu-instance-setup/40453 "2024-11-30T14:02:53Z")

</div>

I have setup the slicer in AWS EC2 (GPU) Instance G5.8xlarge. I need guidelines, what should I do after completing the setup if I need UI? final result ./Slicer Slicer: cannot connect to X server :0 ubuntu@ip-172-31…

---

## [Understanding UI Editing and Python File Generation in 3DSlicer with Qt Designer](https://discourse.slicer.org/t/understanding-ui-editing-and-python-file-generation-in-3dslicer-with-qt-designer/40369)

<div class="topic-metadata">

**Author:** [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Replies:** 5\
**Last updated:** [November 30, 2024, 7:44am UTC](https://discourse.slicer.org/t/understanding-ui-editing-and-python-file-generation-in-3dslicer-with-qt-designer/40369 "2024-11-30T07:44:06Z")

</div>

Hello Dear Developers and Users, In the implementation of the module, I am using the Extension Wizard module. This module utilizes a fixed template, the result of which ultimately creates a .ui file and its correspondin…

[Previous page](https://discourse.slicer.org/c/dev/5.md?page=10)

[Next page](https://discourse.slicer.org/c/dev/5.md?page=12)
