STL to solid 3d matrix

16 次查看(过去 30 天)
RSM
RSM 2021-5-30
回答: DGM 2025-4-1
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
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.

Community Treasure Hunt

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

Start Hunting!

Translated by