# Development

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

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

**Page:** 38

---

## [Export individual segements from segmentation as obj files ](https://discourse.slicer.org/t/export-individual-segements-from-segmentation-as-obj-files/29234)

<div class="topic-metadata">

**Author:** [@Kalgodon](https://discourse.slicer.org/u/Kalgodon)\
**Replies:** 1\
**Last updated:** [May 1, 2023, 9:49pm UTC](https://discourse.slicer.org/t/export-individual-segements-from-segmentation-as-obj-files/29234 "2023-05-01T21:49:34Z")

</div>

I am trying to export all segments as their own obj so that I don’t end up with just a surface like stl files. I have been successful in the ui by hiding all the segments except 1 at a time, and then exporting all visib…

---

## [Lighweight "zero footprint" 3D Slicer viewer wanted](https://discourse.slicer.org/t/lighweight-zero-footprint-3d-slicer-viewer-wanted/29202)

<div class="topic-metadata">

**Author:** [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Replies:** 5\
**Last updated:** [April 30, 2023, 1:06pm UTC](https://discourse.slicer.org/t/lighweight-zero-footprint-3d-slicer-viewer-wanted/29202 "2023-04-30T13:06:57Z")

</div>

For day clinical work it would be awesome (maybe wrong word - required) to have a lightweight, streamlined, fast, optimized, pretty, small preferable HTLM-5 or gradio based 3D SLicer viewed available, which does noth…

---

## [Anyone know how to read Analyze ObjectMap files?](https://discourse.slicer.org/t/anyone-know-how-to-read-analyze-objectmap-files/29074)

<div class="topic-metadata">

**Author:** [@pieper](https://discourse.slicer.org/u/pieper)\
**Replies:** 6\
**Last updated:** [April 27, 2023, 2:21pm UTC](https://discourse.slicer.org/t/anyone-know-how-to-read-analyze-objectmap-files/29074 "2023-04-27T14:21:03Z")

</div>

@Ron Alkalay and I are trying to work with some segmentations generated by Analyze. He was able to export it in .hdr/.img format, but the pixel to world (ijkToRAS) is identity so the data doesn’t match the CT as shown b…

---

## [delete current volume and switch next volume.](https://discourse.slicer.org/t/delete-current-volume-and-switch-next-volume/29138)

<div class="topic-metadata">

**Author:** [@Benjamin-JZ](https://discourse.slicer.org/u/Benjamin-JZ)\
**Replies:** 3\
**Last updated:** [April 27, 2023, 7:27am UTC](https://discourse.slicer.org/t/delete-current-volume-and-switch-next-volume/29138 "2023-04-27T07:27:47Z")

</div>

I want make a button for something,I need to delete current volume in my button signal slot.how can i do that?

---

## [Should we use more VTK object "factory" methods?](https://discourse.slicer.org/t/should-we-use-more-vtk-object-factory-methods/29092)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 15\
**Last updated:** [April 25, 2023, 6:21pm UTC](https://discourse.slicer.org/t/should-we-use-more-vtk-object-factory-methods/29092 "2023-04-25T18:21:06Z")

</div>

We call those methods that create and return a new VTK object “factory method”. Previously, we avoided using such methods because it was too easy to forget to take ownership of the new object (and delete it when no longe…

---

## [Rename vtkMRMLMarkupsFiducialNode](https://discourse.slicer.org/t/rename-vtkmrmlmarkupsfiducialnode/29085)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 2\
**Last updated:** [April 25, 2023, 12:19pm UTC](https://discourse.slicer.org/t/rename-vtkmrmlmarkupsfiducialnode/29085 "2023-04-25T12:19:49Z")

</div>

Operating system: window 10 Slicer version: 5.2.1 In the case of ‘vtkCurve’ and ‘vtkClosedCurve’ nodes, changing their ‘name’ is reflected on the screen in real time. However, in the case of 'vtkMRMLMarkupsFiducialNode…

---

## [AddSegment error](https://discourse.slicer.org/t/addsegment-error/29080)

<div class="topic-metadata">

**Author:** [@pearsonm](https://discourse.slicer.org/u/pearsonm)\
**Replies:** 2\
**Last updated:** [April 24, 2023, 11:44am UTC](https://discourse.slicer.org/t/addsegment-error/29080 "2023-04-24T11:44:07Z")

</div>

Using a local build of 5.3.0-2023-03-04 r31618 / b0b9be5 on Ubuntu 23.02 I get an error when I run the create segmentation node snippet from Programmatically Create a SegmentationNode and LabelMapNode from Polygon Coord…

---

## [How to manipulate node's opacity of label in view?](https://discourse.slicer.org/t/how-to-manipulate-nodes-opacity-of-label-in-view/29078)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 0\
**Last updated:** [April 24, 2023, 5:16am UTC](https://discourse.slicer.org/t/how-to-manipulate-nodes-opacity-of-label-in-view/29078 "2023-04-24T05:16:48Z")

</div>

Operating system: window 10 Slicer version: 5. 2.1 I want the opacity control to apply only to the label and not to the glyph. I guess I need to adjust font style a in rgba, how to approach it? # example temp.GetD…

---

## [Proposed new Slicer logo](https://discourse.slicer.org/t/proposed-new-slicer-logo/11295)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Replies:** 113\
**Last updated:** [April 24, 2023, 12:39am UTC](https://discourse.slicer.org/t/proposed-new-slicer-logo/11295 "2023-04-24T00:39:16Z")

</div>

Based on a discussion that originally began in the thread, Slicer module panel icon in dark mode, I wanted to show variations of a proposed new Slicer logo that I mocked up. My requirements: Must be similar in design …

---

## [About the distance unit between two points when markup by line](https://discourse.slicer.org/t/about-the-distance-unit-between-two-points-when-markup-by-line/29041)

<div class="topic-metadata">

**Author:** [@dbtruong](https://discourse.slicer.org/u/dbtruong)\
**Replies:** 2\
**Last updated:** [April 22, 2023, 9:10am UTC](https://discourse.slicer.org/t/about-the-distance-unit-between-two-points-when-markup-by-line/29041 "2023-04-22T09:10:08Z")

</div>

Why the distance between two points is millimeter?

---

## [Windows preview build delayed & Visual Studio 2022 updates](https://discourse.slicer.org/t/windows-preview-build-delayed-visual-studio-2022-updates/29045)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 0\
**Last updated:** [April 21, 2023, 11:52am UTC](https://discourse.slicer.org/t/windows-preview-build-delayed-visual-studio-2022-updates/29045 "2023-04-21T11:52:06Z")

</div>

Impact Slicer Preview application and extension packages of 2023-04-21T03:00:00Z (UTC) for Windows will be available later than expected. Update Details Installed components for UWP/ARM64 development To support the deve…

---

## [Grow from seeds algorithm](https://discourse.slicer.org/t/grow-from-seeds-algorithm/28655)

<div class="topic-metadata">

**Author:** [@Josefa\_Garcia](https://discourse.slicer.org/u/Josefa_Garcia)\
**Replies:** 3\
**Last updated:** [April 20, 2023, 4:50pm UTC](https://discourse.slicer.org/t/grow-from-seeds-algorithm/28655 "2023-04-20T16:50:55Z")

</div>

Hi everyone, I have a question about the algorithm that Grow from seeds segmentation methods is using, anyone knows?

---

## [I wrote a python extension, how to automatically install the extension by python?](https://discourse.slicer.org/t/i-wrote-a-python-extension-how-to-automatically-install-the-extension-by-python/29002)

<div class="topic-metadata">

**Author:** [@derekcbr](https://discourse.slicer.org/u/derekcbr)\
**Replies:** 2\
**Last updated:** [April 20, 2023, 4:37am UTC](https://discourse.slicer.org/t/i-wrote-a-python-extension-how-to-automatically-install-the-extension-by-python/29002 "2023-04-20T04:37:27Z")

</div>

Below seems not to work. import slicer import os # Path to your extension .py file extension\_file = "/path/to/YourExtension.py" # Check if the extension is already installed installed\_extensions = slicer.app.extension…

---

## [The next step after call the paintApply method in qSlicerSegmentEditorScissorsEffect.cxx](https://discourse.slicer.org/t/the-next-step-after-call-the-paintapply-method-in-qslicersegmenteditorscissorseffect-cxx/28999)

<div class="topic-metadata">

**Author:** [@dbtruong](https://discourse.slicer.org/u/dbtruong)\
**Replies:** 0\
**Last updated:** [April 19, 2023, 1:24am UTC](https://discourse.slicer.org/t/the-next-step-after-call-the-paintapply-method-in-qslicersegmenteditorscissorseffect-cxx/28999 "2023-04-19T01:24:31Z")

</div>

What is the next step after calling the paintApply method in qSlicerSegmentEditorScissorsEffect.cxx?

---

## [Segmentation fault with any applied Qt stylesheet when switch off from Transform Module](https://discourse.slicer.org/t/segmentation-fault-with-any-applied-qt-stylesheet-when-switch-off-from-transform-module/21584)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 7\
**Last updated:** [April 18, 2023, 6:34pm UTC](https://discourse.slicer.org/t/segmentation-fault-with-any-applied-qt-stylesheet-when-switch-off-from-transform-module/21584 "2023-04-18T18:34:49Z")

</div>

Hi, On Ubuntu 20.04 if I try to apply Qt stylesheet (for example using SandBox style tester with these two default lines) and switch after that I switch to the Transform module and then switch to any other module I get …

---

## [Cmake setting in vscode](https://discourse.slicer.org/t/cmake-setting-in-vscode/28981)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 0\
**Last updated:** [April 18, 2023, 7:30am UTC](https://discourse.slicer.org/t/cmake-setting-in-vscode/28981 "2023-04-18T07:30:06Z")

</div>

Hi all, I am tring to create an enviornment for 3D slicer using vscode. I have built my project using the “setting.json” as shown below: { "cmake.configureArgs": \[ "-DCMAKE\_BUILD\_TYPE=Debug", "-G",…

---

## [Debug Build errors ](https://discourse.slicer.org/t/debug-build-errors/28961)

<div class="topic-metadata">

**Author:** [@DRDMT](https://discourse.slicer.org/u/DRDMT)\
**Replies:** 3\
**Last updated:** [April 17, 2023, 7:20pm UTC](https://discourse.slicer.org/t/debug-build-errors/28961 "2023-04-17T19:20:41Z")

</div>

Hello Team, How can we debug or find more information about the error messages created while building a module. I am just trying to create a new node. When ever I call a New() method I get the error below: 6\>vtkSlice…

---

## [Slicer GitHub project reached 1000 stars!](https://discourse.slicer.org/t/slicer-github-project-reached-1000-stars/28969)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 0\
**Last updated:** [April 17, 2023, 2:55pm UTC](https://discourse.slicer.org/t/slicer-github-project-reached-1000-stars/28969 "2023-04-17T14:55:06Z")

</div>

Thanks everyone :pray: :tada: :rocket: From 0 to 1k since March 2020 After fully transitioning from using SVN to GitHub, we restarted our star count from 0 in March 2020. At that time we already had 889 stars associate…

---

## ['imageio' no longer found in site-packages on fresh install](https://discourse.slicer.org/t/imageio-no-longer-found-in-site-packages-on-fresh-install/28949)

<div class="topic-metadata">

**Author:** [@GradyC](https://discourse.slicer.org/u/GradyC)\
**Replies:** 2\
**Last updated:** [April 17, 2023, 3:11am UTC](https://discourse.slicer.org/t/imageio-no-longer-found-in-site-packages-on-fresh-install/28949 "2023-04-17T03:11:59Z")

</div>

Hello, I have been working on a project that uses Slicer to help rasterize an .stl file to a TIFF stack of images. This process is aided by a very similar python script like this in the documentation. Recently I reinstal…

---

## [About the idea of cropping freehand in 3D Slicer](https://discourse.slicer.org/t/about-the-idea-of-cropping-freehand-in-3d-slicer/28905)

<div class="topic-metadata">

**Author:** [@dbtruong](https://discourse.slicer.org/u/dbtruong)\
**Replies:** 3\
**Last updated:** [April 16, 2023, 8:50pm UTC](https://discourse.slicer.org/t/about-the-idea-of-cropping-freehand-in-3d-slicer/28905 "2023-04-16T20:50:26Z")

</div>

Hello I have a question. I read code in qSlicerSegmentEditorScissorsEffect.cxx so. What is the idea of it? Thanks.

---

## [Slicer 5: Disable loading modules from command line](https://discourse.slicer.org/t/slicer-5-disable-loading-modules-from-command-line/24156)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 1\
**Last updated:** [April 15, 2023, 9:39pm UTC](https://discourse.slicer.org/t/slicer-5-disable-loading-modules-from-command-line/24156 "2023-04-15T21:39:54Z")

</div>

Hi, I remember in Slicer 4 it was possible to disable loading modules when launching from command line: ./Slicer --modules-to-ignore Volumes I use SlicerCAT based on Slicer 5 and there no such option anymore. All I c…

---

## [Export segmentation axial slices and matching unsegmented axial slices as .png in different folders](https://discourse.slicer.org/t/export-segmentation-axial-slices-and-matching-unsegmented-axial-slices-as-png-in-different-folders/28915)

<div class="topic-metadata">

**Author:** [@Ba\_Sar](https://discourse.slicer.org/u/Ba_Sar)\
**Replies:** 1\
**Last updated:** [April 14, 2023, 12:43pm UTC](https://discourse.slicer.org/t/export-segmentation-axial-slices-and-matching-unsegmented-axial-slices-as-png-in-different-folders/28915 "2023-04-14T12:43:18Z")

</div>

Dear community, i hope you are doing well. I have a T2 TSE TRA MRI dicom of the spine. I used the axial plane to segment the dural sack in 3 different slices. now i want to accomplish the following task: 1)export th…

---

## [Update UI widget after programmatically set values in volume node](https://discourse.slicer.org/t/update-ui-widget-after-programmatically-set-values-in-volume-node/28882)

<div class="topic-metadata">

**Author:** [@RonJones](https://discourse.slicer.org/u/RonJones)\
**Replies:** 2\
**Last updated:** [April 14, 2023, 4:24am UTC](https://discourse.slicer.org/t/update-ui-widget-after-programmatically-set-values-in-volume-node/28882 "2023-04-14T04:24:10Z")

</div>

I adapted the code from the activate hanging protocol example to set the color window/levels. (Script repository — 3D Slicer documentation)) The volume updates correctly and shows the correct color levels, but the UI wi…

---

## [About paintApply method in qSlicerSegmentEditorScissorsEffect.cxx](https://discourse.slicer.org/t/about-paintapply-method-in-qslicersegmenteditorscissorseffect-cxx/28835)

<div class="topic-metadata">

**Author:** [@dbtruong](https://discourse.slicer.org/u/dbtruong)\
**Replies:** 4\
**Last updated:** [April 13, 2023, 9:28am UTC](https://discourse.slicer.org/t/about-paintapply-method-in-qslicersegmenteditorscissorseffect-cxx/28835 "2023-04-13T09:28:44Z")

</div>

Hello What does qSlicerSegmentEditorScissorsEffectPrivate::paintApply method does in qSlicerSegmentEditorScissorsEffect.cxx ? Thanks.

---

## [Folder display node ModifiedEvent doesn't get triggered from parent](https://discourse.slicer.org/t/folder-display-node-modifiedevent-doesnt-get-triggered-from-parent/28812)

<div class="topic-metadata">

**Author:** [@danpak94](https://discourse.slicer.org/u/danpak94)\
**Replies:** 9\
**Last updated:** [April 13, 2023, 7:08pm UTC](https://discourse.slicer.org/t/folder-display-node-modifiedevent-doesnt-get-triggered-from-parent/28812 "2023-04-13T19:08:28Z")

</div>

Hello, I was trying to implement a callback for my folder display node, but it seems like it’s not triggering ModifiedEvent when I change the display of the parent folder. For example, let’s say I have the following su…

---

## [How to change log message prefix](https://discourse.slicer.org/t/how-to-change-log-message-prefix/28784)

<div class="topic-metadata">

**Author:** [@ksidis](https://discourse.slicer.org/u/ksidis)\
**Replies:** 6\
**Last updated:** [April 13, 2023, 1:55pm UTC](https://discourse.slicer.org/t/how-to-change-log-message-prefix/28784 "2023-04-13T13:55:50Z")

</div>

Hello all, I am struggling with adding a common prefix in all logged messages. For example by changing the SlicerApplicationLogHandler, the following messages get a prefix: \[DEBUG\]\[Python\] 06.04.2023 14:05:12 \[Python\] …

---

## [How to translate bone models?](https://discourse.slicer.org/t/how-to-translate-bone-models/27388)

<div class="topic-metadata">

**Author:** [@roshans17](https://discourse.slicer.org/u/roshans17)\
**Replies:** 6\
**Last updated:** [April 13, 2023, 1:54pm UTC](https://discourse.slicer.org/t/how-to-translate-bone-models/27388 "2023-04-13T13:54:44Z")

</div>

Hi, I recently had a question about displaying iv files on to slicer. This was solved with the amazing help of @lassoan (source). He made an iv file displayer in the sandbox extension which works perfectly. I currently …

---

## [C++ & python extention method](https://discourse.slicer.org/t/c-python-extention-method/28875)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 1\
**Last updated:** [April 13, 2023, 1:43pm UTC](https://discourse.slicer.org/t/c-python-extention-method/28875 "2023-04-13T13:43:26Z")

</div>

Operating system: window 10 Slicer version: 5.2.1 Hi, slicer users ! I’ve asked a similar question before, but I don’t quite understand it. (Can I create c++ extensions via DLLs? - #2 by RafaelPalomar) To be honest,…

---

## [How to change the background color of plot view](https://discourse.slicer.org/t/how-to-change-the-background-color-of-plot-view/28874)

<div class="topic-metadata">

**Author:** [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Replies:** 4\
**Last updated:** [April 13, 2023, 12:36pm UTC](https://discourse.slicer.org/t/how-to-change-the-background-color-of-plot-view/28874 "2023-04-13T12:36:25Z")

</div>

my custom application has a dark color style , how to change the plot view background color to the dark color style the demo ui below

---

## [How to set clipping method of vtkMRMLClipModelsNode](https://discourse.slicer.org/t/how-to-set-clipping-method-of-vtkmrmlclipmodelsnode/28816)

<div class="topic-metadata">

**Author:** [@danpak94](https://discourse.slicer.org/u/danpak94)\
**Replies:** 2\
**Last updated:** [April 11, 2023, 11:04am UTC](https://discourse.slicer.org/t/how-to-set-clipping-method-of-vtkmrmlclipmodelsnode/28816 "2023-04-11T11:04:23Z")

</div>

Hello, As the title suggests, I’m having trouble finding the right way to programmatically set the clipping method of vtkMRMLClipModelsNode. Code snippet to demonstrate issue: clipModelNode = slicer.util.getFirstNodeBy…

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

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