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

回答 (1 件)

DGM
DGM 2025 年 4 月 1 日

0 投票

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.

質問済み:

RSM
2021 年 5 月 30 日

回答済み:

DGM
2025 年 4 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by