当前位置:网站首页>OCCT学习002-----环境搭建
OCCT学习002-----环境搭建
2022-07-29 05:08:00 【longlongway2012】
OCCT安装与测试
一、前言
occ作为开源软件,可以通过官网注册下载,也可以从网上搜索别人的分享连接来获得。官网occ7.5下载地址。最新版增加了很多新的特性,同时需要vs2017支持。本人受机器空间限制,使用vs2010作为学习环境,因此使用opencascade-7.2.0-vc10-64.exe版本作为基础学习。
二、occ安装过程
运行安装程序,可以选择全部安装或自定义安装,自定安装可以只选择需要的组件进行安装。安装完后,源码根目录如下:
以上目录包含第三方库依赖和occ目录,进入occ目录:
以上目录介绍如下:
- adm目录:包含编译OCCT的相关工程;
- adm/cmake目录:包含使用CMake构建OCCT的相关处理脚本;
- adm/msvc目录:包含window平台 Visual C++ 2010, 2012, 2013, 2015, 2017 and 2019等版本的32/64平台solutinon文件;
- data目录: 包含用于OCCT功能测试的CAD文件
- doc目录:包含OCCT的html和pdf格式帮助文档;
- dox目录:包含了基于MarkDown文件格式的文本文档;
- inc目录:OCCT头文件依赖;
- samples目录:OCCT示例项目;
- src目录:OCCT源码目录;
- tests目录:包含测试脚本文件
- tools目录:包含Inspector工具的源码.
- win64/vc10目录:包含window平台预编译的可执行程序和lib库;
- gendoc.bat: 将occt的Markdown格式文件编译为html格式
- inspector.bat occinspector工具运行环境
- msvc.bat: visual studio编译工程和运行环境
- draw.bat: draw工具运行环境
三、测试
安装后首次可以使用draw.bat 执行测试OCCT:
- 运行draw.bat
- 输入命令:pload DEFAULT
- 输入命令:axo,显示三维辅助视图,出现三维坐标架
- 输入命令创建立方体:box b -10 -10 -10 10 10 10 ,显示一个小立方体网格
- 输入命令 fit,调整最佳观察位置
四、其他参考
网上有很多人写的也人详细,附在此处仅用参考:
边栏推荐
- C 语言手写 QQ-AI 版
- VirtualBox has expanded the capacity of virtual hard disk (without modifying the original data)
- 缓存穿透、缓存击穿、缓存雪崩以及解决方法
- QT学习:使用JSON/XML等非ts文件实现多语言国际化
- Google GTEST event mechanism
- 最新坦克大战2022-全程开发笔记-1
- C how to realize simple factory mode
- ARFoundation从零开始8-Geospatial API(地理空间)开发
- Operator operation list of spark
- ODOO开发教程之透视表
猜你喜欢
Webrtc audio anti weak network technology (Part 2)
Pytorch learning notes
TCP three handshakes and four waves
Qml控件:ComboBox
How does excel filter out the content you want? Excel table filtering content tutorial
使用Jstack、Jconsole和jvisualvm进行死锁分析
Learn the first program of database
Young freshmen yearn for more open source | here comes the escape guide from open source to employment!
ODOO开发教程之透视表
C 语言手写 QQ-AI 版
随机推荐
向往的开源之多YOUNG新生 | 从开源到就业的避坑指南来啦!
ARFoundation从零开始9-AR锚点(AR Anchor)
Arfoundation starts from scratch 3- create an arfoundation project
ARFoundation入门教程10-平面检测和放置
NumPy基础
Architecture analysis of three-tier project and parameter name injection of construction method
缓存穿透、缓存击穿、缓存雪崩以及解决方法
2021-10-23
Understand activity workflow
AI应用第一课:C语言支付宝刷脸登录
Cache penetration, cache breakdown, cache avalanche and Solutions
QML定制TabBar
How to add a map to the legendary server
传奇如何一台服务器配置多个版本微端更新
Jackson解析JSON详细教程
Create a mindscore environment in modelars, install mindvision, and conduct in-depth learning and training (Huawei)
osgSimplegl3例子分析
后置通知的流程分析与功能实现有哪些内容你还记得吗?
VirtualBox has expanded the capacity of virtual hard disk (without modifying the original data)
Adb常用命令列表