OpenCASCADE 7.4.0 Released

OpenCASCADE宣布发布OpenCASCADE Technology 7.4.0版本,此版本包含超过500项改进和修正,提高了布尔运算、边界表示网格算法的稳健性和准确性,新增了对无限盒子有限部分的检索接口,以及对glTF2.0和OBJ格式的网格数据导入支持。

Open Cascade is pleased to announce a new public release of Open CASCADE Technology (version 7.4.0).

Open CASCADE Technology version 7.4.0 is a minor release which includes more than 500 improvements and corrections over the previous minor release 7.3.0.

New in this version:

Modeling

  •  Improved robustness, performance and accuracy of BRepMesh algorithm
  •  Options to control linear and angular deflection for interior part of the faces in BRepMesh
  •  Improved robustness and stability of Boolean Operations and Extrema
  •  Enabled Boolean Operations on open solids
  •  Option to suppress history generation to speed up Boolean Operations
  •  Option to simplify the result of Boolean Operation
  •  Possibility to calculate surface and volume properties of shapes with triangulation-only geometry
  •  A new interface for fetching finite part of infinite box in BRepBndLib
  •  New “constant throat” modes of chamfer creation
  •  Removal of API for old Boolean Operations

Visualization

  •  Improved support of embedded Linux platforms
  •  Selection performance improvement
  •  Support of clipping planes combinations (clip by box, ¾, etc.)
  •  New class AIS_ViewController converting user input (mouse, touchscreen) to camera manipulations
  •  Improved font management
  •  Improved tools for visualization performance analysis
  •  Option to display the outline of shaded objects
  •  Option to exclude seam edges from Wireframe display
  •  Option to display shrunk mesh presentation
  •  Possibility to show shapes with dynamic textures (video)
  •  Support of encoded bitmap image reading from memory buffer
  •  Removal of the deprecated Local Context functionality from AIS
  •  Removed dependency from gl2ps (relying on deprecated OpenGL functionality)

Data Exchange

  •  New tools to import mesh data from glTF 2.0 and OBJ formats
  •  Support of some non-ASCII encodings in STEP import
  •  Support of XDE data (assembly structure, colors, names) in export to VRML

Draw Test Harness

  •  Improved 3D Viewer camera manipulations
  •  Fixed issues with starting Draw Harness from batch scripts
  •  Improved support of running Draw Harness in environment without CASROOT

Other

  •  Improved performance of built-in parallelization routines (OSD_Parallel)
  •  Tools for convenient and efficient traverse of BVH structures
  •  Optimization of TPrsStd_AISPresentation attribute
  •  Sample of 3D Viewer integration in glfw application

Detailed information about this release is available in Release Notes (PDF).

转载于:https://www.cnblogs.com/opencascade/p/occt_740.html

### OpenCASCADE 7.4.0 的安装方法 #### Windows 平台下的安装过程 在 Windows 上安装 OpenCASCADE 7.4.0 可以通过预编译二进制文件来实现。以下是具体的操作流程: 1. 下载并解压 OpenCASCADE 7.4.0 的二进制包到目标目录,例如 `C:\Program Files\OpenCASCADE-7.4.0`[^1]。 2. 进入解压后的目录结构中的子目录 `OpenCASCADE-7.4.0-vc14-64\opencascade-7.4.0`,该路径包含了头文件、库文件以及工具脚本等资源。 对于自定义构建的需求,可以采用 CMake 工具链重新生成项目工程文件,并利用 Visual Studio 或其他 IDE 对其进行编译。主要步骤如下: - 配置环境变量 OCCT_ROOT 指向源码根目录; - 使用 CMake GUI 加载源代码位置和生成器设置(如 VS 版本),指定输出路径; - 执行 Generate 动作创建解决方案文件; - 在打开的 ALL_BUILD 解决方案中依次运行 Debug 和 Release 构建模式直至成功完成; - 最终执行 INSTALL 目标项将产物部署至统一的目标文件夹内[^4]。 #### Linux/Ubuntu 平台上的安装指南 针对基于 Debian 的发行版比如 Ubuntu ,推荐采取以下方式获取软件支持: 1. 访问官方站点下载 tar.gz 形式的压缩包形式发布的开源版本[^3]。 2. 将档案提取出来之后参照附带文档里的指示逐步操作即可。 另外一种更为简便的办法就是借助 apt-get 包管理命令自动处理依赖关系的同时快速部署所需组件: ```bash sudo add-apt-repository ppa:freecad-maintainers/freecad-stable sudo apt update && sudo apt install opencascade-freeview python-opencasade-core libtbb-dev cmake gcc g++ make git perl tcl tk swig qtbase5-dev libglu1-mesa-dev freeimage libfreetype6-dev mesa-common-dev oce-draw oce-modeling oce-shape oce-text oce-visualization oce-foundation oce-data-exchange ``` 以上两种途径均能达成目的只是复杂度有所区别而已取决于个人喜好而定。 #### 跨平台注意事项 无论在哪种操作系统环境下都需要注意一点那就是确认所使用的开发工具集与实际需求相匹配特别是当涉及到第三方插件集成的时候更应该仔细核对其兼容性状况以免造成不必要的麻烦。 ```python import os os.environ['CASROOT'] = '/path/to/opencascade/installation' print(f"CASROOT environment variable set to {os.getenv('CASROOT')}") ``` 上述 Python 示例展示了如何正确设定 CASROOT 环境变量以便于后续调用过程中能够顺利定位必要的动态链接库等内容。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值