This code implements the algorithm in the following paper:
Yijiang Huang, Juyong Zhang, Xin Hu, Guoxian Song, Zhongyuan Liu, Lei Yu, Ligang Liu. FrameFab: Robotic Fabrication of Frame Shapes. ACM Trans. Graph. 35, 6, 2016.
- Download src/.lib/.dll from website.
- "Linker > General > Additional Library Directory": add "$(LIBRARYDIR)\include".
- "Linker > Input > Additional Dependencies": add ".lib".
- "My Computer > Properties > Advanced > Environment Variables": add "$(LIBRARYDIR)\bin".
Download Qt 5.5.1 from "https://www.qt.io/download/". (OpenGL should be included in Qt.)
Download LAPACK 3.5.0 from "http://www.netlib.org/lapack/".
Download Mosek 7.0 from "https://www.mosek.com/resources/downloads".
Download Eigen 3 from "http://eigen.tuxfamily.org/index.php?title=Main_Page".
Download Geometric Tools Engine 2.4 from "http://www.geometrictools.com/Downloads/Downloads.html".
- Read a .obj file into FrameFab.
- Click Choose ceiling, choose the edges that you want them to be ceiling. Click again or press ESC to finish.
- Click Choose base, choose the vertexes that you want them to be base. Click again or press ESC to finish.
- Click Project to project base vertexes to a flat plane which is below the lowest position of all the vertexes. The vertexes projected on the plane are fixed vertexes and the edges connecting base vertexes and fixed vertexes are pillars.
- Click FiberPrint to run the whole process.
- When it is done, you can turn on Heat under the Edge mode to see the result of layer-decomposition.
The code is written by Xin Hu (hx37118@mail.ustc.edu.cn), Yijiang Huang (yijiangh@mit.edu) and Guoxian Song (sgx2012@mail.ustc.edu.cn). Feel free to contact them if you have any comments.