Create a 3D printable meshed surface by puncturing each of the facets that make up the surface. For example, surf(z) for some matrix 'z' is a surface made up of four-sided facets, so punctureSurface will create four-sided holes in each facet. In general, the shape of each facet of a surface will define the shape of the hole punched into said facet.
Cite As
Paul Kassebaum (2024). punctureSurface (https://www.mathworks.com/matlabcentral/fileexchange/43994-puncturesurface), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Surface and Mesh Plots >
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > STL (STereoLithography) >
Tags
Acknowledgements
Inspired by: stlwrite - write ASCII or Binary STL files, surf2solid - make a solid volume from a surface for 3D printing
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.