STL to solid 3d matrix

Is there a way to import STL and save it as 3D matrix and stlil maintain its size? Patch is a good function to import stl, I need voxelisation of the mesh so I can slice the 2D data out of it.
This is a good work by Adam , but it does not maintain the size and ratio:
Regards

Antworten (1)

DGM
DGM am 1 Apr. 2025

0 Stimmen

The linked tools do maintain the geometry. It's just up to you to keep track of the sampling grid coordinates and plot it appropriately. Otherwise, depending on how you're using it and setting up your plots, it probably will show up visually distorted.

Gefragt:

RSM
am 30 Mai 2021

Beantwortet:

DGM
am 1 Apr. 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by