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

配置注意事项结果如下:

224835_as9X_264474.png

224942_M9oa_264474.png

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

运行结果如下:

230307_bd2P_264474.png

230416_NPwG_264474.png

NOTE:

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










转载于:https://my.oschina.net/u/264474/blog/367382

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值