opencascade python
时间: 2023-11-05 14:05:30 浏览: 194
opencascade python是指利用Python编程语言封装opencascade的3D CAD/CAE/PLM开源开发框架。它提供了复杂曲面的操作、信息转换(STEP、IGES、STL格式)、用户界面可视化(基于wxpython库或者qt库)、jupyter nootbook生成等功能。PythonOCC采用LGPL协议,既保证了软件的开源传播,又给予了更自由的商业使用权限。
安装PythonOCC可以通过以下步骤进行:
1. 下载并安装anaconda软件,它是一个集合了Python大部分第三方库的软件。下载地址为:https://anaconda.en.softonic.com/
2. 运行anaconda prompt,然后输入以下三句命令:
- conda create --name=3Dsource python=3.7
- conda activate 3Dsource
- conda install -c dlr-sc pythonocc-core=7.4.1
3. 下载PythonOCC的demo,下载地址为:https://github.com/tpaviot/pythonocc-demos
4. 运行demo里的例子,可以使用anaconda自带的spyder或者下载pycharm社区版进行运行。pycharm社区版下载地址为:https://www.jetbrains.com/pycharm/download/#section=windows,选择Community版本。
5. 配置pycharm的occ开发环境,可以参考以下视频教程:链接:https://pan.baidu.com/s/1Kzv03Jw-tuF8XcHUfG6RfQ 提取码:4dy1
6. 如果需要查询PythonOCC的帮助文档,可以访问网址:www.aliyuncad.com
7. 如果有任何问题,可以咨询QQ号:304817449。
阅读全文
相关推荐


















