# Development

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

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

**Page:** 63

---

## [Display text near points](https://discourse.slicer.org/t/display-text-near-points/20960)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 2\
**Last updated:** [December 14, 2021, 6:23pm UTC](https://discourse.slicer.org/t/display-text-near-points/20960 "2021-12-14T18:23:33Z")

</div>

Hi, I’m looking for a way to display text at each point from point cloud. In the best scenario the text should have the constant size regardless of the distance between camera position and point and the text should be f…

---

## [Timeline for removal of deprecated Slicer code](https://discourse.slicer.org/t/timeline-for-removal-of-deprecated-slicer-code/21034)

<div class="topic-metadata">

**Author:** [@chribaue](https://discourse.slicer.org/u/chribaue)\
**Replies:** 9\
**Last updated:** [December 14, 2021, 3:09pm UTC](https://discourse.slicer.org/t/timeline-for-removal-of-deprecated-slicer-code/21034 "2021-12-14T15:09:10Z")

</div>

The Slicer core team is working towards Slicer 5.0 and in the process removing functionality marked as deprecated. Generally, this is very much appreciated! I am maintaining some of our older extensions and want to make …

---

## [Customized application launchers](https://discourse.slicer.org/t/customized-application-launchers/564)

<div class="topic-metadata">

**Author:** [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Replies:** 12\
**Last updated:** [December 14, 2021, 2:31pm UTC](https://discourse.slicer.org/t/customized-application-launchers/564 "2021-12-14T14:31:07Z")

</div>

What @che85 and I considered in the past (and I think we discussed this with @lassoan) is to include "launchers" (for the lack of a better word) that would provide access to the application/community-specific slicelet. …

---

## [How to split segmentation the islands?](https://discourse.slicer.org/t/how-to-split-segmentation-the-islands/17952)

<div class="topic-metadata">

**Author:** [@Saima](https://discourse.slicer.org/u/Saima)\
**Replies:** 5\
**Last updated:** [December 14, 2021, 2:27pm UTC](https://discourse.slicer.org/t/how-to-split-segmentation-the-islands/17952 "2021-12-14T14:27:14Z")

</div>

Hi Andras, I need to get the volume convert to labelmap import to segmentationnode and then split it into islands. I am using the script below but its not working it crashes. could you please help. Thank you labelVo…

---

## [Surface triangulation in Models](https://discourse.slicer.org/t/surface-triangulation-in-models/21045)

<div class="topic-metadata">

**Author:** [@Karthik](https://discourse.slicer.org/u/Karthik)\
**Replies:** 1\
**Last updated:** [December 14, 2021, 2:23pm UTC](https://discourse.slicer.org/t/surface-triangulation-in-models/21045 "2021-12-14T14:23:42Z")

</div>

Hi. I am using Slicer 4.11.20210226 in ubuntu 20.04 I have written a module that takes input a volume and markups and outputs a Model (surface). When I look at the Model it appeares smooth, but if I save it as an .stl …

---

## [How to set the crosshair of slice interaction to be thicker?](https://discourse.slicer.org/t/how-to-set-the-crosshair-of-slice-interaction-to-be-thicker/21026)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 2\
**Last updated:** [December 12, 2021, 7:55pm UTC](https://discourse.slicer.org/t/how-to-set-the-crosshair-of-slice-interaction-to-be-thicker/21026 "2021-12-12T19:55:46Z")

</div>

The crosshair of slice interaction is too thin to see clearly,How to set it to be thicker in slices? @lassoan@Juicy@jamesobutler @jcfr @pieper

---

## [Combine STLs and export as NRRD](https://discourse.slicer.org/t/combine-stls-and-export-as-nrrd/16812)

<div class="topic-metadata">

**Author:** [@sulaimanvesal](https://discourse.slicer.org/u/sulaimanvesal)\
**Replies:** 3\
**Last updated:** [December 11, 2021, 3:31pm UTC](https://discourse.slicer.org/t/combine-stls-and-export-as-nrrd/16812 "2021-12-11T15:31:13Z")

</div>

Hi @lassoan, I am able to export .stl file to a single binary label map (nrrd file) very well. However, I have two .stl files (gland and tumor) that I need to combine them first and then export them as NRRD file. I wr…

---

## [How to avoid duplicate names in node.SetName()?](https://discourse.slicer.org/t/how-to-avoid-duplicate-names-in-node-setname/21014)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 1\
**Last updated:** [December 11, 2021, 2:53am UTC](https://discourse.slicer.org/t/how-to-avoid-duplicate-names-in-node-setname/21014 "2021-12-11T02:53:10Z")

</div>

如何避免node.SetName()重名呢? 比如,当重名时会自动添加数字,“N”,“N1”… How to avoid duplicate names in node.SetName()? For example, when the name is the same, the number will be automatically added, “N”, “N1”…

---

## [Template based development environment setup and requirements of FDA approval](https://discourse.slicer.org/t/template-based-development-environment-setup-and-requirements-of-fda-approval/21003)

<div class="topic-metadata">

**Author:** [@Dwij\_Mistry](https://discourse.slicer.org/u/Dwij_Mistry)\
**Replies:** 3\
**Last updated:** [December 10, 2021, 2:47pm UTC](https://discourse.slicer.org/t/template-based-development-environment-setup-and-requirements-of-fda-approval/21003 "2021-12-10T14:47:06Z")

</div>

How we can setup a clean development environment? What we are doing is as follow. We created Template in which we had GIT\_REPOSITORY git://github.com/Slicer/Slicer GIT\_TAG 62e4d8544f2a6f30b707a87288a5e1b9fc5a5a86 (t…

---

## [Slicer custom application deployment to many computers](https://discourse.slicer.org/t/slicer-custom-application-deployment-to-many-computers/18019)

<div class="topic-metadata">

**Author:** [@spycolyf](https://discourse.slicer.org/u/spycolyf)\
**Replies:** 172\
**Last updated:** [December 8, 2021, 3:44pm UTC](https://discourse.slicer.org/t/slicer-custom-application-deployment-to-many-computers/18019 "2021-12-08T15:44:39Z")

</div>

@jcfr @pieper @lassoan @superlib Good Morning. I’m starting to think about how to deploy SlicerQR to 25,000 PCs across the Mayo Enterprise. After building the package, it consists of over 7000 files at a total size of o…

---

## [OpenDose 3D Extension](https://discourse.slicer.org/t/opendose-3d-extension/20953)

<div class="topic-metadata">

**Author:** [@Michel\_Atieh](https://discourse.slicer.org/u/Michel_Atieh)\
**Replies:** 4\
**Last updated:** [December 8, 2021, 9:30am UTC](https://discourse.slicer.org/t/opendose-3d-extension/20953 "2021-12-08T09:30:32Z")

</div>

Hello, I have installed the extension OpenDose3D. On windows it has all the features, however, on ubuntu there were missing features. I was able to solve the problem by updating the scipy library thorugh the Python inter…

---

## [What encoding format does mha file use?](https://discourse.slicer.org/t/what-encoding-format-does-mha-file-use/20933)

<div class="topic-metadata">

**Author:** [@Junshi\_Peng](https://discourse.slicer.org/u/Junshi_Peng)\
**Replies:** 9\
**Last updated:** [December 8, 2021, 3:32am UTC](https://discourse.slicer.org/t/what-encoding-format-does-mha-file-use/20933 "2021-12-08T03:32:52Z")

</div>

I am trying to adjusting the header of .mha files, adding transform information into the .mha header by using a python script. But i’m facing a problem finding the correct encoding format to read and write the .mha file,…

---

## [How does 3D Slicer load png sequence and export mha data](https://discourse.slicer.org/t/how-does-3d-slicer-load-png-sequence-and-export-mha-data/20949)

<div class="topic-metadata">

**Author:** [@Junshi\_Peng](https://discourse.slicer.org/u/Junshi_Peng)\
**Replies:** 0\
**Last updated:** [December 7, 2021, 1:44pm UTC](https://discourse.slicer.org/t/how-does-3d-slicer-load-png-sequence-and-export-mha-data/20949 "2021-12-07T13:44:21Z")

</div>

I am developing PlusLib and trying to make a certain interface for offline ultrasound image sequence reconstruction. I’m wondering which part of PlusLib does 3D Slicer use to read png sequences of ultrasound image, and e…

---

## [Some errors with the new Slicer when starts](https://discourse.slicer.org/t/some-errors-with-the-new-slicer-when-starts/20911)

<div class="topic-metadata">

**Author:** [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Replies:** 3\
**Last updated:** [December 5, 2021, 5:29pm UTC](https://discourse.slicer.org/t/some-errors-with-the-new-slicer-when-starts/20911 "2021-12-05T17:29:42Z")

</div>

As is shown in this picture what’s wrong with the module named ‘EditorLib’ Is it important?

---

## [Mirror the 3D view](https://discourse.slicer.org/t/mirror-the-3d-view/20909)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 6\
**Last updated:** [December 5, 2021, 5:17pm UTC](https://discourse.slicer.org/t/mirror-the-3d-view/20909 "2021-12-05T17:17:00Z")

</div>

Hi devs. In my application the user may input CTs with mismatched directions. The user can solve this by turning on mirroring (or may be he wants mirroring for another valid reason). I have already set up mirroring on …

---

## [How to rotate OrthogonalSlicesDeg in slices?](https://discourse.slicer.org/t/how-to-rotate-orthogonalslicesdeg-in-slices/20892)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 2\
**Last updated:** [December 3, 2021, 11:07pm UTC](https://discourse.slicer.org/t/how-to-rotate-orthogonalslicesdeg-in-slices/20892 "2021-12-03T23:07:50Z")

</div>

在插件中,我用Ctrl + Alt + Left-click-and-drag在不同的Slice里找到了一个合适vector, 我想移动这个vector, 想了很多方法都不理想, 其中包括:rotateOrthogonalSlicesDeg, 可是这个方法,只能在一个Slice里面旋转,当我改变Slice后,原来那个slice的角度就归零了…谁有好的方法帮我? In my plug-in, I used Ctrl + Alt + L…

---

## [Could your Slicer Jupyter kernel work in VS code now?](https://discourse.slicer.org/t/could-your-slicer-jupyter-kernel-work-in-vs-code-now/20894)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 1\
**Last updated:** [December 3, 2021, 7:03pm UTC](https://discourse.slicer.org/t/could-your-slicer-jupyter-kernel-work-in-vs-code-now/20894 "2021-12-03T19:03:05Z")

</div>

Could your Slicer Jupyter kernel work in VS code now? Vscode Jupyter Server · Issue #55 · Slicer/SlicerJupyter

---

## [Displaying CAD Model in Slicer3D](https://discourse.slicer.org/t/displaying-cad-model-in-slicer3d/20814)

<div class="topic-metadata">

**Author:** [@sziselman4c](https://discourse.slicer.org/u/sziselman4c)\
**Replies:** 3\
**Last updated:** [December 3, 2021, 5:25pm UTC](https://discourse.slicer.org/t/displaying-cad-model-in-slicer3d/20814 "2021-12-03T17:25:59Z")

</div>

Hi All! I am new to working with 3D Slicer, so I’m looking to the forum for some guidance. I am working on a project where I am developing my own python module. I’d like to be able to display a STEP file (for example, of…

---

## [How do I change the color of the corresponding area after setting the threshold？](https://discourse.slicer.org/t/how-do-i-change-the-color-of-the-corresponding-area-after-setting-the-threshold/20878)

<div class="topic-metadata">

**Author:** [@Luke199208](https://discourse.slicer.org/u/Luke199208)\
**Replies:** 4\
**Last updated:** [December 3, 2021, 5:29am UTC](https://discourse.slicer.org/t/how-do-i-change-the-color-of-the-corresponding-area-after-setting-the-threshold/20878 "2021-12-03T05:29:04Z")

</div>

Hello Everyone, I used the method in 3D Slicer Documentation to modify the thresholds in the volume 。Script repository — 3D Slicer documentation How do I change the color of the corresponding area after setting th…

---

## [Visual representation of control point in icons](https://discourse.slicer.org/t/visual-representation-of-control-point-in-icons/20872)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Replies:** 3\
**Last updated:** [December 2, 2021, 10:12pm UTC](https://discourse.slicer.org/t/visual-representation-of-control-point-in-icons/20872 "2021-12-02T22:12:37Z")

</div>

When using the Markups module and looking at icons to determine functionality, I have observed that there seems to be different visual representations of a “control point”. These different visual representations make it …

---

## [Bypassing the save dialog box on exit from a ScriptedLoadableModule](https://discourse.slicer.org/t/bypassing-the-save-dialog-box-on-exit-from-a-scriptedloadablemodule/15030)

<div class="topic-metadata">

**Author:** [@hina-shah](https://discourse.slicer.org/u/hina-shah)\
**Replies:** 10\
**Last updated:** [December 2, 2021, 6:51pm UTC](https://discourse.slicer.org/t/bypassing-the-save-dialog-box-on-exit-from-a-scriptedloadablemodule/15030 "2021-12-02T18:51:46Z")

</div>

This might be trivial, but I couldn’t find a solution. So am reaching out. I am writing a small extension that is supposed to help with labeling some images and segmentation editing in Python. The extension loads the da…

---

## [Using \`vtkStructuredGrid\` in Slicer](https://discourse.slicer.org/t/using-vtkstructuredgrid-in-slicer/20858)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 5\
**Last updated:** [December 2, 2021, 6:31pm UTC](https://discourse.slicer.org/t/using-vtkstructuredgrid-in-slicer/20858 "2021-12-02T18:31:11Z")

</div>

Hi, Just wondering does Slicer support vtkStructuredGrid? I can’t find any information on that

---

## [Input Models and Markups into Effects inside Segment Editor](https://discourse.slicer.org/t/input-models-and-markups-into-effects-inside-segment-editor/20876)

<div class="topic-metadata">

**Author:** [@Karthik](https://discourse.slicer.org/u/Karthik)\
**Replies:** 1\
**Last updated:** [December 2, 2021, 3:31pm UTC](https://discourse.slicer.org/t/input-models-and-markups-into-effects-inside-segment-editor/20876 "2021-12-02T15:31:12Z")

</div>

Hi. I am creating an effect inside Segment Editor. I have looked at the code from other effects and saw how a volume selector was being written. self.inputVolumeSelector = slicer.qMRMLNodeComboBox() self.inputVolumeSel…

---

## [Save (part of) the log file from scripted module](https://discourse.slicer.org/t/save-part-of-the-log-file-from-scripted-module/20884)

<div class="topic-metadata">

**Author:** [@atracsys-sbt](https://discourse.slicer.org/u/atracsys-sbt)\
**Replies:** 1\
**Last updated:** [December 2, 2021, 2:22pm UTC](https://discourse.slicer.org/t/save-part-of-the-log-file-from-scripted-module/20884 "2021-12-02T14:22:48Z")

</div>

Hi, As part of the output files of my scripted module, I would like to provide the whole python console history in a file. I thought of parsing the log file from Temp/Slicer for \[Stream\] lines, but I don’t know how to a…

---

## [Can't export segmentation as Dicom RTStruct in Python Script](https://discourse.slicer.org/t/cant-export-segmentation-as-dicom-rtstruct-in-python-script/16981)

<div class="topic-metadata">

**Author:** [@Namng1210](https://discourse.slicer.org/u/Namng1210)\
**Replies:** 3\
**Last updated:** [December 1, 2021, 4:22pm UTC](https://discourse.slicer.org/t/cant-export-segmentation-as-dicom-rtstruct-in-python-script/16981 "2021-12-01T16:22:42Z")

</div>

Operating system: Python Script Slicer version: 4.11.20210226 Dear authors, Everything seems to be really good when i exported it by hand and I’ve followed your instructions video of exporting RT-STRUCT file by right …

---

## [Save & change the orientation matrix of a slice](https://discourse.slicer.org/t/save-change-the-orientation-matrix-of-a-slice/20862)

<div class="topic-metadata">

**Author:** [@Bence\_Horvath](https://discourse.slicer.org/u/Bence_Horvath)\
**Replies:** 2\
**Last updated:** [December 1, 2021, 11:59am UTC](https://discourse.slicer.org/t/save-change-the-orientation-matrix-of-a-slice/20862 "2021-12-01T11:59:05Z")

</div>

Hi, I would like to develop a modul, that transform the green slice view into the cochlear view. For this I have to make an training database, thus I want to save the orientation matrix of the green slice after I trans…

---

## [CircleCI build failures](https://discourse.slicer.org/t/circleci-build-failures/20828)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 7\
**Last updated:** [December 1, 2021, 8:01am UTC](https://discourse.slicer.org/t/circleci-build-failures/20828 "2021-12-01T08:01:12Z")

</div>

A few weeks ago all our circleCI builds on pull requests (such as this) started to fail because the build is not completed within 60 minutes. I’ve checked our usage and it seems that we would need to pay at least $100 p…

---

## [How to install extensions from the extension manager with PythonSlicer](https://discourse.slicer.org/t/how-to-install-extensions-from-the-extension-manager-with-pythonslicer/20847)

<div class="topic-metadata">

**Author:** [@pll\_llq](https://discourse.slicer.org/u/pll_llq)\
**Replies:** 3\
**Last updated:** [December 1, 2021, 7:32am UTC](https://discourse.slicer.org/t/how-to-install-extensions-from-the-extension-manager-with-pythonslicer/20847 "2021-12-01T07:32:39Z")

</div>

Hi :wave: I’m building a docker container chain for testing purposes and I ran into a problem that I can’t install an extension from the extension manager while building the image. Normally I would use something simila…

---

## [Approximate anatomical axis (curve) of long bone](https://discourse.slicer.org/t/approximate-anatomical-axis-curve-of-long-bone/20600)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 6\
**Last updated:** [November 30, 2021, 4:57pm UTC](https://discourse.slicer.org/t/approximate-anatomical-axis-curve-of-long-bone/20600 "2021-11-30T16:57:11Z")

</div>

Hi devs. I developed a script to parcelate a long bone. This parcells can then be used to calculate their centroids and with that points create the anatomical axis (curve). Right now the script is missing somo threshol…

---

## [Create a parameterNode for a toolbar?](https://discourse.slicer.org/t/create-a-parameternode-for-a-toolbar/20709)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 4\
**Last updated:** [November 30, 2021, 10:15am UTC](https://discourse.slicer.org/t/create-a-parameternode-for-a-toolbar/20709 "2021-11-30T10:15:15Z")

</div>

Hi devs. I’m creating a toolbar that will have several actions. Some of them are zoom, rotate, brightness&contrast and flipView. These are special because when the corresponding toolbar button is checked, a popup widget…

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

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