# Development

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

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

**Page:** 35

---

## [The Problem of Communication with Unity using openIGTLink](https://discourse.slicer.org/t/the-problem-of-communication-with-unity-using-openigtlink/30345)

<div class="topic-metadata">

**Author:** [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Replies:** 1\
**Last updated:** [July 2, 2023, 11:34am UTC](https://discourse.slicer.org/t/the-problem-of-communication-with-unity-using-openigtlink/30345 "2023-07-02T11:34:31Z")

</div>

i want to using Slicer to communication Unity with OpenIGTLink I have read the code of ARInSlicer and learned how to transform TransformNode and 2DTexture from Slicer to Unity ,is there any way to Transform PolyData fro…

---

## [Failed to export node to file](https://discourse.slicer.org/t/failed-to-export-node-to-file/30325)

<div class="topic-metadata">

**Author:** [@Patrick\_Li](https://discourse.slicer.org/u/Patrick_Li)\
**Replies:** 0\
**Last updated:** [June 30, 2023, 3:20pm UTC](https://discourse.slicer.org/t/failed-to-export-node-to-file/30325 "2023-06-30T15:20:29Z")

</div>

I’m attempting to export multiple vtkMRMLTableNodes from an array to a directory for preset in self.presets: if preset and preset.IsA('vtkMRMLStorableNode') and preset.GetStorageNode(): …

---

## [Applying transform node to volume node hierarchy](https://discourse.slicer.org/t/applying-transform-node-to-volume-node-hierarchy/30296)

<div class="topic-metadata">

**Author:** [@bongo\_kat](https://discourse.slicer.org/u/bongo_kat)\
**Replies:** 1\
**Last updated:** [June 30, 2023, 12:26pm UTC](https://discourse.slicer.org/t/applying-transform-node-to-volume-node-hierarchy/30296 "2023-06-30T12:26:40Z")

</div>

Hello, I’m trying to change the transform hierarchy of my scene. When I load my MHA file as a Sequence Meta File it gives me a volume node and a transform node: I would like to apply the transform node to my volume …

---

## [Can the robot be shown as its actual physical size？](https://discourse.slicer.org/t/can-the-robot-be-shown-as-its-actual-physical-size/25558)

<div class="topic-metadata">

**Author:** [@xiaosnowqiang](https://discourse.slicer.org/u/xiaosnowqiang)\
**Replies:** 5\
**Last updated:** [June 30, 2023, 10:43am UTC](https://discourse.slicer.org/t/can-the-robot-be-shown-as-its-actual-physical-size/25558 "2023-06-30T10:43:45Z")

</div>

Hello guys ，today I try to configuration my own robot in slicer with transforms module. And the configuration has finished and I can simulate rotation around each joint by receive the transform from MATLAB code. The belo…

---

## [Best solution for existing medical application](https://discourse.slicer.org/t/best-solution-for-existing-medical-application/30280)

<div class="topic-metadata">

**Author:** [@Elena\_Chu](https://discourse.slicer.org/u/Elena_Chu)\
**Replies:** 1\
**Last updated:** [June 28, 2023, 2:10pm UTC](https://discourse.slicer.org/t/best-solution-for-existing-medical-application/30280 "2023-06-28T14:10:53Z")

</div>

Hi, I try to find the best solution for our application. This is medical application combining WPF (UI and flow logic) and core C++. I’m looking for engine that can accomplish the next tasks: window that can be inserted…

---

## [Markups - fiducial - keep the moved point visible in all views](https://discourse.slicer.org/t/markups-fiducial-keep-the-moved-point-visible-in-all-views/30088)

<div class="topic-metadata">

**Author:** [@hortakc](https://discourse.slicer.org/u/hortakc)\
**Replies:** 2\
**Last updated:** [June 28, 2023, 3:30am UTC](https://discourse.slicer.org/t/markups-fiducial-keep-the-moved-point-visible-in-all-views/30088 "2023-06-28T03:30:21Z")

</div>

Hello! I need to change the position of some markups (fiducial or landmarks). I am use to do it with ITK Snap because it shows me the lines of the axes crossing my markup to have them as references. More importantly, i…

---

## [Crop volume python script](https://discourse.slicer.org/t/crop-volume-python-script/30034)

<div class="topic-metadata">

**Author:** [@Mani\_Barathi](https://discourse.slicer.org/u/Mani_Barathi)\
**Replies:** 5\
**Last updated:** [June 28, 2023, 3:10am UTC](https://discourse.slicer.org/t/crop-volume-python-script/30034 "2023-06-28T03:10:43Z")

</div>

Please help me with the python scripting for crop volume to crop the brain?

---

## [Loading folders and data](https://discourse.slicer.org/t/loading-folders-and-data/30239)

<div class="topic-metadata">

**Author:** [@Patrick\_Li](https://discourse.slicer.org/u/Patrick_Li)\
**Replies:** 1\
**Last updated:** [June 28, 2023, 3:08am UTC](https://discourse.slicer.org/t/loading-folders-and-data/30239 "2023-06-28T03:08:30Z")

</div>

I’m looking for a way to load a directory. For example, I want to be able to load the selected folder in the screenshot from a specific directory on my device. While I’ve found loadVolume() and loadSegmentation() functio…

---

## [3D printing - PreForm integration extension](https://discourse.slicer.org/t/3d-printing-preform-integration-extension/11428)

<div class="topic-metadata">

**Author:** [@JanWitowski](https://discourse.slicer.org/u/JanWitowski)\
**Replies:** 2\
**Last updated:** [June 27, 2023, 12:28am UTC](https://discourse.slicer.org/t/3d-printing-preform-integration-extension/11428 "2023-06-27T00:28:59Z")

</div>

Hi, I am doing research on medical image processing, including segmentation and 3D printing. Recently, I have been working on a small Slicer extension that integrates 3D Slicer with PreForm. PreForm is a software by For…

---

## [Struggling to integrate SAM model to 3D slicer, need help](https://discourse.slicer.org/t/struggling-to-integrate-sam-model-to-3d-slicer-need-help/30244)

<div class="topic-metadata">

**Author:** [@Sobia\_Khan](https://discourse.slicer.org/u/Sobia_Khan)\
**Replies:** 6\
**Last updated:** [June 26, 2023, 10:20pm UTC](https://discourse.slicer.org/t/struggling-to-integrate-sam-model-to-3d-slicer-need-help/30244 "2023-06-26T22:20:45Z")

</div>

Hi, I was wondering if anyone could help me with integrating the SAM model into the 3D slicer. I have spent two days on it and am stuck. Help will be highly appreciated. Thanks

---

## [Removing folders](https://discourse.slicer.org/t/removing-folders/30195)

<div class="topic-metadata">

**Author:** [@Patrick\_Li](https://discourse.slicer.org/u/Patrick_Li)\
**Replies:** 2\
**Last updated:** [June 25, 2023, 10:37am UTC](https://discourse.slicer.org/t/removing-folders/30195 "2023-06-25T10:37:01Z")

</div>

I’ve been able to remove nodes with the RemoveNode() function, but I can’t find any corresponding function for non-Node objects, such as folders. Is there a function to remove folders, or a similar method?

---

## [Programatically load/save scenes and saving folders](https://discourse.slicer.org/t/programatically-load-save-scenes-and-saving-folders/30194)

<div class="topic-metadata">

**Author:** [@Patrick\_Li](https://discourse.slicer.org/u/Patrick_Li)\
**Replies:** 1\
**Last updated:** [June 23, 2023, 1:14pm UTC](https://discourse.slicer.org/t/programatically-load-save-scenes-and-saving-folders/30194 "2023-06-23T13:14:40Z")

</div>

For a custom module I was making, I was wondering whether or not it was possible to load and save scenes (MRML files) without user input. For example the scene would save to a directory when the application was closed an…

---

## [Slowly rendering widget from 3D Slicer in wasm](https://discourse.slicer.org/t/slowly-rendering-widget-from-3d-slicer-in-wasm/30169)

<div class="topic-metadata">

**Author:** [@mazurkin.daniel](https://discourse.slicer.org/u/mazurkin.daniel)\
**Replies:** 1\
**Last updated:** [June 22, 2023, 2:34pm UTC](https://discourse.slicer.org/t/slowly-rendering-widget-from-3d-slicer-in-wasm/30169 "2023-06-22T14:34:13Z")

</div>

Hello, I have built a widget display from 3D Slicer in WebAssembly (you can check out the instructions at this link Instruction by 3dSlicer - Google Docs), but when rendering, it all happens quite slowly. Can you please …

---

## [We assembled a widget from 3D Slicer in the browser](https://discourse.slicer.org/t/we-assembled-a-widget-from-3d-slicer-in-the-browser/30126)

<div class="topic-metadata">

**Author:** [@mazurkin.daniel](https://discourse.slicer.org/u/mazurkin.daniel)\
**Replies:** 3\
**Last updated:** [June 22, 2023, 1:00am UTC](https://discourse.slicer.org/t/we-assembled-a-widget-from-3d-slicer-in-the-browser/30126 "2023-06-22T01:00:20Z")

</div>

---

## [How can one check if Slicer's DICOM database already exists?](https://discourse.slicer.org/t/how-can-one-check-if-slicers-dicom-database-already-exists/30159)

<div class="topic-metadata">

**Author:** [@Justin\_Kirby](https://discourse.slicer.org/u/Justin_Kirby)\
**Replies:** 4\
**Last updated:** [June 21, 2023, 3:30am UTC](https://discourse.slicer.org/t/how-can-one-check-if-slicers-dicom-database-already-exists/30159 "2023-06-21T03:30:05Z")

</div>

I’m working on the TCIABrowser extension, which polls The Cancer Imaging Archive for available datasets and allows the user to directly download and import its DICOM data into Slicer. While performing testing I noticed …

---

## [Select vtkMRMLModelNode on mouse click](https://discourse.slicer.org/t/select-vtkmrmlmodelnode-on-mouse-click/7348)

<div class="topic-metadata">

**Author:** [@zacbaum](https://discourse.slicer.org/u/zacbaum)\
**Replies:** 9\
**Last updated:** [June 15, 2023, 2:04pm UTC](https://discourse.slicer.org/t/select-vtkmrmlmodelnode-on-mouse-click/7348 "2023-06-15T14:04:33Z")

</div>

Hello, I am trying to implement a mouse interaction wherein the user clicks on a model from the 3D viewer and the model which was clicked is made available so that it can be modified in some way (such as colour change, …

---

## [nameError when using slicer.util.pip\_install](https://discourse.slicer.org/t/nameerror-when-using-slicer-util-pip-install/30160)

<div class="topic-metadata">

**Author:** [@Justin\_Kirby](https://discourse.slicer.org/u/Justin_Kirby)\
**Replies:** 2\
**Last updated:** [June 20, 2023, 5:06pm UTC](https://discourse.slicer.org/t/nameerror-when-using-slicer-util-pip-install/30160 "2023-06-20T17:06:20Z")

</div>

Hi, I’m working on the TCIABrowser extension. Part of the code relies on a PyPI package called tcia\_utils. The code we used to load it worked fine in the 5.2 stable release, but in the 5.3 preview releases this is fail…

---

## [Import Carto electroanatomic maps to slicer](https://discourse.slicer.org/t/import-carto-electroanatomic-maps-to-slicer/19316)

<div class="topic-metadata">

**Author:** [@mk.kassai](https://discourse.slicer.org/u/mk.kassai)\
**Replies:** 19\
**Last updated:** [June 20, 2023, 2:03pm UTC](https://discourse.slicer.org/t/import-carto-electroanatomic-maps-to-slicer/19316 "2023-06-20T14:03:13Z")

</div>

I would like to ask for a little help with cardiac electroanatomic map importing. There was a similar issue a while ago, where eventually a new module was born, however it looks like it won’t work with CARTO files. I h…

---

## [Poly data intersection](https://discourse.slicer.org/t/poly-data-intersection/26304)

<div class="topic-metadata">

**Author:** [@anja\_pantovic](https://discourse.slicer.org/u/anja_pantovic)\
**Replies:** 4\
**Last updated:** [June 19, 2023, 9:41am UTC](https://discourse.slicer.org/t/poly-data-intersection/26304 "2023-06-19T09:41:41Z")

</div>

Hello, I am trying to get the volume of an intersection between poly data objects. I am new to 3D slicer, so I would be very grateful if you could give me any guidelines on how to do this with python in 3D Slicer. Thank…

---

## [Slicer quit unexpectedly on MacBook with M1 chip](https://discourse.slicer.org/t/slicer-quit-unexpectedly-on-macbook-with-m1-chip/25989)

<div class="topic-metadata">

**Author:** [@Young\_Wang](https://discourse.slicer.org/u/Young_Wang)\
**Replies:** 15\
**Last updated:** [June 17, 2023, 4:24pm UTC](https://discourse.slicer.org/t/slicer-quit-unexpectedly-on-macbook-with-m1-chip/25989 "2023-06-17T16:24:20Z")

</div>

I’m not sure if this is an isolated case but ever since I switched to a new laptop(MacBook with M1 chip), I noticed more and more crash whenever I use Slicer. I attached the full report here if anyone is experiencing th…

---

## [How to get the central point of 3 slice panel](https://discourse.slicer.org/t/how-to-get-the-central-point-of-3-slice-panel/29853)

<div class="topic-metadata">

**Author:** [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Replies:** 2\
**Last updated:** [June 17, 2023, 4:21am UTC](https://discourse.slicer.org/t/how-to-get-the-central-point-of-3-slice-panel/29853 "2023-06-17T04:21:01Z")

</div>

the requirement is to get the central point’s layer number of a volume node , i can get the 3d focus point , but i don’t known how to get the 3 sliceview focus global position like the F-1 markups point in the picture …

---

## [Integration of “Segment Anything Model”?](https://discourse.slicer.org/t/integration-of-segment-anything-model/28787)

<div class="topic-metadata">

**Author:** [@Dominick\_Dickerson](https://discourse.slicer.org/u/Dominick_Dickerson)\
**Replies:** 23\
**Last updated:** [June 17, 2023, 1:31am UTC](https://discourse.slicer.org/t/integration-of-segment-anything-model/28787 "2023-06-17T01:31:59Z")

</div>

Hi all, Wondering if there’s a way to get the new open source segment anything model that meta ai released recently integrated into the AIAA server? The model seems incredibly powerful and integration with Slicer seems…

---

## [Exporting a segment as .stl model](https://discourse.slicer.org/t/exporting-a-segment-as-stl-model/30044)

<div class="topic-metadata">

**Author:** [@S\_Arbabi](https://discourse.slicer.org/u/S_Arbabi)\
**Replies:** 2\
**Last updated:** [June 16, 2023, 8:28pm UTC](https://discourse.slicer.org/t/exporting-a-segment-as-stl-model/30044 "2023-06-16T20:28:25Z")

</div>

I would like to export a segment of a segmentation node to a .stl 3d model file. I’m wondering how can I do it in python? I could create the volume like this, but then in saving it didn’t work the way I expected. segme…

---

## [How to create a fiducial though the pixel not the mouse event](https://discourse.slicer.org/t/how-to-create-a-fiducial-though-the-pixel-not-the-mouse-event/11410)

<div class="topic-metadata">

**Author:** [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Replies:** 2\
**Last updated:** [June 16, 2023, 7:14pm UTC](https://discourse.slicer.org/t/how-to-create-a-fiducial-though-the-pixel-not-the-mouse-event/11410 "2023-06-16T19:14:15Z")

</div>

I went creat fiducial in the 3d view just give the x,y coordinate, and I found some information maybe help for me. But I don’t know how to use it. virtual int vtkSlicerMarkupsWidget::AddNodeOnWidget ( const int \*display…

---

## [SQLite3 query in Python returns less data than what appears in the Slicer DICOM module](https://discourse.slicer.org/t/sqlite3-query-in-python-returns-less-data-than-what-appears-in-the-slicer-dicom-module/30058)

<div class="topic-metadata">

**Author:** [@smsmt](https://discourse.slicer.org/u/smsmt)\
**Replies:** 4\
**Last updated:** [June 16, 2023, 6:58pm UTC](https://discourse.slicer.org/t/sqlite3-query-in-python-returns-less-data-than-what-appears-in-the-slicer-dicom-module/30058 "2023-06-16T18:58:23Z")

</div>

Hello everyone, I am currently working on constructing a database of DICOM tags using 3D Slicer. I have imported DICOM image data of approximately 700 patients into the Slicer, which seems to have successfully processed…

---

## [Draw plane based on angle to another plane and 2 markup points](https://discourse.slicer.org/t/draw-plane-based-on-angle-to-another-plane-and-2-markup-points/29867)

<div class="topic-metadata">

**Author:** [@Holmes\_Tran](https://discourse.slicer.org/u/Holmes_Tran)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 4:49pm UTC](https://discourse.slicer.org/t/draw-plane-based-on-angle-to-another-plane-and-2-markup-points/29867 "2023-06-16T16:49:50Z")

</div>

Hi, I have a predefined plane P1, a line L1 through that plane at an angle A. I’d like to draw a plane P2 that contains L1 and at an angle A with P1. How can I do that in Python? also, is there any easy way to this usin…

---

## [CustomSlicer build error ( LibArchive )](https://discourse.slicer.org/t/customslicer-build-error-libarchive/29884)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 3:00pm UTC](https://discourse.slicer.org/t/customslicer-build-error-libarchive/29884 "2023-06-16T15:00:35Z")

</div>

Operating system: window 10 Slicer version: 5.2.2 Hi, slicer users (Qt : 5.15.2) What can I refer to to solve this problem for the latest version?

---

## [Build Error & CustomSlicer's Purpose](https://discourse.slicer.org/t/build-error-customslicers-purpose/29910)

<div class="topic-metadata">

**Author:** [@dsa934](https://discourse.slicer.org/u/dsa934)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 2:59pm UTC](https://discourse.slicer.org/t/build-error-customslicers-purpose/29910 "2023-06-16T14:59:42Z")

</div>

Operating system: window 10 Slicer version: 5.2.1 Hi all, Q1. When the Cmake → build process was performed for each of three slicer5.2.1, slicer5.2.2, and CustomSlicer, the same permission error for the vtk folder o…

---

## [Difference between VTK widgets and 3D Slicer widgets](https://discourse.slicer.org/t/difference-between-vtk-widgets-and-3d-slicer-widgets/29916)

<div class="topic-metadata">

**Author:** [@mazurkin.daniel](https://discourse.slicer.org/u/mazurkin.daniel)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 2:56pm UTC](https://discourse.slicer.org/t/difference-between-vtk-widgets-and-3d-slicer-widgets/29916 "2023-06-16T14:56:12Z")

</div>

Hello, what’s the difference between VTK widgets and 3D Slicer widgets in terms of rendering? When trying to compile to wasm, the vtk widget is successfully displayed, when trying to get the widget from the 3D Slicer, We…

---

## [How to connect node list to qmrml Treeview ?](https://discourse.slicer.org/t/how-to-connect-node-list-to-qmrml-treeview/29945)

<div class="topic-metadata">

**Author:** [@bongo\_kat](https://discourse.slicer.org/u/bongo_kat)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 2:46pm UTC](https://discourse.slicer.org/t/how-to-connect-node-list-to-qmrml-treeview/29945 "2023-06-16T14:46:53Z")

</div>

Hello, I’m new to 3d Slicer and I’m trying to create a module for calibrating my files. I have python scripts that temporally and spatially calibrate my files. I want to import my files through slicer’s Data module and…

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

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