eryar

PipeCAD - Plant Piping Design Software.
RvmTranslator - Translate AVEVA RVM to OBJ, glTF, etc.
posts - 603, comments - 590, trackbacks - 0, articles - 0

6.Others

Others, anything can be here.
     摘要: Licensecc: a C++ software license manager
Copy protect, limit the usage of your C++ software with a license.  阅读全文

posted @ 2023-06-18 13:01 eryar 阅读(978) | 评论 (0)  编辑 |

     摘要:

PmuReviewer - 工厂模型审查程序  阅读全文

posted @ 2021-04-06 23:21 eryar 阅读(580) | 评论 (0)  编辑 |

     摘要: Abstract. Python and C++ are in many ways as different as two languages could be: while C++ is usually compiled to machine-code, Python is interpreted. Python's dynamic type system is often cited as the foundation of its flexibility, while in C++ static typing is the cornerstone of its efficiency. C++ has an intricate and difficult compile-time meta-language, while in Python, practically everything happens at runtime.

Key Words. Qt, Python, Shiboken2, PySide2  阅读全文

posted @ 2020-02-24 14:56 eryar 阅读(4425) | 评论 (0)  编辑 |

     摘要: 在Ubutun上安装Nodejs和Express  阅读全文

posted @ 2019-07-08 12:10 eryar 阅读(742) | 评论 (0)  编辑 |

     摘要: Boost test vs2013 fatal error C1001  阅读全文

posted @ 2019-07-06 12:54 eryar 阅读(1054) | 评论 (0)  编辑 |

     摘要: QString::toStdString()的内存问题  阅读全文

posted @ 2019-01-17 21:50 eryar 阅读(1598) | 评论 (0)  编辑 |

     摘要: Consolas是一套等宽字体的字型,属无衬线字体,由Lucas de Groot设计。
这套字型使用了微软的ClearType 字型平滑技术,并随同Windows Vista、Office 2007及Microsoft Visual Studio中发行,或可在微软的网站下载。在Windows Vista的6套新字型中,Consolas近似于前版Windows中 的2款内建字型:Lucida Console与Courier New,主要为程序代码的显示字型而设计的,特别之处是它的“0”字加入了一斜撇,以方便与字母“O”分辨。  阅读全文

posted @ 2019-01-15 16:53 eryar 阅读(1282) | 评论 (0)  编辑 |

     摘要: 整个Qt在Windows中都可以通过批处理来编译,当编译好Qt后,会生成qmake.exe。 在没有安装Qt-VS-Addin的情况下,如何使用别人提供的Qt *.pro项目文件呢? 使用qmake可以直接生成Visual Studio项目文件  阅读全文

posted @ 2018-09-30 13:49 eryar 阅读(2835) | 评论 (0)  编辑 |

     摘要: 学习CesiumJS开源WebGL库,及其在BIM方面的应用。  阅读全文

posted @ 2018-08-24 21:12 eryar 阅读(3032) | 评论 (0)  编辑 |

     摘要: Abstract. QCAD是基于GPL协议的开源CAD软件,核心功能基于Qt使用C++开发,界面及其交互使用Javascript脚本进行开发。QCAD官方推荐开发其Plugin的方式为使用Javascript脚本的方式,因为QCAD的菜单及其对应的功能全部由Javascript实现。程序有时也需要和C++直接通信,如在QCAD中使用OpenCASCADE。本文主要介绍如何来开发QCAD的插件Plugin,从而能够对QCAD进行扩展,做一些定制化的功能开发。 Key Words. QCAD Plugin, Javascript, C++, CAD, 3D  阅读全文

posted @ 2018-06-21 23:28 eryar 阅读(2477) | 评论 (0)  编辑 |

     摘要: 开源二维CAD程序QCAD的编译说明。  阅读全文

posted @ 2018-06-03 20:53 eryar 阅读(2546) | 评论 (0)  编辑 |

     摘要: 最近在开发一个自动出图程序,从PDMS模型中取数据后,经过处理生成AutoCAD的图纸。其中涉及到一个问题就是如何尽量使程序与AutoCAD低耦合,尽量不使用第三方库的情况下,实现数据的传递。
最开始想到是用ODA(Open Design Alliance)的DWGdirect库来直接生成DWG文件,并且PDMS中就是使用这个库来生成DWG文件的。DWGdirect的用法与AutoCAD .Net的接口名称基本一致,用法也相同,但是这样就引入了第三方库。
还有一种方法就是使用AutoLisp脚本来生成图纸。这样的话,程序只需要生成一个AutoLisp脚本文件,文件中包含创建图形的命令。AutoLisp脚本与PDMS的PML类似,都需要一个解析执行的环境,即PML依赖PDMS平台才能运行,AutoLisp依赖AutoCAD平台。如果使用AutoLisp,程序不依赖DWG相关的第三方库,只需要生成一个文本文件。决定使用AutoLisp后,还有一个问题,就是如何在启动AutoCAD能自动加载生成的AutoLisp文件去生成图纸。  阅读全文

posted @ 2017-05-18 21:33 eryar 阅读(2060) | 评论 (0)  编辑 |

     摘要: Abstract. Qt’s ActiveX and COM support allows Qt for Windows developers to access and use ActiveX controls and COM objects provided by any ActiveX server in their Qt applications. Make their Qt application available as COM servers, with any number of Qt objects and widgets as COM objects and ActiveX controls. Make OpenSceneGraph to ActiveX controls then you can use it in other place, like IE.

Key Words. OpenSceneGraph, ActiveX, COM, ActiveQt  阅读全文

posted @ 2016-11-11 23:32 eryar 阅读(2142) | 评论 (0)  编辑 |

     摘要: Run debug in Windows7 to learn assembly language.  阅读全文

posted @ 2016-04-09 17:44 eryar 阅读(1567) | 评论 (0)  编辑 |

posted @ 2016-01-01 19:38 eryar 阅读(1526) | 评论 (7)  编辑 |

     摘要: 用C++来开发管道出图程序IsoAlgo时,当PCF文件名中包含中文时,读取文件会失败。
  阅读全文

posted @ 2015-04-14 19:47 eryar 阅读(3349) | 评论 (0)  编辑 |

     摘要: 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 阅读(3109) | 评论 (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 阅读(1877) | 评论 (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 阅读(3427) | 评论 (3)  编辑 |

     摘要: 有一天你将破蛹而出,成长得比人们期待的还要美丽。
但这个过程会很痛,会很辛苦,有时候还会觉得灰心。
面对着汹涌而来的现实,觉得自己渺小无力。
但这,也是生命的一部分。做好现在你能做的,然后,一切都会好的。
我们都将孤独地长大,不要害怕。

  阅读全文

posted @ 2014-10-27 19:48 eryar 阅读(1964) | 评论 (0)  编辑 |

     摘要: Debian是OpenCASCADE用于Linux操作系统测试的专用系统。这几天下载安装了Debian系统,体验了一下,感觉还不错:简洁,精致。

解决了这些问题后,Debian用起来感觉还好,还需要慢慢熟悉和适应。下一步准备在Debian上编译、调试C/C++程序。为编译OpenCASCADE的Linux版本打下基础。  阅读全文

posted @ 2014-09-29 22:54 eryar 阅读(1668) | 评论 (0)  编辑 |

     摘要: Intergraph Stamp.

Thanks to superman (WuJun).  阅读全文

posted @ 2014-07-26 17:36 eryar 阅读(691) | 评论 (0)  编辑 |

     摘要: std::ofstream failed because of its file name is not right.  阅读全文

posted @ 2014-07-12 15:55 eryar 阅读(3692) | 评论 (3)  编辑 |

     摘要: 杭州东站顶。  阅读全文

posted @ 2013-09-20 22:50 eryar 阅读(1574) | 评论 (2)  编辑 |

     摘要: 18. 只要路是对的,就不怕路远;

19. 一个能从别人的观念来看事情,能了解别人心灵活动的人,永远不必为自己的前途担心;

20. 当一个人先从自己内心开始奋斗,他就是个有价值的人;

21. 生命对某些人来说是美丽的,这些人的一生都为某个目标而奋斗;

22. 凡真心尝试助人者,没有不帮到自己的。
  阅读全文

posted @ 2013-08-19 22:30 eryar 阅读(2008) | 评论 (0)  编辑 |

     摘要: 企业应用三维CAD进行产品创新设计已经是一各必然趋势,三维设计符合人的思维习惯。在二维CAD普及的今天,三维CAD也就成为我国加快实现工业现代化的必然选择,其对制造业增强产品创新开发能力起到了巨大的推动作用,是制造业信息现代化建设不可或缺的工具。然而目前我国制造业中普及三维CAD还存在许多现实的问题,三维CAD软件的产业化开发水平远不如二维CAD软件。因此,发展具有自主知识产权的三维CAD软件,打破国外产品的垄断局面,成为一项非常迫切的任务。  阅读全文

posted @ 2013-05-05 22:15 eryar 阅读(5454) | 评论 (2)  编辑 |

     摘要: 假如显示器的分辨率可以趋于无限,
那么我将用glVertex画出充满柔情的弧线和飘逸洒脱的面片。  阅读全文

posted @ 2012-12-15 23:30 eryar 阅读(1969) | 评论 (3)  编辑 |

posted @ 2012-10-27 21:23 eryar 阅读(1815) | 评论 (0)  编辑 |

posted @ 2012-07-12 21:58 eryar 阅读(486) | 评论 (0)  编辑 |

posted @ 2012-06-30 20:22 eryar 阅读(760) | 评论 (0)  编辑 |

posted @ 2012-05-27 15:55 eryar 阅读(1724) | 评论 (2)  编辑 |

posted @ 2012-03-18 13:35 eryar 阅读(1156) | 评论 (2)  编辑 |

posted @ 2011-11-20 17:43 eryar 阅读(666) | 评论 (0)  编辑 |