![](https://box.kancloud.cn/aa98a0c8e8d88e5dc82c0cafb1c02431_1161x1050.png =230x) ### **TriMesh** * * * * * **Description**: This component has the ability to create pure triangle meshes from arbitrary meshes using InstantMeshes and pmp-library. It offers three algorithms which are used for opened meshes and closed meshes respectively. **InstantMeshes** InstantMeshes algorithm is good at create pure triangle meshes from closed meshes. It is able to produce mesh faces with uniform edge lenths. But it is notices that this function has not effective in the processing of opened meshes. :-: ![](https://img.kancloud.cn/ea/de/eade71ef865fea895388adeda339e904_2025x694.png) :-: ![](https://img.kancloud.cn/5b/94/5b94815e038dd612a703a291eb11c67e_2218x428.png) **Input**: * Geometry: A geometry model that needs to be remeshed. * FaceCount: The number of faces. * Crease: The dihedral angle of the crease. * Boundaries: Align boundaries (used only when the grid is not closed). * PullBack: Pulls the generated mesh vertices back to the original model. **Uniform** Uniform mode can solve opened meshes very well. But the speed of this mode is slower than the speed of InstantMeshes. :-: ![](https://img.kancloud.cn/6c/3c/6c3c88de27d131762e2381034eacb8e0_2210x467.png) **Input**: * Geometry: A geometry model that needs to be remeshed. * Length: Target Edge Length. * Iteration: A maximum number of remesh iterations. * Projection: Project vertices to the original model. **Adaptive** Adaptive mode can also solve opened meshes very well. But the speed of this mode is slower than the speed of InstantMeshes and Uniform Mode. ![](https://img.kancloud.cn/37/ab/37abedf1b9b5dc4cc266c73e5149a85a_1868x479.png) **Input**: * Geometry: A geometry model that needs to be remeshed. * MinimumLength: The minimum length of mesh edge. * MaximumLength: The maximum length of mesh edge. * Tolerance: The tolerance of algorithm. * Iteration: A maximum number of remesh iterations. * Projection: Project vertices to the original model. **Output**: * Mesh: Outputs the reconstructed mesh of the triangle. **Thanks**: TriMesh's Instant Meshes algorithm is based on the publication: * TriMesh's **Instant Meshes** algorithm is based on the publication: [Instant Field-Aligned Meshes](http://igl.ethz.ch/projects/instant-meshes/instant-meshes-SA-2015-jakob-et-al.pdf) Wenzel Jakob, Marco Tarini, Daniele Panozzo, Olga Sorkine-Hornung In *ACM Transactions on Graphics (Proceedings of SIGGRAPH Asia 2015)*