Make STL of 3D array (Optimal for 3d printing)

Version 1.0.0 (17,2 ko) par Amir Safari
make_STL_of_Array Convert a voxelized object contained within a 3D logical array into an STL surface mesh, It's optimal for 3D printing.
2,4K téléchargements
Mise à jour 13 sept. 2018

make_STL_of_Array Convert a voxelized object contained within a 3D logical array into an STL surface mesh, It's optimal for 3D printing because of the number of faces in final STL is as low as possible.

AUTHOR: Amir-Hosein Safari
CONTACT: amirsfr5353@gmail.com
INSTITUTION: Max-Planck Institute for informatics
DATE: 25th Aug 2018

EXAMPLE:
make_STL_of_Array(FileName,Data,scaleX,scaleY,scaleZ)
..or..
[Vertices, Triangle, Quads] = make_STL_of_Array(FileName,Data,scaleX,scaleY,scaleZ)

INPUTS

FileName - string - Filename of the STL file.

Data - 3D logical array - Voxelised data
1 => Inside the object
0 => Outside the object
(FOR PRINTING WITH TWO MATERIALS YOU SHOULD INVERSE
Data (Data = ~Data) AND RUN CODE AGAIN TO HAVE THE SECOND TYPE)

scaleX - A number which means the X size of every
voxel in mm
scaleY - A number which means the Y size of every
voxel in mm
scaleZ - A number which means the Z size of every
voxel in mm

OUTPUTS

vertices - Nx3 array - A list of the x,y,z coordinates of
each vertex in the mesh.

Triangle - Nx3 array - A list of the vertices used in
each Triangle of the mesh, identified using the row
the number in the array vertices.

Quads - Nx4 array - A list of the vertices used in
each Quads of the mesh, identified using the row
the number in the array vertices.

Citation pour cette source

Amir Safari (2025). Make STL of 3D array (Optimal for 3d printing) (https://github.com/AmirHoseinSafari/Make-STL-of-3D-array-Optimal-for-3d-printing-), GitHub. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2018b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Lighting, Transparency, and Shading dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées

Version Publié le Notes de version
1.0.0

Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.