posts - 321, comments - 517, trackbacks - 0, articles - 0

01 2015 档案

     摘要: Abstract. The Visual Studio Natvis framework lets you customize the way Visual Studio displays native types in debugger variable windows such as the Watch, Locals and Data Tips windows. It supersedes the autoexp.dat file that has been used in earlier versions of Visual Studio and offers XML syntax, better diagnostics, versioning, and multiple file support. The container in OpenCASCADE is difficult for debugging, such as TColStd_Array1OfInteger in the TColStd package, .etc. Use the natvis framewo  阅读全文

posted @ 2015-01-31 19:16 eryar 阅读(1472) | 评论 (1)  编辑 |

     摘要: 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 is presented to the user. The separation of functionality introduced by this architecture gives developers greater flexibility to customize the presentation of items, and provides a standard model interface to allow a wide range of data sources to be used with existing item views. Model 3D aided design software such as AVEVA Plant/PDMS, Marine use the archite  阅读全文

posted @ 2015-01-28 20:57 eryar 阅读(2090) | 评论 (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:30 eryar 阅读(1518) | 评论 (1)  编辑 |

     摘要: 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, Iter  阅读全文

posted @ 2015-01-18 12:08 eryar 阅读(1046) | 评论 (0)  编辑 |

     摘要: Abstract. There are many drawing files during the ship design or other design process, so somebody want to merge them to one DWG file. The DwgMerger is a AutoCADE plugin developed by AutoCAD .NET, its purpose is to merge all the drawing files, include dwg and dxf format to one drawing paper.

Key Words. AutoCAD, DWG, DXF, Merger, 合并   阅读全文

posted @ 2015-01-15 19:32 eryar 阅读(1732) | 评论 (3)  编辑 |

     摘要: Abstract. Qt’s Undo Framework is an implementation of the Command Pattern, for implementing undo/redo functionality in applications. The Command pattern is based on the idea that all editing in an application is done by creating instances of command objects. Command objects apply changes to the document and are stored on a command stack. Furthermore, each command knows how to undo its changes to bring the document back to its previous state. As long as the application only uses command objects t  阅读全文

posted @ 2015-01-13 18:59 eryar 阅读(2706) | 评论 (0)  编辑 |

     摘要: Abstract. To provide the precision required in industrial design, drawings need to offer the possibility of removing lines, which are hidden in a given projection. OpenCASCADE provides two algorithms for this Hidden Line Removal component. The paper mainly translate the document of OpenCASCADE Modeling Algorithms, and give some applications in the plant design CAD software.

Key Words. OpenCASCADE, HLR, Hidden Line Removal  阅读全文

posted @ 2015-01-05 18:39 eryar 阅读(1578) | 评论 (0)  编辑 |