# \#general-tools

**URL:** https://community.materialise.com/tag/general-tools/1.md

[Latest](https://community.materialise.com/latest.md) · [Categories](https://community.materialise.com/categories.md) · [Tags](https://community.materialise.com/tags.md)

---

## [Getting Houndsfield or Gray Value data from an image stack](https://community.materialise.com/t/getting-houndsfield-or-gray-value-data-from-an-image-stack/313)

<div class="topic-metadata">

**Author:** [@EntPyle](https://community.materialise.com/u/EntPyle)\
**Replies:** 10\
**Last updated:** [May 19, 2023, 9:00pm UTC](https://community.materialise.com/t/getting-houndsfield-or-gray-value-data-from-an-image-stack/313 "2023-05-19T21:00:28Z")

</div>

I am currently attempting to access the HU data directly from python. I found the get\_voxel\_buffer() method in the mimics.ImageData class, which returns a multi-dimensional memoryview of gray values. I planned to convert…

---

## [Centerline Data and Measurements in Script](https://community.materialise.com/t/centerline-data-and-measurements-in-script/327)

<div class="topic-metadata">

**Author:** [@EntPyle](https://community.materialise.com/u/EntPyle)\
**Replies:** 2\
**Last updated:** [May 19, 2023, 8:46pm UTC](https://community.materialise.com/t/centerline-data-and-measurements-in-script/327 "2023-05-19T20:46:57Z")

</div>

I’m trying to use the centerline tool in a workflow, but there does not appear to be a way to programmatically create a centerline using the “Fit Centerline” tool in Mimics or the “Create Center Line” Tool in 3-matic. Am…

---

## [3-matic 16.0 "point-based pattern" issue](https://community.materialise.com/t/3-matic-16-0-point-based-pattern-issue/547)

<div class="topic-metadata">

**Author:** [@Teddy](https://community.materialise.com/u/Teddy)\
**Replies:** 2\
**Last updated:** [November 22, 2021, 7:37am UTC](https://community.materialise.com/t/3-matic-16-0-point-based-pattern-issue/547 "2021-11-22T07:37:25Z")

</div>

How could I find 3-matic technical support? We have been using 3-matic 13.0 (upper image) for several years and found it helpful. This year we bought a new version, 3-matic 16.0 (lower image). But all of our colleagues …

---

## [Distance Between Line and Point](https://community.materialise.com/t/distance-between-line-and-point/534)

<div class="topic-metadata">

**Author:** [@IAF2022](https://community.materialise.com/u/IAF2022)\
**Replies:** 1\
**Last updated:** [October 1, 2021, 4:10pm UTC](https://community.materialise.com/t/distance-between-line-and-point/534 "2021-10-01T16:10:16Z")

</div>

I’m attempting to automate a certain measurement, but I can’t seem to find the right tools in 3-Matic. I have to find the shortest distance between a line a completely different point. I couldn’t find anything similar to…

---

## [Creating Plots in 3-Matic](https://community.materialise.com/t/creating-plots-in-3-matic/477)

<div class="topic-metadata">

**Author:** [@IAF2022](https://community.materialise.com/u/IAF2022)\
**Replies:** 1\
**Last updated:** [August 5, 2021, 3:26pm UTC](https://community.materialise.com/t/creating-plots-in-3-matic/477 "2021-08-05T15:26:55Z")

</div>

I’m using an SSM to produce a large number of measurements and I’d like the script to output a chart of some kind to visually represent the measurement distribution. A histogram like the one in the 3-Matic SSM Properties…

---

## [Unable to close mimics through scripting](https://community.materialise.com/t/unable-to-close-mimics-through-scripting/448)

<div class="topic-metadata">

**Author:** [@Thijs](https://community.materialise.com/u/Thijs)\
**Replies:** 4\
**Last updated:** [July 7, 2021, 8:20am UTC](https://community.materialise.com/t/unable-to-close-mimics-through-scripting/448 "2021-07-07T08:20:55Z")

</div>

Hi! I am working on an automation script that should open a Mimics project, perform some changes and then close Mimics again. According to the documentation there should be the option to exit the application using: mi…

---

## [Embed custom add on to 3matic](https://community.materialise.com/t/embed-custom-add-on-to-3matic/372)

<div class="topic-metadata">

**Author:** [@EntPyle](https://community.materialise.com/u/EntPyle)\
**Replies:** 0\
**Last updated:** [January 20, 2021, 10:51pm UTC](https://community.materialise.com/t/embed-custom-add-on-to-3matic/372 "2021-01-20T22:51:08Z")

</div>

I have a few tools that I want to put in a toolkit inside 3matic. Id like to be able to embed my Gui inside 3matic. Other than using threaded\_trimatic, do yall have any recommendations for running a custom QT Gui in 3mat…

---

## [Disable GUI functions](https://community.materialise.com/t/disable-gui-functions/353)

<div class="topic-metadata">

**Author:** [@EntPyle](https://community.materialise.com/u/EntPyle)\
**Replies:** 2\
**Last updated:** [November 24, 2020, 7:30pm UTC](https://community.materialise.com/t/disable-gui-functions/353 "2020-11-24T19:30:56Z")

</div>

I attempted to speed up a loop over 200 files by using the mimics.disable\_update\_gui() method, but the gui definitely still updates. I’m using it just like it was used in the 4D hear cineloop demo script. I used this blo…

---

## [Transform Mesh using Transformation Matrix](https://community.materialise.com/t/transform-mesh-using-transformation-matrix/338)

<div class="topic-metadata">

**Author:** [@EntPyle](https://community.materialise.com/u/EntPyle)\
**Replies:** 4\
**Last updated:** [September 1, 2020, 2:23pm UTC](https://community.materialise.com/t/transform-mesh-using-transformation-matrix/338 "2020-09-01T14:23:07Z")

</div>

I’m trying to align meshes I have created in 3matic/mimics using a transformation matrix. Mimics does not allow me to apply a transformation to a mesh and 3matic does not allow me apply a transformation matrix at all (wh…

---

## [Ordering Point and Triangles for SSM Landmarking](https://community.materialise.com/t/ordering-point-and-triangles-for-ssm-landmarking/290)

<div class="topic-metadata">

**Author:** [@EntPyle](https://community.materialise.com/u/EntPyle)\
**Replies:** 1\
**Last updated:** [April 9, 2020, 3:45pm UTC](https://community.materialise.com/t/ordering-point-and-triangles-for-ssm-landmarking/290 "2020-04-09T15:45:54Z")

</div>

Recently, while working on a project that required SSM landmarking, I discovered that each time a new instance is created from an SSM, the points and triangles are relabeled. This causes the correspondence point relation…

---

## [Threaded Trimatic: When to use and why](https://community.materialise.com/t/threaded-trimatic-when-to-use-and-why/284)

<div class="topic-metadata">

**Author:** [@EntPyle](https://community.materialise.com/u/EntPyle)\
**Replies:** 2\
**Last updated:** [March 3, 2020, 3:34pm UTC](https://community.materialise.com/t/threaded-trimatic-when-to-use-and-why/284 "2020-03-03T15:34:53Z")

</div>

This is a general question regarding threaded trimatic. I’d like to know what the main differences between trimatic and threaded\_trimatic are (I assume the later is thread safe), and I’d like to know what types of scenar…

---

## [Moving meshes between 3matic and Mimics](https://community.materialise.com/t/moving-meshes-between-3matic-and-mimics/279)

<div class="topic-metadata">

**Author:** [@EntPyle](https://community.materialise.com/u/EntPyle)\
**Replies:** 8\
**Last updated:** [February 25, 2020, 4:01pm UTC](https://community.materialise.com/t/moving-meshes-between-3matic-and-mimics/279 "2020-02-25T16:01:15Z")

</div>

I’m moving large meshes between Mimics and 3matic using the workflow laid out in the relevant demo script, and would like to discuss other, faster possibilities. I have a mesh of 4.5M elements that takes 7 minutes to imp…

---

## [Working with planes (3-matic 14.0)](https://community.materialise.com/t/working-with-planes-3-matic-14-0/70)

<div class="topic-metadata">

**Author:** [@mtls\_jdeckx](https://community.materialise.com/u/mtls_jdeckx)\
**Replies:** 1\
**Last updated:** [June 4, 2019, 2:27pm UTC](https://community.materialise.com/t/working-with-planes-3-matic-14-0/70 "2019-06-04T14:27:15Z")

</div>

In this tutorial some basic features of planes in 3-matic are presented using the project Femur.mxp that is located in the 3-matic installation folder under folder DemoFiles. To open the project, first launch 3-matic an…

---

## [Renaming tool (Mimics 21.0)](https://community.materialise.com/t/renaming-tool-mimics-21-0/86)

<div class="topic-metadata">

**Author:** [@cdumont](https://community.materialise.com/u/cdumont)\
**Replies:** 0\
**Last updated:** [May 23, 2019, 1:20pm UTC](https://community.materialise.com/t/renaming-tool-mimics-21-0/86 "2019-05-23T13:20:06Z")

</div>

Hi all! I have created a script that allows you to easily rename masks in any Mimics project. The idea is that you can create (and modify) a list of names and even associate colors to those. To rename a mask, simply sel…

---

## [Switch between Mimics and 3-matic (Mimics Innovation Suite 22.0)](https://community.materialise.com/t/switch-between-mimics-and-3-matic-mimics-innovation-suite-22-0/81)

<div class="topic-metadata">

**Author:** [@mtls\_jdeckx](https://community.materialise.com/u/mtls_jdeckx)\
**Replies:** 0\
**Last updated:** [May 21, 2019, 1:10pm UTC](https://community.materialise.com/t/switch-between-mimics-and-3-matic-mimics-innovation-suite-22-0/81 "2019-05-21T13:10:53Z")

</div>

Many workflows require the use of multiple tools from Mimics and 3-matic. With scripting is possible to automate such workflows and use tools from both software packages. This tutorial shows how to continue the workflow…

---

## [Access to Part Triangles and Points (Mimics 22.0)](https://community.materialise.com/t/access-to-part-triangles-and-points-mimics-22-0/80)

<div class="topic-metadata">

**Author:** [@mtls\_jdeckx](https://community.materialise.com/u/mtls_jdeckx)\
**Replies:** 0\
**Last updated:** [May 21, 2019, 1:08pm UTC](https://community.materialise.com/t/access-to-part-triangles-and-points-mimics-22-0/80 "2019-05-21T13:08:46Z")

</div>

The Mimics API also supports low-level data access to images, masks and 3D parts (or STLs). This tutorial shows how to access the nodes (points) and triangles of a part. The Mimics project Heart.mcs from C:\\MedData\\Demo…

---

## [Working with metadata (Mimics Innovation Suite 22.0)](https://community.materialise.com/t/working-with-metadata-mimics-innovation-suite-22-0/69)

<div class="topic-metadata">

**Author:** [@mtls\_jdeckx](https://community.materialise.com/u/mtls_jdeckx)\
**Replies:** 0\
**Last updated:** [May 21, 2019, 11:27am UTC](https://community.materialise.com/t/working-with-metadata-mimics-innovation-suite-22-0/69 "2019-05-21T11:27:12Z")

</div>

Many workflows require the use of multiple tools from Mimics and 3-matic and the transfer of data between both products. With scripting is possible to automate such workflows and use tools from both software packages. T…

---

## [Semi-automatic import of standard images (Mimics 22.0)](https://community.materialise.com/t/semi-automatic-import-of-standard-images-mimics-22-0/74)

<div class="topic-metadata">

**Author:** [@mtls\_jdeckx](https://community.materialise.com/u/mtls_jdeckx)\
**Replies:** 0\
**Last updated:** [May 21, 2019, 12:46pm UTC](https://community.materialise.com/t/semi-automatic-import-of-standard-images-mimics-22-0/74 "2019-05-21T12:46:18Z")

</div>

The user can automate the import of Bitmap or JPEG images. As input, we assume there is a directory containing all images. The scan resolution in x, y, and z dimensions is required as input to ensure correct dimensions o…

---

## [Automatic import of DICOM images (Mimics 22.0)](https://community.materialise.com/t/automatic-import-of-dicom-images-mimics-22-0/73)

<div class="topic-metadata">

**Author:** [@mtls\_jdeckx](https://community.materialise.com/u/mtls_jdeckx)\
**Replies:** 0\
**Last updated:** [May 21, 2019, 11:56am UTC](https://community.materialise.com/t/automatic-import-of-dicom-images-mimics-22-0/73 "2019-05-21T11:56:36Z")

</div>

Using the Mimics API, the user can automate the import of DICOM images. As input, we assume there is a directory containing DICOM images (this could be a single study, or multiple studies). By using mimics.file.import\_di…
