本研究使用體素(Voxel)為最小顯示單位,採取適應性的八元樹資料結構建構加工模型,配合APT刀具模組與隱函數刀具數學模型進行刀具切削,顯示時使用Marching Cube演算法增加精確度,發展出一套應用在三軸加工技術的可靠實體刀具切削模擬程式。在系統中可設定與實際切削加工相同之工件、刀具以及加工條件,程式會依照使用者所指定之數值控制碼程式來做實體切削,使用者可以看到加工模型被切削的整個過程,過程中可顯示刀具路徑並在最後顯現切削後的加工模型外型,若使用刀具寸動切削可達到即時顯示的效果,方便觀察加工模型是否過切或是仍有餘料。
In this study, voxel was used to represent the minimum displaying unit. This investing action emphasize on the use of adaptive octree data structure for developing manufactured model. APT (Automatically Programmed Tool) endmill was used to represent various cutting tool geometries, and implicit functions were used to check whether the voxel is deleted or not. The proposed algorithms were both used for endmill cutting of 3-axis machining. Marching cube was used to pursue accurately displaying. Developing a reliable 3-axis NC simulation from solid models can give the proof of correctness for the cutting tool path, and the model appearance after cutting can be rendered. If users use endmill increment movement, it can achieve real-time animation for checking whether the manufactured model is over-cut or surplus.