随笔分类 -  8. Draw Test Harness

1
The test harness for Open CASCADE Technology (OCCT).
摘要:OpenCASCADE DRAW Command SourceOCCT Draw Test Harness中通过命令查找C++源文件方法。 阅读全文
posted @ 2022-01-09 11:39 opencascade 阅读(891) 评论(0) 推荐(0) 编辑
摘要:Open CASCADE Technology testing dataset is published! 阅读全文
posted @ 2021-03-30 10:31 opencascade 阅读(180) 评论(0) 推荐(0) 编辑
摘要:Abstract. OpenCASCADE provides a simple twist drill bit modeling example in Tcl script. The blog will give a details of some key points, when you understand the key points, you can modeling the shape like that. Key Words. OpenCASCADE, Twist Drill Bit Modeling, Tcl 阅读全文
posted @ 2017-09-18 23:33 opencascade 阅读(2417) 评论(0) 推荐(1) 编辑
摘要:Abstract. Sometimes you want to split a shape by plane or even split a shape by a B Spline surface, OpenCASCADE provide a feature class BRepFeat_SplitShape to implement the function. The paper give a sample code to split a cylinder by plane. Key Words. Split Shape, BRep Feature Algorithms. 阅读全文
posted @ 2017-07-01 12:26 opencascade 阅读(2244) 评论(3) 推荐(0) 编辑
摘要:Tcl内置变量备忘录。 阅读全文
posted @ 2016-03-12 10:55 opencascade 阅读(776) 评论(0) 推荐(0) 编辑
摘要:Abstract. Pipedata3d show piping component data in tables and 3D modeling. It can help the piping designers to looking up piping information quickly and so improve the efficiency of piping design. Key Words. Pipedata3d, ASME, GB, HG, CB, Piping Design 阅读全文
posted @ 2015-02-04 20:31 opencascade 阅读(978) 评论(0) 推荐(0) 编辑
摘要:Abstract. OpenCASCADE provides a general transformation class: gp_GTrsf. It can be a transformation from gp, an affinity, or you can define your own transformation giving the matrix of transformation. The general transformation contains the vectorial part of the transformation and the translation part. A GTrsf transformation is only applicable to coordinates. Be careful if you apply such a transformation to all points of a geometric object, as this can change the nature of the object and thus re 阅读全文
posted @ 2015-01-22 20:35 opencascade 阅读(2278) 评论(2) 推荐(0) 编辑
摘要:Abstract. Tcl/Tk provide a programming system for developing and using graphical user interface(GUI) applications. Tcl stands for “tool command language” and is pronounced “tickle”, is a simple scripting language for controlling the extending applications. The blog use Tcl/Tk to iterate all the files for a given directory, this is useful to some automation work, such as change all the file names for a given directory; add copyright info for the source code files. Key Words. Tcl/Tk, Iterate Fi 阅读全文
posted @ 2015-01-18 12:13 opencascade 阅读(720) 评论(0) 推荐(0) 编辑
摘要:Abstract. DWG is a file format created in the 70’s for the emerging CAD applications. Currently it is the native file format of AutoCAD, a proprietary CAD program developed by Autodesk. Libredwg is a free C library to read and write DWG files. This program is part of GNU project, released under the aegis of GNU. The paper focus on the usage of Libredwg, and use the Libredwg to read a DWG file and output the entities of the DWG to Tcl script for OpenCASCADE Draw Test Harness visualization. Key 阅读全文
posted @ 2014-10-15 23:07 opencascade 阅读(2893) 评论(2) 推荐(0) 编辑
摘要:Abstract. Use the Draw Test Harness to test the performance of OpenCASCADE by Tcl scripts. From the test result, you will check whether the OpenCASCADE meet your need. Key Words. OpenCASCADE, Performance Test, Draw Test Harness, Tcl/Tk, 性能测试 阅读全文
posted @ 2014-09-25 21:46 opencascade 阅读(1228) 评论(0) 推荐(0) 编辑
摘要:Abstract. The color scale is a specialized label object that displays a color map and an accompanying numerical scale for color mapped or contour data plots. As the geometry modeling kernel of SALOME, OpenCASCADE provides the color scale function. The paper focus on the usage of color scale in OpenCASCADE. Key Words. OpenCASCADE, Color Scale, 应力云图, 颜色映射表 阅读全文
posted @ 2014-09-20 20:16 opencascade 阅读(2491) 评论(0) 推荐(0) 编辑
摘要:Abstract. Although polynomials offer many advantages, there exist a number of important curve and surface types which cannot be represented precisely using polynomials, e.g., circles, ellipses, hyperbolas, cylinders, cones, spheres, etc. So we introduce the concepts of rational curves and homogeneous coordinates to solve the problem. To understand rational curves in a homogenous coordinate system is more straightforward. If you define irrational Bezier curves in 4D space and then project them ba 阅读全文
posted @ 2014-09-19 19:35 opencascade 阅读(1374) 评论(0) 推荐(0) 编辑
摘要:Abstract. OpenCascade uses advanced text rendering powered by FTGL library. The FreeType provides vector text rendering, as a result the text can be rotated and zoomed without quality loss. FreeType also support unicode charset. The paper focus on the Chinese Text rendering. Key Words. OpenCascade, FreeType, Chinese Text, 中文汉字, Unicode 阅读全文
posted @ 2014-08-17 15:00 opencascade 阅读(2242) 评论(0) 推荐(0) 编辑
摘要:Abstract. Draw is a command interpreter based on Tcl/Tk and a graphical system used to test and demonstrate OpenCascade modeling libraries. It provides a flexible and easy to use means of testing and demonstrating the OCCT modeling libraries. By a given command of Tcl, you can find the implentation code for that command by OpenCascade, the code could be as a demo to use of OCC modeling libraries. So this is the most effectively way of use OpenCascade. Key words. OpenCascade, Tcl/Tk, Testing, 阅读全文
posted @ 2014-07-30 20:04 opencascade 阅读(1903) 评论(1) 推荐(0) 编辑
摘要:摘要Abstract:本文通过OpenCascade的Tcl/Tk和ACIS的Scheme的对比来说明脚本语言在程序中的重要作用。及通过在Tcl中实现自定义的命令来理解Draw Test Harness的实现,在此基础上更有利于对OpenCascade的理解,其中Draw Test Harness一些命令的实现可以做为程序实现的参考。 关键字Key Words:OpenCascade, Tcl/Tk, ACIS, Scheme, Test 阅读全文
posted @ 2014-01-19 13:07 opencascade 阅读(1427) 评论(0) 推荐(1) 编辑
摘要:摘要Abstract:OpenCascade6.7.0中引入了光线跟踪算法的实现。使用光线跟踪算法可实现高质量的渲染效果,且可以使用GPU提升渲染效率。 关键字Key Words:OpenCascade, Visualization, Ray Tracing 阅读全文
posted @ 2014-01-11 14:39 opencascade 阅读(1424) 评论(0) 推荐(0) 编辑
摘要:摘要Abstract:Tcl/Tk脚本可以很容易实现用户自定义的命令,方便的创建图形化的用户界面GUI,所以Tcl和Tk的应用领域几乎覆盖了图形和工程应用的全部范围,包括计算机辅助设计、软件开发、测试、仪器控制、科学可视化及多媒体方面。本文主要详解如何在C程序中使用Tcl来创建自定义的命令,并理解OpenCascade的Draw Test Harness的实现。      关键字Key Words:OpenCascade, Tcl/Tk, Draw Test Harness, Software Customization 阅读全文
posted @ 2014-01-10 13:59 opencascade 阅读(2328) 评论(0) 推荐(0) 编辑
摘要:摘要Abstract:Tcl/Tck脚本可以很容易实现用户自定义的命令,方便的创建图形化的用户界面GUI,所以Tcl和Tk的应用领域几乎覆盖了图形和工程应用的全部范围,包括计算机辅助设计、软件开发、测试、仪器控制、科学可视化及多媒体方面。即可以使用Tcl/Tk实现AVEVA中的PML类似的功能,允许用户自己编写简单程序实现程序的二次开发。 关键字Key Words:AVEVA, PDMS, PML, Tcl/Tk, Script Modeling 阅读全文
posted @ 2014-01-05 22:44 opencascade 阅读(1161) 评论(0) 推荐(0) 编辑
摘要:摘要Abstract:几何曲面是参数表示的曲面 ,在边界表示中其数据存在于BRep_TFace中,BRep_TFace中不仅包括了几何曲线,还包含用于显示的离散几何信息,如三角剖分数据。本文主要对OpenCascade的BRep表示中几何曲面进行说明,将在后面分析Topology部分的读写程序时来说明包含几何数据的三种拓朴结构中分别包括哪些几何信息。   关键字Key Words:OpenCascade BRep, Geometry Surface, Topology 阅读全文
posted @ 2013-12-02 23:14 opencascade 阅读(3274) 评论(0) 推荐(1) 编辑
摘要:摘要Abstract:几何曲线是参数表示的曲线 ,在边界表示中其数据存在于BRep_TEdge中,BRep_TEdge中不仅包括了几何曲线,还包含其他类型的几何信息。本文主要对OpenCascade的BRep表示中几何曲线进行说明,将在后面分析Topology部分的读写程序时来说明这三种拓朴结构中分别包括哪些几何信息。 关键字Key Words:OpenCascade BRep, Geometry Curve, Topology, Refactoring 阅读全文
posted @ 2013-11-30 15:42 opencascade 阅读(2039) 评论(0) 推荐(0) 编辑

1