# Development

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

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

**Page:** 119

---

## [Using Python nlopt on Slicer](https://discourse.slicer.org/t/using-python-nlopt-on-slicer/3404)

<div class="topic-metadata">

**Author:** [@chaddy1004](https://discourse.slicer.org/u/chaddy1004)\
**Replies:** 1\
**Last updated:** [July 7, 2018, 5:04am UTC](https://discourse.slicer.org/t/using-python-nlopt-on-slicer/3404 "2018-07-07T05:04:21Z")

</div>

Hello I am trying to use a library called NLopt in Slicer for module development, but I am having a very difficult time getting it to work. What I did was to download the .whl file of NLopt provided by the authors foun…

---

## [Interacting with Segment Editor Widget through Python](https://discourse.slicer.org/t/interacting-with-segment-editor-widget-through-python/505)

<div class="topic-metadata">

**Author:** [@kohle](https://discourse.slicer.org/u/kohle)\
**Replies:** 9\
**Last updated:** [August 25, 2017, 2:17am UTC](https://discourse.slicer.org/t/interacting-with-segment-editor-widget-through-python/505 "2017-08-25T02:17:42Z")

</div>

Hi I'm new to the slicer python api and was wondering if someone could point me in the right direction. I would like to use a the python api to create serveral segements through the "Logic operators" function of the seg…

---

## [Create a 3D fetus from an ultrasound 4D](https://discourse.slicer.org/t/create-a-3d-fetus-from-an-ultrasound-4d/3339)

<div class="topic-metadata">

**Author:** [@danilo\_santos\_cunha](https://discourse.slicer.org/u/danilo_santos_cunha)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 9:16pm UTC](https://discourse.slicer.org/t/create-a-3d-fetus-from-an-ultrasound-4d/3339 "2018-06-29T21:16:52Z")

</div>

Hello everyone! I’m new here, and I’ve seem some conversations about this subject, but anyone knows how to convert an ultrasound 4Dn exam ( philips ) to a printable data?

---

## [Accessing logic() of own ScriptedLoadableModule](https://discourse.slicer.org/t/accessing-logic-of-own-scriptedloadablemodule/3331)

<div class="topic-metadata">

**Author:** [@basti](https://discourse.slicer.org/u/basti)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 3:20pm UTC](https://discourse.slicer.org/t/accessing-logic-of-own-scriptedloadablemodule/3331 "2018-06-29T15:20:53Z")

</div>

I’m trying to access a method in the logic class of a ScriptedLoadableModule I created and loaded into slicer. The custom module is listed in slicer.modules, but in slicer.modules.CUSTOMMODULE.logic() I can’t access the…

---

## [How to use in python SegmentEditor Logical Effect to intersect segments of a SegmentationNode](https://discourse.slicer.org/t/how-to-use-in-python-segmenteditor-logical-effect-to-intersect-segments-of-a-segmentationnode/3318)

<div class="topic-metadata">

**Author:** [@sarafv](https://discourse.slicer.org/u/sarafv)\
**Replies:** 1\
**Last updated:** [June 28, 2018, 12:42am UTC](https://discourse.slicer.org/t/how-to-use-in-python-segmenteditor-logical-effect-to-intersect-segments-of-a-segmentationnode/3318 "2018-06-28T00:42:04Z")

</div>

Hi, We need to intersect the segments of a Segmentation node to know the overlap volume between the segments. We want do that in python. Someone know how to do that with SegmetEditorLogicalEffect ?

---

## [Dashboard errors: midas upload failed](https://discourse.slicer.org/t/dashboard-errors-midas-upload-failed/3305)

<div class="topic-metadata">

**Author:** [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Replies:** 5\
**Last updated:** [June 27, 2018, 7:17pm UTC](https://discourse.slicer.org/t/dashboard-errors-midas-upload-failed/3305 "2018-06-27T19:17:04Z")

</div>

Uploads for some of the extensions for Mac are failing today with the error below. Can one of the dashboard maintainers look into this? Seems like a configuration issue. http://slicer.cdash.org/viewBuildError.php?buildi…

---

## [Get Segmentation layer](https://discourse.slicer.org/t/get-segmentation-layer/3312)

<div class="topic-metadata">

**Author:** [@Fernando](https://discourse.slicer.org/u/Fernando)\
**Replies:** 4\
**Last updated:** [June 27, 2018, 2:33pm UTC](https://discourse.slicer.org/t/get-segmentation-layer/3312 "2018-06-27T14:33:17Z")

</div>

Hi all, In my .slicerrc.py I create a slider to visualize MIPs of different slab thicknesses on all views: logics = getSlicesLogics() nodes = getSlicesNodes() for sliceNode, sliceLogic in zip(nodes, logics): layers…

---

## [Build error on MacOSX and Linux with ITKPython enabled](https://discourse.slicer.org/t/build-error-on-macosx-and-linux-with-itkpython-enabled/3277)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 21\
**Last updated:** [June 27, 2018, 2:09pm UTC](https://discourse.slicer.org/t/build-error-on-macosx-and-linux-with-itkpython-enabled/3277 "2018-06-27T14:09:00Z")

</div>

Same setup here Operating system: OSX 10.13 Slicer: Newest nightly (Jun 25 2018) Qt: Qt5 web installer (last) CMake: 3.11.0 Xcode: 9.4.1 but my errors are at DCMTK package. \[ 0%\] Building CXX object ofstd/libsrc/…

---

## [Why does Slicer need its own OpenSSL?](https://discourse.slicer.org/t/why-does-slicer-need-its-own-openssl/1349)

<div class="topic-metadata">

**Author:** [@gcsharp](https://discourse.slicer.org/u/gcsharp)\
**Replies:** 19\
**Last updated:** [June 25, 2018, 9:10pm UTC](https://discourse.slicer.org/t/why-does-slicer-need-its-own-openssl/1349 "2018-06-25T21:10:58Z")

</div>

I’m looking into fixing this irritating bug: https://issues.slicer.org/view.php?id=4125 But first I have a question. Why does Slicer need its own OpenSSL? Could it work using the one my OS provides?

---

## [Python Debugging in Visual Studio 2017 (ptsvd)](https://discourse.slicer.org/t/python-debugging-in-visual-studio-2017-ptsvd/2814)

<div class="topic-metadata">

**Author:** [@mcfly3001](https://discourse.slicer.org/u/mcfly3001)\
**Replies:** 2\
**Last updated:** [June 25, 2018, 1:24pm UTC](https://discourse.slicer.org/t/python-debugging-in-visual-studio-2017-ptsvd/2814 "2018-06-25T13:24:17Z")

</div>

Hi all, I am quite new to slicer development and I am trying to create a small slicelet in Python. Therefore I was trying to attach the debugger in Visual Studio 2017 as described here: https://www.slicer.org/wiki/Docu…

---

## [What library is being used to import dicom?](https://discourse.slicer.org/t/what-library-is-being-used-to-import-dicom/3262)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.slicer.org/u/kayarre)\
**Replies:** 1\
**Last updated:** [June 21, 2018, 10:29pm UTC](https://discourse.slicer.org/t/what-library-is-being-used-to-import-dicom/3262 "2018-06-21T22:29:05Z")

</div>

What library is being used on the backend to import dicom images? The other libraries out there (gdcm, pydicom) don’t consistently work with jpg2000 formats. What does 3D Slicer use?

---

## [IGTLink + FusionTrack](https://discourse.slicer.org/t/igtlink-fusiontrack/3068)

<div class="topic-metadata">

**Author:** [@pctlr75](https://discourse.slicer.org/u/pctlr75)\
**Replies:** 4\
**Last updated:** [June 21, 2018, 3:54pm UTC](https://discourse.slicer.org/t/igtlink-fusiontrack/3068 "2018-06-21T15:54:19Z")

</div>

Hi everybody, I am new to 3D Slicer, and I have a simple question. I want to know if IGTLink modul can work with FusionTrack250 Device, from Atracsys company. I didn’t see any topic that answer this problem. Thank yo…

---

## [SharedObject Module instead of CommandLine Module](https://discourse.slicer.org/t/sharedobject-module-instead-of-commandline-module/3246)

<div class="topic-metadata">

**Author:** [@chaddy1004](https://discourse.slicer.org/u/chaddy1004)\
**Replies:** 1\
**Last updated:** [June 20, 2018, 6:27pm UTC](https://discourse.slicer.org/t/sharedobject-module-instead-of-commandline-module/3246 "2018-06-20T18:27:02Z")

</div>

Hello, I have a cli module that I am tying to incorporate into Slicer, and it works fine on my machine, but it doesnt work that well on The Log message output when it works is the following: Found CommandLine Module, …

---

## [Crash in python wrapped MRML node on load during enum iterating](https://discourse.slicer.org/t/crash-in-python-wrapped-mrml-node-on-load-during-enum-iterating/3221)

<div class="topic-metadata">

**Author:** [@adamrankin](https://discourse.slicer.org/u/adamrankin)\
**Replies:** 8\
**Last updated:** [June 19, 2018, 6:43pm UTC](https://discourse.slicer.org/t/crash-in-python-wrapped-mrml-node-on-load-during-enum-iterating/3221 "2018-06-19T18:43:47Z")

</div>

Hello all, I am experience a crash with a tp\_dict is NULL but being accessed when PyvtkMRMLCameraNode\_ClassNew is being called. Code: PyObject \*d = pytype-\>tp\_dict; PyObject \*o; for (int c = 0; c \< 2; c++) { …

---

## [Slicer Crop Volume ball size](https://discourse.slicer.org/t/slicer-crop-volume-ball-size/3226)

<div class="topic-metadata">

**Author:** [@Mohammad\_Sadegh\_Rahm](https://discourse.slicer.org/u/Mohammad_Sadegh_Rahm)\
**Replies:** 1\
**Last updated:** [June 19, 2018, 1:00pm UTC](https://discourse.slicer.org/t/slicer-crop-volume-ball-size/3226 "2018-06-19T13:00:58Z")

</div>

Hello I want to change slicer crop volume ball sizes in order to make easier to crop volumes, is there any way to do this ? is there any way to do this by code ?

---

## [Error when build Slicer](https://discourse.slicer.org/t/error-when-build-slicer/3212)

<div class="topic-metadata">

**Author:** [@ChuToanThang](https://discourse.slicer.org/u/ChuToanThang)\
**Replies:** 0\
**Last updated:** [June 18, 2018, 2:37pm UTC](https://discourse.slicer.org/t/error-when-build-slicer/3212 "2018-06-18T14:37:14Z")

</div>

Hi all, I build Slicer without success. I use VS-2013, Qt-4.8.7 64bit. Actually, I follow this instruction: Documentation/Nightly/Developers/Build Instructions - Slicer Wiki However, I got these error:

---

## [How to get the command line window on stable version of slicer](https://discourse.slicer.org/t/how-to-get-the-command-line-window-on-stable-version-of-slicer/3200)

<div class="topic-metadata">

**Author:** [@chaddy1004](https://discourse.slicer.org/u/chaddy1004)\
**Replies:** 1\
**Last updated:** [June 15, 2018, 7:01pm UTC](https://discourse.slicer.org/t/how-to-get-the-command-line-window-on-stable-version-of-slicer/3200 "2018-06-15T19:01:54Z")

</div>

Hello When I use nightly version of slicer, the command line window shows up when I open up the program. Is there an option/setting so that I can have the window pop up for the stable version of Slicer? Thank you! …

---

## [How to pull Position and Focal Point data from default scene camera for camera angle extension](https://discourse.slicer.org/t/how-to-pull-position-and-focal-point-data-from-default-scene-camera-for-camera-angle-extension/3195)

<div class="topic-metadata">

**Author:** [@cbloodworth3](https://discourse.slicer.org/u/cbloodworth3)\
**Replies:** 2\
**Last updated:** [June 15, 2018, 4:55pm UTC](https://discourse.slicer.org/t/how-to-pull-position-and-focal-point-data-from-default-scene-camera-for-camera-angle-extension/3195 "2018-06-15T16:55:19Z")

</div>

Hi folks, I’m trying to create an extension which will calculate the angle of the default scene camera w.r.t. the subject in the slicer 3D scene. This would be analogous determining the C-Arm LAO/RAO and CRA/CAU angles …

---

## [DisplayableManager ::OnInteractorStyleEvent for ThreeD keypress](https://discourse.slicer.org/t/displayablemanager-oninteractorstyleevent-for-threed-keypress/3173)

<div class="topic-metadata">

**Author:** [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Replies:** 6\
**Last updated:** [June 14, 2018, 10:01pm UTC](https://discourse.slicer.org/t/displayablemanager-oninteractorstyleevent-for-threed-keypress/3173 "2018-06-14T22:01:10Z")

</div>

We have a DisplayableManager that implements ::OnInteractorStyleEvent to respond to key-presses while the mouse is in the ThreeD render frame. In order to actually receive a callback for these events, it seems that I nee…

---

## [No 4.8.1 windows builds since March 14](https://discourse.slicer.org/t/no-4-8-1-windows-builds-since-march-14/3125)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 7\
**Last updated:** [June 14, 2018, 3:04am UTC](https://discourse.slicer.org/t/no-4-8-1-windows-builds-since-march-14/3125 "2018-06-14T03:04:14Z")

</div>

I have been checking the stable builds for a while because I didn’t see windows builds. As the problem does not seem to go away I’d like to bring it up here. On May 3rd, there were still builds for Windows: http://slic…

---

## [PSA for Linux users: work-around for Linux-nightly extension manager error](https://discourse.slicer.org/t/psa-for-linux-users-work-around-for-linux-nightly-extension-manager-error/2755)

<div class="topic-metadata">

**Author:** [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Replies:** 1\
**Last updated:** [June 13, 2018, 11:14pm UTC](https://discourse.slicer.org/t/psa-for-linux-users-work-around-for-linux-nightly-extension-manager-error/2755 "2018-06-13T23:14:44Z")

</div>

Here is a temporary work-around for the following bug, which prevents using the extension manager in nightly builds on Linux: https://issues.slicer.org/view.php?id=4544 in the expanded Slicer directory, copy the conten…

---

## [OpenIGTLinkIF doesn't show up in slicer linux](https://discourse.slicer.org/t/openigtlinkif-doesnt-show-up-in-slicer-linux/2797)

<div class="topic-metadata">

**Author:** [@samira](https://discourse.slicer.org/u/samira)\
**Replies:** 6\
**Last updated:** [June 13, 2018, 10:35pm UTC](https://discourse.slicer.org/t/openigtlinkif-doesnt-show-up-in-slicer-linux/2797 "2018-06-13T22:35:37Z")

</div>

Hi, I just built Slicer in linux, but for some reason the OpenIGTLinkIF doesn’t get built automatically and I don’t see an option for it in the Cmake, the way it is in windows Slicer or maybe the older version of Slicer…

---

## [Watershed from markers](https://discourse.slicer.org/t/watershed-from-markers/3155)

<div class="topic-metadata">

**Author:** [@vegoria](https://discourse.slicer.org/u/vegoria)\
**Replies:** 1\
**Last updated:** [June 12, 2018, 7:33pm UTC](https://discourse.slicer.org/t/watershed-from-markers/3155 "2018-06-12T19:33:25Z")

</div>

Hi! I’m making my first steps with developing slicer extention and I’ve stuck in one place… I’ve got MR of sacroiliac. I’m trying to process segmentation of bones using watershed from markers. I’ve got something like …

---

## [Reference location information for segment with respect to master volume](https://discourse.slicer.org/t/reference-location-information-for-segment-with-respect-to-master-volume/3133)

<div class="topic-metadata">

**Author:** [@MRXCAT\_CMR](https://discourse.slicer.org/u/MRXCAT_CMR)\
**Replies:** 1\
**Last updated:** [June 10, 2018, 2:02pm UTC](https://discourse.slicer.org/t/reference-location-information-for-segment-with-respect-to-master-volume/3133 "2018-06-10T14:02:31Z")

</div>

Operating system: Windows 10 Slicer version: 4.8.1 (r26813) built myself I am currently working on some extension submodule to Segment Editor doing automatic segmentation of some organs. This involves handling multiple…

---

## [Convert Nrrd To Nifti](https://discourse.slicer.org/t/convert-nrrd-to-nifti/3118)

<div class="topic-metadata">

**Author:** [@Hikmat](https://discourse.slicer.org/u/Hikmat)\
**Replies:** 1\
**Last updated:** [June 7, 2018, 9:23pm UTC](https://discourse.slicer.org/t/convert-nrrd-to-nifti/3118 "2018-06-07T21:23:13Z")

</div>

Operating system: Windows 10 Slicer version: 4.8.1 Hi, I am attempting to convert a Nrrd file (.nrrd) to a Nifti file (.nii.gz). I am aware of the DWIConvert module but I couldn’t understand how to get that to work a…

---

## [Scale factor while exporting segmentation](https://discourse.slicer.org/t/scale-factor-while-exporting-segmentation/3085)

<div class="topic-metadata">

**Author:** [@anandmulay3](https://discourse.slicer.org/u/anandmulay3)\
**Replies:** 3\
**Last updated:** [June 6, 2018, 9:42pm UTC](https://discourse.slicer.org/t/scale-factor-while-exporting-segmentation/3085 "2018-06-06T21:42:11Z")

</div>

can we set the scale factor of the 3D model while exporting segmentation.or do we have the scaling information in export segmentation method? Thanks.

---

## [How to interact with the 'Paint' effect function of slicer.qMRMLSegmentEditorWidget instance](https://discourse.slicer.org/t/how-to-interact-with-the-paint-effect-function-of-slicer-qmrmlsegmenteditorwidget-instance/3026)

<div class="topic-metadata">

**Author:** [@Boyce\_Doyle](https://discourse.slicer.org/u/Boyce_Doyle)\
**Replies:** 3\
**Last updated:** [June 5, 2018, 3:57am UTC](https://discourse.slicer.org/t/how-to-interact-with-the-paint-effect-function-of-slicer-qmrmlsegmenteditorwidget-instance/3026 "2018-06-05T03:57:23Z")

</div>

Happy Children’s Day. In fact, there are three problems. At first, my develop environment lists below. os:ubuntu 16.04.3 slicer:latest stable version 4.8.1 lauguage:python 3.6.4 1. I met a demand of programming a …

---

## [Callback for breach warning](https://discourse.slicer.org/t/callback-for-breach-warning/202)

<div class="topic-metadata">

**Author:** [@banderies](https://discourse.slicer.org/u/banderies)\
**Replies:** 1\
**Last updated:** [April 27, 2017, 1:57am UTC](https://discourse.slicer.org/t/callback-for-breach-warning/202 "2017-04-27T01:57:40Z")

</div>

Hello all, I am trying to get my scripted extension to send a message to my Arduino when the breach warning (in SlicerIGT) is activated. However, I can't figure out what to attach a callback to. For example, the "vtkSl…

---

## [No match between 2D planes data and 3D model view](https://discourse.slicer.org/t/no-match-between-2d-planes-data-and-3d-model-view/3046)

<div class="topic-metadata">

**Author:** [@Ricardo\_Mesquita](https://discourse.slicer.org/u/Ricardo_Mesquita)\
**Replies:** 1\
**Last updated:** [June 2, 2018, 3:14pm UTC](https://discourse.slicer.org/t/no-match-between-2d-planes-data-and-3d-model-view/3046 "2018-06-02T15:14:20Z")

</div>

Hi all, After perform registration the 3D model goes to a different position in the 3D viewer. This occurs due to the registration transformation matrix. Thus, if i set the slice planes visible Im not able to see where …

---

## [Loading file into existing node](https://discourse.slicer.org/t/loading-file-into-existing-node/3037)

<div class="topic-metadata">

**Author:** [@adelmo](https://discourse.slicer.org/u/adelmo)\
**Replies:** 1\
**Last updated:** [June 1, 2018, 1:53pm UTC](https://discourse.slicer.org/t/loading-file-into-existing-node/3037 "2018-06-01T13:53:07Z")

</div>

Greetings slicer experts, I was wondering is someone could help me solving my little problem. What I would like to do is loading a file directly into an existing node. In this moment to load a file (.nii for example) …

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

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