# Development

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

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

**Page:** 89

---

## [Problem upgrading extension](https://discourse.slicer.org/t/problem-upgrading-extension/13178)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 1\
**Last updated:** [August 26, 2020, 2:25pm UTC](https://discourse.slicer.org/t/problem-upgrading-extension/13178 "2020-08-26T14:25:43Z")

</div>

I am having an issue with my extension that for it to be upgraded the users need to upgrade the whole slicer. In the extension manager it does never happens to upgrade. Another possibility is to download the extension ch…

---

## [Hooks prevents "merge upstream/master"](https://discourse.slicer.org/t/hooks-prevents-merge-upstream-master/13138)

<div class="topic-metadata">

**Author:** [@joachim](https://discourse.slicer.org/u/joachim)\
**Replies:** 5\
**Last updated:** [August 26, 2020, 1:27pm UTC](https://discourse.slicer.org/t/hooks-prevents-merge-upstream-master/13138 "2020-08-26T13:27:14Z")

</div>

In Github, I have my own fork of GitHub - Slicer/Slicer: Multi-platform, free open source software for visualization and image computing.. Now I want my fork to be synced, i.e. git fetch upstream and git merge upstream/m…

---

## [How to show 'Reload & Test' section and reload button on module panel](https://discourse.slicer.org/t/how-to-show-reload-test-section-and-reload-button-on-module-panel/13159)

<div class="topic-metadata">

**Author:** [@Yusuke](https://discourse.slicer.org/u/Yusuke)\
**Replies:** 3\
**Last updated:** [August 25, 2020, 7:50pm UTC](https://discourse.slicer.org/t/how-to-show-reload-test-section-and-reload-button-on-module-panel/13159 "2020-08-25T19:50:12Z")

</div>

Hello, I’m very new to 3D slicer and following this tutorial for learning python development. I’m using 4.10.1 but I cannot find ‘Examples’ option in the module list (page 32) and not sure how to show Reload & Test…

---

## [Problem with 3D printing myocardium only](https://discourse.slicer.org/t/problem-with-3d-printing-myocardium-only/13136)

<div class="topic-metadata">

**Author:** [@Serena](https://discourse.slicer.org/u/Serena)\
**Replies:** 1\
**Last updated:** [August 24, 2020, 3:49pm UTC](https://discourse.slicer.org/t/problem-with-3d-printing-myocardium-only/13136 "2020-08-24T15:49:49Z")

</div>

Hello, I created an stl file for the heart myocardium only using the tutorial :https://www.youtube.com/watch?v=55cqpl8\_b8c However when i try to 3D print it , it still comes up as a solid 3D model instead of a hollowed…

---

## [How to access qtcore constants in Python?](https://discourse.slicer.org/t/how-to-access-qtcore-constants-in-python/13137)

<div class="topic-metadata">

**Author:** [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Replies:** 4\
**Last updated:** [August 24, 2020, 3:10pm UTC](https://discourse.slicer.org/t/how-to-access-qtcore-constants-in-python/13137 "2020-08-24T15:10:30Z")

</div>

I can import qt in a slicelet and use all qtwidgets. But how can I qtcore. And also is there a way to PyQt5 so that I can use the qtcore from there…

---

## [Assign a DICOM volume node to 3d widget](https://discourse.slicer.org/t/assign-a-dicom-volume-node-to-3d-widget/13099)

<div class="topic-metadata">

**Author:** [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Replies:** 1\
**Last updated:** [August 21, 2020, 11:55pm UTC](https://discourse.slicer.org/t/assign-a-dicom-volume-node-to-3d-widget/13099 "2020-08-21T23:55:57Z")

</div>

I am creating a slicelet. And in that, I have dicom volume node, view node of the threeDwidget, and view logic of the widget. How to display the Dicom volume in the 3d widget?

---

## [MultiVolume with python script](https://discourse.slicer.org/t/multivolume-with-python-script/13100)

<div class="topic-metadata">

**Author:** [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Replies:** 1\
**Last updated:** [August 21, 2020, 11:54pm UTC](https://discourse.slicer.org/t/multivolume-with-python-script/13100 "2020-08-21T23:54:57Z")

</div>

How can I create multi volumes from python script and map them to different view nodes in slicer 3d?

---

## [Loading 4D volume as Sequence using python script](https://discourse.slicer.org/t/loading-4d-volume-as-sequence-using-python-script/13076)

<div class="topic-metadata">

**Author:** [@CJohnson](https://discourse.slicer.org/u/CJohnson)\
**Replies:** 6\
**Last updated:** [August 18, 2020, 8:36pm UTC](https://discourse.slicer.org/t/loading-4d-volume-as-sequence-using-python-script/13076 "2020-08-18T20:36:06Z")

</div>

Operating system: Windows 10 Slicer version: Slicer 4.11.0 Expected behavior: Load 4D volume nrrd file as sequence using script Actual behavior: volume is loaded as vtkMRMLMultiVolumeNode Hi All I can’t find the rig…

---

## [Create 3d dicom volume rendering slicelet](https://discourse.slicer.org/t/create-3d-dicom-volume-rendering-slicelet/12997)

<div class="topic-metadata">

**Author:** [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Replies:** 18\
**Last updated:** [August 18, 2020, 5:04am UTC](https://discourse.slicer.org/t/create-3d-dicom-volume-rendering-slicelet/12997 "2020-08-18T05:04:12Z")

</div>

Operating system: Ubuntu 19.10 Slicer version:4.10 How can I create .py(slicelet) that can render a 3d dicom volume?

---

## [MRML Node Singleton Behaviour](https://discourse.slicer.org/t/mrml-node-singleton-behaviour/12985)

<div class="topic-metadata">

**Author:** [@Samuel\_Gerber](https://discourse.slicer.org/u/Samuel_Gerber)\
**Replies:** 5\
**Last updated:** [August 16, 2020, 5:27pm UTC](https://discourse.slicer.org/t/mrml-node-singleton-behaviour/12985 "2020-08-16T17:27:57Z")

</div>

I am trying to use the SetSingletonTag of a MRMLNode to enforce a single node in my scene. The singleton is created at startup of the application. When loading a scene with the singleton saved, the singleton node behave…

---

## [Creating a script or plugin](https://discourse.slicer.org/t/creating-a-script-or-plugin/13010)

<div class="topic-metadata">

**Author:** [@NoobForSlicer](https://discourse.slicer.org/u/NoobForSlicer)\
**Replies:** 6\
**Last updated:** [August 15, 2020, 1:45pm UTC](https://discourse.slicer.org/t/creating-a-script-or-plugin/13010 "2020-08-15T13:45:34Z")

</div>

So I am thinking about hiring somoene to create a script that would repeat the same actions of importing the images, transforming them and exporting them and adding names to exported files. I wonder how is it done in sl…

---

## [Multiple choice dialog](https://discourse.slicer.org/t/multiple-choice-dialog/13006)

<div class="topic-metadata">

**Author:** [@rohan\_n](https://discourse.slicer.org/u/rohan_n)\
**Replies:** 3\
**Last updated:** [August 15, 2020, 3:51am UTC](https://discourse.slicer.org/t/multiple-choice-dialog/13006 "2020-08-15T03:51:35Z")

</div>

Does slicer have any method that’s very similar to the slicer.util. confirmYesNoDisplay but instead of being just Yes or No, you can add custom number of buttons and give the buttons any labels you want? If so, syntax …

---

## [VTK + ITK = Awesome: Feedback Welcomed!](https://discourse.slicer.org/t/vtk-itk-awesome-feedback-welcomed/12998)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 2\
**Last updated:** [August 14, 2020, 3:19pm UTC](https://discourse.slicer.org/t/vtk-itk-awesome-feedback-welcomed/12998 "2020-08-14T15:19:51Z")

</div>

Yesterday we (Kitware folks) hosted a brainstorming session on the potential, pitfalls, and technical options for integrating ITK and VTK. In few weeks, after we materialize our plans we will reach to the community for …

---

## [OpenSSL 1.1.1 packaging problem - libcrypto-1\_1-x64.dll not found](https://discourse.slicer.org/t/openssl-1-1-1-packaging-problem-libcrypto-1-1-x64-dll-not-found/12964)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 11\
**Last updated:** [August 14, 2020, 2:04pm UTC](https://discourse.slicer.org/t/openssl-1-1-1-packaging-problem-libcrypto-1-1-x64-dll-not-found/12964 "2020-08-14T14:04:12Z")

</div>

Hi all, I updated Slicer under a custom app after several months, and the generated installer wouldn’t start up, because libcrypto-1\_1-x64.dll was not found. It seems that in the new version of OpenSSL (1.1.1g) Slicer …

---

## [Slicer exit error](https://discourse.slicer.org/t/slicer-exit-error/12921)

<div class="topic-metadata">

**Author:** [@Tesla2687](https://discourse.slicer.org/u/Tesla2687)\
**Replies:** 4\
**Last updated:** [August 14, 2020, 7:37am UTC](https://discourse.slicer.org/t/slicer-exit-error/12921 "2020-08-14T07:37:57Z")

</div>

Operating system: Windows 10 Slicer version: Slicer 4.11.0 Expected behavior: Actual behavior: When I exit the Slicer, something wrong happened. please check the screenshot below.

---

## [Text overlayed on slice](https://discourse.slicer.org/t/text-overlayed-on-slice/12982)

<div class="topic-metadata">

**Author:** [@rohan\_n](https://discourse.slicer.org/u/rohan_n)\
**Replies:** 6\
**Last updated:** [August 13, 2020, 11:17pm UTC](https://discourse.slicer.org/t/text-overlayed-on-slice/12982 "2020-08-13T23:17:15Z")

</div>

Hello, Is it possible to add Python code to your scripted module that displays custom text on top of the slice view? In particular, I’m interested in displaying the slice position in a user-friendly way. I created an ex…

---

## [Create more than one conversion rule in developped module](https://discourse.slicer.org/t/create-more-than-one-conversion-rule-in-developped-module/12961)

<div class="topic-metadata">

**Author:** [@loubna](https://discourse.slicer.org/u/loubna)\
**Replies:** 1\
**Last updated:** [August 13, 2020, 1:20pm UTC](https://discourse.slicer.org/t/create-more-than-one-conversion-rule-in-developped-module/12961 "2020-08-13T13:20:19Z")

</div>

Hi; I have developed a new reconstruction module in slicerRT. I have created new conversion rule (planar Contours-\>Closed surface) in which I have implemented a contours based reconstruction method. In fact it works fi…

---

## [Achieve "Click to jump Slices -\> centered" programmatically](https://discourse.slicer.org/t/achieve-click-to-jump-slices-centered-programmatically/12969)

<div class="topic-metadata">

**Author:** [@mangotee](https://discourse.slicer.org/u/mangotee)\
**Replies:** 2\
**Last updated:** [August 13, 2020, 9:32am UTC](https://discourse.slicer.org/t/achieve-click-to-jump-slices-centered-programmatically/12969 "2020-08-13T09:32:04Z")

</div>

Hi all, I would like to achieve the fiducial feature “Click to Jump Slices” programmatically. I know how to achieve this for the Red/Green/Yellow offsets, but I would like the slice views to get centered on the fiducial…

---

## [BUG when reading mha file with AnatomicalOrientation](https://discourse.slicer.org/t/bug-when-reading-mha-file-with-anatomicalorientation/7038)

<div class="topic-metadata">

**Author:** [@agirault](https://discourse.slicer.org/u/agirault)\
**Replies:** 7\
**Last updated:** [August 12, 2020, 1:33pm UTC](https://discourse.slicer.org/t/bug-when-reading-mha-file-with-anatomicalorientation/7038 "2020-08-12T13:33:03Z")

</div>

I’m working on adding support for orientation in VTK image data and what depends on it (filters, mappers, IO… more details here). I was working on the MetaIO (.mha, .mhd) reader and tested using a sample dataset with th…

---

## [Many core experiment](https://discourse.slicer.org/t/many-core-experiment/12944)

<div class="topic-metadata">

**Author:** [@pieper](https://discourse.slicer.org/u/pieper)\
**Replies:** 6\
**Last updated:** [August 11, 2020, 6:45pm UTC](https://discourse.slicer.org/t/many-core-experiment/12944 "2020-08-11T18:45:57Z")

</div>

Just as a test, I created an N2D type virtual machine on Google Cloud with 224 cores running Ubuntu 20.04. I did a standard linux build with the default settings, so SimpleITK and Testing enabled. It took just under 20…

---

## [Adjusting window level with Python commands](https://discourse.slicer.org/t/adjusting-window-level-with-python-commands/12938)

<div class="topic-metadata">

**Author:** [@rohan\_n](https://discourse.slicer.org/u/rohan_n)\
**Replies:** 2\
**Last updated:** [August 11, 2020, 1:28pm UTC](https://discourse.slicer.org/t/adjusting-window-level-with-python-commands/12938 "2020-08-11T13:28:58Z")

</div>

Are there Python commands that do the same things as the various click and drag options of the Adjust Window level button? If so what is the syntax of these Python commands? Thanks, Rohan Nadkarni

---

## [Compute consistent normal vectors from triangle strips](https://discourse.slicer.org/t/compute-consistent-normal-vectors-from-triangle-strips/12926)

<div class="topic-metadata">

**Author:** [@loubna](https://discourse.slicer.org/u/loubna)\
**Replies:** 4\
**Last updated:** [August 11, 2020, 1:23pm UTC](https://discourse.slicer.org/t/compute-consistent-normal-vectors-from-triangle-strips/12926 "2020-08-11T13:23:43Z")

</div>

Hi, how can I get consistent normal vectors for each point from triangle strips (after applying vtkStripper filter)? Thank’s in advance

---

## [CleanUp segmentations](https://discourse.slicer.org/t/cleanup-segmentations/12919)

<div class="topic-metadata">

**Author:** [@loubna](https://discourse.slicer.org/u/loubna)\
**Replies:** 1\
**Last updated:** [August 9, 2020, 4:45pm UTC](https://discourse.slicer.org/t/cleanup-segmentations/12919 "2020-08-09T16:45:55Z")

</div>

Hi; I would clean up segmentations in order to keep only the big connected regions and remove small internal regions. how can I do that using filters. Thank’s in advance

---

## [Load FreeSurfer data set as DICOMRT](https://discourse.slicer.org/t/load-freesurfer-data-set-as-dicomrt/12886)

<div class="topic-metadata">

**Author:** [@loubna](https://discourse.slicer.org/u/loubna)\
**Replies:** 6\
**Last updated:** [August 8, 2020, 3:22pm UTC](https://discourse.slicer.org/t/load-freesurfer-data-set-as-dicomrt/12886 "2020-08-08T15:22:32Z")

</div>

Hi, I have used SlicerFreeSurfer extension to import FreeSurfer data into slicer ( TutorialData/diffusion\_recon/Diff001) as shown in figure1. I have then created new study to export Dicom and some segments as DICOM …

---

## [How to map volume data to a slice viewer in a non-linear transformation using custom code?](https://discourse.slicer.org/t/how-to-map-volume-data-to-a-slice-viewer-in-a-non-linear-transformation-using-custom-code/12882)

<div class="topic-metadata">

**Author:** [@Tesla2687](https://discourse.slicer.org/u/Tesla2687)\
**Replies:** 2\
**Last updated:** [August 9, 2020, 12:52am UTC](https://discourse.slicer.org/t/how-to-map-volume-data-to-a-slice-viewer-in-a-non-linear-transformation-using-custom-code/12882 "2020-08-09T00:52:47Z")

</div>

Operating system:Windows 10 Slicer version: 4.11.0 Expected behavior: How to map volume data to a slice display viewer in a non-linear transformation using custom code? Actual behavior: I would like to display a cur…

---

## [Problems installing lmfit python package](https://discourse.slicer.org/t/problems-installing-lmfit-python-package/9210)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 20\
**Last updated:** [August 5, 2020, 9:40am UTC](https://discourse.slicer.org/t/problems-installing-lmfit-python-package/9210 "2020-08-05T09:40:24Z")

</div>

I have problems installing lmfit package. Initially, it installs fine with no errors but then when importing it in a script this happens. The developers said that while installing the setup.py converts the python2 code …

---

## [Pip install packages that need compilation](https://discourse.slicer.org/t/pip-install-packages-that-need-compilation/12859)

<div class="topic-metadata">

**Author:** [@ezgimercan](https://discourse.slicer.org/u/ezgimercan)\
**Replies:** 3\
**Last updated:** [August 4, 2020, 11:32pm UTC](https://discourse.slicer.org/t/pip-install-packages-that-need-compilation/12859 "2020-08-04T23:32:28Z")

</div>

Continuing the discussion from Slicer-Python Packages Use and Install: Hi Andras, Just checking to see if this is still the case. I am trying to integrate an old C++ code into a scripted module, I converted all to Pyt…

---

## [Fail to import segmentations in SlicerRT](https://discourse.slicer.org/t/fail-to-import-segmentations-in-slicerrt/12539)

<div class="topic-metadata">

**Author:** [@loubna](https://discourse.slicer.org/u/loubna)\
**Replies:** 13\
**Last updated:** [August 4, 2020, 12:30pm UTC](https://discourse.slicer.org/t/fail-to-import-segmentations-in-slicerrt/12539 "2020-08-04T12:30:10Z")

</div>

Hi; I have a set of T3 images segmented using SFL software Library. The segmentations are saved in .nii format. The dicom images and segmentations are well imported in 3D slicer. (see figure 1) however when I export the…

---

## [How Can I use python to get the status of a node's show/hides status in the "data" or "DICOM" module in the Subject hierarchy area?](https://discourse.slicer.org/t/how-can-i-use-python-to-get-the-status-of-a-nodes-show-hides-status-in-the-data-or-dicom-module-in-the-subject-hierarchy-area/12786)

<div class="topic-metadata">

**Author:** [@Tesla2687](https://discourse.slicer.org/u/Tesla2687)\
**Replies:** 15\
**Last updated:** [August 4, 2020, 12:18pm UTC](https://discourse.slicer.org/t/how-can-i-use-python-to-get-the-status-of-a-nodes-show-hides-status-in-the-data-or-dicom-module-in-the-subject-hierarchy-area/12786 "2020-08-04T12:18:21Z")

</div>

Operating system: Windows 10 Slicer version: 4.10.2 Expected behavior: Using python to get the status of a node’s show/hides status in the “data” or “DICOM” module in the Subject hierarchy area? Actual behavior:

---

## [Crash on startup](https://discourse.slicer.org/t/crash-on-startup/12835)

<div class="topic-metadata">

**Author:** [@gcsharp](https://discourse.slicer.org/u/gcsharp)\
**Replies:** 0\
**Last updated:** [August 3, 2020, 4:24pm UTC](https://discourse.slicer.org/t/crash-on-startup/12835 "2020-08-03T16:24:34Z")

</div>

This is on linux. gcc 8.3.0, Qt 5.11.3. I have to build with Slicer\_USE\_PYTHONQT\_WITH\_OPENSSL disabled, but all other options as default. Any ideas? Thread 1 "SlicerApp-real" received signal SIGSEGV, Segmentation faul…

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

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