资 源 简 介
QMeshPack is an attempt to create a fast 3D model packer for use with 3D printers using some heuristics. The problem this program tries to solve is a variation of a knapsack problem, which is NP-Hard, so an optimal solution would take too long to compute. Because of that QMeshPack uses a heuristics, which works by rendering the top and bottom z-images of a mesh with alpha channel and tries to fit bottoms on a heightfield in the target box. The position computations as well as opening/saving of meshes is paralellised to improve performance and scalability.
QMeshPack uses Qt for GUI and threading, which can be optionally be done with OpenMP.
Here are some screen shots:
Mesh view:
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报