xml version="1.0" encoding="utf-8" standalone="yes"12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/category/20555.htmlzh-cnWed, 28 Nov 2018 01:51:58 GMTWed, 28 Nov 2018 01:51:58 GMT6012bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2018/11/25/PipeCAD_PipeStd.htmleryareryarSun, 25 Nov 2018 14:27:00 GMThttp://www.fometaux.com/eryar/archive/2018/11/25/PipeCAD_PipeStd.htmlhttp://www.fometaux.com/eryar/comments/216080.htmlhttp://www.fometaux.com/eryar/archive/2018/11/25/PipeCAD_PipeStd.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/216080.htmlhttp://www.fometaux.com/eryar/services/trackbacks/216080.htmlPipeCAD之管道标准库PipeStd

eryar@163.com

 

Key Words. PipeCAD, PipeStd, 管道设计软件,管件库

 

1. Introduction

前不久,两位老友徐总和毛总在上海浦东金桥的一茶一坐小聚,回想到几年前我们仨在那里聚会的情景。他们分别在A公司和I公司,我当时在做SPD的开发。在一起聊的话题也是关于设计软件的,当时也有一些思想碰撞的火花,想着做出一个什么软件,成为CEO,迎娶白富美,走上人生顶峰。结果几年过去,当年吹过的牛B,没有实现。其中有一个就是做一个管道标准库程序,方便管件的定义。定义好之后,可以导入AVEVA PDMSIntergraph SmartPlant

看着国内工厂/船舶设计软件如PDSOFTUESOFTPDMAX还有船舶设计软件SPD都不温不火,而且国外的AVEVA PDMS/Marine, Intergraph SmartPlant已经占据了国内市场,有时我也在想开发一个原来梦想的管道设计软件的意义和价值。

AVEVA PDMS/Marine我觉得是简单易用的软件,一致的操作方式,基于CSG的造型算法,还提供了二次开发语言PMLC#来对程序进行灵活扩展。基于文件的层次数据库,并提供了数据库的增、删、改及数据回退功能,可以用于大中型项目设计。由于很容易得到和谐版,所以用户很多。

Intergraph SmartPlant是美国的一款软件,由于其价格昂贵,在国内的用户都是不差钱的单位。由于没有使用过,所以对其不便于评价。但是由于国内外有业主会指定这款软件,所以国际上用户也很多。

再看国内的工厂/船舶设计系统PDSOFTUESOFTPDMAXSPD等,都是基于AutoCAD开发的。早期基于AutoCAD,因为AutoCAD比较普及,所以会吸引一些会AutoCAD的用户。但是基于AutoCAD开发程序弊端之一是AutoCAD版本升级,程序要想适应AutoCAD,也必须跟着升级。弊端二是AutoCAD的提供的开发库ObjectARX, .NET等都不是开源的,如果是那些库出现BUG或是不支持的功能,要么去和Autodesk公司沟通,要么只有绕道了。有的使用ObjectARX12bet库开发,虽然程序性能好,还在使用MFCGUI,但是开发效率低。弊端之三是有些功能与AutoCAD的功能纠缠不清,用户体验不太友好。

为了实现几年前的梦想,我决定开发一个管道设计软件PipeCAD

 

2. PipeCAD

PipeCAD的一个定位就是适用于中小型项目的管道设计软件。因为大型项目的用户一般都是用PDMSSmartPlant

使用开源库OpenCASCADE来进行三维图形开发,使用开源库Qt来进行GUI开发,提高程序开发效率。因为使用开源技术,出现BUG可以从根据上解决。不依赖其他闭源的软件,不会有其他软件升级带来的影响。

业务核心功能都自己实现,程序自主可控,方便增加新功能。

 

PipeCAD的初步开发以下功能模块:

管件库等级库管理程序PipeStd

三维设计模块PipeCAD

管道轴测图出图模块IsoAlgo

 

3. PipeStd

PipeStd主要用来对管件标准数据、管道等级等数据进行管理。有了管件数据,就可以对管件进行三维显示。有了管道等级,就可以在三维设计模块来使用管件来对管道进行建模。PipeStd的使用方式与PDMSParagon模块类似,通过参数化的方式来定义管件。目前程序的主要功能已经实现,程序界面如下图所示:

其中还设想的功能有:

导入、导出PDMS中的管件及管道等级Piping Specification数据;

导入、导出SmartPlant中的管件及管道等级Piping Specification数据;

 

4. Conclusion

两位友人的提醒,决定开发一个三维管道设计软件PipeCAD。为中小型项目的管道设计提供了一个选择。核心功能都自己实现,程序自主可控。不依赖其他软件,如AutoCAD,提供良好的用户体验。

 



eryar 2018-11-25 22:27 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2018/09/15/IsoAlgo3d_v01.htmleryareryarSat, 15 Sep 2018 14:44:00 GMThttp://www.fometaux.com/eryar/archive/2018/09/15/IsoAlgo3d_v01.htmlhttp://www.fometaux.com/eryar/comments/215935.htmlhttp://www.fometaux.com/eryar/archive/2018/09/15/IsoAlgo3d_v01.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/215935.htmlhttp://www.fometaux.com/eryar/services/trackbacks/215935.html阅读全文

eryar 2018-09-15 22:44 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2018/09/11/IsoAlgo3d_v1.htmleryareryarTue, 11 Sep 2018 14:17:00 GMThttp://www.fometaux.com/eryar/archive/2018/09/11/IsoAlgo3d_v1.htmlhttp://www.fometaux.com/eryar/comments/215918.htmlhttp://www.fometaux.com/eryar/archive/2018/09/11/IsoAlgo3d_v1.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/215918.htmlhttp://www.fometaux.com/eryar/services/trackbacks/215918.htmlIsoAlgo3d - IDF/PCF pipeline 3d viewer

eryar@163.com

 

Key Words. IDF, PCF, IsoAlgo, 3D

 

当前国际主流管道设计软件都可以生成IDF/PCF文件,这两种文件格式都是用于Isogen生成管道轴测图。其中IDFISOGEN Data File,主要来自Intergraph PDS AVEVA PDMSPCFPiping Component File,主要来自Intergraph SmartPlant 3DCADWorx。其中在PDMS中生成IDF文件需要对Isodraft进行配置,配置方法如下:

 

进入Isodraft打开Reports and Symbol File选项对话框,

 

Transfer中指定需要生成IDF文件的路径及文件名。当然也可以在Design模块通过自定义ISO图配置文件,也可以直接生成IDF文件。

IDF/PCF文件中包含管道中管件的端点坐标及用于生成ISO轴测图的SKEY等信息,IsoAlgo3d读取这两种文件格式后,可以对其中管道进行三维建模,方便管道直观浏览。

 

如上图所示为IsoAlgo3d显示的管道模型,通过鼠标在三维视图中选择管件,则可以同时在左边树上定位管件属于哪个管线,右边的属性窗口会显示这个管件的信息,如管道等级,材料描述、SKEY等。

如果IDF/PCF文件中包含焊点信息,则可以根据焊点信息显示管段SPOOL,不同的管段SPOOL显示出不同的颜色:

 


为了方便大家在移动端也能看到我的博文和讨论交流,现已注册微信公众号,欢迎大家扫描下方二维码关注。
Shing Liu(eryar@163.com)



eryar 2018-09-11 22:17 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2017/12/16/PipeSketches.htmleryareryarSat, 16 Dec 2017 12:33:00 GMThttp://www.fometaux.com/eryar/archive/2017/12/16/PipeSketches.htmlhttp://www.fometaux.com/eryar/comments/215428.htmlhttp://www.fometaux.com/eryar/archive/2017/12/16/PipeSketches.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/215428.htmlhttp://www.fometaux.com/eryar/services/trackbacks/215428.html船舶管子零件图程序开发

eryar@163.com

Abstract. 船舶管子零件图是船舶管子加工、安装的重要图纸,其中包含了管子节点坐标、连接件信息、弯管程序、校管信息、管子表面处理等数据。零件图的形式有几类:手工零件图、数值管子零件图、三维设计管子零件图。PCF是Intergraph收购的ALIAS的ISOGEN的管道数据,由于是文本文件,且简单易懂,目前已经成为管道数据交换的标准格式。本文主要介绍基于PCF文件生成船舶管子零件图的实现。

Key Words. Marine Pipe Spool, 船舶管子零件图

船舶管子零件图的形式各异,但主要有三大类:一是手工零件图,它的最大优点是比较直观,容易理解;二是数值管子零件图,即图上没有图形,只有各种数值,包括管子节点坐标、连接件信息、内场加工信息、材料定额、工时信息等,目前只有极少数船厂在使用;三是三维设计管子零件图,它具有上述两种零件图的优点,除了直观外,它也能输入各种信息。

目前国内使用的主流船舶CAD软件都有生成三维管子零件图的功能,如AVEVA的Tribon及AVEVA Marine(Outfitting);Intergraph因为收收购了ALIAS的ISOGEN所以其生成管子零件图使用了ISOGEN的方式;SENER的FORAN的管子零件图也与ISOGEN生成的类似,也是用符号表示的轴测图方式;达索的CATIA的管道设计生成的也是轴测图;SPD也可生成管子零件图。国外软件生成的管子零件图不能完会满足国内船厂的要求,所以准备开发一个基于PCF文件生成满足国内船厂一般需求的三维管子零件图。

程序开发完成后,国外的管道设计软件只需要将管道数据导出为PCF即可使用此程序自动生成三维管子零件图。或可提供开发包,直接在国外软件中生成管子零件图。

目前已经实现读取PCF文件,生成四个视图的管子零件图,如下图所示:

wps_clip_image-16133wps_clip_image-192

wps_clip_image-30332wps_clip_image-565

wps_clip_image-32563wps_clip_image-13037

下一步计划:

1.生成零件材料表;

2.弯管机数据;

3.校管数据;



eryar 2017-12-16 20:33 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2017/11/04/IsoAlgo3d.htmleryareryarSat, 04 Nov 2017 11:05:00 GMThttp://www.fometaux.com/eryar/archive/2017/11/04/IsoAlgo3d.htmlhttp://www.fometaux.com/eryar/comments/215326.htmlhttp://www.fometaux.com/eryar/archive/2017/11/04/IsoAlgo3d.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/215326.htmlhttp://www.fometaux.com/eryar/services/trackbacks/215326.html阅读全文

eryar 2017-11-04 19:05 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2017/02/16/PcfTranslator.htmleryareryarThu, 16 Feb 2017 14:41:00 GMThttp://www.fometaux.com/eryar/archive/2017/02/16/PcfTranslator.htmlhttp://www.fometaux.com/eryar/comments/214685.htmlhttp://www.fometaux.com/eryar/archive/2017/02/16/PcfTranslator.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/214685.htmlhttp://www.fometaux.com/eryar/services/trackbacks/214685.htmlPcfTranslator - Translate AVEVA PDMS to PCF

eryar@163.com

Abstract. The Piping Component File(PCF) are text files containing component and routing information. The PCF format was originally developed as an easy way to drive Isogen, the syntax is simple which means it is straightforward to create from most piping design software. But AVEVA PDMS only can export IDF format, PcfTranslator can translate AVEVA PDMS piping model to PCF, you can use the PCF in IsoAlgo for piping isometrics drawing or IsoAlgo3d to visualize the 3d model. You can also import the PCF to CAESAR II for piping stress analysis.

Key Words. AVEVA PDMS, PCF, IsoAlgo, IsoAlgo3d, Isogen, CAESAR II

1. Introduction

PCF文件格式是由Alias公司开发的用于其Isogen生成管道ISO轴测图的主要数据输入。Isogen程序已经是生成管道ISO图的业界标准程序,许多管道设计软件的ISO都是使用Isogen生成。AVEVA PDMS中也可以生成管道ISO图,并产生IDF格式,而不能生成PCF格式。因此,在PDMS中开发PcfTranslator将管道模型转换成PCF格式,使用PCF文件可以使用Isogen或IsoAlgo来生成管道ISO图,或者查看管道三维模型。使用PCF文件也可将管道模型数据导入到CAESAR II中进行管道应力分析。

2. What is PCF?

wpsAAB4.tmp

Figure 1. What is a PCF? http://www.alias.ltd.uk/pcf.asp

管道数据交换在设计、制造和安装及使用过程中都需要。Intergraph认识到PCF文件在管道数据交换过程中有重要的意义,所以在扩展了PCF文件用作管道数据交换的格式。PDMS早期也是用的Isogen生成ISO图,所以可以用PDMS生成IDF文件,但是不能生成PCF文件。所以开发一个插件程序PcfTranslator用来将PDMS中的管道模型导出成PCF文件。

3. PcfTranslator

PcfTranslator程序界面如下图所示:

wpsAAB5.tmp

Figure 2. PcfTranslator程序界面

PcfTranslator的使用非常简单。通过将要导出的管道加入到Branch列表中,设置好导出PCF的路径及PCF文件名,就可以导出PCF文件了。

PCF作为重要的数据交换文件,可以在Isogen中生成管道ISO图,也可以在IsoAlgo中生成管道ISO图,及在IsoAlgo3d中查看管道的三维模型。因为Intergraph对PCF格式的扩展,使其能很好地导入到CAESAR II中对管道进行应力分析。

4. IsoAlgo

IsoAlgo可以根据PCF文件生成DXF格式的管道ISO图。IsoAlgo3d可以将PCF文件以三维方式来展现,方便查看管道模型。IsoAlgo3d已经开源,可以从https://github.com/eryar/IsoAlgo3d下载。

wpsAAB6.tmp

Figure 3. IsoAlgo - IsoAlgo stands for piping Isometric drawing generation Algorithm.

It can generate piping isometric drawings in DXF format from PCF.

wpsAAB7.tmp

Figure 4. IsoAlgo3d - PCF format 3d visualization tool.

5. CAESAR II

由参考资料2和4可知,Intergraph意识到PCF格式的重要性后,增强了CAESAR II对PCF导入的管道模型数据的能力。在CAESAR II 2011版本之后的PCF接口程序可以导入管道模型中70%以上的数据。通过对PCF的扩展,可以导入材料数据,设计温度、压力、管件重量等信息。通过对支吊架的配置,可以导入支架数据到CAESAR II中。通过使用PCF,比将PDMS模型转换成CII格式的方式要简单,CAESAR II导入后模型的正确率高。如下图所示为PDMS中的管道模型,通过导出PCF,再使用CAESAR II的PCF Interface程序导入到CAESAR II中:

wpsAAB8.tmp

Figure 5. Piping model in AVEVA PDMS

wpsAAB9.tmp

Figure 6. Piping model in CAESAR II imported by PCF Interface

6. Conclusion

PCF作为管道数据交换的一个工业标准,为管道设计、制造、安装提供了便利。管道设计系统只需要将管道模型及相关数据导出成PCF文件,就可以得到管道ISO图,和导入到CAESAR II应力分析系统中对管道受力情况进行分析,避免在CAESAR II中二次建模,提高工作效率。

如果你对PcfTranslator有任何建议,或需要测试版本,请发送邮件:eryar@163.com

7. References

1. What is a PCF file? http://www.alias.ltd.uk/pcf.asp

2. Intergraph Supports Industry-led Initiative to Extend Piping Data Interoperability with the PCF Format. http://www.intergraph.com/assets/pressreleases/2015/05-12-2015.aspx

3. IsoAlgo3d. https://github.com/eryar/IsoAlgo3d

4. CAESAR II - Answering the Challenge of Design and Engineering Collaboration. https://www.intergraph.com/global/mx/assets/pdf/CAESARII-IntergraphUserConference.pdf

5. IsoAlgo. http://www.fometaux.com/eryar/category/20555.html

 



eryar 2017-02-16 22:41 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2016/06/16/213738.htmleryareryarThu, 16 Jun 2016 15:21:00 GMThttp://www.fometaux.com/eryar/archive/2016/06/16/213738.htmlhttp://www.fometaux.com/eryar/comments/213738.htmlhttp://www.fometaux.com/eryar/archive/2016/06/16/213738.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/213738.htmlhttp://www.fometaux.com/eryar/services/trackbacks/213738.htmlIsoAlgo3d - PCF format 3d visualization tool

eryar@163.com

IsoAlgo3d is a PCF format 3d visualization tool.

IsoAlgo3d now can visualize pipe and elbow component:

wps_clip_image-32562

For other component I will build the model by SKEY in the source code in the first release version. But finally the model is defined in a parametric way, then you can customize the model for a given SKEY.

Any feedback and suggestions about IsoAlgo3d is welcome.



eryar 2016-06-16 23:21 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2016/04/25/213360.htmleryareryarMon, 25 Apr 2016 14:28:00 GMThttp://www.fometaux.com/eryar/archive/2016/04/25/213360.htmlhttp://www.fometaux.com/eryar/comments/213360.htmlhttp://www.fometaux.com/eryar/archive/2016/04/25/213360.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/213360.htmlhttp://www.fometaux.com/eryar/services/trackbacks/213360.htmlIsoAlgo - PCF Viewer

eryar@163.com

IsoAlgo can be used to view PCF file in 2D, i.e. Isometric drawing, or in 3D by IsoAlgo3d.

You can view the PCF files in the 3D view directly:

wps_clip_image-30612

You can view PCF in 2D mode, that is the isometric drawing for the PCF file:

wps_clip_image-1559

eryar 2016-04-25 22:28 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2016/01/29/212757.htmleryareryarFri, 29 Jan 2016 14:58:00 GMThttp://www.fometaux.com/eryar/archive/2016/01/29/212757.htmlhttp://www.fometaux.com/eryar/comments/212757.htmlhttp://www.fometaux.com/eryar/archive/2016/01/29/212757.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/212757.htmlhttp://www.fometaux.com/eryar/services/trackbacks/212757.html 

IsoAlgo2.0 is released!

image

Figure 1. Piping Isometric Drawing generated by IsoAlgo

image

Figure 2. Piping Isometric Drawing generated by IsoAlgo

image

Figure 3. Piping Isometric Drawing generated by IsoAlgo

 

You can download IsoAlgo2.0 from the following address:

http://yun.baidu.com/pcloud/album/file?album_id=8423635686953825723&uk=3808749571&fsid=1116008067761202



eryar 2016-01-29 22:58 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2015/10/15/212021.htmleryareryarThu, 15 Oct 2015 13:02:00 GMThttp://www.fometaux.com/eryar/archive/2015/10/15/212021.htmlhttp://www.fometaux.com/eryar/comments/212021.htmlhttp://www.fometaux.com/eryar/archive/2015/10/15/212021.html#Feedback2http://www.fometaux.com/eryar/comments/commentRss/212021.htmlhttp://www.fometaux.com/eryar/services/trackbacks/212021.htmlIsoAlgo2.0 Preview

eryar@163.com

1. Use Qt for GUI and Visualization

wps_clip_image-20565

Use Qt to replace the Tcl/Tk for IsoAlgo GUI. Qt not only provides intuitive GUI, but also can visualize the IsoAlgo result directly. This is much more convenient to check the result isometric drawing than to open DXF every time(i.e. You can use the IsoAlgo to check the result directly without AutoCAD). It also very helpful for me to debug. 

You can use mouse to zoom the canvas.

2. Refactoring code for reading the PCF

Refactor the PCF reader code for read all the piping components data, the previous versions maybe lost some unrecognized component data. This would generate more precise material list data even do not generate the isometric drawing.

3. Introduce NULL object pattern for Non-Category Item

If the SKEY of the component have not been defined in the symbol template library, this component is a non-category component, and its symbol will use a block instead.

If you found these kind of symbol in the isometric drawing, please check the SKEY of the component in the symbol template library by export all the symbols in the library.

wps_clip_image-31488

IsoAlgo 2.0 will release soon! 

Any feedback is welcome, please send your suggestions to IsoAlgo@gmail.com or eryar@163.com .

eryar 2015-10-15 21:02 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2015/08/06/211498.htmleryareryarThu, 06 Aug 2015 14:46:00 GMThttp://www.fometaux.com/eryar/archive/2015/08/06/211498.htmlhttp://www.fometaux.com/eryar/comments/211498.htmlhttp://www.fometaux.com/eryar/archive/2015/08/06/211498.html#Feedback2http://www.fometaux.com/eryar/comments/commentRss/211498.htmlhttp://www.fometaux.com/eryar/services/trackbacks/211498.htmlIsoAlgo3d - A PCF 3D Viewer

eryar@163.com

Alias的Isogen的PCF和IDF是生成管道ISO图的数据交换文件,且已经成为了国际标准。

IsoAlgo可以根据PCF文件生成DXF格式的ISO图纸,如下图所示:

wps_clip_image-16934

wps_clip_image-29958

关于IsoAlgo的更多信息请参考:

http://www.fometaux.com/eryar/archive/2014/04/27/206729.html

IsoAlgo3d主要用来将PCF中的信息以三维的方式展现,如下图所示:

wps_clip_image-17273

Figure 1 IsoAlgo3d GUI

主要功能如下:

1.可以同时打开一个或多个PCF文件;

2.提供方便地视图操作功能,如平移、旋转和缩放;

3.添加焊点功能;

wps_clip_image-30042

Figure 2 Pipeline in IsoAlgo3d

wps_clip_image-20665

Figure 3 Create Weld in IsoAlgo3d



eryar 2015-08-06 22:46 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/09/10/208268.htmleryareryarWed, 10 Sep 2014 14:30:00 GMThttp://www.fometaux.com/eryar/archive/2014/09/10/208268.htmlhttp://www.fometaux.com/eryar/comments/208268.htmlhttp://www.fometaux.com/eryar/archive/2014/09/10/208268.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/208268.htmlhttp://www.fometaux.com/eryar/services/trackbacks/208268.htmlOpenCASCADE Documentation System

eryar@163.com

Abstract. Doxygen is the de facto standard tool for generating documentation from annotated 12bet sources, but it also supports other popular programming languages. You can also use doxygen for creating normal documentation, as OpenCASCADE did for its references and user’s guide documents.

Key Words. OpenCASCADE, Doxygen, Documentation System

1. Introduction

Doxygen基本上已经成了从12bet代码生成文档的一个标准工具。OpenCASCADE就利用Doxygen来根据源代码生成References文档,还利用其生成HTML和PDF格式的User Guide文档。使用Doxygen来生成文档,只需要按照一定的格式,就可以自动生成看上去比较专业的文档。

本文主要对Doxygen用来生成User Guide的方法做一定的介绍。根据代码生成References文档的方法请参考Doxygen的文档说明。

wps_clip_image-32375

Figure 1.1 Doxygen GUI

2. Prerequisites

为了自动生成PDF格式的文档,还需要准备全如下工具:

v Doxygen 1.8.4版本及以上;

v Graphviz的Dot,用来生成文档中的类图;

v MikTeX:用来生成PDF格式的文档;

v Inkscape:只有当要生成PDF格式中带有SVG格式的图片时需要;

v MathJax:当生成的HTML或CHM中有数学公式时需要;

这些工具都可以从网上下载得到。

3. Markdown Support of Doxygen

Markdown支持是从Doxygen1.8.0开始的,Markdown就是还格式语法的普通文本,由John Gruber编写,其目的是:

The design goal for Markdown’s formatting syntax is to make it as readable as possible. The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions. While Markdown’s syntax has been influenced by several existing text-to-HTML filters, the single biggest source of inspiration for Markdown’s syntax is the format of plain text email.

当你按照Markdown格式来写文档时,只需要将*.md文件放到文档文件夹中,Doxygen会自动搜索并生成相对应的文档。这里列举几个Markdown的例子。

3.1 Tables表格

生成表格可以用如下的文本来表示:

wps_clip_image-11935

生成的表格样式如下图所示:

wps_clip_image-20097

Figure 3.1 Tables in Markdown

3.2 Code Blocks代码片段

使用~~来隔离代码,若在其带上后缀名,还将根据后缀名来给代码高亮。如下所示为给12bet代码着色:

wps_clip_image-25213

Figure 3.2 Code blocks in Markdown

小段代码着色也可用标记@code和@endcode来标记。

3.3 Images插入图片

插入图片使用如下标记:

wps_clip_image-32143

Figure 3.3 OCC logo

4. Conclusion

使用OCC这种方式来生成文档,感觉还是很不错的。我就使用这种方式生成了程序IsoAlgo的文档,看上比较专业,如下图所示:

wps_clip_image-20858

Figure 4.1 IsoAlgo User Guide

 



eryar 2014-09-10 22:30 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/09/03/208221.htmleryareryarWed, 03 Sep 2014 12:43:00 GMThttp://www.fometaux.com/eryar/archive/2014/09/03/208221.htmlhttp://www.fometaux.com/eryar/comments/208221.htmlhttp://www.fometaux.com/eryar/archive/2014/09/03/208221.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/208221.htmlhttp://www.fometaux.com/eryar/services/trackbacks/208221.htmlIsoAlgo GUI Usage

eryar@163.com

Abstract. The GUI of IsoAlgo is made by Tcl/Tk. The usage is easy and simple, if you are familiar with Tcl/Tk, you can customize it by yourself. The paper focus on the usage for IsoAlgo GUI and the method to customize the IsoAlgo GUI.

Key Words. IsoAlgo, isogen, GUI, Tcl/Tk, Customization, PCF, DXF

1. Introduction

图形用户界面(GUI: Graphical User Interface)相对命令行而方更直观,更易于操作,所以有必要给IsoAlgo加个操作窗口。考虑到Tcl/Tk的简单易用,且有很强的扩展能力,所以决定使用Tcl/Tk来生成界面,IsoAlgo GUI如下图所示:

wps_clip_image-2419

Figure 1.1 IsoAlgo GUI

使用Tcl/Tk来编写GUI方便快速,因为不需要编译链接,且Tcl提供了很多实用的功能,可以在比C/12bet或Java更高的层次上进行开发。Tk隐藏了C或Java程序员必须关注的很多细节。使用Tcl/Tk所需要学习的知识更少,需要编写的代码更少。通过几个小时的学习,Tcl/Tk新手用户就可以创建有意思的用户界面。

Tcl/Tk适用于快速开发的另一个原因在于Tcl是解释语言。使用Tcl应用程序时,可以在运行中生成和使用新的脚本,而无需重新编译和重启应用程序。这使您可以迅速尝试新的想法,迅速修正程序中的错误。


2. IsoAlgo GUI Usage

IsoAlgo GUI的使用方法简单,主要分三步写成,步骤如下:

v 一是选择要生成iso图的pcf文件到文件列表框中;

v 二是设置出图文件目录;

v 最后,Apply就可将pcf文件生成dxf的iso图到指定的目录了。

2.1 Add PCF 

添加PCF文件到列表框有两种方式,一种是通过文件选择对话框来添加;一种是通过选择一个目录来添加。

wps_clip_image-29916

Figure 2.1.1 Add PCFs

通过菜单中的Add PCF...或按钮Add可以打开文件选择对话框以选择PCF文件,如下图所示:

wps_clip_image-28357

Figure 2.1.2 Add PCF Dialog

通过按钮Remove可以删除待生成iso图列表框中的pcf;按钮Clear可以清空列表框。

通过菜单中的Add PCF Directory...可以将一个文件夹中所有pcf文件添加到待生成iso图的列表框中。

2.2 Set DXF Directory

设置生成iso图的输出目录,通过菜单Set DXF Directory...来实现。如果未设置输出目录,则会将iso图生成到d:/isodxf文件夹中。

2.3 Generate Isometric Drawing

通过按钮Apply即可生成列表框中所列的PCF文件的Iso图到DXF了。生成过程中可以查看命令窗口中的相关信息,如下图所示:

wps_clip_image-28425

Figure 2.3.1 IsoAlgo Generating Isometric Drawing Info

生成图纸如下图所示:

wps_clip_image-31985

Figure 2.3.2 Piping Isometric Drawings generated by IsoAlgo

wps_clip_image-23820

Figure 2.3.3 Piping Isometric Drawings generated by IsoAlgo

wps_clip_image-15735

Figure 2.3.4 Piping Isometric Drawings generated by IsoAlgo

wps_clip_image-32629

Figure 2.3.5 Piping Isometric Drawings generated by IsoAlgo

3. IsoAlgo Tcl/Tk Command

IsoAlgo GUI也提供了几个自定义的命令,如下图所示:

wps_clip_image-8044

Figure 3.1 IsoAlgo Tcl/Tk Commands

这三个IsoAlgo命令的功能分别为:

v isoalgo input.pcf output.dxf:根据输入的input.pcf文件生成iso图到output.dxf;

v isoalgoinfo:显示IsoAlgo的使用说明,就是上面界面中的内容;

v dumpsymbol:生成符号模板库中所有的符号到IsoAlgoSymbolLib.dxf中,一是可以检查符号模板库是否完整;再者可以做为自定义符号的参考;命令生成如下图所示:

wps_clip_image-7847

Figure 3.2 IsoAlgo Symbol Template Library

4. IsoAlgo GUI Customization

由于IsoAlgo GUI是基于Tcl/Tk开发的,所以根据自定义的isoalgo命令及结合Tcl强大的扩展功能,可以自己用Tcl脚本来自定义IsoAlgo的GUI,即可以自己修改IsoAlgo.tcl文件,来根据需要扩展所需的功能。

5. Conclusion

基于Tcl/Tk为IsoAlgo开发的GUI使用方便,具有扩展能力,且程序小巧。由于GUI是由Tk来实现,由于Tk具有跨平台的特性,所以不用担心像使用MFC做GUI那样,需要安装相关的库。

如果用户熟悉Tcl/Tk,也可以对IsoAlgo GUI进行扩展及自定义。

IsoAlgo is not finish yet, any feedback or suggestion is welcome, please send email to the author: IsoAlgo@gmail.com or eryar@163.com.

For more information about IsoAlgo, please visit:

http://code.google.com/p/isoalgo/

 

PDF Version: IsoAlgo GUI Usage



eryar 2014-09-03 20:43 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/08/31/208187.htmleryareryarSun, 31 Aug 2014 03:50:00 GMThttp://www.fometaux.com/eryar/archive/2014/08/31/208187.htmlhttp://www.fometaux.com/eryar/comments/208187.htmlhttp://www.fometaux.com/eryar/archive/2014/08/31/208187.html#Feedback1http://www.fometaux.com/eryar/comments/commentRss/208187.htmlhttp://www.fometaux.com/eryar/services/trackbacks/208187.htmlIsoAlgo split drawing info

eryar@163.com

 

Abstract.  When the isometric drawing is splited by split point, it should mark the continue drawing info

on the split point. You can also  config the “CONT. ON” by the config file.

 

Key words. IsoAlgo, Split Drawing,

 

1. Introduction

当iso图被分成几张图后,需要在分图处标记其连接信息,如被分的图继续在哪张图纸上,坐标信息等。

如下图所示:

image

Figure 1.1 IsoAlgo split drawing info

image

Figure 1.2 IsoAlgo split drawing info

 

2. Configure

分图处的开始的文字也可根据需要定制,如需要将其改为“接”这样的中文也是可以的。可以在IsoAlgoConfig.xml中

来配置,配置方法如下图所示:

image

Figure 2.1 Config the User Text

关闭默认文字选项,在209对应的UserText中输入想要的文字即可。

 

3. Conclusion

实现IsoAlgo分图后的连接信息的生成,也可配置连接信息中的文字,通过配置文件可以将连接

信息中的文字替换成任何想要的文字,设置方便。

 

For more information about IsoAlgo, please visit: http://code.google.com/p/isoalgo/
Any feedback is welcome, please send email to the author: IsoAlgo@gmail.com.
IsoAlgo User Guide: http://www.fometaux.com/eryar/archive/2014/04/27/206735.html



eryar 2014-08-31 11:50 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/08/21/208086.htmleryareryarThu, 21 Aug 2014 14:27:00 GMThttp://www.fometaux.com/eryar/archive/2014/08/21/208086.htmlhttp://www.fometaux.com/eryar/comments/208086.htmlhttp://www.fometaux.com/eryar/archive/2014/08/21/208086.html#Feedback2http://www.fometaux.com/eryar/comments/commentRss/208086.htmlhttp://www.fometaux.com/eryar/services/trackbacks/208086.htmlIsoAlgo Split Point Issues


eryar@163.com

 

Abstract.  The impossibility to define the splitting point makes it impossible to generate

the readable isometrics drawing in some cases. If the drawing is so crowded that can not

read it clearly, it should add the split point to the drawing.

 

Key Words. IsoAlgo, Isogen, Split Point

 

1. Introduction

通过定义分图点,使iso图分成几张图,这样图纸的可读性就高,便于清晰表达。否则图纸上

东西太多,挤在一起看不清楚了。分图点的定义有两种方式:

  • 手工添加;
  • 自动添加;

两种方式各有利弊,手工添加很灵活,程序处理简单,但是增加了设计人员的工作量;程序自动添加,

可以减轻设计人员的工作量,但是程序复杂,算法的鲁棒性不能有效保证。除非为自动分图构造一个

稳定的算法,Isogen中自动分图效果还是很不错的,否则,手工添加分图点也是一个解决办法。

 

2. Add Split Point in AutoCAD Plant 3D

在AutoCAD Plant 3D中也有生成iso图的功能,如下图所示:

45E)059XZY$$F8FU4EYDRC0

Figure 2.1 Isometrics in AutoCAD Plant 3D

 

在AutoCAD Plant 3D中一个简单管道道都会被分成好几张图,不知是其自动分图算法不完善,还是我哪里没有

配置好导致。不过其手工添加分图点的功能还是很方便的,可以在模型中任意添加分图点,且分图点的数据

也可导出到PCF文件中去。如下图所示一个简单管道模型,生成的iso图如下所示:

image

Figure 2.2 Pipe Models in AutoCAD Plant 3D

image

Figure 2.3 Isometric drawing generated by AutoCAD Plant 3D

image

Figure 2.4 Isometric drawing generated by AutoCAD Plant 3D

image

Figure 2.5 Isometric drawing generated by IsoAlgo

由上图可知,这种简单的图不需要拆分也可表达清楚。不过复杂的管路必须拆分,否则件号标注等会挤到一起看不清楚,必须要分图了。

 

3. Export Split Info to PCF

在AutoCAD Plant 3D中添加Break Point后,会在导出的PCF中生成如下数据:

wps_clip_image-19820

Figure 3.1 Split Point in PCF

如果在PCF中有分图信息,可以直接生成分图后的iso图纸了,方便程序的开发。

 

4. Conclusion

综上所述,对于复杂管路模型,要想生成的iso图表达清晰,必须要分图。分图方式最好是可以自动化,前提是要分图算法稳定。

另外可以增加手工添加分图点的功能来辅助。如果你有好的分图算法或想法,欢迎讨论交流。

知识共享许可协议
本作品采用知识共享署名-相同方式共享 3.0 未本地化版本许可协议进行许可。

eryar 2014-08-21 22:27 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/07/20/207724.htmleryareryarSun, 20 Jul 2014 07:11:00 GMThttp://www.fometaux.com/eryar/archive/2014/07/20/207724.htmlhttp://www.fometaux.com/eryar/comments/207724.htmlhttp://www.fometaux.com/eryar/archive/2014/07/20/207724.html#Feedback4http://www.fometaux.com/eryar/comments/commentRss/207724.htmlhttp://www.fometaux.com/eryar/services/trackbacks/207724.htmlIsoAlgo Split Point

eryar@163.com

 

Abstract.

The impossibility to define the splitting point makes it impossible to generate 

the readable isometrics drawing in some cases. If the drawing is so crowded 

that can not read it clearly, it should add the split point to the drawing.

 

Key words. IsoAlgo, Isogen, Split Point,

 

1. Introduction

The impossibility to define the splitting point makes it impossible to generate the readable

isometrics drawing in some cases. If the drawing is so crowded that can not read it clearly,

it should add the split point to the drawing.

wps_clip_image-19735

Figure 5.1 Crowded isometric drawing

 

2. Implementation

In PCF there is one identity to indicate the split point:

wps_clip_image-19820

Figure 5.2 Split Point info in PCF

After split the drawing at the crowed position, will generate more isometric drawings, but 

they are more clearly than before. As the following picture shows that add two split points

automatically to get three isometric drawings. Every isometric drawing is more readable.

wps_clip_image-12445

Figure 5.3 Split the isometric drawing

3. Conclusion

In order to improve the quality of the isometric drawing, need add split point for crowded

position to get more readable drawings.

 

IsoAlgo is not finish yet, any feedback or suggestion is welcome, 

please send email to the author: IsoAlgo@gmail.com.

 

For more information about IsoAlgo, please visit:

http://code.google.com/p/isoalgo/



eryar 2014-07-20 15:11 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/07/02/207496.htmleryareryarWed, 02 Jul 2014 11:54:00 GMThttp://www.fometaux.com/eryar/archive/2014/07/02/207496.htmlhttp://www.fometaux.com/eryar/comments/207496.htmlhttp://www.fometaux.com/eryar/archive/2014/07/02/207496.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/207496.htmlhttp://www.fometaux.com/eryar/services/trackbacks/207496.htmleryar@163.com

 

key words: IsoAlgo, Isogen, ISO-SPLIT-POINT, split automatically

 

当管道模型比较复杂时,生成的轴测图就会有重叠的现象,如何来消除重叠呢,一种有效的方式就是分图。

image

Figure 1 Complex piping isometric drawing (Generated by IsoAlgo)

如上图所示,有几处尺寸标注或件号标注明显重叠,导致图面杂乱。在一些软件中有手动添加分图点的方式,强制分图。对于手工添加的分图点,

在PCF中会以一个ISO-SPLIT-POINT的数据来体现:

image

Figure 2 Split point in PCF

手工添加分图点,强制分图是一种处理方式,程序简单。如何做到程序自动分图?还需要进一步考虑。

如果你有好的建议或想法,欢迎讨论交流。 eryar@163.com



eryar 2014-07-02 19:54 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/06/11/207253.htmleryareryarWed, 11 Jun 2014 13:31:00 GMThttp://www.fometaux.com/eryar/archive/2014/06/11/207253.htmlhttp://www.fometaux.com/eryar/comments/207253.htmlhttp://www.fometaux.com/eryar/archive/2014/06/11/207253.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/207253.htmlhttp://www.fometaux.com/eryar/services/trackbacks/207253.htmlIsoAlgo Export Symbol Template


eryar@163.com

Key Words: IsoAlgo, Symbol Template

When you want to check the symbol templates that you defined in IsoAlgoSymbolTemplate.xml, you can give the command dumpsymbol to IsoAlgo, the usage is as follows:

wps_clip_image-2735

Figure 1 Export Symbol Template Command dumpsymbol

After the execution of the dumpsymbol command, IsoAlgo will generate IsoAlgoSymbolLib.dxf which contains all the symbol templates.

wps_clip_image-32696

Figure 2 Symbol template in the IsoAlgoSymbolTemplate.xml

From the export symbol template you can make clear that how many symbol templates have beed definied, and It can help you to understand the symbol template definitation method.

 

IsoAlgo is not finish yet, any feedback or suggestion is welcome, please send email to the author: IsoAlgo@gmail.com.

For more information about IsoAlgo, please visit: http://code.google.com/p/isoalgo/



eryar 2014-06-11 21:31 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/06/02/207173.htmleryareryarMon, 02 Jun 2014 02:13:00 GMThttp://www.fometaux.com/eryar/archive/2014/06/02/207173.htmlhttp://www.fometaux.com/eryar/comments/207173.htmlhttp://www.fometaux.com/eryar/archive/2014/06/02/207173.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/207173.htmlhttp://www.fometaux.com/eryar/services/trackbacks/207173.htmlIsoAlgo Pipeline End Connection Info

eryar@163.com

 

Key words: IsoAlgo, End Connection Info, Nozzle

 

Add Pipeline End Connection info to the IsoAlgo, such as connection info and coordinate:

image

Figure 1. Pipeline End Connection Info

You can define your own end connection symbol:

image

Figure 2. Nozzle Start Flanged Symbol Template

 

For more information about IsoAlgo, please visit: http://code.google.com/p/isoalgo/
Download trial version of IsoAlgo: http://code.google.com/p/isoalgo/issues/list
Any feedback is welcome, please send email to the author: IsoAlgo@gmail.com.
IsoAlgo User Guide: http://www.fometaux.com/eryar/archive/2014/04/27/206735.html



eryar 2014-06-02 10:13 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/05/26/207110.htmleryareryarMon, 26 May 2014 14:51:00 GMThttp://www.fometaux.com/eryar/archive/2014/05/26/207110.htmlhttp://www.fometaux.com/eryar/comments/207110.htmlhttp://www.fometaux.com/eryar/archive/2014/05/26/207110.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/207110.htmlhttp://www.fometaux.com/eryar/services/trackbacks/207110.htmlIsoAlgo Equipment Connection

eryar@163.com

 

Abstract: If the pipeline connected with nozzles of the equipment, it should add the

equipment connection symbol in the piping isometric drawing.

 

Key words: IsoAlgo, ISOGEN, PCF, Equipment Connection

 

image

Figure 1. Pipe connected with Pump

`SIB{KCNT}`CPAE`QA7UM@S

Figure 2. Equipment Connection symbol generated by IsoAlgo



eryar 2014-05-26 22:51 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/05/25/207096.htmleryareryarSun, 25 May 2014 06:08:00 GMThttp://www.fometaux.com/eryar/archive/2014/05/25/207096.htmlhttp://www.fometaux.com/eryar/comments/207096.htmlhttp://www.fometaux.com/eryar/archive/2014/05/25/207096.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/207096.htmlhttp://www.fometaux.com/eryar/services/trackbacks/207096.htmlIsoAlgo Fall Indicator

eryar@163.com

 

Key Words: IsoAlgo, PCF, ISOGEN, DXF, Piping Isometric Drawing

 

The slope of a pipe is how steep of an angle the pipe is at. The steeper the angle, the faster water will flow through the pipe. In order to calculate the slope of the pipe, you need to image the pipe is the hypotenuse of a right triangle.

wps_clip_image-1748

Figure 1. A Slope Pipe

A slope percentage is a way of expressing the ration of the angle of a slope. It is calculated by dividing the rise of the slope by the distance necessary to make the rise. Its calculation formula:

Sp = (h / l ) * 100%;

A slope degree is the tan angle of the delta height and length, its calculation formula:

Sd = atan(h / l);

wps_clip_image-21447

Figure 2. Fall Indicator in IsoAlgoConfig.xml

You can choose different fall indicator type and set its limit. If the slope out of the limit, the slope symbol will not be shown.

image

Figure 3. Fall Indicator in Percent Type

image

Figure 4. Fall Indicator in Degrees Type



eryar 2014-05-25 14:08 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/05/20/207034.htmleryareryarTue, 20 May 2014 13:28:00 GMThttp://www.fometaux.com/eryar/archive/2014/05/20/207034.htmlhttp://www.fometaux.com/eryar/comments/207034.htmlhttp://www.fometaux.com/eryar/archive/2014/05/20/207034.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/207034.htmlhttp://www.fometaux.com/eryar/services/trackbacks/207034.htmlIsoAlgo Labelling

eryar@163.com

 

Key words: IsoAlgo, Piping Isometric Drawing, PCF, DXF

 

IsoAlgo01

 

IsoAlgo03



eryar 2014-05-20 21:28 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/05/17/207000.htmleryareryarSat, 17 May 2014 11:56:00 GMThttp://www.fometaux.com/eryar/archive/2014/05/17/207000.htmlhttp://www.fometaux.com/eryar/comments/207000.htmlhttp://www.fometaux.com/eryar/archive/2014/05/17/207000.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/207000.htmlhttp://www.fometaux.com/eryar/services/trackbacks/207000.htmlIsoAlgo Material List Options

eryar@163.com

 

1. Material List Options
IsoAlgo can produce a customised Material List. The Material List columns maybe selected from one attribute of the component. 

You can specify the material list datum position on the drawing. The entries in the material list are numbered sequentially, 

each entry contains the material’s description, nominal size, item code and quantity. 

You can customize the material list by modify the IsoAlgoConfig.xml:

wps_clip_image-6813

Figure 1 Material List Options in IsoAlgoConfig.xml

First, you specify the character size and the line spacing percent of the material list;

Second, specify the material list datum position on the drawing, modify the X and Y value for the ListDatum. 

The IsAscending is used to control the material list direction. If the IsAscending is true, 

the material list ‘s part number from 1 to N is from up to the bottom, 

else the material list’s part number from 1 to N is from bottom to the up.

wps_clip_image-1402

Figure 2 Material List with IsAscending is true

wps_clip_image-22754

Figure 3 Material List with IsAscending is false

wps_clip_image-25567

Figure 4 Isometric drawing with Material List


2. Material List Column Options

You can specify each column of the material list, the import attribute is Fill and Width.

The Fill is used to map the value for the material list and the Width is used to set the width of that column. 

So you can decide the content of each column. For example, if you do not want the ITEMCODE column, 

you can remove that column.

wps_clip_image-12218

Figure 5 Material List Column Definitions

wps_clip_image-20577

Figure 6  Material List Column Definitions Result

image

 

image

 

image



eryar 2014-05-17 19:56 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/05/11/206897.htmleryareryarSun, 11 May 2014 09:40:00 GMThttp://www.fometaux.com/eryar/archive/2014/05/11/206897.htmlhttp://www.fometaux.com/eryar/comments/206897.htmlhttp://www.fometaux.com/eryar/archive/2014/05/11/206897.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/206897.htmlhttp://www.fometaux.com/eryar/services/trackbacks/206897.htmlIsoAlgo Dimensioning Options

 

IsoAlgo can output several types of dimensions with different amounts of detail. The main types of dimensioning are:

  • String dimensions(the default);
  • Composite dimensions;
  • Overall dimensions;
  • Support Dimensions;

The different types are illustrated in the following figure:

wps_clip_image-25179

Figure 3.2.1 Support, String and Overall dimensions

String dimensions are measured between the following points:

  • The start or end of a branch;
  • Changes of direction(bends, elbows etc.);
  • Component connection points(flanges, welds, screwed and compression joints etc., excluding gaskets);

Composite dimensioning ignores dimensions which the fabricator has no control over, particularly the sizes of individual components. Component which are directly connected to each other are therefore dimensioned as though they constitute a single composite item.

Overall dimensions indicate the lengths of the following sections of a pipeline:

  • From the start of a branch to the first change of direction;
  • From each change diretion to the next;
  • From the last change of direction to the end of a Branch;
  • From the start of a falling section skew-box to the end of the falling section skew-box;
  • Between Branch connections.

In IsoAlgo you can config the dimensioning options by IsoAlgoConfig.xml. By choosing different representation for different dimension type:

image

Figure 3.2.2 Config different dimension types

image

Figure 3.2.3 Dimensions generated by IsoAlgo

image



eryar 2014-05-11 17:40 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/04/27/206735.htmleryareryarSun, 27 Apr 2014 14:58:00 GMThttp://www.fometaux.com/eryar/archive/2014/04/27/206735.htmlhttp://www.fometaux.com/eryar/comments/206735.htmlhttp://www.fometaux.com/eryar/archive/2014/04/27/206735.html#Feedback2http://www.fometaux.com/eryar/comments/commentRss/206735.htmlhttp://www.fometaux.com/eryar/services/trackbacks/206735.htmlwps_clip_image-4069

IsoAlgo User Guide

V1.0

IsoAlgo@gmail.com

April 28, 2014

Disclaimer

This program is free software, you can redistribute it and/or modify it. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The Piping Component File(PCF) is the primary input for Personal ISOGEN®.

ISOGEN® is registered trademark of Alias Ltd.

1. Introduction

IsoAlgo stands for piping Isometric drawing generation Algorithm. It can generate piping isometric drawings in DXF format from PCF1. IsoAlgo reads the Piping Component File(PCF). The PCF is a human readable text file containing physical and logical data on each piping object in the pipeline.

The Piping Component File(PCF) is the primary input for Personal ISOGEN®. PCFs are text files containing component and routing information. For each component, they will include various mandatory records to define the basic information of:

v Type - Flange, pipe, or valve, for example;

v Coordinates and size of the end-points;

v Shape(SKEY) to be used to represent the component on the isometric;

PCFs are created by the piping design system extracting information from the piping model. A single PCF can contain the data for a number of pipelines, but generally, the piping design system extracts piping data for single pipeline only. Then Personal ISOGEN will produce isometrics for one pipeline at a time.

The complex plant layouts and ship design result are drawings. Typically the design of piping layouts requires the production of large amouts of isometric detail drawings. The automatic generation of these isometric drawings will allow engineering staff to concentrate on design activities therefore reducing the design cycle time span. Nowdays many piping CAD software can layout piping in 3D and can generate Isometric drawing automaticly, also can produce PCF intermidate file for data exchange. 

IsoAlgo gets piping data from PCF and generate isometric drawing in DXF format automatically.

2. Usage

There are six files for IsoAlgo:

v IsoAlgo.dll

v IsoAlgoTest.exe

v IsoAlgoConfig.xml

v IsoAlgoSymbolTemplate.xml

v IsoAlgo User Guide.pdf

v Run IsoAlgo.bat

wps_clip_image-28663

Figure 2.1 Files for IsoAlgo

The usage of IsoAlgo is easy, only need edit the Run IsoAlgo.bat file, give the PCF file name and the DXF file name, the content of the Run IsoAlgo.bat file is as follows:

wps_clip_image-16049

Figure 2.2 IsoAlgo Usage

When set the input PCF file name and the output DXF file name, then double click the Run IsoAlgo.bat to run the IsoAlgo to generate the DXF file automatically.

3. Configuration

Through the IsoAlgoConfig.xml file to configure the IsoAlgo, The IsoAlgoConfig.xml content is as follow figure: 

wps_clip_image-13800

Figure 3.1 IsoAlgoConfig.xml

There are many options to configure the IsoAlgo, mainly include the following:

v Sheet Layout Options;

v Dimensioning Options;

v Annotation Options;

v Material List Options;

v Material List Column Definitions;

v Weld Numbering Options;

For example, if you want to change the paper size, you can modify the DrawingSize Name to “A3”. Or you can change the ViewDirection to “NorthEast”. etc.

4. Customize Symbol Template

IsoAlgo allows user to coutomize the symbol for some symbol keys by symbol template. The symbol template is in the Cartesian coordinate system, as the following figure shows:

wps_clip_image-21891

Figure 4.1 Gate Valve Symbol Template

The you can save the polylines for the symbol in IsoAlgoSymbolTemplate.xml file, as following figure shows: 

wps_clip_image-6303

Figure 4.2 Save Symbol Template Data

First, you should specicfy the Symbol Key(SKEY) for the symbol template;

Then, give the arrive point and leave point for the symbol template;

Finally, define the symbol graphics by polylines.

5. Examples of Isometric Plots Generated by IsoAlgo

wps_clip_image-5233

Figure 5.1 Piping model in AutoCAD Plant3D

wps_clip_image-4282

Figure 5.2 Piping Isometric drawing generated by IsoAlgo

wps_clip_image-20246

Figure 5.3 Piping Isometric drawing generated by IsoAlgo

wps_clip_image-13069

Figure 5.4 Piping model in AutoCAD Plant3D

wps_clip_image-16369

Figure 5.5 Piping Isometric drawing generated by IsoAlgo

wps_clip_image-27927

Figure 5.6 Piping Isometric drawing generated by IsoAlgo

6. Feedback and Support

IsoAlgo is not finish yet, any feedback or suggestion is welcome, please send email to the author: IsoAlgo@gmail.com.

For more information about IsoAlgo, please visit:

http://code.google.com/p/isoalgo/

 

PDF Version: IsoAlgo User Guide



eryar 2014-04-27 22:58 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/04/27/IsoAlgo.htmleryareryarSun, 27 Apr 2014 03:20:00 GMThttp://www.fometaux.com/eryar/archive/2014/04/27/IsoAlgo.htmlhttp://www.fometaux.com/eryar/comments/206729.htmlhttp://www.fometaux.com/eryar/archive/2014/04/27/IsoAlgo.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/206729.htmlhttp://www.fometaux.com/eryar/services/trackbacks/206729.htmlIsoAlgo-Piping Isometric drawing generation Algorithms.


IsoAlgo

IsoAlgo can generate piping isometrics drawings from PCF to DXF.

For more information about IsoAlgo, please visit: http://code.google.com/p/isoalgo/
Any feedback is welcome, please send email to the author: IsoAlgo@gmail.com.

IsoAlgo User Guide: http://www.fometaux.com/eryar/archive/2014/04/27/206735.html

OF(Q@8YAYRXHB0GMSUI9B~6

XHM2D~E7MJQ0L_26I_`LFKC

8[F9XYO`CSCXLQKGV{XKDB2

 

Figure 1 Piping Isometric Drawings generated by IsoAlgo

wps_clip_image-23820

Figure 2 Piping Isometric Drawings generated by IsoAlgo

wps_clip_image-15735

Figure 3 Piping Isometric Drawings generated by IsoAlgo

wps_clip_image-32629

Figure 4 Piping Isometric Drawings generated by IsoAlgo

 


我在youtube上发现了个国外用户正在使用IsoAlgo:

https://www.youtube.com/watch?v=jhaCW0kx6ic


上传到国内视频网站上:

 

Download IsoAlgo:

http://yun.baidu.com/pcloud/album/info?uk=3808749571&album_id=8423635686953825723



eryar 2014-04-27 11:20 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2014/02/11/205707.htmleryareryarTue, 11 Feb 2014 10:11:00 GMThttp://www.fometaux.com/eryar/archive/2014/02/11/205707.htmlhttp://www.fometaux.com/eryar/comments/205707.htmlhttp://www.fometaux.com/eryar/archive/2014/02/11/205707.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/205707.htmlhttp://www.fometaux.com/eryar/services/trackbacks/205707.htmlThe following Pipe Isometric Drawing is Generated by IsoAlgo:

Pipe Isometric Drawing Generated by IsoAlgo

image

 

image

Figure . Simple Pipe Isometric Drawing

 

image

Figure. Pipe Isometric Drawing with Skewed pipeline

 

image



eryar 2014-02-11 18:11 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2013/06/16/201062.htmleryareryarSun, 16 Jun 2013 12:18:00 GMThttp://www.fometaux.com/eryar/archive/2013/06/16/201062.htmlhttp://www.fometaux.com/eryar/comments/201062.htmlhttp://www.fometaux.com/eryar/archive/2013/06/16/201062.html#Feedback4http://www.fometaux.com/eryar/comments/commentRss/201062.htmlhttp://www.fometaux.com/eryar/services/trackbacks/201062.html在google code上注册了工程:http://code.google.com/p/isoalgo/,可将程序发布。
并注册了一个GMail:IsoAlgo#gmail.com,很不错,可以作为小程序IsoAlgo的专用邮箱。
将其中#替换成@即可。


eryar 2013-06-16 20:18 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2013/06/15/201043.htmleryareryarSat, 15 Jun 2013 14:47:00 GMThttp://www.fometaux.com/eryar/archive/2013/06/15/201043.htmlhttp://www.fometaux.com/eryar/comments/201043.htmlhttp://www.fometaux.com/eryar/archive/2013/06/15/201043.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/201043.htmlhttp://www.fometaux.com/eryar/services/trackbacks/201043.htmlIsoAlgo --- Connect Symbols

eryar@163.com

Key Words: IsoAlgo

 

确定好符号的方向后,就可以把管路中各个符号按其拓朴关系连接起来,使之与三维模型中的拓朴关系一致。

如下图所示为连接关系正确的管子轴测图:

image

Figure 1 Piping Model in AutoCAD Plant 3D (South West Isometric)

image

Figure 2 Piping Isometric Drawing Generated by IsoAlgo

image

Figure 3 Piping Model in AutoCAD Plant 3D (South East Isometric)

image

Figure 4 Piping Isometric Drawing Generated by IsoAlgo

image

Figure 5 Piping Model in AutoCAD Plant 3D (North East Isometric)

image

Figure 6 Piping Isometric Drawing Generated by IsoAlgo

image

Figure 7 Piping Model in AutoCAD Plant 3D (North West Isometric)

image

Figure 8 Piping Isometric Drawing Generated by IsoAlgo

 

从上面IsoAlgo生成的轴测图可以看出,效果还不错!



eryar 2013-06-15 22:47 发表评论
]]>
12bet++博客-eryar-随笔分类-1.IsoAlgohttp://www.fometaux.com/eryar/archive/2013/06/15/201031.htmleryareryarSat, 15 Jun 2013 07:55:00 GMThttp://www.fometaux.com/eryar/archive/2013/06/15/201031.htmlhttp://www.fometaux.com/eryar/comments/201031.htmlhttp://www.fometaux.com/eryar/archive/2013/06/15/201031.html#Feedback0http://www.fometaux.com/eryar/comments/commentRss/201031.htmlhttp://www.fometaux.com/eryar/services/trackbacks/201031.htmlIsoAlgo --- Component Definition

eryar@163.com

 

Keywords: PCF Component Definition, ISOGEN® PCF Component Reference Guide

 

一、PCF  Component Definition

The component definition file defines the layout of the component definition in the PCF file. The contents of the file is documneted in the “PCF Component Reference Guide” and defines which items are obligatory in the output,  and which items are optional.

There must be at least two sections in a definition file: [Component Identifier] and [Mandatory Attributes]. The first gives the name of the ISOGEN® component, the second the data required to process the component properly.

Additional sections define attributes that can be added the component definition. These are only added to the definition if corresponding properties are gived.

The Component Identifier section can contain only 1 line, the mandatory section not more than 12 lines.

Example component definition file for pipe:

image

Figure 1 Example component definition file for pipe

 

Example component definition file for normal elbow:

image

Figure 2 Example component defintion file for normal elbow

 

二、读取PCF文件

 

从PCF Component definition中可以看出,PCF文件中管子部件中哪些数据是必须的,哪些数据是可选的。

必须的属性数据一定要有,不然出来的轴测图可能是不正确的。可选的属性大多是一些额外标记的文件信息等。

部件数据的读取可以将[Component Identifier]作为界限,来读取每个部件的属性数据。

如下图所示为一个Elbow在PCF文件中表示:

image

 

三、Aknowledgements

ISOGEN® is the registered trademark of ICI plc.

CADDS is the registered trademark of PTC(Parameteric Technology Corporation)

The following Alias documents are used preparing the software:

PCF Format Guide

PCF Component Reference Guide

ISOGEN® SKEY Definitions

ISOGEN® SKEY Dimensions



eryar 2013-06-15 15:55 发表评论
]]>