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

Réponses (1)

DGM
DGM le 1 Avr 2025

0 votes

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.

Question posée :

RSM
le 30 Mai 2021

Réponse apportée :

DGM
le 1 Avr 2025

Community Treasure Hunt

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

Start Hunting!

Translated by