NC machining verification algorithm based on the STL model

An algorithm to assess the deviation of a machined workpiece model for a nominal part of the stereolithography (STL) model-based numerically controlled (NC) machining verification is presented, which is inspired by several algorithms used for evaluating the difference between two triangular meshes of similar shape, and some improvements are made. First, each triangle of the machined workpiece model is sampled under a user-defined sampling step δ. Then, the signed distance between each sample and the nominal part is computed to obtain the maximal error, minimal error, and mean error between the two STL models. Finally, a background grid is constructed to quickly search for the triangle closest to the sampling point. The experimental results demonstrate that the accuracy can be improved by sampling all the triangles, including those too small to be sampled under the current sampling step δ. The efficiency can be increased by applying a background grid, and the undercut and overcut areas can be easily detected by coloring the machined workpiece model according to the signed distance associated with each sample.

[1]  Myung-Soo Kim,et al.  Fast and robust Hausdorff distance computation from triangle mesh to quad mesh in near-zero cases , 2018, Comput. Aided Geom. Des..

[2]  K.-S. Lee,et al.  Local Mesh Decimation for View-Independent Three-Axis NC Milling Simulation , 2002 .

[3]  Paolo Cignoni,et al.  Metro: Measuring Error on Simplified Surfaces , 1998, Comput. Graph. Forum.

[4]  Niranjan Damera-Venkata,et al.  Display supersampling , 2009, ACM Trans. Graph..

[5]  Touradj Ebrahimi,et al.  MESH: measuring errors between surfaces using the Hausdorff distance , 2002, Proceedings. IEEE International Conference on Multimedia and Expo.

[6]  Hong-Tzong Yau,et al.  Efficient NC Simulation for Multi-Axis Solid Machining With a Universal APT Cutter , 2009, J. Comput. Inf. Sci. Eng..

[7]  K. K. Wang,et al.  Geometric Modeling for Swept Volume of Moving Solids , 1986, IEEE Computer Graphics and Applications.

[8]  Tao Jin,et al.  Improving the efficiency of solid-based NC simulation by using spatial decomposition methods , 2016 .

[9]  K. P. Karunakaran,et al.  Octree-to-BRep conversion for volumetric NC simulation , 2007 .

[10]  Gershon Elber,et al.  Precise Hausdorff distance computation between polygonal meshes , 2010, Comput. Aided Geom. Des..

[11]  Seung-Hyun Yoon,et al.  Fast and robust computation of the Hausdorff distance between triangle mesh and quad mesh for near-zero cases , 2019, Comput. Graph..

[12]  Qiang Liu,et al.  STEP-NC feature-oriented high-efficient CNC machining simulation , 2020 .

[13]  Hsi-Yung Feng,et al.  Efficient milling part geometry computation via three-step update of frame-sliced voxel representation workpiece model , 2017 .

[14]  김영준,et al.  Interactive Hausdorff Distance Computation for General Pohygonal Models , 2009, SIGGRAPH 2009.

[15]  C. Hariharan,et al.  Octree-based NC simulation system for optimization of feed rate in milling using instantaneous force model , 2010 .

[16]  Dinesh Manocha,et al.  OBBTree: a hierarchical structure for rapid interference detection , 1996, SIGGRAPH.

[17]  Seok Won Lee,et al.  Virtual workpiece: workpiece representation for material removal process , 2012 .

[18]  Chen-Han Lee,et al.  Geometric simulation of 5-axis hybrid additive-subtractive manufacturing based on Tri-dexel model , 2018 .

[19]  Rafael Jesús Segura,et al.  Fast and accurate evaluation of regularized Boolean operations on triangulated solids , 2013, Comput. Aided Des..

[20]  Hsi-Yung Feng,et al.  Vector model-based workpiece update in multi-axis milling by moving surface of revolution , 2011 .

[21]  Karim Abdel-Malek,et al.  Verification of NC machining processes using swept volumes , 2006 .

[22]  Allan D. Spence,et al.  Techniques for accelerating B-rep based parallel machining simulation , 2005, Comput. Aided Des..

[23]  Sung-Lim Ko,et al.  Improvement of cutting simulation using the octree method , 2006 .