# Development

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

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

**Page:** 45

---

## [Does Slicer have a way to read the stl file in the database](https://discourse.slicer.org/t/does-slicer-have-a-way-to-read-the-stl-file-in-the-database/26564)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.slicer.org/u/miniminic)\
**Replies:** 0\
**Last updated:** [December 3, 2022, 6:35am UTC](https://discourse.slicer.org/t/does-slicer-have-a-way-to-read-the-stl-file-in-the-database/26564 "2022-12-03T06:35:00Z")

</div>

I put an stl file into the database, I don’t want to read it out and save it to the local and then load it through Slicer, does Slicer have a method to directly read the stl in the database

---

## [Hide main window - Show only external view](https://discourse.slicer.org/t/hide-main-window-show-only-external-view/26525)

<div class="topic-metadata">

**Author:** [@lucas\_sd](https://discourse.slicer.org/u/lucas_sd)\
**Replies:** 3\
**Last updated:** [December 3, 2022, 5:19am UTC](https://discourse.slicer.org/t/hide-main-window-show-only-external-view/26525 "2022-12-03T05:19:16Z")

</div>

Hi everybody, Im running my module from the terminal using --no-main-window, and I wondering if its possible to show just an external view like that. The idea is run the module from the terminal with 3dS in the back, i…

---

## [Script Python - Automatization using several extensions.](https://discourse.slicer.org/t/script-python-automatization-using-several-extensions/26170)

<div class="topic-metadata">

**Author:** [@lucas\_sd](https://discourse.slicer.org/u/lucas_sd)\
**Replies:** 2\
**Last updated:** [December 2, 2022, 6:49pm UTC](https://discourse.slicer.org/t/script-python-automatization-using-several-extensions/26170 "2022-12-02T18:49:39Z")

</div>

Hi everyone, Currently, Im using the modules Extract Centerline and Curved Planar Reformat, in order to obtain a straightened volume from a data set DICOM. I have to do that for several examples, so I wondering if is p…

---

## [Webwidget Update on Slicer Events](https://discourse.slicer.org/t/webwidget-update-on-slicer-events/26553)

<div class="topic-metadata">

**Author:** [@connorh](https://discourse.slicer.org/u/connorh)\
**Replies:** 1\
**Last updated:** [December 2, 2022, 4:02pm UTC](https://discourse.slicer.org/t/webwidget-update-on-slicer-events/26553 "2022-12-02T16:02:26Z")

</div>

Hello, I’m using a qSlicerWebWidget to display some interactive plots in Slicer. I’m wondering if there’s a way to call a method within my javascript/html when something changes in the Slicer scene (add a listener withi…

---

## [I have some rendering problem , i think i can't solve this by myself](https://discourse.slicer.org/t/i-have-some-rendering-problem-i-think-i-cant-solve-this-by-myself/26405)

<div class="topic-metadata">

**Author:** [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Replies:** 6\
**Last updated:** [December 2, 2022, 3:12am UTC](https://discourse.slicer.org/t/i-have-some-rendering-problem-i-think-i-cant-solve-this-by-myself/26405 "2022-12-02T03:12:51Z")

</div>

the volumerendering of CT data in slicer is awesome ,the preset of CT-AAA looks below in both CPU Raycast and GPU Raycast but when I copy the preset parameters to MITK , the CPU Ray cast like Slicer Effect,it’s good.a…

---

## [MRML table nodes disconnecting from table view when switching layouts](https://discourse.slicer.org/t/mrml-table-nodes-disconnecting-from-table-view-when-switching-layouts/26365)

<div class="topic-metadata">

**Author:** [@StephenCrowell](https://discourse.slicer.org/u/StephenCrowell)\
**Replies:** 3\
**Last updated:** [December 1, 2022, 7:46pm UTC](https://discourse.slicer.org/t/mrml-table-nodes-disconnecting-from-table-view-when-switching-layouts/26365 "2022-12-01T19:46:47Z")

</div>

In my scripted module, I have two mrml table nodes saved as variables. When data is loaded from a server, the table nodes are modified and the changes are displayed. This works normally until the user switches to anothe…

---

## [How to create a plane and get its section with the 3D model in 3DSlicer? \[Slicer 5.0.3\]](https://discourse.slicer.org/t/how-to-create-a-plane-and-get-its-section-with-the-3d-model-in-3dslicer-slicer-5-0-3/26537)

<div class="topic-metadata">

**Author:** [@allenzhuang975](https://discourse.slicer.org/u/allenzhuang975)\
**Replies:** 1\
**Last updated:** [December 1, 2022, 1:54pm UTC](https://discourse.slicer.org/t/how-to-create-a-plane-and-get-its-section-with-the-3d-model-in-3dslicer-slicer-5-0-3/26537 "2022-12-01T13:54:31Z")

</div>

This may be a very simple question, but I can’t find the answer. How to create a plane and get its section with the 3D model in 3DSlicer? Thank you

---

## [Combine Models Unable to execute correctly](https://discourse.slicer.org/t/combine-models-unable-to-execute-correctly/26375)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.slicer.org/u/miniminic)\
**Replies:** 2\
**Last updated:** [December 1, 2022, 7:52am UTC](https://discourse.slicer.org/t/combine-models-unable-to-execute-correctly/26375 "2022-12-01T07:52:41Z")

</div>

I load two models Result Part\_1 is part of the “静脉” Model, then I do A-B on both models, but the resulting model is empty. I have to add A transformation to one of the models and move it around, and then do A-B to g…

---

## [ModelClip module](https://discourse.slicer.org/t/modelclip-module/26152)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.slicer.org/u/miniminic)\
**Replies:** 2\
**Last updated:** [December 1, 2022, 7:52am UTC](https://discourse.slicer.org/t/modelclip-module/26152 "2022-12-01T07:52:01Z")

</div>

I clipped a model with ModelClip module, but the volume of the generated models is very different from the original model.

---

## [Change the structure of the slicer installation directory](https://discourse.slicer.org/t/change-the-structure-of-the-slicer-installation-directory/26137)

<div class="topic-metadata">

**Author:** [@yulaomao](https://discourse.slicer.org/u/yulaomao)\
**Replies:** 1\
**Last updated:** [December 1, 2022, 7:42am UTC](https://discourse.slicer.org/t/change-the-structure-of-the-slicer-installation-directory/26137 "2022-12-01T07:42:47Z")

</div>

Hi all, I want to change the structure of the slicer installation directory, like put all the libraries in one folder. What should I know about? Is there any information I can refer to?

---

## [Segment Editor widget is too tall](https://discourse.slicer.org/t/segment-editor-widget-is-too-tall/26296)

<div class="topic-metadata">

**Author:** [@FUFU](https://discourse.slicer.org/u/FUFU)\
**Replies:** 7\
**Last updated:** [December 1, 2022, 3:08am UTC](https://discourse.slicer.org/t/segment-editor-widget-is-too-tall/26296 "2022-12-01T03:08:08Z")

</div>

Hello! I’m new here but I also have a question about the viewing of the slices. My company has developed a plug-in. When running 3D-SLicer 4.8, the resulview looks like this. Everything is fine But because slicer’s …

---

## [Release of Slicer 5.2 in progress](https://discourse.slicer.org/t/release-of-slicer-5-2-in-progress/26367)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 4\
**Last updated:** [November 29, 2022, 11:53pm UTC](https://discourse.slicer.org/t/release-of-slicer-5-2-in-progress/26367 "2022-11-29T23:53:49Z")

</div>

This evening, regular preview and stable builds of Slicer and associated extensions will be disabled in favor of a new stable release. To track the progress, see Release Slicer v5.2 · Issue #6652 · Slicer/Slicer · GitHu…

---

## [Slicer 5.3 Preview warnings and error messages](https://discourse.slicer.org/t/slicer-5-3-preview-warnings-and-error-messages/26457)

<div class="topic-metadata">

**Author:** [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Replies:** 6\
**Last updated:** [November 28, 2022, 3:06am UTC](https://discourse.slicer.org/t/slicer-5-3-preview-warnings-and-error-messages/26457 "2022-11-28T03:06:53Z")

</div>

Testing the Lung CT Segmenter on Slicer 5.3 Preview (5.3.0-2022-11-25 r31426 / 0e36f10) I get all kinds of errors and warnings and the extension is practically unusable overnight. My question is: How should we handle t…

---

## [Color changed in a display but not in data box while loaded by Python script](https://discourse.slicer.org/t/color-changed-in-a-display-but-not-in-data-box-while-loaded-by-python-script/26459)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.slicer.org/u/Jakub_Mitura)\
**Replies:** 4\
**Last updated:** [November 27, 2022, 4:11pm UTC](https://discourse.slicer.org/t/color-changed-in-a-display-but-not-in-data-box-while-loaded-by-python-script/26459 "2022-11-27T16:11:43Z")

</div>

I am loading set of the labels from paths like in code below label= slicer.util.loadSegmentation(labPath.as\_posix(),labPath.name) idss=label\[1\].GetDisplayNode().GetVisibleSegmentIDs() colorr= li…

---

## [Crash reporting?](https://discourse.slicer.org/t/crash-reporting/26390)

<div class="topic-metadata">

**Author:** [@Lohi](https://discourse.slicer.org/u/Lohi)\
**Replies:** 13\
**Last updated:** [November 27, 2022, 12:12pm UTC](https://discourse.slicer.org/t/crash-reporting/26390 "2022-11-27T12:12:16Z")

</div>

Hello all; being new to this program, I’m not sure where to send crash information, and what to send. I have saved the main part of the ‘Send to Apple’ crash report, in a text file, if that is useful, and, of course, c…

---

## [Rotate the 3D View](https://discourse.slicer.org/t/rotate-the-3d-view/26435)

<div class="topic-metadata">

**Author:** [@f1oNae](https://discourse.slicer.org/u/f1oNae)\
**Replies:** 1\
**Last updated:** [November 25, 2022, 11:38am UTC](https://discourse.slicer.org/t/rotate-the-3d-view/26435 "2022-11-25T11:38:48Z")

</div>

I know I can rotate the 3D view through the code. layoutManager = slicer.app.layoutManager() threeDView = layoutManager.threeDWidget(0).threeDView() threeDView.yaw() But how can I rotate 3D view at any angle I need?For…

---

## [Changing Size and color of individual interaction handles of ROI](https://discourse.slicer.org/t/changing-size-and-color-of-individual-interaction-handles-of-roi/26360)

<div class="topic-metadata">

**Author:** [@maptekarev](https://discourse.slicer.org/u/maptekarev)\
**Replies:** 7\
**Last updated:** [November 25, 2022, 5:41am UTC](https://discourse.slicer.org/t/changing-size-and-color-of-individual-interaction-handles-of-roi/26360 "2022-11-25T05:41:28Z")

</div>

To implement ROI I am using vtkMRMLMarkupsROINode class. There is SetInteractionHandleScale() method in this class, but it is changing size of all interaction handles. Is it possible to change size and color of one indi…

---

## [Stretched CPR instead of Straightened CPR](https://discourse.slicer.org/t/stretched-cpr-instead-of-straightened-cpr/26176)

<div class="topic-metadata">

**Author:** [@hbr](https://discourse.slicer.org/u/hbr)\
**Replies:** 6\
**Last updated:** [November 24, 2022, 6:36am UTC](https://discourse.slicer.org/t/stretched-cpr-instead-of-straightened-cpr/26176 "2022-11-24T06:36:51Z")

</div>

hi i want to use Stretched CPR in slicer but i found in sandbox extension in curved planar reformat just Straightened CPR. like this pic: Is Stretched CPR in any extensions in slicer? thanks.

---

## [Modify the keys of the Markups](https://discourse.slicer.org/t/modify-the-keys-of-the-markups/25613)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.slicer.org/u/miniminic)\
**Replies:** 4\
**Last updated:** [November 24, 2022, 3:10am UTC](https://discourse.slicer.org/t/modify-the-keys-of-the-markups/25613 "2022-11-24T03:10:57Z")

</div>

The measurement function of markups is currently right click to indicate the end, I want to change it to middle click to end, right click to rotate the model. I didn’t find anywhere in markups about mouse event handling,…

---

## [How to select a model and highlight both the model and the items on the qMRMLSubjectHierarchyTreeView](https://discourse.slicer.org/t/how-to-select-a-model-and-highlight-both-the-model-and-the-items-on-the-qmrmlsubjecthierarchytreeview/25602)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.slicer.org/u/miniminic)\
**Replies:** 4\
**Last updated:** [November 24, 2022, 3:09am UTC](https://discourse.slicer.org/t/how-to-select-a-model-and-highlight-both-the-model-and-the-items-on-the-qmrmlsubjecthierarchytreeview/25602 "2022-11-24T03:09:44Z")

</div>

I want to realize the function that clicking on a model can locate the corresponding item. The current problem is that I can’t seem to select a model, and when the model is selected, how can I know which model is selecte…

---

## [Skin marker segmentation](https://discourse.slicer.org/t/skin-marker-segmentation/25601)

<div class="topic-metadata">

**Author:** [@joanne40226](https://discourse.slicer.org/u/joanne40226)\
**Replies:** 4\
**Last updated:** [November 24, 2022, 3:01am UTC](https://discourse.slicer.org/t/skin-marker-segmentation/25601 "2022-11-24T03:01:09Z")

</div>

Hi community, I want to segment a skin marker from the user. So that the user can click on a point and simply get the skin marker segmented. However, for the segment editor module i dont think i can achieve my goal. I…

---

## [How to change the default color of a model](https://discourse.slicer.org/t/how-to-change-the-default-color-of-a-model/25481)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.slicer.org/u/miniminic)\
**Replies:** 2\
**Last updated:** [November 24, 2022, 2:58am UTC](https://discourse.slicer.org/t/how-to-change-the-default-color-of-a-model/25481 "2022-11-24T02:58:42Z")

</div>

Currently, the default color for all models in Slicer is yellow. I wanted to implement a feature that would give different types of models different default colors, like Qt::blue for bones and Qt::red for blood vessels. …

---

## [Selected segment visibility](https://discourse.slicer.org/t/selected-segment-visibility/25482)

<div class="topic-metadata">

**Author:** [@ssv](https://discourse.slicer.org/u/ssv)\
**Replies:** 1\
**Last updated:** [November 24, 2022, 2:54am UTC](https://discourse.slicer.org/t/selected-segment-visibility/25482 "2022-11-24T02:54:46Z")

</div>

version : slicer 5.1.0 OS : Windows I want to display selected segment foreground top on slice view (without using visibility eye) . How can i do this any suggestion ?

---

## [pyhocon.exceptions.ConfigMissingException: 'No configuration setting found for key HOME'](https://discourse.slicer.org/t/pyhocon-exceptions-configmissingexception-no-configuration-setting-found-for-key-home/25457)

<div class="topic-metadata">

**Author:** [@FUFU](https://discourse.slicer.org/u/FUFU)\
**Replies:** 6\
**Last updated:** [November 24, 2022, 2:53am UTC](https://discourse.slicer.org/t/pyhocon-exceptions-configmissingexception-no-configuration-setting-found-for-key-home/25457 "2022-11-24T02:53:59Z")

</div>

Our company developed a plug-in that supports version 4.8 of 3D-Slicer, but it reported some errors under version 5.0 of 3D-Slicer, as follows:：!!!setup Traceback (most recent call last): File “C:\\Users\\Admin\\Desktop\\S…

---

## [Connect multiple clients on same port number using OpenIGTLink](https://discourse.slicer.org/t/connect-multiple-clients-on-same-port-number-using-openigtlink/26400)

<div class="topic-metadata">

**Author:** [@Srijeet\_Chatterjee](https://discourse.slicer.org/u/Srijeet_Chatterjee)\
**Replies:** 6\
**Last updated:** [November 24, 2022, 12:52am UTC](https://discourse.slicer.org/t/connect-multiple-clients-on-same-port-number-using-openigtlink/26400 "2022-11-24T00:52:05Z")

</div>

Hello, I want to connect and stream images from an OpenIGTLink Server(sample server codes) to Slicer(streaming images) as well as a PyIgtl-client(for some preprocessing) on the same port number. Can anyone please help …

---

## [Resample segments in segmentation using Python scripting](https://discourse.slicer.org/t/resample-segments-in-segmentation-using-python-scripting/26411)

<div class="topic-metadata">

**Author:** [@YousifAlKhoury](https://discourse.slicer.org/u/YousifAlKhoury)\
**Replies:** 3\
**Last updated:** [November 23, 2022, 10:09pm UTC](https://discourse.slicer.org/t/resample-segments-in-segmentation-using-python-scripting/26411 "2022-11-23T22:09:22Z")

</div>

Is there a way to force the segments to the common image geometry through python code? I am importing segmentations from a volumelabelmap and I can’t run ‘fill between slices’ on the imported segments.

---

## [Markup annotations in Open Anatomy Export](https://discourse.slicer.org/t/markup-annotations-in-open-anatomy-export/26366)

<div class="topic-metadata">

**Author:** [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Replies:** 14\
**Last updated:** [November 23, 2022, 12:23am UTC](https://discourse.slicer.org/t/markup-annotations-in-open-anatomy-export/26366 "2022-11-23T00:23:15Z")

</div>

Is conceivable that glTF export functionality of Open Anatomy can support Markups? Embedding models/segmentations in 3Dviewer.net is great, but occasionally one needs annotations (landmarks, labels etc) as well. Are the…

---

## [New Python package for Slicer interoperability](https://discourse.slicer.org/t/new-python-package-for-slicer-interoperability/17850)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 3\
**Last updated:** [November 22, 2022, 8:48pm UTC](https://discourse.slicer.org/t/new-python-package-for-slicer-interoperability/17850 "2022-11-22T20:48:54Z")

</div>

We often find that Slicer-generated data sets needs to be accessed or created outside of Slicer’s Python environment. While we try to use standard file formats, there are often small customizations and additional metadat…

---

## [On Model Cutting, I want to get the cut part and the cut part when cutting the model](https://discourse.slicer.org/t/on-model-cutting-i-want-to-get-the-cut-part-and-the-cut-part-when-cutting-the-model/26295)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.slicer.org/u/miniminic)\
**Replies:** 5\
**Last updated:** [November 22, 2022, 3:21am UTC](https://discourse.slicer.org/t/on-model-cutting-i-want-to-get-the-cut-part-and-the-cut-part-when-cutting-the-model/26295 "2022-11-22T03:21:50Z")

</div>

vtkClipPolyData can get two outputs, so at first, I used vtkClipPolyData to cut the model, but the model cut out by vtkClipPolyData was hollow, and the sum of the volumes of the two outputs had a big error with the origi…

---

## [Volume Rendering when SetUseDepthPeeling(True) disappeared in Windows OS](https://discourse.slicer.org/t/volume-rendering-when-setusedepthpeeling-true-disappeared-in-windows-os/26278)

<div class="topic-metadata">

**Author:** [@StephenLeePeng](https://discourse.slicer.org/u/StephenLeePeng)\
**Replies:** 3\
**Last updated:** [November 18, 2022, 2:30am UTC](https://discourse.slicer.org/t/volume-rendering-when-setusedepthpeeling-true-disappeared-in-windows-os/26278 "2022-11-18T02:30:52Z")

</div>

Hello, everyone, recently I find a situation abount different volume rendering performance between Windows and Linux OS. I would to realize volume rendering in the 3d view, sometimes I would display surface rendering an…

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

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