1.OCCT(http://www.opencascade.org/)macos
Open CASCADE Technology is a software development kit (SDK) intended for development of applications dealing with 3D CAD data, freely available in open source. It includes a set of C++ class libraries providing services for 3D surface and solid modeling, visualization, data exchange and rapid application development.
Open CASCADE Technology can be best applied in development of specialized CAD/CAM/CAE applications. The typical applications built with help of OCCT are pre- and post-processors for finite element analysis software, CNC/CMM path generators, numerical simulation programs, etc.
Open CASCADE Technology (former CAS.CADE) exists from the mid 1990-s and has already been used by numerous commercial clients belonging to different domains − from software edition to heavy industry.api
在其官网上可下载到OCCT源码,及其官方提供的Documentation。详细地Installation可参考Documentation。app
2. CMake配置OCCdom
配置注意事项结果以下:post
在Mac下安装时,进行Configure时,提示需安装FreeType,可在以下网址下载:http://sourceforge.net/projects/freetype/files/。ui
同时,请注意,虽然我已经安装了VTK,可是当我选择USE_VTK时,会提示在某些文件中找不到X11/Shell.h文件,虽然也安装了XQuartz,可是仍是不行,以后索性就不选择USE_VTK了,以后make的时候很顺利。spa
3.XQuartz(http://xquartz.macosforge.org/landing/).net
The XQuartz project is an open-source effort to develop a version of the X.Org X Window System that runs on OS X. Together with supporting libraries and applications, it forms the X11.app that Apple has shipped with OS X since version 10.5.orm
4.运行draw.sh.ip
运行结果以下:
NOTE:
换了个开发平台,仍是须要适应下的。