{"title":"TSlicer: An optimal topology-based slicing algorithm for Z-monotone 3D meshes","authors":"Ricardo Dutra da Silva , Henrique Romaniuk Ramalho , Rodrigo Minetto , Neri Volpato , Jorge Stolfi","doi":"10.1016/j.cag.2025.104372","DOIUrl":null,"url":null,"abstract":"<div><div>We address a computational problem that is an essential step in computer graphics, 3D printing, and many other processes: namely, the slicing of a 3D polygonal structured mesh model (as can be extracted from an STL, OBJ, or 3MF file) by a set of parallel planes. We describe <span>TSlicer</span>, a sweep-plane algorithm that exploits the topological information provided by the mesh data structure to reduce the number of intersection tests. The output is a set of polygons on each cutting plane. The topological information allows us to produce the sides of these polygons directly in the proper sequence and orientation. Furthermore, a key optimization is proposed to a topological data structure to speed up the traversal of meshes with any Z-monotone polygons as faces. We show that <span>TSlicer</span> is optimal in the asymptotic worst-case sense, and, according to experiments, substantially faster than a previous method for slicing unstructured triangle list models, as provided by STL files. The source code and mesh models used in this study are available on GitHub.<span><span><sup>1</sup></span></span></div></div>","PeriodicalId":50628,"journal":{"name":"Computers & Graphics-Uk","volume":"132 ","pages":"Article 104372"},"PeriodicalIF":2.8000,"publicationDate":"2025-08-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Graphics-Uk","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0097849325002134","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
We address a computational problem that is an essential step in computer graphics, 3D printing, and many other processes: namely, the slicing of a 3D polygonal structured mesh model (as can be extracted from an STL, OBJ, or 3MF file) by a set of parallel planes. We describe TSlicer, a sweep-plane algorithm that exploits the topological information provided by the mesh data structure to reduce the number of intersection tests. The output is a set of polygons on each cutting plane. The topological information allows us to produce the sides of these polygons directly in the proper sequence and orientation. Furthermore, a key optimization is proposed to a topological data structure to speed up the traversal of meshes with any Z-monotone polygons as faces. We show that TSlicer is optimal in the asymptotic worst-case sense, and, according to experiments, substantially faster than a previous method for slicing unstructured triangle list models, as provided by STL files. The source code and mesh models used in this study are available on GitHub.1
期刊介绍:
Computers & Graphics is dedicated to disseminate information on research and applications of computer graphics (CG) techniques. The journal encourages articles on:
1. Research and applications of interactive computer graphics. We are particularly interested in novel interaction techniques and applications of CG to problem domains.
2. State-of-the-art papers on late-breaking, cutting-edge research on CG.
3. Information on innovative uses of graphics principles and technologies.
4. Tutorial papers on both teaching CG principles and innovative uses of CG in education.