# Development

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

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

**Page:** 17

---

## [Matching Monai orientation with "arrayFromVolume" output](https://discourse.slicer.org/t/matching-monai-orientation-with-arrayfromvolume-output/37810)

<div class="topic-metadata">

**Author:** [@chbricout](https://discourse.slicer.org/u/chbricout)\
**Replies:** 1\
**Last updated:** [August 11, 2024, 9:32pm UTC](https://discourse.slicer.org/t/matching-monai-orientation-with-arrayfromvolume-output/37810 "2024-08-11T21:32:51Z")

</div>

Hi everyone, I’m developing a simple extension to integrate a motion estimation model into Slicer. I’m using MONAI for most of the training, including data loading. However, I’ve noticed that the volume I get when using…

---

## [Long path using ninja](https://discourse.slicer.org/t/long-path-using-ninja/1702)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.slicer.org/u/dzenanz)\
**Replies:** 13\
**Last updated:** [December 27, 2017, 4:21pm UTC](https://discourse.slicer.org/t/long-path-using-ninja/1702 "2017-12-27T16:21:39Z")

</div>

Configuring Slicer with ninja as the make program, and VS2015 cl.exe as compiler, I run into the error below. This doesn’t happen with pure VS2015 build in one letter longer build dir (C:/Dev/Sn/ vs C:/Dev/Svs/). Is ninj…

---

## [Semi automatic annotation of 2D image based on specific features](https://discourse.slicer.org/t/semi-automatic-annotation-of-2d-image-based-on-specific-features/37805)

<div class="topic-metadata">

**Author:** [@calrnence](https://discourse.slicer.org/u/calrnence)\
**Replies:** 0\
**Last updated:** [August 9, 2024, 9:11pm UTC](https://discourse.slicer.org/t/semi-automatic-annotation-of-2d-image-based-on-specific-features/37805 "2024-08-09T21:11:45Z")

</div>

Hello, For this project I am working on, I am trying to use Python to draw a circle where the circle’s edge sits on an outline of a specific feature in a 2D image. I would like the program to be able to automatically id…

---

## [How can we make a http get request from a plugin](https://discourse.slicer.org/t/how-can-we-make-a-http-get-request-from-a-plugin/37668)

<div class="topic-metadata">

**Author:** [@maniron](https://discourse.slicer.org/u/maniron)\
**Replies:** 6\
**Last updated:** [August 9, 2024, 4:13am UTC](https://discourse.slicer.org/t/how-can-we-make-a-http-get-request-from-a-plugin/37668 "2024-08-09T04:13:05Z")

</div>

Hi, I am trying to hit my backend flask python server from the plugin which is integrated with 3D slicer but due to some reasons its not working. Kindly help me out how I can achieve it

---

## [VMTK - cross-sectional perimeter calculation](https://discourse.slicer.org/t/vmtk-cross-sectional-perimeter-calculation/37747)

<div class="topic-metadata">

**Author:** [@JoGervCon](https://discourse.slicer.org/u/JoGervCon)\
**Replies:** 3\
**Last updated:** [August 8, 2024, 5:26pm UTC](https://discourse.slicer.org/t/vmtk-cross-sectional-perimeter-calculation/37747 "2024-08-08T17:26:11Z")

</div>

Hi, I am using the VMTK extension to calculate the cross sectional area of arteries. Is there a function that can calculate the perimeter of the cross sectional area along the centerline?

---

## [Lighting in 3D stereoscopic view](https://discourse.slicer.org/t/lighting-in-3d-stereoscopic-view/37769)

<div class="topic-metadata">

**Author:** [@Laura\_A](https://discourse.slicer.org/u/Laura_A)\
**Replies:** 1\
**Last updated:** [August 8, 2024, 12:46pm UTC](https://discourse.slicer.org/t/lighting-in-3d-stereoscopic-view/37769 "2024-08-08T12:46:42Z")

</div>

I am trying to apply the lighting of the 3D view a the left and right eye 3D stereoscopic views, but the lighting is only applied to the view in the 3D Slicer UI. Steps I follow: Load a model in 3D Slicer Create 3D st…

---

## [Error while attempting to extract Network Properties](https://discourse.slicer.org/t/error-while-attempting-to-extract-network-properties/37755)

<div class="topic-metadata">

**Author:** [@THartman](https://discourse.slicer.org/u/THartman)\
**Replies:** 2\
**Last updated:** [August 8, 2024, 10:15am UTC](https://discourse.slicer.org/t/error-while-attempting-to-extract-network-properties/37755 "2024-08-08T10:15:25Z")

</div>

I’m working on batch processing several vessel networks to extract the network properties tables, but I am getting the following error on all of the vessels in my dataset. Does anyone have any information on what exactl…

---

## [Precompiled headers to speed up builds](https://discourse.slicer.org/t/precompiled-headers-to-speed-up-builds/37760)

<div class="topic-metadata">

**Author:** [@aymeric.chataigner](https://discourse.slicer.org/u/aymeric.chataigner)\
**Replies:** 0\
**Last updated:** [August 8, 2024, 7:03am UTC](https://discourse.slicer.org/t/precompiled-headers-to-speed-up-builds/37760 "2024-08-08T07:03:58Z")

</div>

Hi, I would like to precompile Qt, Vtk and Itk headers to speed up the build in the Slicer-build directory. I created some empty libraries in Libs directory to precompile the most common headers (QString, QObject, VtkO…

---

## [Scissors segment, rectangle shape selection from a python script](https://discourse.slicer.org/t/scissors-segment-rectangle-shape-selection-from-a-python-script/30757)

<div class="topic-metadata">

**Author:** [@Honeee](https://discourse.slicer.org/u/Honeee)\
**Replies:** 1\
**Last updated:** [August 8, 2024, 1:55am UTC](https://discourse.slicer.org/t/scissors-segment-rectangle-shape-selection-from-a-python-script/30757 "2024-08-08T01:55:40Z")

</div>

Operating system: Windows Slicer version: 5.2.2 Hello, I’m a beginner on 3D Slicer and I’m struggling on a project. I aim to write a program in the application startup script .slicerrc.py which should enable me to imp…

---

## [Py file has no effect after translation](https://discourse.slicer.org/t/py-file-has-no-effect-after-translation/37708)

<div class="topic-metadata">

**Author:** [@MikhayEeer](https://discourse.slicer.org/u/MikhayEeer)\
**Replies:** 3\
**Last updated:** [August 7, 2024, 9:35am UTC](https://discourse.slicer.org/t/py-file-has-no-effect-after-translation/37708 "2024-08-07T09:35:02Z")

</div>

Hello, I built the source code of slicer according to the instructions in the document, and used update\_translation.py to generate .ts files. However, when I opened the software and used the languagetools extension, I fo…

---

## [please help me！！error install total segmentator module！！](https://discourse.slicer.org/t/please-help-me-error-install-total-segmentator-module/37736)

<div class="topic-metadata">

**Author:** [@hjl](https://discourse.slicer.org/u/hjl)\
**Replies:** 0\
**Last updated:** [August 6, 2024, 2:07pm UTC](https://discourse.slicer.org/t/please-help-me-error-install-total-segmentator-module/37736 "2024-08-06T14:07:46Z")

</div>

I encountered this problem when I downloaded the total segmentator module. In my computer the true path of PythonSlicer.exe is ‘C:/ProgramData/slicer.org/Slicer 5.6.2/bin/PythonSlicer.exe’,not my computer system i…

---

## [Mouse Interaction with ModelNode: Hover and Click Functions](https://discourse.slicer.org/t/mouse-interaction-with-modelnode-hover-and-click-functions/37664)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 2\
**Last updated:** [August 6, 2024, 8:18am UTC](https://discourse.slicer.org/t/mouse-interaction-with-modelnode-hover-and-click-functions/37664 "2024-08-06T08:18:45Z")

</div>

Hello, I want to create a feature that interacts with a modelNode through the mouse. Specifically, when the mouse hovers over a model, I want its color to change, and when clicked, I want the camera to center on that mo…

---

## [How to build & debug correct way of custom loadable-modules](https://discourse.slicer.org/t/how-to-build-debug-correct-way-of-custom-loadable-modules/37713)

<div class="topic-metadata">

**Author:** [@jhan1245](https://discourse.slicer.org/u/jhan1245)\
**Replies:** 0\
**Last updated:** [August 5, 2024, 8:34pm UTC](https://discourse.slicer.org/t/how-to-build-debug-correct-way-of-custom-loadable-modules/37713 "2024-08-05T20:34:15Z")

</div>

Hello, I’m starting development with Slicer for the first time and I’m having trouble finding solid answers or documentation about custom Loadable Modules. I’d like to know how to build and debug a Loadable Module with …

---

## [How to compile MRML library](https://discourse.slicer.org/t/how-to-compile-mrml-library/37669)

<div class="topic-metadata">

**Author:** [@tomasbkk](https://discourse.slicer.org/u/tomasbkk)\
**Replies:** 4\
**Last updated:** [August 5, 2024, 7:11am UTC](https://discourse.slicer.org/t/how-to-compile-mrml-library/37669 "2024-08-05T07:11:59Z")

</div>

I’m trying to separate MRML library from Slicer and be able to build it separtely. So far I’ve gotten Slicer source code and used CMake to create VS solution files but I cannot find the MRML project or any of the other p…

---

## [Generate 360 Panoramic View from CBCT Dicom Images](https://discourse.slicer.org/t/generate-360-panoramic-view-from-cbct-dicom-images/27771)

<div class="topic-metadata">

**Author:** [@NX\_Dev](https://discourse.slicer.org/u/NX_Dev)\
**Replies:** 6\
**Last updated:** [August 3, 2024, 9:43pm UTC](https://discourse.slicer.org/t/generate-360-panoramic-view-from-cbct-dicom-images/27771 "2024-08-03T21:43:25Z")

</div>

I have 288 dicom images of cbct series, I have generated axial, saggital, coronal and also 3d rendering view from these images, the last thing I want to generate is the 360 panoramic view. I am unable to generate it in p…

---

## [Rendering for CT and dsa registration](https://discourse.slicer.org/t/rendering-for-ct-and-dsa-registration/37662)

<div class="topic-metadata">

**Author:** [@fqzhice](https://discourse.slicer.org/u/fqzhice)\
**Replies:** 1\
**Last updated:** [August 2, 2024, 8:53am UTC](https://discourse.slicer.org/t/rendering-for-ct-and-dsa-registration/37662 "2024-08-02T08:53:03Z")

</div>

I made registration from CT to DSA, The right-top image is generated after DRR projection. i want to paint drr image on VR window, Also DSA video is on background layer. The user can move or rotate drr projected image m…

---

## [Load image with correct orientation](https://discourse.slicer.org/t/load-image-with-correct-orientation/36711)

<div class="topic-metadata">

**Author:** [@haphantran](https://discourse.slicer.org/u/haphantran)\
**Replies:** 3\
**Last updated:** [August 1, 2024, 12:45pm UTC](https://discourse.slicer.org/t/load-image-with-correct-orientation/36711 "2024-08-01T12:45:21Z")

</div>

Hi team, Thank you for the help in advance. I’m trying to load 2 images into 3D Slicer. If I load it manually (Import data), 3D Slicer display them in the correct orientation as below. Image 0 (Green view) Image 1…

---

## [Unable to build an extension](https://discourse.slicer.org/t/unable-to-build-an-extension/37655)

<div class="topic-metadata">

**Author:** [@andrew\_why\_not](https://discourse.slicer.org/u/andrew_why_not)\
**Replies:** 1\
**Last updated:** [August 1, 2024, 12:40pm UTC](https://discourse.slicer.org/t/unable-to-build-an-extension/37655 "2024-08-01T12:40:02Z")

</div>

Hello, Trying to build a Python extension for distribution. It is highly required to prepare a .zip file so that users would be able to install it quickly. After performing make package on MacOS, I have a .tar.gz file.…

---

## [How to add and edit module](https://discourse.slicer.org/t/how-to-add-and-edit-module/37626)

<div class="topic-metadata">

**Author:** [@Jessica\_de\_Kort](https://discourse.slicer.org/u/Jessica_de_Kort)\
**Replies:** 1\
**Last updated:** [July 31, 2024, 7:46pm UTC](https://discourse.slicer.org/t/how-to-add-and-edit-module/37626 "2024-07-31T19:46:57Z")

</div>

Hi there. I added a custom module into Slicer but I don’t know how to edit it through Slicer. Do I have to redownload the module everytime?

---

## [Creating Multiple Modules from a Single Module Code](https://discourse.slicer.org/t/creating-multiple-modules-from-a-single-module-code/37642)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 1\
**Last updated:** [July 31, 2024, 7:41pm UTC](https://discourse.slicer.org/t/creating-multiple-modules-from-a-single-module-code/37642 "2024-07-31T19:41:58Z")

</div>

Hello, I have created a module that works well, and I would like to replicate this task multiple times, (with multiple GUI) creating modules named module1, module2, module3, and so on. The number of replications may var…

---

## [Seeking Guidance on Developing Custom Features using C++ (loadable module / core)](https://discourse.slicer.org/t/seeking-guidance-on-developing-custom-features-using-c-loadable-module-core/37488)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 4\
**Last updated:** [July 31, 2024, 7:16pm UTC](https://discourse.slicer.org/t/seeking-guidance-on-developing-custom-features-using-c-loadable-module-core/37488 "2024-07-31T19:16:33Z")

</div>

Hello, I am currently developing a custom app using Slicer. So far, I have been using Python and Scripted Modules for my development. However, I now need to accomplish the following tasks: Develop Custom Markups Creat…

---

## [Slice orientation Rotate Axial plane](https://discourse.slicer.org/t/slice-orientation-rotate-axial-plane/37627)

<div class="topic-metadata">

**Author:** [@Seokjun\_Hwang](https://discourse.slicer.org/u/Seokjun_Hwang)\
**Replies:** 1\
**Last updated:** [July 31, 2024, 6:37am UTC](https://discourse.slicer.org/t/slice-orientation-rotate-axial-plane/37627 "2024-07-31T06:37:43Z")

</div>

I want to adjust the angle of the axial black cross-sectional plane to match the red plane as shown in the picture. This is the valve area of the aorta, and I am looking for a module or Python function that can a…

---

## [Can't edit a custom module](https://discourse.slicer.org/t/cant-edit-a-custom-module/30448)

<div class="topic-metadata">

**Author:** [@Poppy](https://discourse.slicer.org/u/Poppy)\
**Replies:** 1\
**Last updated:** [July 8, 2023, 2:26pm UTC](https://discourse.slicer.org/t/cant-edit-a-custom-module/30448 "2023-07-08T14:26:47Z")

</div>

Operating system: Windows 11 Slicer version: 5.2.2 Expected behavior: Hello, I am trying to make a custom scripted module. After creating it if I press reload and test on the default template code it says test passed …

---

## [STL file exported and import to CFD model/ inlet create](https://discourse.slicer.org/t/stl-file-exported-and-import-to-cfd-model-inlet-create/34572)

<div class="topic-metadata">

**Author:** [@D\_Dand](https://discourse.slicer.org/u/D_Dand)\
**Replies:** 3\
**Last updated:** [July 29, 2024, 6:55pm UTC](https://discourse.slicer.org/t/stl-file-exported-and-import-to-cfd-model-inlet-create/34572 "2024-07-29T18:55:16Z")

</div>

Good morning everyone, I have done the segmentation part of lower human airway. Now, I want to export it and then import to CFD model to simulate human airflow in the lower airway. However, when I export the model into …

---

## [Testing for Extension: Automated CI/CD and Self Test](https://discourse.slicer.org/t/testing-for-extension-automated-ci-cd-and-self-test/36481)

<div class="topic-metadata">

**Author:** [@haphantran](https://discourse.slicer.org/u/haphantran)\
**Replies:** 3\
**Last updated:** [July 28, 2024, 9:59pm UTC](https://discourse.slicer.org/t/testing-for-extension-automated-ci-cd-and-self-test/36481 "2024-07-28T21:59:48Z")

</div>

Hello, We’re developing a extension for 3D Slicer. I’m thinking about how we can do automated testing with CI/CD tool. If we can do with GitHub Action maybe. We can install 3D Slicer in the pipeline, but I don’t know ho…

---

## [Windows 11 WSL2 floating View Widgets bug](https://discourse.slicer.org/t/windows-11-wsl2-floating-view-widgets-bug/29608)

<div class="topic-metadata">

**Author:** [@Thibault\_Pelletier](https://discourse.slicer.org/u/Thibault_Pelletier)\
**Replies:** 6\
**Last updated:** [July 26, 2024, 6:08am UTC](https://discourse.slicer.org/t/windows-11-wsl2-floating-view-widgets-bug/29608 "2024-07-26T06:08:30Z")

</div>

Hi everyone, I recently wanted to test an extension build on Linux and used Windows 11 WSL2 for this with a Slicer build from scratch on the main branch. Everything builds smoothly (which is really great) and GUI suppo…

---

## [Segment editor effect sourceVolumeImageData not updated](https://discourse.slicer.org/t/segment-editor-effect-sourcevolumeimagedata-not-updated/37500)

<div class="topic-metadata">

**Author:** [@Llujoo](https://discourse.slicer.org/u/Llujoo)\
**Replies:** 5\
**Last updated:** [July 25, 2024, 3:57pm UTC](https://discourse.slicer.org/t/segment-editor-effect-sourcevolumeimagedata-not-updated/37500 "2024-07-25T15:57:16Z")

</div>

Hello I am writing a SegmentEditorEffect based on AbstractScriptedSegmentEditorEffect. When I call self.scriptedEffect.sourceVolumeImageData() everything works fine. However if I change the selected source volume in the…

---

## [Help dev)"curved planar reformat" color problem](https://discourse.slicer.org/t/help-dev-curved-planar-reformat-color-problem/37554)

<div class="topic-metadata">

**Author:** [@Seokjun\_Hwang](https://discourse.slicer.org/u/Seokjun_Hwang)\
**Replies:** 0\
**Last updated:** [July 25, 2024, 8:04am UTC](https://discourse.slicer.org/t/help-dev-curved-planar-reformat-color-problem/37554 "2024-07-25T08:04:41Z")

</div>

Hellow…! I am seeking assistance with an issue encountered while using the Curved Planar Reformat module with sandbox extensions. Problem: I used the straightening function to straighten the aorta into a straight …

---

## [Python code for aligning the camera or 3D view at specific angle](https://discourse.slicer.org/t/python-code-for-aligning-the-camera-or-3d-view-at-specific-angle/37544)

<div class="topic-metadata">

**Author:** [@uday\_15](https://discourse.slicer.org/u/uday_15)\
**Replies:** 1\
**Last updated:** [July 24, 2024, 10:00pm UTC](https://discourse.slicer.org/t/python-code-for-aligning-the-camera-or-3d-view-at-specific-angle/37544 "2024-07-24T22:00:18Z")

</div>

Can I have code for aligning the camera node or 3D view at specific angle. More specific, I have three points and want to align the camera node or 3D view such that the plane created through those three points should be …

---

## [How to use python script to install module in additional module paths?](https://discourse.slicer.org/t/how-to-use-python-script-to-install-module-in-additional-module-paths/33410)

<div class="topic-metadata">

**Author:** [@derekcbr](https://discourse.slicer.org/u/derekcbr)\
**Replies:** 2\
**Last updated:** [July 23, 2024, 6:34pm UTC](https://discourse.slicer.org/t/how-to-use-python-script-to-install-module-in-additional-module-paths/33410 "2024-07-23T18:34:08Z")

</div>

currentPaths = slicer.util.settingsValue(‘Modules/AdditionalPaths’, ) if isinstance(currentPaths, str): currentPaths = \[currentPaths\] if modulePath not in currentPaths: currentPaths.append(modulePath) slicer.util.se…

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

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