OpenCasCade配置

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

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.
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:

換了個開發平臺,仍是須要適應下的。

相關文章
相關標籤/搜索