# Development

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

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

**Page:** 80

---

## [How to get name of loaded mrb file with python?](https://discourse.slicer.org/t/how-to-get-name-of-loaded-mrb-file-with-python/16501)

<div class="topic-metadata">

**Author:** [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Replies:** 2\
**Last updated:** [March 14, 2021, 5:33am UTC](https://discourse.slicer.org/t/how-to-get-name-of-loaded-mrb-file-with-python/16501 "2021-03-14T05:33:03Z")

</div>

I am loading a series of mrb files, doing some processing, and saving some results to csv files. I’d like to generate the csv file name based on the mrb file name, but I can’t figure out where this is stored in Slicer. …

---

## [How to create 3 channel image from different DICOMs?](https://discourse.slicer.org/t/how-to-create-3-channel-image-from-different-dicoms/16481)

<div class="topic-metadata">

**Author:** [@coconutattitude](https://discourse.slicer.org/u/coconutattitude)\
**Replies:** 1\
**Last updated:** [March 11, 2021, 10:56pm UTC](https://discourse.slicer.org/t/how-to-create-3-channel-image-from-different-dicoms/16481 "2021-03-11T22:56:27Z")

</div>

Hi, is there a way to combine different DICOMS into a single image in Slicer? I have several examinations, and I want to reproduce this AI segmentation: U-Net for brain MRI | PyTorch However, It asks for specific input i…

---

## [Input for new extension for Macdonal tumor size measurements](https://discourse.slicer.org/t/input-for-new-extension-for-macdonal-tumor-size-measurements/16480)

<div class="topic-metadata">

**Author:** [@yannick\_s](https://discourse.slicer.org/u/yannick_s)\
**Replies:** 1\
**Last updated:** [March 11, 2021, 3:04pm UTC](https://discourse.slicer.org/t/input-for-new-extension-for-macdonal-tumor-size-measurements/16480 "2021-03-11T15:04:54Z")

</div>

Dear Slicer community, I follow the instructions to create a Slicer extension and ask for your input to avoid overlap or missing already available work. Motivation For the current treatment response assessment criteri…

---

## [Set minimum view width/height in a layout](https://discourse.slicer.org/t/set-minimum-view-width-height-in-a-layout/16467)

<div class="topic-metadata">

**Author:** [@riep](https://discourse.slicer.org/u/riep)\
**Replies:** 5\
**Last updated:** [March 11, 2021, 8:43am UTC](https://discourse.slicer.org/t/set-minimum-view-width-height-in-a-layout/16467 "2021-03-11T08:43:56Z")

</div>

Hi everyone, I am trying to implement a custom layout very similar to SlicerLayoutFourUpQuantitativeView. However, I would like to set a minimum width/height to views so that when the user stretches one views others do…

---

## [Error configuring 3D Slicer - CMake does not support the HTTPS protocol](https://discourse.slicer.org/t/error-configuring-3d-slicer-cmake-does-not-support-the-https-protocol/16476)

<div class="topic-metadata">

**Author:** [@VivianTetzner](https://discourse.slicer.org/u/VivianTetzner)\
**Replies:** 4\
**Last updated:** [March 10, 2021, 8:02pm UTC](https://discourse.slicer.org/t/error-configuring-3d-slicer-cmake-does-not-support-the-https-protocol/16476 "2021-03-10T20:02:43Z")

</div>

Hi, I’m having trouble while trying to configure, and then generate, de 3D Slicer using CMake. → 3D Slicer 4.8: from git SlicerGitSVNArchieve, using git checkout to config the right commit where is the tree for the 4.8…

---

## [Segmentation getBounds](https://discourse.slicer.org/t/segmentation-getbounds/16452)

<div class="topic-metadata">

**Author:** [@Ludovic\_Ferrer](https://discourse.slicer.org/u/Ludovic_Ferrer)\
**Replies:** 3\
**Last updated:** [March 10, 2021, 2:25pm UTC](https://discourse.slicer.org/t/segmentation-getbounds/16452 "2021-03-10T14:25:08Z")

</div>

Hi everyone, I am interested in cropping images around each segmentation I have at hand. Naively, I though that the method GetBounds would provide me a bounding box around each segmentation. Here is the snippet I used t…

---

## [Is there any way I can change how the scissor tool works in segment editor?](https://discourse.slicer.org/t/is-there-any-way-i-can-change-how-the-scissor-tool-works-in-segment-editor/16472)

<div class="topic-metadata">

**Author:** [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Replies:** 4\
**Last updated:** [March 10, 2021, 3:53pm UTC](https://discourse.slicer.org/t/is-there-any-way-i-can-change-how-the-scissor-tool-works-in-segment-editor/16472 "2021-03-10T15:53:09Z")

</div>

Operating system: Windows 10 Slicer version: 4.11 Expected behavior: Actual behavior: I want to use the scissor tools to make dents or cuts on a 3d model. But the scissor tool completely removes everything inside the…

---

## [Get end interaction of reformatWidget](https://discourse.slicer.org/t/get-end-interaction-of-reformatwidget/16389)

<div class="topic-metadata">

**Author:** [@riep](https://discourse.slicer.org/u/riep)\
**Replies:** 8\
**Last updated:** [March 10, 2021, 1:35pm UTC](https://discourse.slicer.org/t/get-end-interaction-of-reformatwidget/16389 "2021-03-10T13:35:18Z")

</div>

Dear everyone, I am trying to observe the end interaction event of the reformat widget. To do that I have tried to observe the Interaction node of the vtkMRMLThreeDReformatDisplayableManager using slicer.vtkMRMLInterac…

---

## [Change speed for Rock 3D?](https://discourse.slicer.org/t/change-speed-for-rock-3d/16443)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 2\
**Last updated:** [March 9, 2021, 2:19pm UTC](https://discourse.slicer.org/t/change-speed-for-rock-3d/16443 "2021-03-09T14:19:15Z")

</div>

Is there a way in Python to specify/change the speed for the Rock 3D view? I’ve found where to change the increment and length (little fuzzy on what increment does…) but I haven’t found a way to change how quickly it rot…

---

## ["Merge into single file" checkbox value not used? (4.13.0-2021-02-17)](https://discourse.slicer.org/t/merge-into-single-file-checkbox-value-not-used-4-13-0-2021-02-17/16429)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 2\
**Last updated:** [March 8, 2021, 1:09pm UTC](https://discourse.slicer.org/t/merge-into-single-file-checkbox-value-not-used-4-13-0-2021-02-17/16429 "2021-03-08T13:09:32Z")

</div>

It looks like ExportSegmentsClosedSurfaceRepresentationToFiles() in vtkSlicerSegmentationsModuleLogic ignores the merge parameter and always saves OBJ files as merged. Is this by design? Thanks! -Hollister

---

## [Irregular shaped ROI and conversion to mask](https://discourse.slicer.org/t/irregular-shaped-roi-and-conversion-to-mask/12782)

<div class="topic-metadata">

**Author:** [@rohan\_n](https://discourse.slicer.org/u/rohan_n)\
**Replies:** 11\
**Last updated:** [March 7, 2021, 6:14am UTC](https://discourse.slicer.org/t/irregular-shaped-roi-and-conversion-to-mask/12782 "2021-03-07T06:14:52Z")

</div>

How can I create a 3D ROI of irregular shape (not rectangular prism)? Is the Closed Curve option in the Create and Place menu the only way to do this? I also want to be able to use this sort of irregular 3D ROI to creat…

---

## [Stitching artifact with volume rendering large volumes (Feb 17 2021 nightly)](https://discourse.slicer.org/t/stitching-artifact-with-volume-rendering-large-volumes-feb-17-2021-nightly/16390)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 20\
**Last updated:** [March 7, 2021, 1:46am UTC](https://discourse.slicer.org/t/stitching-artifact-with-volume-rendering-large-volumes-feb-17-2021-nightly/16390 "2021-03-07T01:46:08Z")

</div>

I’m running into a weird stitching artifact with volume rendering, and at first I thought it was my volume (rather large) but I can duplicate it by resampling available sample data to make a large volume. This is on a 2…

---

## [How to set different control point sizes in different views?](https://discourse.slicer.org/t/how-to-set-different-control-point-sizes-in-different-views/16375)

<div class="topic-metadata">

**Author:** [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Replies:** 11\
**Last updated:** [March 5, 2021, 4:44pm UTC](https://discourse.slicer.org/t/how-to-set-different-control-point-sizes-in-different-views/16375 "2021-03-05T16:44:26Z")

</div>

Operating system: windows 10 Slicer version:4.11 Expected behavior: Actual behavior: I want the control points in a centerline curve to have different sizes in 3d view and different sizes in sagittal view. I know I c…

---

## [Accessing a custom loadable module's logic from python](https://discourse.slicer.org/t/accessing-a-custom-loadable-modules-logic-from-python/16318)

<div class="topic-metadata">

**Author:** [@hphalen](https://discourse.slicer.org/u/hphalen)\
**Replies:** 9\
**Last updated:** [March 4, 2021, 9:23pm UTC](https://discourse.slicer.org/t/accessing-a-custom-loadable-modules-logic-from-python/16318 "2021-03-04T21:23:55Z")

</div>

Hello, I am working with an existing custom loadable module (written in C++) and was hoping to be able to access functions from the module’s logic in the python interface and/or within a scripted python module. For the …

---

## [Module for Internal Dosimetry in Nuclear Medicine](https://discourse.slicer.org/t/module-for-internal-dosimetry-in-nuclear-medicine/3317)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 15\
**Last updated:** [March 4, 2021, 11:15am UTC](https://discourse.slicer.org/t/module-for-internal-dosimetry-in-nuclear-medicine/3317 "2021-03-04T11:15:04Z")

</div>

Dear All I am willing to create a whole module for Internal Dosimetry in Nuclear Medicine, the Module consist on several plugins: Quality Control of Images (Images loaded from DICOM Node must contain a minimum set of …

---

## [Ubuntu dockerbuild environment](https://discourse.slicer.org/t/ubuntu-dockerbuild-environment/16322)

<div class="topic-metadata">

**Author:** [@RafaelPalomar](https://discourse.slicer.org/u/RafaelPalomar)\
**Replies:** 3\
**Last updated:** [March 3, 2021, 3:46pm UTC](https://discourse.slicer.org/t/ubuntu-dockerbuild-environment/16322 "2021-03-03T15:46:40Z")

</div>

Yesterday in the devs hangout we discussed about making a dockerbuild environment for testing 3D Slicer in newer Ubuntu distributions. I’ve looked at the existing ubuntu-2004-gcc9/Dockerfile and have a few questions: T…

---

## [Set visibility of fiducials inside an ROI?](https://discourse.slicer.org/t/set-visibility-of-fiducials-inside-an-roi/16300)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 5\
**Last updated:** [March 3, 2021, 1:47pm UTC](https://discourse.slicer.org/t/set-visibility-of-fiducials-inside-an-roi/16300 "2021-03-03T13:47:06Z")

</div>

I’d like to be able to make an ROI and hide all the markup fiducials inside of it. Is there a way to get the RAS bounds of an ROI? GetRASBounds() is returning \[1e+299, -1e+299, 1e+299, -1e+299, 1e+299, -1e+299\], but GetB…

---

## [saveNode not working properly](https://discourse.slicer.org/t/savenode-not-working-properly/16309)

<div class="topic-metadata">

**Author:** [@user20s](https://discourse.slicer.org/u/user20s)\
**Replies:** 2\
**Last updated:** [March 2, 2021, 4:49pm UTC](https://discourse.slicer.org/t/savenode-not-working-properly/16309 "2021-03-02T16:49:44Z")

</div>

Hi. I am trying to use the python interactor tool to make some resampling automatic using the module brainresample. I have a code that loads the volumes, loads a transform and then gives parameters and calls the module.…

---

## [Release of Slicer 4.11.20210226 in progress: Regular builds are disabled](https://discourse.slicer.org/t/release-of-slicer-4-11-20210226-in-progress-regular-builds-are-disabled/16250)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 6\
**Last updated:** [March 1, 2021, 9:11pm UTC](https://discourse.slicer.org/t/release-of-slicer-4-11-20210226-in-progress-regular-builds-are-disabled/16250 "2021-03-01T21:11:49Z")

</div>

This evening, regular preview and stable builds of Slicer and associated extensions will be disabled in favor of a new stable snapshot release. To track the progress, see Release Slicer v4.11.20210226 · Issue #5489 · …

---

## [How to display all points in a centerline curve at the same time in sagittal view? And how to display them?](https://discourse.slicer.org/t/how-to-display-all-points-in-a-centerline-curve-at-the-same-time-in-sagittal-view-and-how-to-display-them/16293)

<div class="topic-metadata">

**Author:** [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Replies:** 1\
**Last updated:** [March 1, 2021, 6:04pm UTC](https://discourse.slicer.org/t/how-to-display-all-points-in-a-centerline-curve-at-the-same-time-in-sagittal-view-and-how-to-display-them/16293 "2021-03-01T18:04:45Z")

</div>

Operating system: windows 10 This is a 2 part question: First, I want to display the points in a centerline curve at all times programmatically. So I have a centerline curve and it has n number of control points. I w…

---

## [I cannot download 3D slicer? All I get is a error SQLSTATE\[HY000\]: General error: 144 Table](https://discourse.slicer.org/t/i-cannot-download-3d-slicer-all-i-get-is-a-error-sqlstate-hy000-general-error-144-table/16263)

<div class="topic-metadata">

**Author:** [@zuhaib\_izhar](https://discourse.slicer.org/u/zuhaib_izhar)\
**Replies:** 0\
**Last updated:** [February 27, 2021, 8:06pm UTC](https://discourse.slicer.org/t/i-cannot-download-3d-slicer-all-i-get-is-a-error-sqlstate-hy000-general-error-144-table/16263 "2021-02-27T20:06:42Z")

</div>

Operating system: Slicer version:4.11.2 Expected behavior: Actual behavior:

---

## [How to load/add data onto Slicer through its API?](https://discourse.slicer.org/t/how-to-load-add-data-onto-slicer-through-its-api/16198)

<div class="topic-metadata">

**Author:** [@will\_kim](https://discourse.slicer.org/u/will_kim)\
**Replies:** 3\
**Last updated:** [February 26, 2021, 10:11pm UTC](https://discourse.slicer.org/t/how-to-load-add-data-onto-slicer-through-its-api/16198 "2021-02-26T22:11:07Z")

</div>

Hi is there a Slicer API that loads png, jpg, or any other common file format to Slicer. I know you can go to the ‘Add data into the scene’ to do it manually, but I want to try to include this to be automatic on my pyth…

---

## [Disappearing of Canal and Implant](https://discourse.slicer.org/t/disappearing-of-canal-and-implant/16004)

<div class="topic-metadata">

**Author:** [@forfullstack](https://discourse.slicer.org/u/forfullstack)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 7:09pm UTC](https://discourse.slicer.org/t/disappearing-of-canal-and-implant/16004 "2021-02-25T19:09:31Z")

</div>

I’m struggling on the functions of Canal and Implant. I know Canal has two display node entities of ModelDisplay and MarkupsFiducialDisplay as well as Implant. The problem is when I created Canal or Implant and click m…

---

## [Change handle property of markups node like implant](https://discourse.slicer.org/t/change-handle-property-of-markups-node-like-implant/16204)

<div class="topic-metadata">

**Author:** [@forfullstack](https://discourse.slicer.org/u/forfullstack)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 7:07pm UTC](https://discourse.slicer.org/t/change-handle-property-of-markups-node-like-implant/16204 "2021-02-25T19:07:46Z")

</div>

I’m trying to change property(color and opacity) of implant handle. Because when we move implant in the 2d slice view, it’s difficult to look implant itself because it’s overlapped by handle. If I hide handle, I can’t mo…

---

## [Can I make IGT-Volume Reslice Driver run automatically after an event?](https://discourse.slicer.org/t/can-i-make-igt-volume-reslice-driver-run-automatically-after-an-event/16215)

<div class="topic-metadata">

**Author:** [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Replies:** 3\
**Last updated:** [February 25, 2021, 4:50pm UTC](https://discourse.slicer.org/t/can-i-make-igt-volume-reslice-driver-run-automatically-after-an-event/16215 "2021-02-25T16:50:06Z")

</div>

Operating system:Windows 10 Slicer version:4.11.20200930 I want to use the IGTs Volume Reslice driver to move along a transform path, I can do that manually by opening the volume reslice driver module and selecting the…

---

## [How to select specific tetrahedron cells from mesh](https://discourse.slicer.org/t/how-to-select-specific-tetrahedron-cells-from-mesh/7716)

<div class="topic-metadata">

**Author:** [@Saima](https://discourse.slicer.org/u/Saima)\
**Replies:** 11\
**Last updated:** [February 25, 2021, 6:30am UTC](https://discourse.slicer.org/t/how-to-select-specific-tetrahedron-cells-from-mesh/7716 "2021-02-25T06:30:21Z")

</div>

If you have a mesh created from segmentmesher. how can you select the tetrahedron cells.

---

## [Paper of constructing STL file from 2d image slices](https://discourse.slicer.org/t/paper-of-constructing-stl-file-from-2d-image-slices/16165)

<div class="topic-metadata">

**Author:** [@Focus](https://discourse.slicer.org/u/Focus)\
**Replies:** 2\
**Last updated:** [February 24, 2021, 6:03pm UTC](https://discourse.slicer.org/t/paper-of-constructing-stl-file-from-2d-image-slices/16165 "2021-02-24T18:03:20Z")

</div>

Can I find some paper of 3d Slicer about Method of reconstruction from 2d image? or any information about 3d Slicer that makes the model STL file. Thank you.

---

## [Showing a qMRRMLWidget instead of the view layout](https://discourse.slicer.org/t/showing-a-qmrrmlwidget-instead-of-the-view-layout/16178)

<div class="topic-metadata">

**Author:** [@pll\_llq](https://discourse.slicer.org/u/pll_llq)\
**Replies:** 3\
**Last updated:** [February 24, 2021, 4:24pm UTC](https://discourse.slicer.org/t/showing-a-qmrrmlwidget-instead-of-the-view-layout/16178 "2021-02-24T16:24:43Z")

</div>

Hi :wave: I want to display a widget that will takes the space used by the view layout. As I understand after reading reply to this post I can’t have a QMRMLWidget as a part of a custom layout. I tried to manually set…

---

## [Error installing pygco python package (for graphcut) in Slicer 4.11](https://discourse.slicer.org/t/error-installing-pygco-python-package-for-graphcut-in-slicer-4-11/16143)

<div class="topic-metadata">

**Author:** [@supratikbose](https://discourse.slicer.org/u/supratikbose)\
**Replies:** 3\
**Last updated:** [February 23, 2021, 2:10am UTC](https://discourse.slicer.org/t/error-installing-pygco-python-package-for-graphcut-in-slicer-4-11/16143 "2021-02-23T02:10:56Z")

</div>

Hi, I am trying to install pygco package in Slicer 4.11 The package installs well in regular python 3.6, 3.7 environment. But withing Slicer 4.13 installation is failing while building the wheel file. Is there any soluti…

---

## [Execute some code on exit](https://discourse.slicer.org/t/execute-some-code-on-exit/16140)

<div class="topic-metadata">

**Author:** [@giovform](https://discourse.slicer.org/u/giovform)\
**Replies:** 2\
**Last updated:** [February 22, 2021, 7:01pm UTC](https://discourse.slicer.org/t/execute-some-code-on-exit/16140 "2021-02-22T19:01:07Z")

</div>

Is there a way to execute some code on Slicer exit?

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

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