尝试开源3D三维免费自由软件OpenCASCADE,基于MIT协议1-安装和配置

1、 从官网下载,需要注册用户信息。下载window安装包即可。最新版为OpenCASCADE-7.6.0-vc14。
2、默认安装到C盘 C:OpenCASCADE-7.6.0-vc14-64\ 下。
3、安装完毕,进入后的路径结构大致如下:参见老版本结构图

以上图片是官方提供的。
4、 很关键,看官方的帮助文件。路径为doc\下,有chm,pdf等多种格式。
5、设置环境:在路径C:\OpenCASCADE-7.6.0-vc14-64\opencascade-7.6.0\env.bat文件,直接管理员运行;原文是:
You can define the environment variables with env.bat script located in the $CASROOT folder. This script accepts two arguments to be used: the version of Visual Studio (vc10 – vc142) and the architecture (win32 or win64).
6、 顺便,执行一下同路径下的 custom.bat 文件,这是支持第三方工具使用的。
7、这里,就可以执行msvc.bat 来打开项目进行自己编译了。

编译没有问题的话,基本就成功一半。

以上设置会生成很多系统变量,基本定义如下,感兴趣可以仔细看看:
CASROOT is used to define the root directory of Open CASCADE Technology;
•PATH is required to define the path to OCCT binaries and 3rdparty folder;
•LD_LIBRARY_PATH is required to define the path to OCCT libraries (on UNIX platforms only; DYLD_LIBRARY_PATH variable in case of macOS);
•MMGT_OPT (optional) if set to 1, the memory manager performs optimizations as described below; if set to 2, Intel ® TBB optimized memory manager is used; if 0 (default), every memory block is allocated in C memory heap directly (via malloc() and free() functions). In the latter case, all other options starting with MMGT, except MMGT_CLEAR, are ignored;
•MMGT_CLEAR (optional) if set to 1 (default), every allocated memory block is cleared by zeros; if set to 0, memory block is returned as it is;
•MMGT_CELLSIZE (optional) defines the maximal size of blocks allocated in large pools of memory. Default is 200;
•MMGT_NBPAGES (optional) defines the size of memory chunks allocated for small blocks in pages (operating-system dependent). Default is 10000;
•MMGT_THRESHOLD (optional) defines the maximal size of blocks that are recycled internally instead of being returned to the heap. Default is 40000;
•MMGT_MMAP (optional) when set to 1 (default), large memory blocks are allocated using memory mapping functions of the operating system; if set to 0, they will be allocated in the C heap by malloc();
•CSF_LANGUAGE (optional) defines default language of messages;
•CSF_DEBUG (optional, Windows only): if defined then a diagnostic message is displayed in case of an exception;
•CSF_DEBUG_BOP (optional): if defined then it should specify directory where diagnostic data on problems occurred in Boolean operations will be saved;
•CSF_MDTVTexturesDirectory defines the directory for available textures when using texture mapping;
•CSF_ShadersDirectory (optional) defines the directory for GLSL programs for Ray Tracing renderer (embedded resources are used when variable is undefined);
•CSF_SHMessage (optional) defines the path to the messages file for ShapeHealing;
•CSF_XSMessage (optional) defines the path to the messages file for STEP and IGES translators;
•CSF_StandardDefaults, CSF_StandardLiteDefaults*, **CSF_XCAFDefaults, and CSF_PluginDefaults define paths to directory where configuration files for OCAF persistence are located (required for open/save operations with OCAF documents);
•CSF_IGESDefaults and CSF_STEPDefaults (optional) define paths to directory where resource files of IGES and STEP translators are located;
•CSF_XmlOcafResource is required in order to set the path to XSD resources, which defines XML grammar.
•CSF_MIGRATION_TYPES is required in order to read documents that contain old data types, such as TDataStd_Shape;

已经开始编译,希望没有错误。win10+vs2019 community+OpenCASCADE-7.6.0

2021-12-25: 补充:

  1. 设置正确的编译器VC142后编译成功。参见下图:

    注意:一定要设置好相关编译环境。可以使用cascade自带编译好的,但是不一定兼容你自己的环境。
  2. 编译成功后,再运行示例程序,不再有任何错误,我使用原厂的dll总是保存自己生成的dll文件找不到。运行参见下图:

效果是相当好。重要提示,一定要看官方帮助文档。
3. 后续看如何使用c#进行后续自己玩了。

ps:我是纯粹是个人喜欢,学习下新知识。希望能做出个自定义的CAD/CAM/CAE软件。目标是不是太远大了。

尝试开源3D三维免费软件OpenCASCADE OpenCASCADE-7.6.0相关推荐

  1. [开源]3D打印光点唐砖64像素显示屏表白墙蜂鸣器音乐和点阵动画

    [开源]3D打印光点唐砖64像素显示屏表白墙蜂鸣器音乐和点阵动画 青年创造工坊出品 项目简介: 项目准备: 设计电路: 步骤: led动画代码: 青年创造工坊出品 我们是一群因热爱集结的maker,主 ...

  2. i3s/slpk:一种开源的三维地理数据规范

    i3s/slpk:一种开源的三维地理数据规范 i3s/s3m/3D Tile

  3. 免费开源3D模型设计软件汇总

    免费开源3D模型设计软件汇总 3D 打印需要先通过计算机辅助设计(CAD)进行建模,再将建好的3D模型"分割"成逐层的截面,从而指导3D打印机进行逐层打印.因此用于3D打印的3D模 ...

  4. i3s 一种开源的三维地理数据规范 和b3dm 有什么区别呢

    1. i3s及其实现 i3s是一种用树结构来组织大体积量三维数据的数据格式标准,比如在位图界的jpg格式一样,只不过i3s是"标准",具体实现的文件格式另有一说. i3s采用jso ...

  5. linux blender骨骼绑定,在Linux系统中安装开源3D创建套件Blender的方法

    Blender是免费的开源3D创建套件,它可在Linux系统中安装,可使用snap或flatpak命令安装Blender. 简介 Blender也称为开源3D建模软件,支持整个3D管道,建模,装配,动 ...

  6. 开源3d模型格式转换_将您的开源业务转换为基于收入的模型时应考虑的因素

    开源3d模型格式转换 是否可以通过一组简单的正式语言转换规则将SQL作为一种语言集成并标准化到Java中? 是的,它可以. 当总部位于瑞士苏黎世的开源公司启动名为jOOQ的新数据库抽象软件项目时, D ...

  7. [原创]四大开源3d游戏引擎探究(前言上)

    [声明] 本人水平有限,只对于长久以来研究的几个经典3d游戏引擎的设计思想.程序架构和应用行深入剖析的结果与游戏开发同行分享,文档有不妥之处请指出,期待我们的共同进步. 引擎名称: 1.       ...

  8. (开源)3D即时战略游戏:Glest 3.12

    来源:http://www.csinx.org/IBlog/article.asp?id=10 示例文件:http://www.csinx.org/IGame/Glest3.12.exe 源代码:ht ...

  9. 微软开源3D人体姿态估计的交叉视图融合算法,提高SOTA精度

    今天分享一下微软亚洲研究院新的开源3D姿态估计的一篇论文:用于3D人体姿势估计的Cross View Fusion,它大大减少了3D姿态估计的误差. 在H36M数据集上,MPJPE(关节点误差平均值) ...

最新文章

  1. vs2019装了WDK后,编译其他vc工程,提示无法打开文件msvcprtd.lib
  2. Unity3D 多平台 预编译 宏定义
  3. html5中标签分为,HTML标签的三种类型
  4. 第一百五十期:Java程序员必备:异常的十个关键知识点
  5. Leetcode 814.二叉树剪枝
  6. 首次打开文件简单分析
  7. 给input设置css样式,input能改变css样式吗
  8. ssh 连接访问被拒绝
  9. python基础词云制作——中国地图
  10. 恒星结构和演化-学习记录3-第三章-物态方程2
  11. 如何查看网站是否CDN加速?测试网站全国访问速度的方法!
  12. [PLC]ST语言七:MOV_SMOV_CML_BMOV_FMOV_XCH_BCD_BIN
  13. 终于明白了AOP中的方面是什么意思
  14. 三角函数π/2转化_三角函数求值问题
  15. 高数 | 【微分方程】已知常系数微分方程特解,反求原方程
  16. 中国海洋捕捞市场投资前景分析及“十四五”规划建议报告2022年版
  17. IMU输出的角度、角速度、加速度信息的坐标系
  18. Java java.sql.SQLException: Field ‘xxx‘ doesn‘t have a default value
  19. PHP开发环境配置指南
  20. BIOS实战之读写逻辑设备(SIO)

热门文章

  1. 《高效能团队模式》读书笔记1
  2. Android开发实例大全
  3. 2021-05-22 《好好说话2》 节选感悟
  4. C++标准库和标准模板库
  5. android audiorecord socket,蓝牙ble数据转语音实现Android AudioRecord方法推荐
  6. 金蝶专业版保存单据时提示不能保存已审核的单据解决方法
  7. 多层地层中的井筒及地层温度解析
  8. C#, ASP.NET笔试题(3)
  9. python123程序设计题答案第三周_智慧职教2020Python程序设计(深圳信息职业技术学院)题目及答案...
  10. MEION:QAM仿真j时读不到数据的原因分析