OpenCasCade配置

1.OCCT(http://www.opencascade.org/)

Open CASCADE Technology, 3D modeling & numerical simulation

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.

在其官网上可下载到OCCT源码,及其官方提供的Documentation。详细地Installation可参考Documentation。

2. CMake配置OCC

配置注意事项结果如下:

OpenCasCade配置_第1张图片

OpenCasCade配置_第2张图片

在Mac下安装时,进行Configure时,提示需安装FreeType,可在如下网址下载:http://sourceforge.net/projects/freetype/files/。

同时,请注意,虽然我已经安装了VTK,但是当我选择USE_VTK时,会提示在某些文件中找不到X11/Shell.h文件,虽然也安装了XQuartz,但是还是不行,之后索性就不选择USE_VTK了,之后make的时候很顺利。

3.XQuartz(http://xquartz.macosforge.org/landing/)

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.

4.运行draw.sh.

运行结果如下:

OpenCasCade配置_第3张图片

OpenCasCade配置_第4张图片

NOTE:

换了个开发平台,还是需要适应下的。










你可能感兴趣的:(OpenCasCade配置)