# Development

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

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

**Page:** 7

---

## [Slicer custom app crashing with --testing arg](https://discourse.slicer.org/t/slicer-custom-app-crashing-with-testing-arg/23209)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Replies:** 7\
**Last updated:** [July 11, 2025, 2:52am UTC](https://discourse.slicer.org/t/slicer-custom-app-crashing-with-testing-arg/23209 "2025-07-11T02:52:20Z")

</div>

Using the latest of the SlicerCustomAppTemplate and using a default configuration that uses Qt 5.15.2, I’m experiencing that it always crashes when running with the --testing command line argument. The output is like the…

---

## [Recent builds posted on slicer.cdash.org are not rendered properly](https://discourse.slicer.org/t/recent-builds-posted-on-slicer-cdash-org-are-not-rendered-properly/43591)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 1\
**Last updated:** [July 3, 2025, 4:41pm UTC](https://discourse.slicer.org/t/recent-builds-posted-on-slicer-cdash-org-are-not-rendered-properly/43591 "2025-07-03T16:41:48Z")

</div>

This issue is now tracked here: https://github.com/Kitware/CDash/issues/2970 Expected Behavior The “Nightly-Packages” section of the CDash project page should consistently display all expected builds for a given day. Fo…

---

## [Plane settings not registated](https://discourse.slicer.org/t/plane-settings-not-registated/43531)

<div class="topic-metadata">

**Author:** [@philippepellerin](https://discourse.slicer.org/u/philippepellerin)\
**Replies:** 6\
**Last updated:** [June 28, 2025, 3:02pm UTC](https://discourse.slicer.org/t/plane-settings-not-registated/43531 "2025-06-28T15:02:24Z")

</div>

Hi, the plane setting in the landmarks module is not registrated. I saved, as a bundle, some plane settings where I unticked the case plane setting visibility and setting the sliding ruler of visibility to 0. When I reo…

---

## [Access to Main.cxx from custom Slicer Python application](https://discourse.slicer.org/t/access-to-main-cxx-from-custom-slicer-python-application/43495)

<div class="topic-metadata">

**Author:** [@ejm-revvity](https://discourse.slicer.org/u/ejm-revvity)\
**Replies:** 0\
**Last updated:** [June 25, 2025, 11:09pm UTC](https://discourse.slicer.org/t/access-to-main-cxx-from-custom-slicer-python-application/43495 "2025-06-25T23:09:48Z")

</div>

This is a cross-post from Kitware discourse topic. Essentially, I’m interested in understanding to what I have access in Main.cxx (Qt, etc.) and how I would reference, from the custom Python application, something I hav…

---

## [This is about extension to upload to extension manager](https://discourse.slicer.org/t/this-is-about-extension-to-upload-to-extension-manager/43435)

<div class="topic-metadata">

**Author:** [@Pranav\_Rai](https://discourse.slicer.org/u/Pranav_Rai)\
**Replies:** 2\
**Last updated:** [June 23, 2025, 10:04am UTC](https://discourse.slicer.org/t/this-is-about-extension-to-upload-to-extension-manager/43435 "2025-06-23T10:04:12Z")

</div>

I am trying to create extensions for my custom slicer application by running the command given in the docs. Still, after running it and setting everything in place, the final folder comes empty every time, and the soluti…

---

## [Wondering if the development team will make software development based on the ipad's os system](https://discourse.slicer.org/t/wondering-if-the-development-team-will-make-software-development-based-on-the-ipads-os-system/31217)

<div class="topic-metadata">

**Author:** [@YuanChaw](https://discourse.slicer.org/u/YuanChaw)\
**Replies:** 2\
**Last updated:** [August 18, 2023, 11:58am UTC](https://discourse.slicer.org/t/wondering-if-the-development-team-will-make-software-development-based-on-the-ipads-os-system/31217 "2023-08-18T11:58:37Z")

</div>

Wondering if the development team will make software development based on the iPad’s OS system, I think it must be super cool and convenient. In that case, we can segment organs by using an iPad pencil. Thanks, Yuan

---

## [Issue with Including Scripted Module in Custom Slicer-Based Application](https://discourse.slicer.org/t/issue-with-including-scripted-module-in-custom-slicer-based-application/43408)

<div class="topic-metadata">

**Author:** [@software](https://discourse.slicer.org/u/software)\
**Replies:** 6\
**Last updated:** [June 20, 2025, 7:49am UTC](https://discourse.slicer.org/t/issue-with-including-scripted-module-in-custom-slicer-based-application/43408 "2025-06-20T07:49:29Z")

</div>

Hi all, I’ve developed a custom Slicer-based application and included a custom scripted module called HemisphereVolumeCalculator In my top-level CMakeLists.txt, I’ve added it using: set(Slicer\_EXTENSION\_SOURCE\_DIRS …

---

## [Set PlusServerLauncher remote control port number](https://discourse.slicer.org/t/set-plusserverlauncher-remote-control-port-number/10113)

<div class="topic-metadata">

**Author:** [@brynpitt](https://discourse.slicer.org/u/brynpitt)\
**Replies:** 3\
**Last updated:** [February 4, 2020, 9:34pm UTC](https://discourse.slicer.org/t/set-plusserverlauncher-remote-control-port-number/10113 "2020-02-04T21:34:06Z")

</div>

OS: Windows 10 PLUS Version: PlusApp-2.8.0.20191105-Telemed-Win32 Expected behavior: Running command PlusServerLauncher --port=18905 should start plus server launcher with remote control server at port number 18905 …

---

## [Slicer with custom Python threading crashing unpredictably](https://discourse.slicer.org/t/slicer-with-custom-python-threading-crashing-unpredictably/43077)

<div class="topic-metadata">

**Author:** [@pedr0sorio](https://discourse.slicer.org/u/pedr0sorio)\
**Replies:** 6\
**Last updated:** [June 18, 2025, 3:11am UTC](https://discourse.slicer.org/t/slicer-with-custom-python-threading-crashing-unpredictably/43077 "2025-06-18T03:11:03Z")

</div>

Dear Slicer Community, I have been building a custom slicer extension that allows me to do localised modifications in a CT scan using some AI models running in a Flask server that I access with requests. The extension …

---

## [Race condition in linux build](https://discourse.slicer.org/t/race-condition-in-linux-build/43372)

<div class="topic-metadata">

**Author:** [@pieper](https://discourse.slicer.org/u/pieper)\
**Replies:** 7\
**Last updated:** [June 16, 2025, 10:29pm UTC](https://discourse.slicer.org/t/race-condition-in-linux-build/43372 "2025-06-16T22:29:42Z")

</div>

Building fresh with yesterday’s git checkout on a Ubuntu 24.04 machine I got the following repeatably with make -j8. However when I tried to narrow it down with plain make the build succeeded and the program runs fine. …

---

## [Slicer upgrade from Python 3.9.10 to Python 3.12](https://discourse.slicer.org/t/slicer-upgrade-from-python-3-9-10-to-python-3-12/43291)

<div class="topic-metadata">

**Author:** [@Deep\_Learning](https://discourse.slicer.org/u/Deep_Learning)\
**Replies:** 2\
**Last updated:** [June 13, 2025, 5:42pm UTC](https://discourse.slicer.org/t/slicer-upgrade-from-python-3-9-10-to-python-3-12/43291 "2025-06-13T17:42:46Z")

</div>

Windows nightly is still Python 3.9.10 (main, Jun 9 2025, 23:19:40) \[MSC v.1942 64 bit (AMD64)\] on win32. Is a build necessary?

---

## [Slicer 5.9.0 with libtorch](https://discourse.slicer.org/t/slicer-5-9-0-with-libtorch/43319)

<div class="topic-metadata">

**Author:** [@Haoyin\_Zhou](https://discourse.slicer.org/u/Haoyin_Zhou)\
**Replies:** 6\
**Last updated:** [June 13, 2025, 2:50pm UTC](https://discourse.slicer.org/t/slicer-5-9-0-with-libtorch/43319 "2025-06-13T14:50:01Z")

</div>

hi, I am developing a c++ module on Slicer 5.9.0. I have a lot of confusion to use libtorch together with Slicer. I can compile the code but when I call a libtorch function, such as torch::jit::load(path), it crashes wit…

---

## [Use slicer vi@ web browser with parameters](https://discourse.slicer.org/t/use-slicer-vi-web-browser-with-parameters/43282)

<div class="topic-metadata">

**Author:** [@nicofutur8](https://discourse.slicer.org/u/nicofutur8)\
**Replies:** 1\
**Last updated:** [June 10, 2025, 12:54pm UTC](https://discourse.slicer.org/t/use-slicer-vi-web-browser-with-parameters/43282 "2025-06-10T12:54:14Z")

</div>

Hello everyone, I have created a plugin called “showPatientInfo” which shows certain metadata from a volume stored in DB and also shows if any user has connected. The thing now is I would want to show this plugin vi…

---

## [Setting Python 3.9.22 as Default in 3DSlicer Python Interactor](https://discourse.slicer.org/t/setting-python-3-9-22-as-default-in-3dslicer-python-interactor/43268)

<div class="topic-metadata">

**Author:** [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Replies:** 0\
**Last updated:** [June 9, 2025, 9:22am UTC](https://discourse.slicer.org/t/setting-python-3-9-22-as-default-in-3dslicer-python-interactor/43268 "2025-06-09T09:22:30Z")

</div>

Hello Dear Developers and Users I find out that in 3DSlicer, there are two different Python versions. One is version 3.9.10, which is in Python Interactor and related to PythonSlicer executable file. The other is versio…

---

## [Developing for Slicer on Apple Silicon (build targeting x86\_64)](https://discourse.slicer.org/t/developing-for-slicer-on-apple-silicon-build-targeting-x86-64/40686)

<div class="topic-metadata">

**Author:** [@arhowe00](https://discourse.slicer.org/u/arhowe00)\
**Replies:** 5\
**Last updated:** [June 9, 2025, 3:31am UTC](https://discourse.slicer.org/t/developing-for-slicer-on-apple-silicon-build-targeting-x86-64/40686 "2025-06-09T03:31:09Z")

</div>

The developer docs may need a minor update addressing development on the newer Macs (M-series chips). Here is a sufficient-for-development build from source on arm64 MacOS without requiring niche workarounds for specific…

---

## [Crashing of 3DSlicer version 5.8.1 after importing openGate Python package](https://discourse.slicer.org/t/crashing-of-3dslicer-version-5-8-1-after-importing-opengate-python-package/43256)

<div class="topic-metadata">

**Author:** [@shahrokh](https://discourse.slicer.org/u/shahrokh)\
**Replies:** 2\
**Last updated:** [June 8, 2025, 4:12am UTC](https://discourse.slicer.org/t/crashing-of-3dslicer-version-5-8-1-after-importing-opengate-python-package/43256 "2025-06-08T04:12:44Z")

</div>

Hello Dear Developers and Users I installed the opengate library in python of 3DSlicer. But after importing it in python interactor and pressing the menu key or pressing the tab key for completing the names of imported …

---

## [Version 5.8.1 unable to use GetSegmentIdBySegmentName](https://discourse.slicer.org/t/version-5-8-1-unable-to-use-getsegmentidbysegmentname/43259)

<div class="topic-metadata">

**Author:** [@maximeb](https://discourse.slicer.org/u/maximeb)\
**Replies:** 1\
**Last updated:** [June 8, 2025, 1:12am UTC](https://discourse.slicer.org/t/version-5-8-1-unable-to-use-getsegmentidbysegmentname/43259 "2025-06-08T01:12:48Z")

</div>

Previously in version 5.6.2 this: self.SegmentID = Segmentation.GetSegmentIdBySegmentName(segment\_name) retrieved the segmentID In version 5.8.2, it returns none. Is that normal? What is the new equivalent for gettin…

---

## [Code for TransformVisualizer?](https://discourse.slicer.org/t/code-for-transformvisualizer/43241)

<div class="topic-metadata">

**Author:** [@elisedl1](https://discourse.slicer.org/u/elisedl1)\
**Replies:** 1\
**Last updated:** [June 5, 2025, 6:36pm UTC](https://discourse.slicer.org/t/code-for-transformvisualizer/43241 "2025-06-05T18:36:59Z")

</div>

Hi all, Is there anyway to access the code for the TransformVisualizer module?

---

## [Error building custom 3D Slicer](https://discourse.slicer.org/t/error-building-custom-3d-slicer/43149)

<div class="topic-metadata">

**Author:** [@nicofutur8](https://discourse.slicer.org/u/nicofutur8)\
**Replies:** 5\
**Last updated:** [June 4, 2025, 10:31am UTC](https://discourse.slicer.org/t/error-building-custom-3d-slicer/43149 "2025-06-04T10:31:04Z")

</div>

Hello everyone! I want to build a custom Slicer3D using your template by Kitware. I followed steps thoroughly but, at the end of the building phase, i get an error envolving some kind of VTK feature called vtkTeemPython…

---

## [How to package slicer to a zip for publication](https://discourse.slicer.org/t/how-to-package-slicer-to-a-zip-for-publication/43185)

<div class="topic-metadata">

**Author:** [@zhaokaien](https://discourse.slicer.org/u/zhaokaien)\
**Replies:** 2\
**Last updated:** [June 4, 2025, 10:13am UTC](https://discourse.slicer.org/t/how-to-package-slicer-to-a-zip-for-publication/43185 "2025-06-04T10:13:01Z")

</div>

Hello, I have successfully built Slicer v5.9 from source code, and Slicer runs normally. I’ve also performed custom development on Slicer, and everything works as expected. Now, I need to INSTALL and PACKAGE Slicer so we…

---

## [Use ANTsRegistration Extension 's QuickSyN get error](https://discourse.slicer.org/t/use-antsregistration-extension-s-quicksyn-get-error/43053)

<div class="topic-metadata">

**Author:** [@zhaokaien](https://discourse.slicer.org/u/zhaokaien)\
**Replies:** 6\
**Last updated:** [June 2, 2025, 2:53am UTC](https://discourse.slicer.org/t/use-antsregistration-extension-s-quicksyn-get-error/43053 "2025-06-02T02:53:21Z")

</div>

Hello, I’m trying to register two volumes using the AntsRegistration plugin. I’ve had no issues when using the Rigid and Affine+Rigid modes in ANTs. However, I consistently encounter an error when attempting to use Quic…

---

## [Unexpected behavior in Transforms Module and IGT ResliceDriver](https://discourse.slicer.org/t/unexpected-behavior-in-transforms-module-and-igt-reslicedriver/42828)

<div class="topic-metadata">

**Author:** [@sfrisken](https://discourse.slicer.org/u/sfrisken)\
**Replies:** 8\
**Last updated:** [May 30, 2025, 8:22pm UTC](https://discourse.slicer.org/t/unexpected-behavior-in-transforms-module-and-igt-reslicedriver/42828 "2025-05-30T20:22:02Z")

</div>

When tracking two instruments using the Brainlab system and OpenIGTLink: OpenIGT link transfers transforms for both instruments from BrainLab to Slicer as expected As long as only one instrument is ever visible at a ti…

---

## [How to display video in PythonQt?](https://discourse.slicer.org/t/how-to-display-video-in-pythonqt/17564)

<div class="topic-metadata">

**Author:** [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Replies:** 2\
**Last updated:** [May 29, 2025, 9:25am UTC](https://discourse.slicer.org/t/how-to-display-video-in-pythonqt/17564 "2025-05-29T09:25:34Z")

</div>

How can I display a video in Slicer through PythonQt?

---

## [Built-in Resampling Solution for Curved Planar Reformat](https://discourse.slicer.org/t/built-in-resampling-solution-for-curved-planar-reformat/43137)

<div class="topic-metadata">

**Author:** [@MarkLiu](https://discourse.slicer.org/u/MarkLiu)\
**Replies:** 0\
**Last updated:** [May 28, 2025, 2:01pm UTC](https://discourse.slicer.org/t/built-in-resampling-solution-for-curved-planar-reformat/43137 "2025-05-28T14:01:53Z")

</div>

Dear Community, I’m currently using the curved planar reformat to re-sample the CT images. And it normally takes about 10 seconds to finish the execution, which is a little bit long to my application. I briefly checked …

---

## [Do we have this feature for watershed topographic maps, or how can we implement it](https://discourse.slicer.org/t/do-we-have-this-feature-for-watershed-topographic-maps-or-how-can-we-implement-it/42653)

<div class="topic-metadata">

**Author:** [@lhefeng662](https://discourse.slicer.org/u/lhefeng662)\
**Replies:** 5\
**Last updated:** [May 28, 2025, 9:39am UTC](https://discourse.slicer.org/t/do-we-have-this-feature-for-watershed-topographic-maps-or-how-can-we-implement-it/42653 "2025-05-28T09:39:12Z")

</div>

Watershed Topographic Map 2.0 simulates the true boundaries of pulmonary vascular basins using artificial intelligence algorithms based on personalized lung anatomical variation patterns. Principle of watershed topograph…

---

## [Issue Applying Wrap Solidify in Python Script](https://discourse.slicer.org/t/issue-applying-wrap-solidify-in-python-script/41742)

<div class="topic-metadata">

**Author:** [@Miri\_Trope](https://discourse.slicer.org/u/Miri_Trope)\
**Replies:** 1\
**Last updated:** [May 27, 2025, 12:41pm UTC](https://discourse.slicer.org/t/issue-applying-wrap-solidify-in-python-script/41742 "2025-05-27T12:41:07Z")

</div>

Dear community, I’m trying to apply Wrap Solidify in a Python script following the instructions provided here. I’ve attached the code: Create a segmentation node segmentationNode = slicer.mrmlScene.AddNewNodeByClass(“…

---

## [Configuring the running environment for an extension build-tree](https://discourse.slicer.org/t/configuring-the-running-environment-for-an-extension-build-tree/43103)

<div class="topic-metadata">

**Author:** [@RafaelPalomar](https://discourse.slicer.org/u/RafaelPalomar)\
**Replies:** 1\
**Last updated:** [May 26, 2025, 8:02pm UTC](https://discourse.slicer.org/t/configuring-the-running-environment-for-an-extension-build-tree/43103 "2025-05-26T20:02:19Z")

</div>

Hello. Is there any reason for the following code not taking effect when added to a External\_something.cmake file in a superbuild extension? set(${proj}\_ENVVARS\_LAUNCHER\_BUILD "VAR1=${VAR1}" "VAR2=anything" …

---

## [For creating extensions using extension index repo](https://discourse.slicer.org/t/for-creating-extensions-using-extension-index-repo/43109)

<div class="topic-metadata">

**Author:** [@Pranav\_Rai](https://discourse.slicer.org/u/Pranav_Rai)\
**Replies:** 0\
**Last updated:** [May 26, 2025, 7:54pm UTC](https://discourse.slicer.org/t/for-creating-extensions-using-extension-index-repo/43109 "2025-05-26T19:54:39Z")

</div>

I am trying to create extensions for my custom slicer application by running the command given in the docs. Still, after running it and setting everything in place, the final folder comes empty every time, and the soluti…

---

## [Help with IJK to LPS Conversion Mismatch When Rendering CT Volume Outside Slicer](https://discourse.slicer.org/t/help-with-ijk-to-lps-conversion-mismatch-when-rendering-ct-volume-outside-slicer/43099)

<div class="topic-metadata">

**Author:** [@Khaleel\_Ur\_Rehman](https://discourse.slicer.org/u/Khaleel_Ur_Rehman)\
**Replies:** 2\
**Last updated:** [May 26, 2025, 7:54pm UTC](https://discourse.slicer.org/t/help-with-ijk-to-lps-conversion-mismatch-when-rendering-ct-volume-outside-slicer/43099 "2025-05-26T19:54:16Z")

</div>

Hello Slicer Community, I’m currently working on a custom algorithm that requires rendering a CT volume in 3D using VTK (outside of Slicer). As part of this, I need to convert the CT image from IJK space to LPS (or RAS)…

---

## [Easy Hip Planner - how to -easy- turn code to extension?](https://discourse.slicer.org/t/easy-hip-planner-how-to-easy-turn-code-to-extension/43083)

<div class="topic-metadata">

**Author:** [@Przemek\_Czuma](https://discourse.slicer.org/u/Przemek_Czuma)\
**Replies:** 2\
**Last updated:** [May 26, 2025, 11:41am UTC](https://discourse.slicer.org/t/easy-hip-planner-how-to-easy-turn-code-to-extension/43083 "2025-05-26T11:41:03Z")

</div>

Here’s the situation: I built an application (a Python script) for simple total hip arthroplasty planning. I can’t code at all – I used a few LLMs to get it done. I was testing how far I could go with programming without…

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

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