# Development

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

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

**Page:** 58

---

## [Plot's axes not shown in Slicer 4.13 (but works with 4.11)](https://discourse.slicer.org/t/plots-axes-not-shown-in-slicer-4-13-but-works-with-4-11/21486)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 9\
**Last updated:** [March 17, 2022, 3:39pm UTC](https://discourse.slicer.org/t/plots-axes-not-shown-in-slicer-4-13-but-works-with-4-11/21486 "2022-03-17T15:39:23Z")

</div>

Hi, I wanted to report that in Slicer 4.13.0-2021-08-27 plot’s axes are not visible but in the same time Slicer 4.11.20210226 (stable release as I remember) works fine: The code I have used is from the documentation U…

---

## [How to display the \`slicer.vtkMRMLTextNode\` in slice view or pyhon interactor?](https://discourse.slicer.org/t/how-to-display-the-slicer-vtkmrmltextnode-in-slice-view-or-pyhon-interactor/22535)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 8\
**Last updated:** [March 16, 2022, 10:54pm UTC](https://discourse.slicer.org/t/how-to-display-the-slicer-vtkmrmltextnode-in-slice-view-or-pyhon-interactor/22535 "2022-03-16T22:54:54Z")

</div>

How to display or print the slicer.vtkMRMLTextNode's Text in slice view or pyhon interactor?

---

## [Slicer freezes when batch processing structures](https://discourse.slicer.org/t/slicer-freezes-when-batch-processing-structures/22547)

<div class="topic-metadata">

**Author:** [@JosephBae](https://discourse.slicer.org/u/JosephBae)\
**Replies:** 3\
**Last updated:** [March 16, 2022, 8:23pm UTC](https://discourse.slicer.org/t/slicer-freezes-when-batch-processing-structures/22547 "2022-03-16T20:23:32Z")

</div>

Hi! This is my first post in the forums, so please forgive if it is improperly placed. I’ve tried to search the forums a bit for this issue, and have definitely found some useful threads to get me to this point, but am n…

---

## [Manually Set Up Slicer mrmlSceneChanged signals](https://discourse.slicer.org/t/manually-set-up-slicer-mrmlscenechanged-signals/22548)

<div class="topic-metadata">

**Author:** [@tsims](https://discourse.slicer.org/u/tsims)\
**Replies:** 1\
**Last updated:** [March 16, 2022, 7:42pm UTC](https://discourse.slicer.org/t/manually-set-up-slicer-mrmlscenechanged-signals/22548 "2022-03-16T19:42:24Z")

</div>

Hello everyone! I have been setting up a Slicer extensions that will create a number of inputs based on conditions in the scene, but I want to make sure that my qMRMLNodeComboBox is still recieving the scene change sign…

---

## [Scripted module version vs Slicer version](https://discourse.slicer.org/t/scripted-module-version-vs-slicer-version/22546)

<div class="topic-metadata">

**Author:** [@drouin-simon](https://discourse.slicer.org/u/drouin-simon)\
**Replies:** 2\
**Last updated:** [March 16, 2022, 7:13pm UTC](https://discourse.slicer.org/t/scripted-module-version-vs-slicer-version/22546 "2022-03-16T19:13:48Z")

</div>

I have an extension that contains a scripted module (SlicerPRISMRendering) that I need to modify to work with the new markup system in Slicer 4.13. The modification will break the compatibility with the current stable ve…

---

## [Cmake cannot generate the SlicerConfig.cmake](https://discourse.slicer.org/t/cmake-cannot-generate-the-slicerconfig-cmake/22069)

<div class="topic-metadata">

**Author:** [@user5](https://discourse.slicer.org/u/user5)\
**Replies:** 9\
**Last updated:** [March 16, 2022, 4:01pm UTC](https://discourse.slicer.org/t/cmake-cannot-generate-the-slicerconfig-cmake/22069 "2022-03-16T16:01:05Z")

</div>

I already follow the instruction to build the Slicer inner-build folder in git bash or cmake gui, but it still comes out this error. Documentation/Nightly/Developers/Build Instructions/Configure - Slicer Wiki Extens…

---

## [QtDesigner: promote widget for python from compiled module](https://discourse.slicer.org/t/qtdesigner-promote-widget-for-python-from-compiled-module/21508)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 2\
**Last updated:** [March 15, 2022, 7:12pm UTC](https://discourse.slicer.org/t/qtdesigner-promote-widget-for-python-from-compiled-module/21508 "2022-03-15T19:12:04Z")

</div>

Hi, I’m wondering if I have compiled widget qMyWidget and binded it to python (standard case in Slicer). Is it possible to promote widget to qMyWidget for python module in QDesigner?

---

## [How to judge a roinode changed or not by python code?](https://discourse.slicer.org/t/how-to-judge-a-roinode-changed-or-not-by-python-code/22393)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 4\
**Last updated:** [March 15, 2022, 11:58am UTC](https://discourse.slicer.org/t/how-to-judge-a-roinode-changed-or-not-by-python-code/22393 "2022-03-15T11:58:59Z")

</div>

How to judge a roinode changed or not? markupsROInode 可以很方便地在slice里调节大小, 我想在程序里判断这个node是否发生改变, 我该怎么做呢? markupsROInode can easily adjust the size in slice, I want to judge whether this node has changed or not in the pr…

---

## [Only show base color](https://discourse.slicer.org/t/only-show-base-color/22509)

<div class="topic-metadata">

**Author:** [@qiqi5210](https://discourse.slicer.org/u/qiqi5210)\
**Replies:** 1\
**Last updated:** [March 15, 2022, 3:35am UTC](https://discourse.slicer.org/t/only-show-base-color/22509 "2022-03-15T03:35:43Z")

</div>

Hello,everyone.When I click on the red area I want to hide the window below Keep the select color widget I have read this article \[Segment Editor: reduce the number of mouse clicks to set basic colour for segme…

---

## [An error was encountered while compiling from scratch](https://discourse.slicer.org/t/an-error-was-encountered-while-compiling-from-scratch/22192)

<div class="topic-metadata">

**Author:** [@Tesla2678](https://discourse.slicer.org/u/Tesla2678)\
**Replies:** 5\
**Last updated:** [March 14, 2022, 9:55pm UTC](https://discourse.slicer.org/t/an-error-was-encountered-while-compiling-from-scratch/22192 "2022-03-14T21:55:38Z")

</div>

Operating system: Win10 Slicer version: Compiling from GIT\_REPOSITORY git://github.com/Slicer/Slicer GIT\_TAG v4.11.20200930 Expected behavior: Actual behavior: Error Log: Severity Code Description Pro…

---

## [Models always shaded flat regardless of interpolation](https://discourse.slicer.org/t/models-always-shaded-flat-regardless-of-interpolation/21309)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 14\
**Last updated:** [March 14, 2022, 11:04am UTC](https://discourse.slicer.org/t/models-always-shaded-flat-regardless-of-interpolation/21309 "2022-03-14T11:04:47Z")

</div>

This is quite possibly a misunderstanding on my part. It looks like models are always shaded with flat polygons, and the interpolation setting has no effect. Regardless of the setting (Flat, Phong, Gouraud), all polygons…

---

## [What is the best way to visualize detector curvature in case of forward projection calculation?](https://discourse.slicer.org/t/what-is-the-best-way-to-visualize-detector-curvature-in-case-of-forward-projection-calculation/22482)

<div class="topic-metadata">

**Author:** [@Mik](https://discourse.slicer.org/u/Mik)\
**Replies:** 2\
**Last updated:** [March 13, 2022, 5:27pm UTC](https://discourse.slicer.org/t/what-is-the-best-way-to-visualize-detector-curvature-in-case-of-forward-projection-calculation/22482 "2022-03-13T17:27:31Z")

</div>

I’m making a forward projection calculation using RTK. In case of parallel geometry or a flat detector the detector surface can be visualize as a MarkupsPlaneNode. What could you suggest in case of the detector with a …

---

## [Converting .stl to nifti without showing GUI](https://discourse.slicer.org/t/converting-stl-to-nifti-without-showing-gui/20287)

<div class="topic-metadata">

**Author:** [@ThijsvD](https://discourse.slicer.org/u/ThijsvD)\
**Replies:** 3\
**Last updated:** [March 13, 2022, 5:51am UTC](https://discourse.slicer.org/t/converting-stl-to-nifti-without-showing-gui/20287 "2022-03-13T05:51:22Z")

</div>

For the registration of multiple binairy STL files of a femur bone, I want to use Elastix. I need the transformation / rotation matrices as well for the further project. To use Elastix properly I have to convert the STL …

---

## [3DSlicer VR and Unity](https://discourse.slicer.org/t/3dslicer-vr-and-unity/3289)

<div class="topic-metadata">

**Author:** [@Aenz](https://discourse.slicer.org/u/Aenz)\
**Replies:** 18\
**Last updated:** [March 13, 2022, 5:11am UTC](https://discourse.slicer.org/t/3dslicer-vr-and-unity/3289 "2022-03-13T05:11:36Z")

</div>

Hey there, I’m pretty new in VR and development, maybe you can help me. Well, i want to create a crossSection plane, which i can move with my controllers, so i can see the inside of an object, like in this video my p…

---

## [Histogram based range selection in Segment editor's threshold option frame](https://discourse.slicer.org/t/histogram-based-range-selection-in-segment-editors-threshold-option-frame/22385)

<div class="topic-metadata">

**Author:** [@Dwij\_Mistry](https://discourse.slicer.org/u/Dwij_Mistry)\
**Replies:** 1\
**Last updated:** [March 12, 2022, 2:45am UTC](https://discourse.slicer.org/t/histogram-based-range-selection-in-segment-editors-threshold-option-frame/22385 "2022-03-12T02:45:58Z")

</div>

As we are having selection (ROI) based histogram display and range selection option in Segment editor module. and histogram of volume is on Volumes module. How to add histogram of Volume in Threshold option frame usin…

---

## [Changing mouse modes from Python](https://discourse.slicer.org/t/changing-mouse-modes-from-python/22371)

<div class="topic-metadata">

**Author:** [@vanlangk](https://discourse.slicer.org/u/vanlangk)\
**Replies:** 4\
**Last updated:** [March 10, 2022, 12:08am UTC](https://discourse.slicer.org/t/changing-mouse-modes-from-python/22371 "2022-03-10T00:08:55Z")

</div>

Hello guys, I am new to Slicer and I am currently developing an extension. As part of this extension, I need to be able to switch between mouse interaction modes (e.g., ruler, fiducial, angle), from my Python script. Is …

---

## [Slicer translation workflow using crowdin](https://discourse.slicer.org/t/slicer-translation-workflow-using-crowdin/21601)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 4\
**Last updated:** [March 9, 2022, 8:43pm UTC](https://discourse.slicer.org/t/slicer-translation-workflow-using-crowdin/21601 "2022-03-09T20:43:30Z")

</div>

During the project week we explored crowding and various options for implementing a translation workflow. I’ve read up on various documentations and see how other projects do this and tested a couple of approaches and ca…

---

## [Including modules from external extension in my own custom extension](https://discourse.slicer.org/t/including-modules-from-external-extension-in-my-own-custom-extension/15732)

<div class="topic-metadata">

**Author:** [@DhruvKoolRajamani](https://discourse.slicer.org/u/DhruvKoolRajamani)\
**Replies:** 12\
**Last updated:** [March 9, 2022, 12:20am UTC](https://discourse.slicer.org/t/including-modules-from-external-extension-in-my-own-custom-extension/15732 "2022-03-09T00:20:11Z")

</div>

I’m working on creating a Slicer Extension that combines various modules available in slicer and the nvidia segmentation tool, all in one extension. I’m not sure how I can include the widgets and logic created by the nvi…

---

## [Errors in Windows build of preview version](https://discourse.slicer.org/t/errors-in-windows-build-of-preview-version/22320)

<div class="topic-metadata">

**Author:** [@smrolfe](https://discourse.slicer.org/u/smrolfe)\
**Replies:** 3\
**Last updated:** [March 8, 2022, 11:42pm UTC](https://discourse.slicer.org/t/errors-in-windows-build-of-preview-version/22320 "2022-03-08T23:42:41Z")

</div>

I’m getting the following VTK-related errors while trying to build the Preview version of Slicer for Windows 10. I just updated to CMake 3.23.0-rc2, although I believe this should be fine? I’m not able to find the lib f…

---

## [Sometimes slicer3d crash when excuting python coded](https://discourse.slicer.org/t/sometimes-slicer3d-crash-when-excuting-python-coded/22224)

<div class="topic-metadata">

**Author:** [@yllgl](https://discourse.slicer.org/u/yllgl)\
**Replies:** 4\
**Last updated:** [March 8, 2022, 7:04pm UTC](https://discourse.slicer.org/t/sometimes-slicer3d-crash-when-excuting-python-coded/22224 "2022-03-08T19:04:13Z")

</div>

My main.py file is as follows: import slicer import os from pathlib import Path def getres(patient): res = {'CT':{'轴':None,'冠':None,'矢':None},'MR':{'轴':None,'冠':None,'矢':None}} for study in slicer.dicomDatabas…

---

## [Build and update translation file](https://discourse.slicer.org/t/build-and-update-translation-file/22376)

<div class="topic-metadata">

**Author:** [@syrjay](https://discourse.slicer.org/u/syrjay)\
**Replies:** 1\
**Last updated:** [March 8, 2022, 3:21pm UTC](https://discourse.slicer.org/t/build-and-update-translation-file/22376 "2022-03-08T15:21:39Z")

</div>

Hello, I have some errors when I try to build slicer, in the step for run the command make -j4, I got this : So after this, I can’t run slicer with /opt/s/Slicer-build/Slicer, “no such file or directory”. Also wh…

---

## [Stable version of SlicerVR](https://discourse.slicer.org/t/stable-version-of-slicervr/22336)

<div class="topic-metadata">

**Author:** [@Leung\_Aaron](https://discourse.slicer.org/u/Leung_Aaron)\
**Replies:** 0\
**Last updated:** [March 6, 2022, 8:30pm UTC](https://discourse.slicer.org/t/stable-version-of-slicervr/22336 "2022-03-06T20:30:37Z")

</div>

Hello Since I have a project needed to use SlicerVR, so I would like to build SlicerVR project in cmake. I have tried many version of SlicerVR in github, most of them fail to build the project in vtkRenderingOpenVR and…

---

## [How to find the projection or vertical foot of a point on a line?](https://discourse.slicer.org/t/how-to-find-the-projection-or-vertical-foot-of-a-point-on-a-line/22323)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 1\
**Last updated:** [March 5, 2022, 11:40am UTC](https://discourse.slicer.org/t/how-to-find-the-projection-or-vertical-foot-of-a-point-on-a-line/22323 "2022-03-05T11:40:47Z")

</div>

How to find the projection or vertical foot of a point on a line? by python

---

## [How to find out if a point is inside or outside a 3d model?](https://discourse.slicer.org/t/how-to-find-out-if-a-point-is-inside-or-outside-a-3d-model/22003)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 8\
**Last updated:** [March 4, 2022, 4:43pm UTC](https://discourse.slicer.org/t/how-to-find-out-if-a-point-is-inside-or-outside-a-3d-model/22003 "2022-03-04T16:43:00Z")

</div>

how to find out if a point is inside or outside 3d model? 我在网上查到有个用raycasting的交点的奇数和偶数来判断,…在Slicer里有没有特殊的方法呢? I found on the Internet that there is a use of raycasting to judge the odd and even numbers of the intersec…

---

## [Extending the Markups module](https://discourse.slicer.org/t/extending-the-markups-module/14882)

<div class="topic-metadata">

**Author:** [@RafaelPalomar](https://discourse.slicer.org/u/RafaelPalomar)\
**Replies:** 25\
**Last updated:** [March 4, 2022, 3:24pm UTC](https://discourse.slicer.org/t/extending-the-markups-module/14882 "2022-03-04T15:24:51Z")

</div>

Hello. I’m starting this thread to channel the discussions I’ve had with @lassoan, @pieper, @jcfr and @Sunderlandkyl regarding the creation of new markups (possibly in modules other than Makups). As many other component…

---

## [Error of loading SlicerIGT into Slicer](https://discourse.slicer.org/t/error-of-loading-slicerigt-into-slicer/22295)

<div class="topic-metadata">

**Author:** [@user5](https://discourse.slicer.org/u/user5)\
**Replies:** 0\
**Last updated:** [March 3, 2022, 7:25pm UTC](https://discourse.slicer.org/t/error-of-loading-slicerigt-into-slicer/22295 "2022-03-03T19:25:18Z")

</div>

I have built a Slicer project with SlicerVR. I would like to use SlicerIGT in my project, so I directly install SlicerIGT and SlicerIGTLink in extensions-manager. Although I installed it successfully, it cannot open norm…

---

## [CenterLine.vtk file is not aligned properly 3D view in slicer4.13](https://discourse.slicer.org/t/centerline-vtk-file-is-not-aligned-properly-3d-view-in-slicer4-13/21975)

<div class="topic-metadata">

**Author:** [@Mahesh\_Timmanagoudar](https://discourse.slicer.org/u/Mahesh_Timmanagoudar)\
**Replies:** 1\
**Last updated:** [March 4, 2022, 4:51am UTC](https://discourse.slicer.org/t/centerline-vtk-file-is-not-aligned-properly-3d-view-in-slicer4-13/21975 "2022-03-04T04:51:58Z")

</div>

I have generated VTK file using slicer 4.13 version. The VTK file looks like below. If i try to display above file in 3D view means. It wont align using both LPS and RAS option. It will be like below in slicer view. …

---

## [SegmentGeometry is limited to 100 slices](https://discourse.slicer.org/t/segmentgeometry-is-limited-to-100-slices/22279)

<div class="topic-metadata">

**Author:** [@Michel\_Atieh](https://discourse.slicer.org/u/Michel_Atieh)\
**Replies:** 2\
**Last updated:** [March 3, 2022, 10:18pm UTC](https://discourse.slicer.org/t/segmentgeometry-is-limited-to-100-slices/22279 "2022-03-03T22:18:12Z")

</div>

Hello, I noticed that when segmenting large organs like the uterus which consisted of ~150 slices in one case, when I wanted to get the information (mean HU, area, etc.) for each slice, the table always printed only 100 …

---

## [Slicer does not respond while working on a code and after finishing the loop prints everything](https://discourse.slicer.org/t/slicer-does-not-respond-while-working-on-a-code-and-after-finishing-the-loop-prints-everything/22277)

<div class="topic-metadata">

**Author:** [@S\_Arbabi](https://discourse.slicer.org/u/S_Arbabi)\
**Replies:** 1\
**Last updated:** [March 3, 2022, 9:10am UTC](https://discourse.slicer.org/t/slicer-does-not-respond-while-working-on-a-code-and-after-finishing-the-loop-prints-everything/22277 "2022-03-03T09:10:59Z")

</div>

Hello all, I implemented a function that reads the DICOM data from a source on web (by looping over the API’s of the web service) and writes them on disk if needed. In the code I wrote "print"s in each iteration of loop…

---

## [TypeError when creating an Effect](https://discourse.slicer.org/t/typeerror-when-creating-an-effect/21957)

<div class="topic-metadata">

**Author:** [@Karthik](https://discourse.slicer.org/u/Karthik)\
**Replies:** 1\
**Last updated:** [March 3, 2022, 7:38am UTC](https://discourse.slicer.org/t/typeerror-when-creating-an-effect/21957 "2022-03-03T07:38:06Z")

</div>

I created an Effect inside Segment Editor. I looked at other effects (both default effects and those in SegmentEditorExtraEffects) to create my effect. However, when I launch Slicer application, it gives the following er…

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

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