自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (6)
  • 收藏
  • 关注

原创 基于OCCT7.4的实验性CAD程序

一个基于OCCT(https://www.opencascade.com/)的实验性CAD程序-OccTry。OccTry原资源下载自https://download.csdn.net/download/astrosky/1736346OccTry原文见https://blog.csdn.net/astrosky/article/details/4660179感谢原作者的贡献,让我们有了...

2020-01-29 11:02:44 742 2

原创 在Vs2013下编译FreeCAD0.17源码

如果只是使用FreeCAD可直接下载freecad安装版本FreeCAD-0.17.13522.3bb5ff4-WIN-x64-installer.exe,安装后可以使用。下载地址:https://www.freecadweb.org/wiki/Download;FreeCAD帮助文档FreeCAD_0_17.Quick.Reference.Guide.7z下载地址:https://github....

2018-07-23 14:04:31 4469 10

转载 转发:如何用SendMessage模拟某一按钮的点击事件

http://jacky-dai.iteye.com/blog/868537

2016-12-02 09:22:44 8396

转载 透视校正插值

http://blog.csdn.net/zhangjian33446/article/details/11854819

2013-11-09 09:29:27 1045

原创 gdebugger和codexl

http://www.csdn.net/article/2012-10-17/2810888gdebugger是一个好东西,使用它消除了不少opengl调用错误,但一直奇怪于为什么自2012年4月后就一直没有更新.直到看到上面关于codexl的文整,看来codexl要替代gdebugger了.使用codexl成功消除了一个原来使用gdebugger调试就死机的问题.看来codexl与gde...

2013-08-27 16:07:24 2094

原创 使用 wglChoosePixelFormatARB和 wglCreateContextAttribsARB初始化opengl环境

使用wglChoosePixelFormatARB代替ChoosePixelFormat、wglCreateContextAttribsARB代替wglCreateContext初始化opengl环境.前提是使用glew库,代码如下: #include "StdAfx.h" #include "wglew.h" HGLRC CGLEnvironment::Init(HDC hDC) ...

2013-03-01 11:34:11 5576 1

原创 opengl的全局坐标系

一直猜想opengl的全局坐标系是视口左下角为(0,0)点,单位为像素单位,通过实验和查阅资料才最终理解:1.如果一个点的坐标不经过模视矩阵和透视矩阵的转换,则应该是全局坐标系下的坐标。2.全局坐标系就是眼睛坐标系,以视口中心点为(0,0)点,水平向右+x轴,竖直向上为+y轴,垂直屏幕向外为+z轴,窗口范围内的单位永远是(-1,-1)至(1,1)。...

2012-09-06 09:00:14 818

转载 VBO,PBO,FBO

http://blog.sina.com.cn/s/blog_4062094e0100alvt.html

2012-07-12 19:43:25 522

OccTry-vc14-64.zip

一个基于OCCT7.4实现的学习用途的简单实验性CAD程序。原资源下载自https://download.csdn.net/download/astrosky/1736346。本资源仅是在原资源基础上迁移至了occt7.4

2020-01-29

FreeCAD开发指南(FreeCAD_Mod_Dev_Guide__20170101-1)

Module developer’s guide to FreeCAD source code by Qingfeng Xia http://www.iesensor.com • 2015-09-18 version 0.1 for FreeCAD version 0.16-dev • 2016-09-18 version 0.2 for FreeCAD version 0.17-dev License of this book This ebook is licensed the same as FreeCAD document license CC-BY 3.0 http://creativecommons.org/licenses/by/3.0/Contents 1 FreeCAD overview and architecture 7 1.1 Introduction to FreeCAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.2 Key features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.3 Software architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.3.1 Key software libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.3.2 Mixed python and c++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.3.3 GPL code will not be included into installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.4 How 3D model are renderred . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.4.1 Selection of 3D visualization libarary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.4.2 Discussion of 3D rendering library selection on FreeCAD Forum . . . . . . . . . . . . . . . . . . . . . 8 1.5 Roadmap of FreeCAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.5.1 Keep updated with main components: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.5.2 C++11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.5.3 Pyside 2 project for Qt 5.x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2 Organisation of FreeCAD source code 11 2.1 Build system for FreeCAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.1.1 Analysis of src/cMake/SMesh.cMake . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2 List of files and folders in FreeCAD source folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.3 List of modules in FreeCAD Mod folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.4 Learning path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.5 Learning OpenInventor/Coin3D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.5.1 OpenInventor in FreeCAD’s ViewProvider . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.5.2 Important classes in OpenInventor/Coin3D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.5.3 Window System integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.5.4 Pivy: Coin3D ’s Python wrapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3 Base, App and Main module 19 3.1 List of header files in Base folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.1.1 Frequently included headers files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.1.2 Correct way of using Sequencer in try-catch block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.1.3 String enconding utf8 and conversion into wchar_t QString . . . . . . . . . . . . . . . . . . . . . . . . 22 3.2 Type, BaseClass, PyObjectBase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.2.1 Type system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.2.2 src/Base/BaseClass.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.2.3 src/Base/PyObjectBase.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.2.4 src/Base/Persistence.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.2.5 GeoFeature: Base class of all geometric document objects . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.3 Unit scheme for physial quantity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.3.1 src/Base/Unit.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.3.2 src/Base/Quantity.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.4 List of header files in App folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.5 Property framewrok . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.5.1 Naming of property and PropertyEditor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.5.2 src/App/PropertyStandard.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.5.3 PropertyEnumeration, see src/App/Enumeration.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.5.4 Geometry related property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.5.5 File related property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 1

2018-09-14

FreeCAD0.17源码编译配套第三方库2

与FreeCAD源码编译配套的第三方库,分两个压缩包。解压使用最新版7z。使用方法见https://mp.csdn.net/postedit/81166598

2018-07-23

FreeCAD0.17源码编译配套第三方库1

与FreeCAD源码编译配套的第三方库,分两个压缩包。解压使用最新版7z。使用方法见https://mp.csdn.net/postedit/81166598

2018-07-23

FreeCAD0.17源码

FreeCAD0.17源码,与FreeCADLibs_11.5.3_x64_VC12.7z第三方库配合使用,编译方法见https://mp.csdn.net/postedit/81166598

2018-07-23

使用 wglChoosePixelFormatARB和 wglCreateContextAttribsARB初始化opengl环境

使用wglChoosePixelFormatARB代替ChoosePixelFormat、wglCreateContextAttribsARB代替wglCreateContext初始化opengl环境.使用MFC临时窗口初始化glew库

2013-03-01

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除