QString::toStdString() crashes-卡核

QString::toStdString() crashes

今天在Qt中开发程序时,遇到一个QString::toStdString()的内存问题,用法如下: void test(const QString& theFileName) { std::string aFileName = theFileName.toStdString(); std::ofstr...
OpenCascade Draw Test Harness-卡核

OpenCascade Draw Test Harness

OpenCascade Draw Test Harness eryar@163.com Abstract. Draw is a command interpreter based on Tcl/Tk and a graphical system used to test and demonstrate OpenCascade modeling librari...
OpenCASCADE 投影生成PCurve-卡核

OpenCASCADE 投影生成PCurve

OpenCASCADE 投影生成PCurve eryar@163.com Abstract: Geometry Curves and Surfaces in BRep are parametric equations. So given a parametric space curve and a geometry surface can map t...
OpenCASCADE点向直线投影-卡核

OpenCASCADE点向直线投影

OpenCASCADE点向直线投影 eryar@163.com   在GeomLib_Tool类中提供了计算指定点在曲线、曲面上的参数,这个算法具有通用性,即对任意曲线、曲面来反求点的参数。   本文主要结合源码...
Undo/Redo for Qt Tree Model-卡核

Undo/Redo for Qt Tree Model

Undo/Redo for Qt Tree Model eryar@163.com Abstract. Qt contains a set of item view classes that use a model/view architecture to manage the relationship between data and the way it...
A Simple OpenCASCADE Qt Demo-occQt-卡核

A Simple OpenCASCADE Qt Demo-occQt

A Simple OpenCASCADE Qt Demo-occQt eryar@163.com Abstract. OpenCASCADE have provided the Qt samples in the samples directory, but they are a little complicated. So I decide write a...
Tcl Tk Introduction-卡核

Tcl Tk Introduction

Tcl Tk Introduction eryar@163.com 摘要Abstract:Tcl/Tck脚本可以很容易实现用户自定义的命令,方便的创建图形化的用户界面GUI,所以Tcl和Tk的应用领域几乎覆盖了图形和工程应用的全部范围,...
OpenCASCADE 麻花钻头造型实例分析-卡核

OpenCASCADE 麻花钻头造型实例分析

OpenCASCADE 麻花钻头造型实例分析 eryar@163.com Abstract. OpenCASCADE provides a simple twist drill bit modeling example in Tcl script. The blog will give a details of some key poin...
AVEVA Model Data Exchange Exports Structure Models-卡核

AVEVA Model Data Exchange Exports Structure Models

AVEVA Model Data Exchange Exports Structure Modelseryar@163.com   Use Model Data Exchange Addin to export structure models for PDMS: Figure 1.1 Structure models in AVEVA PDMS ...
OpenCASCADE Extended Data Exchange - XDE-卡核

OpenCASCADE Extended Data Exchange – XDE

OpenCASCADE Extended Data Exchange - XDE eryar@163.com Abstract. OpenCASCADE Data Exchange allows developing OCCT-Based applications that can interact with other CAD systems by wri...
OpenCascade MeshVS Usage-卡核

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 ...
OpenCascade Ray Tracing Rendering-卡核

OpenCascade Ray Tracing Rendering

OpenCascade Ray Tracing Rendering eryar@163.com 摘要Abstract:OpenCascade6.7.0中引入了光线跟踪算法的实现。使用光线跟踪算法可实现高质量的渲染效果,且可以使用GPU提升渲染效率。  ...