# Development

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

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

**Page:** 112

---

## [Steps to add my Nuclear Medicine Dosimetry module](https://discourse.slicer.org/t/steps-to-add-my-nuclear-medicine-dosimetry-module/5840)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 2\
**Last updated:** [February 20, 2019, 6:19pm UTC](https://discourse.slicer.org/t/steps-to-add-my-nuclear-medicine-dosimetry-module/5840 "2019-02-20T18:19:01Z")

</div>

I have almost finished my Nuclear Medicine Dosimetry module, however I have some questions about integration and publication I have requested a wiki account but I have no answer yet. Where do I have to publish the sour…

---

## [Creating vtkPolyDataModel from PNG stack](https://discourse.slicer.org/t/creating-vtkpolydatamodel-from-png-stack/5846)

<div class="topic-metadata">

**Author:** [@Michael\_Ef](https://discourse.slicer.org/u/Michael_Ef)\
**Replies:** 0\
**Last updated:** [February 20, 2019, 2:07pm UTC](https://discourse.slicer.org/t/creating-vtkpolydatamodel-from-png-stack/5846 "2019-02-20T14:07:07Z")

</div>

Hi all, so I’m new to slicer and I want to visualize the surface of a stack of png’s by marching cubes algorithm (as python module). So far my slides are already segmented and registrated, I loaded them to slicer and c…

---

## [Light Wight Robot IGT Error LNK1181](https://discourse.slicer.org/t/light-wight-robot-igt-error-lnk1181/5784)

<div class="topic-metadata">

**Author:** [@Mary7291](https://discourse.slicer.org/u/Mary7291)\
**Replies:** 0\
**Last updated:** [February 14, 2019, 10:03pm UTC](https://discourse.slicer.org/t/light-wight-robot-igt-error-lnk1181/5784 "2019-02-14T22:03:12Z")

</div>

Operating system: windows 7 Slicer version: build Slicer V.4.11 Expected behavior: Actual behavior: Hello every body, I faced with error LNK 1181, when i try to build the Light Weight Robot IGT module on Slicer with…

---

## [SlicerSoundControl Questions](https://discourse.slicer.org/t/slicersoundcontrol-questions/5749)

<div class="topic-metadata">

**Author:** [@lRaulMN7](https://discourse.slicer.org/u/lRaulMN7)\
**Replies:** 0\
**Last updated:** [February 12, 2019, 10:14pm UTC](https://discourse.slicer.org/t/slicersoundcontrol-questions/5749 "2019-02-12T22:14:34Z")

</div>

Hello! I have a few questions ^-^. In soundnav.py: n line 261, why do we need to check again that we are working with an instrumentName? Also, about this method: In lines 329 to 333, I see you get the Distance …

---

## [Slicer Read Transform Content](https://discourse.slicer.org/t/slicer-read-transform-content/5736)

<div class="topic-metadata">

**Author:** [@zhenyu1995](https://discourse.slicer.org/u/zhenyu1995)\
**Replies:** 2\
**Last updated:** [February 12, 2019, 1:14pm UTC](https://discourse.slicer.org/t/slicer-read-transform-content/5736 "2019-02-12T13:14:06Z")

</div>

Hello, I am now writing a Slicer scripted module and I need to read only a certain element from a specified transform node. For example, I have transform node named “Transform1” and I just need to read the value of elem…

---

## [Building Slicer on a freshly installed Ubuntu 18.04](https://discourse.slicer.org/t/building-slicer-on-a-freshly-installed-ubuntu-18-04/5627)

<div class="topic-metadata">

**Author:** [@Satya\_Arjunan](https://discourse.slicer.org/u/Satya_Arjunan)\
**Replies:** 11\
**Last updated:** [February 11, 2019, 9:35am UTC](https://discourse.slicer.org/t/building-slicer-on-a-freshly-installed-ubuntu-18-04/5627 "2019-02-11T09:35:16Z")

</div>

Hi all, I am trying to build the most recent Slicer from github on a freshly installed Ubuntu 18.04 and I am getting the following error: error: \[/home/satya/wrk/Slicer/build/Slicer-build/bin/./SlicerApp-real\] exit abn…

---

## [Extracting Centerlines of a CAD Model Through a Python Script in Slicer](https://discourse.slicer.org/t/extracting-centerlines-of-a-cad-model-through-a-python-script-in-slicer/3608)

<div class="topic-metadata">

**Author:** [@sisyphus\_s](https://discourse.slicer.org/u/sisyphus_s)\
**Replies:** 5\
**Last updated:** [February 11, 2019, 6:40am UTC](https://discourse.slicer.org/t/extracting-centerlines-of-a-cad-model-through-a-python-script-in-slicer/3608 "2019-02-11T06:40:44Z")

</div>

Hello there, I am very new and novice to Slicer. The project that I am currently involved with requires me to extract the center line of the 3D body organ’s model (e.g., intestine, etc.). More specifically, I need to pr…

---

## [Enable "Edit in 3D View" Via qMRMLSegmentEditorWidget](https://discourse.slicer.org/t/enable-edit-in-3d-view-via-qmrmlsegmenteditorwidget/5701)

<div class="topic-metadata">

**Author:** [@coolsocks](https://discourse.slicer.org/u/coolsocks)\
**Replies:** 1\
**Last updated:** [February 8, 2019, 9:32pm UTC](https://discourse.slicer.org/t/enable-edit-in-3d-view-via-qmrmlsegmenteditorwidget/5701 "2019-02-08T21:32:26Z")

</div>

Hi I’m new to slicer development and I wanted to update my code to the 4.10 version. I just had a question of how to enable the “edit in 3D view” section using the qMRMLSegmentEditorWidget? Thanks

---

## [Confirmation or undo in Segment Editor?](https://discourse.slicer.org/t/confirmation-or-undo-in-segment-editor/5694)

<div class="topic-metadata">

**Author:** [@ungi](https://discourse.slicer.org/u/ungi)\
**Replies:** 14\
**Last updated:** [February 8, 2019, 5:51pm UTC](https://discourse.slicer.org/t/confirmation-or-undo-in-segment-editor/5694 "2019-02-08T17:51:32Z")

</div>

I’ve just accidentally deleted an hour worth of segmentation by pressing the Remove (-) button instead of the Erase button. I got lost in monotonic segmentation and it just happened. Do you think it would be a good idea …

---

## [Plotting 2D line segments](https://discourse.slicer.org/t/plotting-2d-line-segments/5663)

<div class="topic-metadata">

**Author:** [@smrolfe](https://discourse.slicer.org/u/smrolfe)\
**Replies:** 6\
**Last updated:** [February 7, 2019, 7:06pm UTC](https://discourse.slicer.org/t/plotting-2d-line-segments/5663 "2019-02-07T19:06:47Z")

</div>

Hello, We need to plot a series of line segments in 2D. The number of line segments is variable and can be large, so using a node to represent each line segment is not practical. This is not currently supported in Slice…

---

## [Detecting and loading Loadable modules](https://discourse.slicer.org/t/detecting-and-loading-loadable-modules/5653)

<div class="topic-metadata">

**Author:** [@Amn3s14](https://discourse.slicer.org/u/Amn3s14)\
**Replies:** 7\
**Last updated:** [February 7, 2019, 2:35pm UTC](https://discourse.slicer.org/t/detecting-and-loading-loadable-modules/5653 "2019-02-07T14:35:21Z")

</div>

Hello, I have written a custom C++ loadable module in Slicer, and it works fine when I run it on my built version of Slicer. However, when I try to run it on a standard version of Slicer, it does not load my module, it a…

---

## [Staircase aware smoothing](https://discourse.slicer.org/t/staircase-aware-smoothing/5660)

<div class="topic-metadata">

**Author:** [@EricWilson](https://discourse.slicer.org/u/EricWilson)\
**Replies:** 3\
**Last updated:** [February 6, 2019, 6:03pm UTC](https://discourse.slicer.org/t/staircase-aware-smoothing/5660 "2019-02-06T18:03:58Z")

</div>

I am trying to see if slicer has a built in method for smoothing out the staircase effect on models. for example, this skull model shows the effect on the back: there are certainly papers that outline algorithms to …

---

## [Error "could not find PythonLibs" when building extension](https://discourse.slicer.org/t/error-could-not-find-pythonlibs-when-building-extension/5336)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 8\
**Last updated:** [February 4, 2019, 4:30pm UTC](https://discourse.slicer.org/t/error-could-not-find-pythonlibs-when-building-extension/5336 "2019-02-04T16:30:20Z")

</div>

I’m trying to build SlicerVirtualReality on Windows, but I’m getting this error: 3\> CMake Error at C:/Program Files/CMake/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message): 3\> Could NOT find …

---

## [Can I create a changeable Linear Transform Node and never appeared in the menu](https://discourse.slicer.org/t/can-i-create-a-changeable-linear-transform-node-and-never-appeared-in-the-menu/5619)

<div class="topic-metadata">

**Author:** [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Replies:** 2\
**Last updated:** [February 2, 2019, 9:03pm UTC](https://discourse.slicer.org/t/can-i-create-a-changeable-linear-transform-node-and-never-appeared-in-the-menu/5619 "2019-02-02T21:03:06Z")

</div>

I created many Linear-Transforms succesfully with this code: transform = slicer.mrmlScene.AddNewNodeByClass(‘vtkMRMLLinearTransformNode’) vTransform = vtk.vtkTransform() … transform.SetMatrixTransformToParent(vTrans…

---

## [Turn off screen updates](https://discourse.slicer.org/t/turn-off-screen-updates/5617)

<div class="topic-metadata">

**Author:** [@holmesrb](https://discourse.slicer.org/u/holmesrb)\
**Replies:** 1\
**Last updated:** [February 2, 2019, 2:00pm UTC](https://discourse.slicer.org/t/turn-off-screen-updates/5617 "2019-02-02T14:00:50Z")

</div>

Is there a python command to turn off screen updating whilst a large number of operations (mainly file loading) takes place please?

---

## [How to load new volume while keeping the view parameters, such as 3D orientation, 2D slice number?](https://discourse.slicer.org/t/how-to-load-new-volume-while-keeping-the-view-parameters-such-as-3d-orientation-2d-slice-number/5597)

<div class="topic-metadata">

**Author:** [@Jeff\_CAO](https://discourse.slicer.org/u/Jeff_CAO)\
**Replies:** 3\
**Last updated:** [February 2, 2019, 2:55am UTC](https://discourse.slicer.org/t/how-to-load-new-volume-while-keeping-the-view-parameters-such-as-3d-orientation-2d-slice-number/5597 "2019-02-02T02:55:58Z")

</div>

Hi, everyone. I am a slicer beginner. I am going to write a application based on slicer in python. A problem makes me struggled. I need to reload a volume both in 2D viewers and render this volume. More importantly, I ne…

---

## [Slicer 4.10 not building with the internationalization](https://discourse.slicer.org/t/slicer-4-10-not-building-with-the-internationalization/4691)

<div class="topic-metadata">

**Author:** [@carlos-luque](https://discourse.slicer.org/u/carlos-luque)\
**Replies:** 2\
**Last updated:** [January 31, 2019, 5:24pm UTC](https://discourse.slicer.org/t/slicer-4-10-not-building-with-the-internationalization/4691 "2019-01-31T17:24:09Z")

</div>

I’ve built the 3D Slicer 4.10 with Internalization and the compilation crashed. I chose building in release, internationalization and remaining variables are default. The compilation error is: Error Cannot op…

---

## [The problem between Node and vtkProp3D](https://discourse.slicer.org/t/the-problem-between-node-and-vtkprop3d/5526)

<div class="topic-metadata">

**Author:** [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Replies:** 5\
**Last updated:** [January 31, 2019, 12:27am UTC](https://discourse.slicer.org/t/the-problem-between-node-and-vtkprop3d/5526 "2019-01-31T00:27:52Z")

</div>

I want to use a vtkAssembly in slicer. I am not clear there is any relationship between modelNode and vtkProp3D. How to use a model as vtkProp3D in slicer script. Assembly.AddPart(NeedleModel) Traceback (most recent ca…

---

## [Workflow that brings together a few modules as tabs in a unifying parent module.](https://discourse.slicer.org/t/workflow-that-brings-together-a-few-modules-as-tabs-in-a-unifying-parent-module/5314)

<div class="topic-metadata">

**Author:** [@NormandRbert](https://discourse.slicer.org/u/NormandRbert)\
**Replies:** 28\
**Last updated:** [January 29, 2019, 12:58am UTC](https://discourse.slicer.org/t/workflow-that-brings-together-a-few-modules-as-tabs-in-a-unifying-parent-module/5314 "2019-01-29T00:58:20Z")

</div>

Creating a workflow that brings together a few existing and new custom modules as tabs in a unifying parent module. I am wondering if anyone has used this approach. Sensible? Bad idea? I have inherited code to do this bu…

---

## [How to switch transform from global to local](https://discourse.slicer.org/t/how-to-switch-transform-from-global-to-local/5539)

<div class="topic-metadata">

**Author:** [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Replies:** 2\
**Last updated:** [January 30, 2019, 1:21am UTC](https://discourse.slicer.org/t/how-to-switch-transform-from-global-to-local/5539 "2019-01-30T01:21:07Z")

</div>

How to switch transform from global to local with python script. Are there any example codes? By the way, where can I found the setting of the transform attribute in python code?

---

## [Build Slicer with custom VTK](https://discourse.slicer.org/t/build-slicer-with-custom-vtk/5552)

<div class="topic-metadata">

**Author:** [@drouin-simon](https://discourse.slicer.org/u/drouin-simon)\
**Replies:** 4\
**Last updated:** [January 29, 2019, 3:16pm UTC](https://discourse.slicer.org/t/build-slicer-with-custom-vtk/5552 "2019-01-29T15:16:38Z")

</div>

Hi all, I am developing a new feature in the VolumeRendering module which involves some changes in VTK and I’m looking for the simplest way to build Slicer in that context. My first instinct was to super-build Slicer, …

---

## [What to do with abandoned extensions?](https://discourse.slicer.org/t/what-to-do-with-abandoned-extensions/5528)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 2\
**Last updated:** [January 27, 2019, 11:00pm UTC](https://discourse.slicer.org/t/what-to-do-with-abandoned-extensions/5528 "2019-01-27T23:00:38Z")

</div>

There are a few extensions where trivial fixes would need be needed to make them compatible with recent Slicer versions, but the maintainers don’t respond to pull request and personal emails (see for example OpenCAD). S…

---

## [Designer will not load with slicer widgets](https://discourse.slicer.org/t/designer-will-not-load-with-slicer-widgets/5496)

<div class="topic-metadata">

**Author:** [@holmesrb](https://discourse.slicer.org/u/holmesrb)\
**Replies:** 4\
**Last updated:** [January 26, 2019, 2:04pm UTC](https://discourse.slicer.org/t/designer-will-not-load-with-slicer-widgets/5496 "2019-01-26T14:04:12Z")

</div>

Operating system: ubuntu 18.04 Slicer version: 4.11.0 Expected behavior: designer loads slicer widgets after build Actual behavior: exits with error message - this function is deprecated. Use currentNodeID() instead. …

---

## [4D Flow Streamlines into 3D slicer](https://discourse.slicer.org/t/4d-flow-streamlines-into-3d-slicer/5498)

<div class="topic-metadata">

**Author:** [@Nicholas.jacobson](https://discourse.slicer.org/u/Nicholas.jacobson)\
**Replies:** 0\
**Last updated:** [January 24, 2019, 6:38pm UTC](https://discourse.slicer.org/t/4d-flow-streamlines-into-3d-slicer/5498 "2019-01-24T18:38:16Z")

</div>

Does anyone have experience with 4D Flow streamlines in 3d Slicer. We’ve been working with Circle and would like to export their flow lines into 3d slicer. nick

---

## [Proposal to add orientation to vtkImageData- Feedback Wanted](https://discourse.slicer.org/t/proposal-to-add-orientation-to-vtkimagedata-feedback-wanted/5495)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 0\
**Last updated:** [January 24, 2019, 4:52pm UTC](https://discourse.slicer.org/t/proposal-to-add-orientation-to-vtkimagedata-feedback-wanted/5495 "2019-01-24T16:52:44Z")

</div>

Please, post comments directly on the associated VTK post: https://discourse.vtk.org/t/proposal-to-add-orientation-to-vtkimagedata-feedback-wanted/120 For reference, the VTK post was created based on the Slicer wiki Lab…

---

## [IGT vtkMRMLIGTLConnectorNode best way to know how long to wait for connection and node access?](https://discourse.slicer.org/t/igt-vtkmrmligtlconnectornode-best-way-to-know-how-long-to-wait-for-connection-and-node-access/5417)

<div class="topic-metadata">

**Author:** [@NormandRobert](https://discourse.slicer.org/u/NormandRobert)\
**Replies:** 1\
**Last updated:** [January 19, 2019, 3:17am UTC](https://discourse.slicer.org/t/igt-vtkmrmligtlconnectornode-best-way-to-know-how-long-to-wait-for-connection-and-node-access/5417 "2019-01-19T03:17:54Z")

</div>

Operating system: Ubuntu16.04.4 Slicer version: 4.8.1 navigationHostName=‘fusion’ navigationPortNumber=‘18944’ connectorNodeNav = slicer.vtkMRMLIGTLConnectorNode() connectorNodeNav.SetTypeClient(navigationHostName,i…

---

## [Update: Slicer 4.10.1 patch release will be initiated tomorrow morning](https://discourse.slicer.org/t/update-slicer-4-10-1-patch-release-will-be-initiated-tomorrow-morning/5367)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 8\
**Last updated:** [January 18, 2019, 3:38pm UTC](https://discourse.slicer.org/t/update-slicer-4-10-1-patch-release-will-be-initiated-tomorrow-morning/5367 "2019-01-18T15:38:56Z")

</div>

Now that remaining issues preventing the successful packaging of Qt designer with Slicer have been fixed, the Slicer patch release 4.10.1 will be created tomorrow morning. (read here to understand the motivation) The pa…

---

## [How to select the camera with the camera module](https://discourse.slicer.org/t/how-to-select-the-camera-with-the-camera-module/5388)

<div class="topic-metadata">

**Author:** [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Replies:** 1\
**Last updated:** [January 16, 2019, 9:29pm UTC](https://discourse.slicer.org/t/how-to-select-the-camera-with-the-camera-module/5388 "2019-01-16T21:29:13Z")

</div>

I went display the camera1 in the view1 by script. I searched in the forum but found nothing. ID: vtkMRMLViewNode1 Camera ID: vtkMRMLCameraNode2

---

## [Avoiding setSingleStep warning when changing spacing of projection volume node](https://discourse.slicer.org/t/avoiding-setsinglestep-warning-when-changing-spacing-of-projection-volume-node/5391)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Replies:** 0\
**Last updated:** [January 16, 2019, 6:09pm UTC](https://discourse.slicer.org/t/avoiding-setsinglestep-warning-when-changing-spacing-of-projection-volume-node/5391 "2019-01-16T18:09:31Z")

</div>

When I’m changing the spacing of a volume dimension that is only 1 voxel, such as an intensity projection volume, I keep getting warnings like below whenever the spacing is increased. Is there something I can call prior…

---

## [Collapse/Expand Widget Buttons using Python](https://discourse.slicer.org/t/collapse-expand-widget-buttons-using-python/5368)

<div class="topic-metadata">

**Author:** [@brynpitt](https://discourse.slicer.org/u/brynpitt)\
**Replies:** 3\
**Last updated:** [January 16, 2019, 4:46am UTC](https://discourse.slicer.org/t/collapse-expand-widget-buttons-using-python/5368 "2019-01-16T04:46:59Z")

</div>

Hello all, I am developing a new module using the Scripted Module template. I would like to be able collapse/expand the collapsible buttons in the Widget using Python. Specifically, I would like to have some of the butt…

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

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