排序
QString::toStdString() crashes
今天在Qt中开发程序时,遇到一个QString::toStdString()的内存问题,用法如下: void test(const QString& theFileName) { std::string aFileName = theFileName.toStdString(); std::ofstr...
OpenCASCADE Conic to BSpline Curves-Hyperbola
OpenCASCADE Conic to BSpline Curves-Hyperbola eryar@163.com Abstract. Rational Bezier Curve can represent conic curves such as circle, ellipse, hyperbola, .etc. But how to convert ...
OpenCASCADE BRep vs. OpenNURBS BRep
OpenCASCADE BRep vs. OpenNURBS BRep eryar@163.com Abstract. BRep short for Boundary Representation. First give the definition of the BRep, then compare the BRep mode between OpenCA...
OpenCASCADE 布尔运算简介
OpenCASCADE 布尔运算简介 eryar@163.com 布尔运算(Boolean Operations)是根据两组模型的组合创建出新的模型的造型方法。两组模型Objects/Tools之间有三种布尔算子: 布尔并:FUSE,将两组模...
Use PSO to find minimum in OpenCASCADE
Use PSO to find minimum in OpenCASCADE eryar@163.com Abstract. Starting from OCCT6.8.0 will include one more algorithm for solving global optimization problems. Its development has...
Installing Node.js and Express on Ubuntu
Installing Node.js and Express on Ubuntu 1. 在nodejs官网上下载Linux Binaries(已经包含了npm):2. 安装Node.js下载后解压,并在解压的文件夹中启动Terminal后,输入命令:  ...
OpenCascade MeshVS Usage
OpenCascade MeshVS Usage eryar@163.com Abstract. MeshVS means Mesh Visualization Service. It can be used to representation mesh in different style, such as colored stress patterns ...
Pipedata3d – Welding Neck Flange
Pipedata3d - Welding Neck Flange eryar@163.com Abstract. Pipedata3d show piping component data in tables and 3D modeling. It can help the piping designers to looking up piping info...
清华笔记:计算共形几何讲义 (7)矢量场设计
漫长的课程至此,我们终于可以应用所学的理论工具来分析解决一些实际问题了。我们学习了曲面的代数拓扑和 微分拓扑,de Rham上同调的霍奇理论,作为应用实例,我们讨论如何构造曲面上光滑矢量场...
pythonocc基础使用:导入模型——OCAF(iges/step)
总目录 >> PythonOCC入门进阶到实战(目前已更新入门篇、基础篇和进阶篇) 简单的模型文件的读取包括iges/step/stl,以及gltf和stl,obj等文件。最后呈现出的结果是将三维模型展示在界面中。 ...
pythonocc进阶学习:曲线拟合(插值 Interpolation/逼近 Approximation)
2d 使用插值法: from OCC.Core.Geom2dAPI import Geom2dAPI_Interpolate from OCC.Core.TColgp import TColgp_HArray1OfPnt2d from OCC.Core.gp import gp_Pnt2d from OCC.Display.Simpl...
九韶内核:几何基础
坐标构建使用默认构造函数将得到原点坐标,另外构建时需要输入浮点数。注:所有的几何都只支持输入浮点数,后续不再特殊说明。Coord3AMCAX::Coord3 crd3d(0.0, 0.0, 2.0);Coord2AMCAX::Coord2 c...











