锘??xml version="1.0" encoding="utf-8" standalone="yes"?>C++鍗氬-eryarhttp://www.2676208.com/eryar/zh-cnWed, 07 Aug 2019 21:21:07 GMTWed, 07 Aug 2019 21:21:07 GMT60OpenCASCADE鍔ㄧ敾鍔熻兘http://www.2676208.com/eryar/archive/2019/08/06/animation.htmleryareryarTue, 06 Aug 2019 03:07:00 GMThttp://www.2676208.com/eryar/archive/2019/08/06/animation.htmlhttp://www.2676208.com/eryar/comments/216643.htmlhttp://www.2676208.com/eryar/archive/2019/08/06/animation.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216643.htmlhttp://www.2676208.com/eryar/services/trackbacks/216643.htmlOpenCASCADE鍔ㄧ敾鍔熻兘

 

eryar@163.com


1.Introduction

OpenCASCADE鎻愪緵浜嗙被AIS_Animation绛夋潵瀹炵幇绠鍗曠殑鍔ㄧ敾鍔熻兘銆?/span>

 

浠庡叾?#34987;?#27992;鍙?#28000;?#37930;嬪嚭锛?#37716;ㄧ敾鍔熻兘?#28225;涓?#32457;?#38171;?#28051;绉嶆槸鐩告満?#27537;鍔ㄧ敾AnimationCamera锛?#28051;绉嶆槸妯″瀷?#27537;鍔ㄧ敾AnimationObject銆傚洜涓?/span>OpenCASCADE涓嶅儚OpenSceneGraph閭f牱?#27128;涓?#38338;ㄥ仛浠?#37930;?#37716;ㄧ敾?#27537;锛屽?#21615;疆澶氱?#36328;▼锛?/span>OpenCASCADE涓殑鍔ㄧ敾鍙?#28000;?#37918;嗚В涓?#28051;涓?/span>while(true) {update();}锛?#37719;?#37734;?#37716;ㄧ敾?#26882;闂?#37712;?#28725;?#37929;告満?#22440;妯″瀷?#27537;?#25443;濮嬩綅?#30086;?#25328;缁堟?#32133;?#30086;杩涜鎻掑煎苟鏇存柊?#28533;瀹炵幇鍔ㄧ敾銆傚浜?#32480;鍗曠殑鍔ㄧ敾鏁堟灉锛?#26473;?#32457;嶆柟寮忔槸澶?#37922;?#27996;?#37510;?/span>

 

2. Examples

鍦?/span>OpenCASCADE?#27537;?#31790;鐮佹枃浠?#28598;?#28051;?#37819;愪緵浜?#37716;ㄧ敾鐢?#23049;曠殑绀轰緥锛屽垎鍒?#23125;旂ず浜?#22959;″瀷鍙?#37817;?#37510;佽?#21975;浘鍙?#37817;?#37721;?#28751;?#37716;ㄧ敾?#32346;瀛樻垚瑙嗛?#25118;枃浠?#38171;屽綋鐒?#26473;?#28051;?#37716;熻兘?#28214;瑕?#23534;?#37711;?#32471;?#28051;夋柟搴?/span>FFmpeg锛?/span>

OpenCASCADE涓?#37716;ㄧ敾涓?#38338;翠綅?#30086;?#27537;鐢熸垚閲?#37922;?#27996;嗙被gp_TrsfNLerp杩涜鎻掑?#37510;?/span>

 鏍?#37817;叾?#25950;閲婃槸瀵?#28051;涓?#37721;?#37817;㈢殑涓?#28051;?#38318;?#37714;?#37714;?#37714;?#26473;涜?#23680;嚎鎬?#37819;掑?#38171;?#37827;嬭浆閮?#37714;嗛噰鐢?#37733;?#37711;?#37825;扮被杩涜鎻掑?#37510;?#26473;?#32457;?#37819;掑兼柟寮?#28051;?#37721;兘婊¤冻澶嶆潅鍔ㄧ敾?#27537;瑕佹眰锛?#28051;?#26473;?#37721;?#28000;?#37814;?#26473;?#28051;被?#32139;鎴愪竴涓?#37819;掑肩殑渚嬪瓙銆?/span>

鍦?/span>Draw Test Harness涓緭鍏?#28000;?#28051;嬪懡浠?#38171;?/span>

source tests/v3d/anim/propeller

vanim anim -play -playSpeed 0.1

鍗?#37721;?#28000;?#29825;?#28051;涓?#38139;烘?#23339;〃鍔ㄨ捣?#28533;浜?#38171;?/span>

?#21502;瀹?#26473;?#28051;?#38139;烘?#23339;〃鍔ㄧ敾?#27128;涓?#28598;嶆潅?#27537;渚嬪瓙锛屽寘鍚?#27996;嗚?#21975;浘鍔ㄧ敾?#25328;妯″瀷鍔ㄧ敾銆傚浜?#32480;鍗曠殑绀轰緥锛?#37721;?#28000;?#37721;傝?#37721;?#28598;栧嚑涓枃浠?#38171;?#38322;岄潰?#27537;渚嬪瓙?#27128;鐩?#28725;?#32480;鍗曠殑銆?/span>

 

3. Conclusion

OpenCASCADE7.3鐗?#37832;?#28051;?#23534;?#37711;?#27996;嗙畝鍗?#37716;ㄧ敾?#27537;鍔熻兘锛?#32513;?#37722;堝叾娴嬭瘯妗?#28186;?#38171;屾壘鍒板叾瀹炵幇?#31790;鐮?#38171;?#37721;?#28000;ユ柟渚?#37734;?#37734;?#32459;嬪簭涓?#28729;炵幇绠鍗曠殑鍔ㄧ敾鍔熻兘銆傚叾涓?#37716;ㄧ敾?#25966;鎸?#28051;?#32457;嶆柟寮?#38171;?#28051;绉嶆槸瑙嗗浘?#25966;?#25982;锛?#28051;绉嶆槸妯″瀷鍔ㄧ敾銆?#29785;嗗浘鍔ㄧ敾涓鑸?#37922;?#27996;?#28051;?#28051;?#29785;嗗浘?#31651;闂寸殑鍔ㄧ敾杩囨浮锛屽浠?#28051;?#29785;嗗浘鍒?#37817;?#37714;?#28000;?#29785;嗗浘涓?#38338;?#37716;?#28051;涓?#37716;ㄧ敾杩囨浮锛?#22959;″瀷鍔ㄧ敾鍙?#37922;?#27996;?#32480;鍗曠殑鍔ㄧ敾浠?#37930;?#37510;?/span>

 

 

 

 

 

 

 

 



eryar 2019-08-06 11:07 鍙戣〃璇勮
]]>
PipeCAD 绠浠?/title><link>http://www.2676208.com/eryar/archive/2019/07/24/PipeCAD.html</link><dc:creator>eryar</dc:creator><author>eryar</author><pubDate>Wed, 24 Jul 2019 15:28:00 GMT</pubDate><guid>http://www.2676208.com/eryar/archive/2019/07/24/PipeCAD.html</guid><wfw:comment>http://www.2676208.com/eryar/comments/216597.html</wfw:comment><comments>http://www.2676208.com/eryar/archive/2019/07/24/PipeCAD.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/eryar/comments/commentRss/216597.html</wfw:commentRss><trackback:ping>http://www.2676208.com/eryar/services/trackbacks/216597.html</trackback:ping><description><![CDATA[<p style="margin-top: 0.42cm; margin-bottom: 0.21cm; line-height: 100%; page-break-after: avoid;" align="center"><span style="font-family: Liberation Sans, serif;"><span style="font-size: xx-large;"><strong>PipeCAD </strong></span></span><span style="font-family: Noto Sans CJK SC Regular;"><span style="font-size: xx-large;"><span lang="zh-CN"><strong>绠浠?/strong></span></span></span></p> <p style="margin-top: 0.42cm; margin-bottom: 0.21cm; line-height: 100%; page-break-after: avoid;" align="center"> </p> <!-- p { margin-bottom: 0.25cm; direction: ltr; color: #000000; line-height: 115%; text-align: left; }p.western { font-family: "Liberation Serif", serif; font-size: 12pt; }p.cjk { font-family: "Noto Sans CJK SC Regular"; font-size: 12pt; }p.ctl { font-family: "Lohit Devanagari"; font-size: 12pt; } --> <p> </p> <p>PipeCAD?#27537;瀹氫?#23942;槸涓?#28751;忓瀷椤?#37929;殑绠¢亾璁?#29825;?#26462;?#28000;?#38171;?#28051;?#29781;佹湁绠¢亾寤?#22959;?#37510;佽澶?#23524;?#22959;?#28000;?#37721;?#32480;¢亾ISO?#27992;鍙?#39582;抽潰?#27992;鍔熻兘銆?#32459;嬪?#24533;殑鎿?#28003;滄柟寮?#28751;介噺鍙傝働DMS锛岃冭檻鐏垫?#32472;?#37510;?#37828;?#27996;?#28003;?#37922;?#37510;傚?#20635;灉鐢ㄦ潵鍜屽浗鍐呭叾浠?#32480;¢亾璁?#29825;?#26462;?#28000;舵潵瀵规瘮锛?#28051;?#29781;佷紭鍔?#28751;辨槸鍩?#27996;庣嫭绔嬪浘褰?#39582;?#37721;?#38171;?#28051;?#28186;濊禆绗?#28051;夋柟?#27992;褰?#39582;?#37721;板AutoCAD锛?#32459;嬪簭瀹?#29761;呭ソ鍗?#37721;?#26473;愯銆?/p> <p class="western" style="margin-bottom: 0cm; line-height: 100%;"><span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">宸?#32513;忔惌寤?#28610;?#32459;嬪?#24532;?#21976;灦锛屼?#29112;槸灏介噺涓?/span></span>PDMS<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">?#27537;璁?#29825;?#37837;戜繚鎸?#28051;鑷?#38171;屾敮鎸?/span></span>Undo/Redo<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">銆?/span></span></p> <!-- p { margin-bottom: 0.25cm; direction: ltr; color: #000000; line-height: 115%; text-align: left; }p.western { font-family: "Liberation Serif", serif; font-size: 12pt; }p.cjk { font-family: "Noto Sans CJK SC Regular"; font-size: 12pt; }p.ctl { font-family: "Lohit Devanagari"; font-size: 12pt; } --> <p><img src="https://img2018.cnblogs.com/blog/327602/201907/327602-20190724225425330-697139731.png" alt="" /></p> <p class="western" style="margin-bottom: 0cm; line-height: 100%;"><span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">?#27932;涓烘湁</span></span>PipeStd<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">妯″潡?#28533;瀹氫箟绠?#28000;跺浘褰?#38171;屾墍浠?#37721;?#28000;?#37737;?#27996;庢?#28533;寮鍙?#28725;煎叆绠¢亾鏁?#37817;?#27996;?#37817;㈠父瑙佺殑</span></span>PCF/IDF<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">?#26499;浠?#37510;傞?#26473;?#28729;氫箟绠¢亾</span></span>Specification<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">锛?#37721;?#28000;ユ柟渚?#37734;板皢</span></span>PCF/IDF<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">涓殑绠?#28000;?#37825;?#37817;?#26473;涜?#23677;?#24402;厤锛?#28000;?#38000;?#37930;?#28729;?#26473;樺?#29111;叾涓?#32513;?#22959;″瀷銆?#28051;嬪浘鎵绀?#28051;?#28051;涓硶鍏扮殑鍙?#37825;板寲妯″瀷銆?/span></span></p> <p class="western" style="margin-bottom: 0cm; line-height: 100%;"><span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN"><img src="https://img2018.cnblogs.com/blog/327602/201907/327602-20190724225458241-1651796036.png" alt="" /></span></span></p> <p class="western" style="margin-bottom: 0cm; line-height: 100%;"><span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">鍏?#23534;鍙?#28725;煎叆</span></span>IDF<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">锛?/span></span>ISOGEN Data File<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">锛屾潵鑷?/span></span>Intergraph PDS and AVEVA PDMS<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">锛?#37510;?/span></span>PCF<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">锛?/span></span>Piping Component File<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">锛屾潵鑷?/span></span>Intergraph SmartPlant 3D<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">绛?#28003;?#37922;?/span></span>ISOGEN<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">?#27537;璁?#29825;?#26462;?#28000;?#38171;?#38171;?#28729;炵幇涓?#29825;?#29825;?#38340;?/span></span>/<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">宸?#32459;嬭璁?#37711;?#37721;哥殑璁?#29825;?#37825;?#37817;?#37827;?#32514;?#28725;规帴銆傚?#29006;叆绠¢亾</span></span>IDF/PCF<span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">?#26499;浠跺悗锛?#37721;?#28000;ユ柟渚?#37734;版煡鐪?#28051;?#32513;?#22959;″瀷锛屽苟涓?#38315;?#26473;囩?#29808;嚮鐩?#25652;?#32480;?#28000;剁殑涓?#32513;?#22959;″瀷锛屽湪?#30552;鎬х獥鍙?#28051;細鏄?#32448;哄嚭绠?#28000;?#37929;?#37711;崇殑淇?#37805;?#38171;屽绠¢亾绛?#32510;?#37510;?#32480;?#28000;剁被?#28727;銆?#37833;?#37826;?#28000;?#37721;?#37510;?#37833;?#37826;?#37819;?#26473;?#32475;?#37510;?/span></span></p> <p class="western" style="margin-bottom: 0cm; line-height: 100%;"><span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN"><img src="https://img2018.cnblogs.com/blog/327602/201907/327602-20190724225555454-973890436.png" alt="" /></span></span></p> <p class="western" style="margin-bottom: 0cm; line-height: 100%;"><span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN">涓嬮潰褰?#28051;涓?#32480;鍗曠殑瑙嗛?#25118;潵浠?#32513;?#28051;涓?#32459;嬪?#24533;殑鐢ㄦ硶鍙婄幇鍦?#23480;?#32513;?#28729;炵幇?#27537;鍔熻兘锛?/span></span></p> <p class="western" style="margin-bottom: 0cm; line-height: 100%;"><span style="font-family: Noto Sans CJK SC Regular;"><span lang="zh-CN"><img src="https://img2018.cnblogs.com/blog/327602/201907/327602-20190724225621159-1372735712.gif" alt="" /></span></span></p> <p class="western" style="margin-bottom: 0cm; line-height: 100%;"> </p> <!-- p { margin-bottom: 0.25cm; direction: ltr; color: #000000; line-height: 115%; text-align: left; }p.western { font-family: "Liberation Serif", serif; font-size: 12pt; }p.cjk { font-family: "Noto Sans CJK SC Regular"; font-size: 12pt; }p.ctl { font-family: "Lohit Devanagari"; font-size: 12pt; } --> <p class="western" style="margin-bottom: 0cm; line-height: 100%;"> </p> <p class="western" style="margin-bottom: 0cm; line-height: 100%;"> </p> <p class="western" style="margin-bottom: 0cm; line-height: 100%;"> </p> <!-- p { margin-bottom: 0.25cm; direction: ltr; color: #000000; line-height: 115%; text-align: left; }p.western { font-family: "Liberation Serif", serif; font-size: 12pt; }p.cjk { font-family: "Noto Sans CJK SC Regular"; font-size: 12pt; }p.ctl { font-family: "Lohit Devanagari"; font-size: 12pt; } --> <p class="western" style="margin-bottom: 0cm; line-height: 100%;"> </p> <p class="western" style="margin-bottom: 0cm; line-height: 100%;"> </p> <p class="western" style="margin-bottom: 0cm; line-height: 100%;"> </p> <!-- p { margin-bottom: 0.25cm; direction: ltr; color: #000000; line-height: 115%; text-align: left; }p.western { font-family: "Liberation Serif", serif; font-size: 12pt; }p.cjk { font-family: "Noto Sans CJK SC Regular"; font-size: 12pt; }p.ctl { font-family: "Lohit Devanagari"; font-size: 12pt; } --> <p> </p><img src ="http://www.2676208.com/eryar/aggbug/216597.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/eryar/" target="_blank">eryar</a> 2019-07-24 23:28 <a href="http://www.2676208.com/eryar/archive/2019/07/24/PipeCAD.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>PipeCAD?#31651;绠¢亾鏍囧?#21975;簱PipeStd(3)http://www.2676208.com/eryar/archive/2019/07/15/PipeStd3.htmleryareryarMon, 15 Jul 2019 11:04:00 GMThttp://www.2676208.com/eryar/archive/2019/07/15/PipeStd3.htmlhttp://www.2676208.com/eryar/comments/216555.htmlhttp://www.2676208.com/eryar/archive/2019/07/15/PipeStd3.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216555.htmlhttp://www.2676208.com/eryar/services/trackbacks/216555.htmlPipeCAD?#31651;绠¢亾鏍囧?#21975;簱PipeStd(3)

Key Words: PipeCAD, PipeStd, Pipe Design 3D, Linux

1. Introduction
    绠¢亾鏍囧?#21979;儴浠跺簱绋嬪?#24285;ipeStd?#27537;鎬濊矾涓嶱DMS?#27537;Paragon?#34987;浼?#38171;?#28051;?#29781;佷?#29112;槸閲?#37922;?#37721;?#37825;板寲?#27537;?#26591;寮忔潵琛?#32448;?#32480;?#28000;?#37510;傚湪PipeStd涓?#28729;氫箟濂?#32480;?#28000;剁殑鍙?#37825;板寲妯″瀷鍙?#32480;¢亾绛?#32510;?#37825;?#37817;?#37722;?#38171;屽氨鍙?#28000;?#28051;?#37722;庨潰绠¢亾?#27537;寤?#22959;?#37813;?#28610;藉熀纭銆?br />    绋嬪簭涓?#29781;?#37922;–++寮鍙?#38171;屾墍浠?#37721;?#28000;ヨ法骞?#37721;?#26473;愯锛?#37719;?#37721;?#28000;?#37734;↙inux绯?#32513;?#28051;?#26473;愯锛屼篃鍙?#28000;?#37734;╓indows绯?#32513;?#28051;?#26473;愯銆傚涓嬪浘鎵绀?#28051;?#32459;嬪簭鍦║buntu绯?#32513;?#28051;?#26473;愯?#23680;殑鎴浘锛?/p>


绋嬪?#24533;?#23684;潰涓?#29781;?#37714;?#28051;?#28051;?#38318;?#37714;?#38171;?#37825;?#37817;?#28725;?#38008;?#37837;戝拰涓?#32513;?#29785;嗗浘鍖?#37510;?#37825;?#37817;?#28725;?#38008;?#37837;?#28051;?#37828;?#32448;?#28729;氫?#22796;殑绠?#28000;?#37825;?#37817;拰绠¢亾绛?#32510;?#28103;?#37805;?#37510;?#28051;?#32513;?#29785;嗗浘鍖?#37922;ㄦ潵鏄?#32448;?#37721;?#37825;板寲?#27537;绠?#28000;?#22959;″瀷銆?#28051;婂浘涓?#32513;?#37828;?#32448;?#37718;?#37828;?#32448;虹殑?#27128;涓涓硶鍏板瀷銆?br />
2. Catalogue
    绠?#28000;?#37721;?#37825;板寲妯″瀷?#27537;瀹氫?#22795;樉绀?#37734;–atalogue涓?#38171;岃冭檻鍒?#32480;?#28000;?#37837;囧?#21976;湁闄愪笖渚?#27996;?#38007;?#28729;氫箟锛?#37719;?#37721;?#28000;?#28729;氫箟浠?#28003;?#28051;?#32513;?#22959;″瀷锛屾墍浠?#37819;愪緵浜?#37721;?#37825;板?#26663;缓妯$殑?#26591;寮?#38171;?/p>


閫?#26473;?#37721;?#37825;板寲?#27537;?#26591;寮?#37922;?#37922;?#37812;?#38007;?#28729;氫箟绠?#28000;剁殑妯″瀷锛?#37918;嗚涓?#37721;?#28000;?#28729;氫箟浠绘剰涓?#32513;?#22959;″瀷銆?/p>

涓婂浘涓?#28729;氫?#22796;殑闃闂?#37721;?#37825;板寲妯″瀷銆?br />
3. Specification
    绠¢亾绛?#32510;pecification?#27128;鐢ㄦ潵鎺?#37714;?#32480;¢亾寤?#22959;℃椂?#27537;鏉?#37826;?#38171;?#37721;湁鍔?#37711;?#37714;?#32480;¢亾绛?#32510;?#28051;殑绠?#28000;舵?#23944;兘鍦?#23524;?#22959;$殑?#26882;鍊?#28003;?#37922;?#38171;?#26473;欐牱灏?#38316;?#37711;?#32480;¢亾涓?#32513;村缓妯$殑?#26882;鍊?#38315;夋嫨浜嗛敊璇殑绠?#37833;?#37510;?#32480;¢亾绛?#32510;ф槸鐢?#37833;?#37826;?#37818;?#37714;跺伐绋嬪?#22559;垨绠?#37918;嗗?#27195;潵鎺?#37714;?#37510;?/p>


涓婂浘?#27537;璁?#29825;?#28725;?#38008;?#37837;?#28051;婃湁涓涓猄PEC World锛?#37828;?#32448;?#28729;氫?#22796;殑鎵?#28225;绠¢亾绛?#32510;?#37825;?#37817;?#37510;?br />
4. Conclusion
    ?#28225;浜嗙浠?#37721;?#37825;板寲妯″瀷鍙?#32480;¢亾绛?#32510;?#37825;?#37817;?#38171;?#28051;?#28051;姝?#37721;?#28000;?#37734;?#23005;?#37737;虹涓?#28729;炵幇涓涓?#32480;¢亾寤?#22959;″嚭?#27992;?#27537;绋嬪簭銆?#32459;嬪簭鑷?#28051;诲紑鍙?#38171;?#37721;?#28000;ヨ法骞?#37721;?#26473;愯銆?/p>

eryar 2019-07-15 19:04 鍙戣〃璇勮
]]>
Installing Node.js and Express on Ubuntuhttp://www.2676208.com/eryar/archive/2019/07/08/Ubuntu_Nodejs.htmleryareryarMon, 08 Jul 2019 04:10:00 GMThttp://www.2676208.com/eryar/archive/2019/07/08/Ubuntu_Nodejs.htmlhttp://www.2676208.com/eryar/comments/216511.htmlhttp://www.2676208.com/eryar/archive/2019/07/08/Ubuntu_Nodejs.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216511.htmlhttp://www.2676208.com/eryar/services/trackbacks/216511.htmlInstalling Node.js and Express on Ubuntu

1. 鍦╪odejs瀹?#32515;?#28051;?#28051;嬭?#32067;inux Binaries(宸?#32513;忓寘鍚?#27996;唍pm):

2. 瀹?#29761;匩ode.js
涓嬭浇鍚?#29785;?#37720;?#38171;屽苟鍦?#29785;?#37720;嬬殑?#26499;浠?#28598;?#28051;?#37722;?#37716;═erminal鍚?#38171;岃緭鍏ュ懡浠?#38171;?br />    sudo cp * /usr/local/ -r
鍐嶈緭鍏ュ懡浠?#38171;?br />    node -v
    npm -v
?#29025;鐪?#32459;嬪簭鐗?#37832;?#38171;屾潵妫娴嬫槸鍚︽垚鍔?#28729;?#29761;?#38171;?br />

3. 瀹?#29761;卐xpress
    npm install -g express-generator

4. 娴嬭瘯Node?#25328;Express
鐢–esium?#28533;娴嬭瘯涓涓?#28729;?#29761;呮槸鍚︽垚鍔?#38171;?#26473;?#37711;?#37714;癈esium?#31790;鐮佹枃浠?#28598;?#38171;岃緭鍏ュ懡浠?#38171;?br />Node server.js


琛?#32448;?#37722;?#37716;ㄦ垚鍔?#38171;屽湪娴?#29785;堝櫒涓緭鍏?#32515;戝潃锛歨ttp://localhost:8080/


鐐瑰嚮閾炬帴Hello World?#22189;?#24135;涓嬮潰?#27537;杩?#28051;?#37734;?#37918;?#38171;?br />





eryar 2019-07-08 12:10 鍙戣〃璇勮
]]>
Boost test vs2013 fatal error C1001http://www.2676208.com/eryar/archive/2019/07/06/boost_test.htmleryareryarSat, 06 Jul 2019 04:54:00 GMThttp://www.2676208.com/eryar/archive/2019/07/06/boost_test.htmlhttp://www.2676208.com/eryar/comments/216504.htmlhttp://www.2676208.com/eryar/archive/2019/07/06/boost_test.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216504.htmlhttp://www.2676208.com/eryar/services/trackbacks/216504.htmlBoost test vs2013 fatal error C1001

鍦?span style="font-family: 'Times New Roman';">Visual Studio 2013涓?#28003;?#37922;?/span>boost?#27537;test妯″潡?#26882;?#32048;鎶?#38007;村?#20171;敊璇?#38171;屽涓嬪浘鎵绀?#38171;?/span>

?#32237;?#22189;鎶?#38335;欎俊鎭?#28641;?#28051;?#38171;?/p>

1>------ Build started: Project: Test, Configuration: Debug Win32 ------

1>  main.cpp

1>d:\boost_1_70_0\boost\type_traits\common_type.hpp(47): fatal error C1001: An internal error has occurred in the compiler.

1>  (compiler file 'msc1.cpp', line 1325)

1>   To work around this problem, try simplifying or changing the program near the locations listed above.

1>  Please choose the Technical Support command on the Visual C++ 

1>   Help menu, or open the Technical Support help file for more information

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

瀹氫?#23941;埌鎶?#38335;欐枃浠舵槸common_type.hpp锛?/span>

 

鍙?#28000;?#37930;嬪嚭?#27128;?#27932;涓篊XX11?#27537;鍘熷洜锛屽洜涓?/span>VS2013涓嶆敮鎸?/span>C++11锛屾墍浠?/span>boost鎻愪緵浜?#28051;涓?#28729;?#28729;氫?#22795;潵璁剧疆?#27128;鍚︽敮鎸?/span>CXX11锛?/span>

BOOST_NO_CXX11_TEMPLATE_ALIASES

鍦≒roject->Properties->C/C++->Preprocessor涓?#29825;剧疆鍗?#37721;?#38171;?/span>

 

 


涓?#27996;嗘柟渚?#28598;?#28729;?#37734;?#32457;?#37716;?#32468;?#28052;熻兘鐪嬪?#29256;?#25120;殑鍗氭枃?#25328;璁?#29825;?#27996;?#23092;?#38171;岀幇宸叉敞鍐屽井淇?#37711;?#28028;?#37721;?#38171;屾杩庡ぇ瀹舵壂鎻?#28051;嬫柟浜?#32513;?#37934;佸叧?#25950;銆?/h5>Shing Liu(eryar@163.com)


eryar 2019-07-06 12:54 鍙戣〃璇勮
]]>
鏈灏?#27996;屼?#27195;硶鎷?#37722;?#37929;寸嚎http://www.2676208.com/eryar/archive/2019/07/04/fitLine.htmleryareryarThu, 04 Jul 2019 08:26:00 GMThttp://www.2676208.com/eryar/archive/2019/07/04/fitLine.htmlhttp://www.2676208.com/eryar/comments/216484.htmlhttp://www.2676208.com/eryar/archive/2019/07/04/fitLine.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216484.htmlhttp://www.2676208.com/eryar/services/trackbacks/216484.html鏈灏?#27996;屼?#27195;硶鎷?#37722;?#37929;寸嚎

鍦?#32457;?#28699;?#28729;?#26976;屽拰鐢?#27996;?#28729;炶返涓?#38171;?#32513;忓父?#28214;瑕?#28000;?#28051;缁?#28729;?#26976;?#37825;?#37817;嚭鍙?#28725;绘?#20634;?#33445;暟y=f(x)?#27537;涓涓?#26473;?#28028;?#29723;?#26440;?#23534;?#38171;屼篃绉?#28051;?#32513;?#26976;屽叕寮?#37510;?#28000;庡嚑浣?#28051;?#37930;?#38171;屽?#36776;槸?#31495;鏈?#37837;?#37817;?#32513;?#28729;氱殑m涓?#37904;?#38171;?#23033;?#37831;茬嚎y=f(x)?#27537;涓鏉?#26473;?#28028;?#37831;茬嚎銆傚洜姝?#26473;欐槸涓?#37831;茬嚎鎷?#37722;?#38338;?#26864;?#37510;?/span>

?#32139;鎴?#28000;?#29781;佹眰杩?#28028;?#37831;茬嚎涓?#37837;?#38315;?#26473;?#32513;?#28729;氱殑姣?#28051;?#37904;规椂锛?#26473;欐槸鎻掑?#32480;楁硶銆傚浜?#37832;枃鎵杩扮殑鐩寸嚎鎷?#37722;堟潵璇?#38171;屽?#20635;灉鐢?#37819;掑?#32480;楁硶锛屽垯鍙渶瑕?#28051;?#28051;?#37904;?#28751;?#28598;?#27996;?#37510;?#28729;?#38340;?#37929;寸嚎鎷?#37722;堟暟鎹?#37721;兘婊¤冻涓?#27996;嗚繖涓?#37833;?#28000;?#38171;?#28051;?#27996;?#28186;?#27996;?#29825;?#32480;?#38171;屽?#21976;?#24874;?#24225;簲鐢?#38171;屾垜浠?#26440;?#28598;氬湴鏍?#37817;?ldquo;浣挎祴閲忕偣鍒?#37929;寸嚎璺?#32450;荤殑骞虫柟?#25328;鏈灏?rdquo;?#27537;鍘?#37714;欐潵鎷?#37722;?#37510;?#37816;夋渶灏?#27996;屼?#27194;師鍒?#38315;夋嫨鎷?#37722;堟洸绾跨殑?#26591;?#30838;锛?#32457;?#28051;?#37832;灏?#27996;屼?#27195;硶锛?/span>Method of Least Squares锛?#37510;?/span>

鍒?#37922;?#37832;灏?#27996;屼?#27195;硶鎷?#37722;堟洸绾跨殑涓鑸?#23005;?#26976;ゆ槸锛?/span>

  • 灏?#28729;?#26976;?#37825;?#37817;?#37828;?#32448;哄嚭?#28533;锛屽?#21976;瀽鏇?#32510;跨殑褰?#23534;?#38171;?/span>

  • 纭?#28729;氭嫙鍚堟洸绾跨殑褰?#23534;?#37510;傚浜?#37832;枃?#28533;璇?#38171;?#37831;茬嚎褰?#23534;忔槸鐩寸嚎锛?/span>y=a+bx;

  • 寤虹?#23339;硶?#26591;绋?#32513;勫苟瀵瑰叾杩涜姹?#29785;?#38171;?/span>

 

?#27932;涓?/span>OpenCASCADE涓?#37825;?#37817;?#32513;撴瀯鍙?#32480;楁硶涓?#28725;?#38171;屾墍浠?#37922;?/span>OpenCASCADE鍙?#28000;?#36423;?#38315;?#28729;炵幇鐩?#32510;跨殑鏈灏?#27996;屼?#27195;硶鎷?#37722;?#32480;楁硶銆?#28051;嬮潰缁欏嚭鍏?#28003;?#28729;炵幇浠?#37934;?#38171;?/span>

#include <iostream>
#include <gp_Lin2d.hxx>
#include <gp_Pnt2d.hxx>
#include <TColgp_Array1OfPnt2d.hxx>
#include <math_Vector.hxx>
#include <math_SVD.hxx>
#include <math_Gauss.hxx>
#include <math_GaussLeastSquare.hxx>
#include <OSD_Chronometer.hxx>
void fitLine(const TColgp_Array1OfPnt2d& thePoints,
             const std::string& theFileName,
             gp_Lin2d& theLine)
{
    math_Vector aB(1, 2, 0.0);
    math_Vector aX(1, 2, 0.0);
    math_Matrix aM(1, 2, 1, 2);
    Standard_Real aSxi = 0.0;
    Standard_Real aSyi = 0.0;
    Standard_Real aSxx = 0.0;
    Standard_Real aSxy = 0.0;
    std::ofstream aDrawFile(theFileName);
    for (Standard_Integer i = thePoints.Lower(); i <= thePoints.Upper(); ++i)
    {
        const gp_Pnt2d& aPoint = thePoints.Value(i);
        aSxi += aPoint.X();
        aSyi += aPoint.Y();
        aSxx += aPoint.X() * aPoint.X();
        aSxy += aPoint.X() * aPoint.Y();
        aDrawFile << "vpoint p" << i << " " <<
                     aPoint.X() << " " << aPoint.Y() << " 0" << std::endl;
    }
    aM(1, 1) = thePoints.Size();
    aM(1, 2) = aSxi;
    aM(2, 1) = aSxi;
    aM(2, 2) = aSxx;
    aB(1) = aSyi;
    aB(2) = aSxy;
    OSD_Chronometer aChronometer;
    aChronometer.Start();
    math_Gauss aSolver(aM);
    //math_GaussLeastSquare aSolver(aM);
    //math_SVD aSolver(aM);
    aSolver.Solve(aB, aX);
    if (aSolver.IsDone())
    {
        Standard_Real aA = aX(1);
        Standard_Real aB = aX(2);
        gp_Pnt2d aP1(0.0, aA);
        gp_Pnt2d aP2(-aA/aB, 0.0);
        theLine.SetLocation(aP1);
        theLine.SetDirection(gp_Vec2d(aP1, aP2).XY());
        aDrawFile << "vaxis l "
                  << aP1.X() << " " << aP1.Y() << " 0 "
                  << aP2.X() << " " << aP2.Y() << " 0 " << std::endl;
        std::cout << "===================" << std::endl;
        aX.Dump(std::cout);
    }
    aChronometer.Stop();
    aChronometer.Show();
}
int main()
{
    gp_Lin2d aLine;
    // Test data 1
    TColgp_Array1OfPnt2d aPoints1(1, 6);
    aPoints1.SetValue(1, gp_Pnt2d(36.9, 181.0));
    aPoints1.SetValue(2, gp_Pnt2d(46.7, 197.0));
    aPoints1.SetValue(3, gp_Pnt2d(63.7, 235.0));
    aPoints1.SetValue(4, gp_Pnt2d(77.8, 270.0));
    aPoints1.SetValue(5, gp_Pnt2d(84.0, 283.0));
    aPoints1.SetValue(6, gp_Pnt2d(87.5, 292.0));
    fitLine(aPoints1, "fit1.tcl", aLine);
    // Test data 2
    TColgp_Array1OfPnt2d aPoints2(0, 7);
    aPoints2.SetValue(0, gp_Pnt2d(0.0, 27.0));
    aPoints2.SetValue(1, gp_Pnt2d(1.0, 26.8));
    aPoints2.SetValue(2, gp_Pnt2d(2.0, 26.5));
    aPoints2.SetValue(3, gp_Pnt2d(3.0, 26.3));
    aPoints2.SetValue(4, gp_Pnt2d(4.0, 26.1));
    aPoints2.SetValue(5, gp_Pnt2d(5.0, 25.7));
    aPoints2.SetValue(6, gp_Pnt2d(6.0, 25.3));
    aPoints2.SetValue(7, gp_Pnt2d(7.0, 24.8));
    fitLine(aPoints2, "fit2.tcl", aLine);
    return 0;
}

鍦?#37713;芥暟fitLine()涓?#38171;?#37837;?#37817;?#37815;?#37722;?#37904;?#23524;虹?#23339;硶?#26591;绋?#32513;?#38171;屽苟浣?#37922;?/span>math_Gauss?#28533;瀵规硶?#26591;绋?#32513;勮?#28060;姹?#29785;?#37510;傚叾瀹?#28052;?#37721;?#28000;?#28003;?#37922;?/span>math_GaussLeastSquare?#22440;鑰?/span>math_SVD绛夋眰瑙f硶?#26591;绋?#32513;?#37510;傚湪涓诲?#33445;暟main()涓?#23092;嬭瘯浜?#28051;?#32513;?#37825;?#37817;?#37510;?#23092;嬭瘯鏁?#37817;?/span>1?#28533;鑷?#37828;?#28598;?#28052;?#32475;?#37510;婅绠楁柟?#30838;銆?#38171;屾?#23341;瘯鏁?#37817;?/span>2?#28533;鑷?#37510;婇珮绛夋?#26495;銆?#37510;?#32459;嬪簭杩愯缁撴灉濡?#28051;嬪浘鎵绀?#38171;?/span>

涓庝功涓?#29825;?#32480;?#32513;撴灉鍚诲悎銆?/span>


鐢?#27996;庨渶瑕?#28751;嗚绠?#32513;撴灉鏄?#32448;哄嚭?#28533;锛屾墍浠?#37734;?/span>fitLine()鍑芥暟涓?#28583;?#37716;?#27996;嗚緭?#22189;Draw鑴?#37832;枃浠剁殑浠?#37934;?#38171;?#28729;?#38340;?#26473;?#37922;ㄦ椂鍙?#28751;嗚繖閮?#37714;?#28000;?#37934;佸?#32472;帀銆傚?#21977;?#23338;簭鐢熸垚?#27537;鑴?#37832;枃浠?#37716;?#26462;?#37714;?/span>Draw涓?#38171;?#37719;?#37721;?#23536;?#37714;?#28051;嬮潰涓?#28051;浘锛?/span>

娴嬭瘯鏁?#37817;?/span>1鎷?#37722;?#37929;寸嚎


娴嬭瘯鏁?#37817;?/span>2鎷?#37722;?#37929;寸嚎


缁?#28051;婃墍杩?#38171;屽浜?#27996;?#32513;?#37929;?#32510;跨殑鏈灏?#27996;屼?#27195;硶鎷?#37722;?#32480;?#23049;曠殑鍏抽敭?#27128;瀵?#23524;虹珛?#27537;?#30838;?#26591;绋?#32513;勮?#28060;姹?#29785;?#37510;?/span>OpenCASCADE?#27537;math?#23512;涓?#37819;愪緵浜?#28051;浜涜В?#26591;绋?#32513;勭殑?#34987;鍙?#28000;?#37929;存帴浣?#37922;?#37510;傚浜庢病?#28225;浣?#37922;?/span>OpenCASCADE?#27537;寮鍙?#37916;?#28583;冪殑鎯?#37712;?#38171;屼篃鍙?#28000;?#28003;?#37922;ㄥ叾浠栫煩闃?#25652;?#38171;屽Eigen绛?#37922;?#23536;?#23536;堝?#25358;硾銆?/span>Eigen瀹樻?#22317;綉绔?#38171;?/span>http://eigen.tuxfamily.org/index.php?title=Main_Page


灏嗚绠?#32513;撴灉瀵煎嚭Draw鑴?#37832;?#37721;?#29785;嗗寲锛?#37721;?#28000;ユ柟渚?#37929;?#29785;傚湴?#29025;鐪嬫嫙鍚?#32513;撴灉銆傚?#20635;灉鐔熸?#22794;叾浠栬剼鏈?#25652;?#28641;?/span>Python?#27537;matplotlib锛屼篃鍙?#28000;ョ被浼?#28598;?#37918;嗘潵灏嗙?#25780;灉鍙?#29785;嗗寲銆?/span>



eryar 2019-07-04 16:26 鍙戣〃璇勮
]]>
RvmTranslator for Linuxhttp://www.2676208.com/eryar/archive/2019/06/24/RvmTranslator_Linux.htmleryareryarMon, 24 Jun 2019 11:27:00 GMThttp://www.2676208.com/eryar/archive/2019/06/24/RvmTranslator_Linux.htmlhttp://www.2676208.com/eryar/comments/216449.htmlhttp://www.2676208.com/eryar/archive/2019/06/24/RvmTranslator_Linux.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216449.htmlhttp://www.2676208.com/eryar/services/trackbacks/216449.htmlRvmTranslator for Linux
eryar@163.com

RvmTranslator can translate the RVM file exported by AVEVA Plant(PDMS)/AVEVA Marine to STEP, IGES, STL, DXF, 3D PDF, OBJ, 3DXML, IFC,.etc. So it can be used for exchanging model data between other CAD software, such as Autodesk AutoCAD, Plant3d, 3ds Max, CATIA, Solidworks, Pro/E, Unity3d, .etc.
RvmTranslator鍙?#28000;?#28751;咥VEVA PDMS/Plant/Marine涓?#28725;煎嚭?#27537;RVM?#26499;浠?#26473;涜鍙?#29785;嗗寲锛?#28000;?#37721;?#28751;哛VM?#27974;鎹㈡垚?#29238;瑙佺殑涓?#32513;存枃浠?#37837;煎紡銆傚STEP锛孖GES锛孲TL锛孌XF, OBJ, 3DPDF, 3DXML, IFC绛?#38171;屼究浜?#28051;庡叾浠朇AD绯?#32513;熻?#28060;鏁?#37817;?#27996;?#37817;?#38171;屽Autodesk AutoCAD, Plant3d, 3ds Max, CATIA, Solidworks, Pro/E, Unity3d, Bentley绛?#37510;?br />
鐢?#27996;?#28003;?#37922;ㄧ殑?#27128;?#27861;骞?#37721;扮殑Qt绛?#23534;?#31790;搴?#38171;岀幇鍦?#28751;哛vmTranslator绉绘?#23941;埌Linux绯?#32513;?#28051;?#38171;屽涓嬪浘鎵绀?#28051;篟vmTranslator鍦║buntu绯?#32513;?#28051;殑鐣岄潰锛?br />

?#25966;鎸丷VM?#26499;浠?#28051;殑涓枃瀛?#32471;?#38171;?br />

RVM?#27128;AVEVA?#27537;涓涓?#32513;?#28051;妯″瀷鏍煎紡锛屽寘鎷叾鏀惰喘?#27537;鑸?#38008;剁郴缁烼ribon涔?#37721;?#28000;?#28725;煎嚭RVM鏍煎?#24533;殑?#26499;浠?#37510;?/p>

涓婂浘涓?#38008;?#28003;?#32513;撴瀯锛?/p>


涓婂浘涓?#38008;?#38008;?#32480;¤矾锛屽洜涓?#38008;?#28003;撶┖闂?#37929;?#28725;圭嫮灏?#38171;岃埞鑸?#32480;¤矾甯冪疆?#27537;瀵嗛泦浜?#37510;?br />
鍦║buntu绯?#32513;?#28051;婅瘯浜?#28051;嬪紑鍙?#37916;?#28583;?#38171;岃?#22794;緱杩樻瘮杈冮?#28888;墜銆傚紑鍙戠殑IDE鍙?#28000;?#37922;≦t Creator锛屽熀鏈?#23114;¤冻缂?#37934;?#38171;岃皟璇曠殑瑕佹眰銆?#28003;?#37922;≦t Creator杩樻湁涓涓?#28610;?#28598;勫?#36776;槸?#26591;渚?#28000;?#37934;佺殑?#27861;骞?#37721;?#32457;绘锛屽湪Ubuntu涓婄殑浠?#37934;?#28000;t?#27537;*.pro褰?#23534;忎繚瀛?#38171;?#37721;?#28000;?#37929;存帴鍦╒isual Studio涓?#37922;≦t VS Addin鎵?#23534;缂?#29831;?#37510;?br />


涓?#27996;嗘柟渚?#28598;?#28729;?#37734;?#32457;?#37716;?#32468;?#28052;熻兘鐪嬪?#29256;?#25120;殑鍗氭枃?#25328;璁?#29825;?#27996;?#23092;?#38171;岀幇宸叉敞鍐屽井淇?#37711;?#28028;?#37721;?#38171;屾杩庡ぇ瀹舵壂鎻?#28051;嬫柟浜?#32513;?#37934;佸叧?#25950;銆?/h5> Shing Liu(eryar@163.com)


eryar 2019-06-24 19:27 鍙戣〃璇勮
]]>
RvmTranslator7.1http://www.2676208.com/eryar/archive/2019/06/15/RvmTranslator7_1.htmleryareryarSat, 15 Jun 2019 02:04:00 GMThttp://www.2676208.com/eryar/archive/2019/06/15/RvmTranslator7_1.htmlhttp://www.2676208.com/eryar/comments/216404.htmlhttp://www.2676208.com/eryar/archive/2019/06/15/RvmTranslator7_1.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216404.htmlhttp://www.2676208.com/eryar/services/trackbacks/216404.html

RvmTranslator7.1

eryar@163.com

 

RvmTranslator can translate the RVM file exported by AVEVA Plant(PDMS)/AVEVA Marine to STEP, IGES, STL, DXF, 3D PDF, OBJ, 3DXML, IFC,.etc. So it can be used for exchanging model data between other CAD software, such as Autodesk AutoCAD, Plant3d, 3ds Max, CATIA, Solidworks, Pro/E, Unity3d, .etc.

RvmTranslator鍙?#28000;?#28751;?/span>AVEVA PDMS/Plant/Marine涓?#28725;煎嚭?#27537;RVM?#26499;浠?#26473;涜鍙?#29785;嗗寲锛?#28000;?#37721;?#28751;?/span>RVM?#27974;鎹㈡垚?#29238;瑙佺殑涓?#32513;存枃浠?#37837;煎紡銆傚STEP锛?/span>IGES锛?/span>STL锛?/span>DXF, OBJ, 3DPDF, 3DXML, IFC绛?#38171;屼究浜?#28051;庡叾浠?/span>CAD绯?#32513;熻?#28060;鏁?#37817;?#27996;?#37817;?#38171;屽Autodesk AutoCAD, Plant3d, 3ds Max, CATIA, Solidworks, Pro/E, Unity3d, Bentley绛?#37510;?/span>

RvmTranslator7.1淇?#28598;?#27996;嗚璁?#37837;?#28051;?#28051;枃鏄?#32448;?#38338;?#26864;?#38171;?/span>

涓嬭浇RvmTranslator7.1: https://share.weiyun.com/5I8biQw

 


涓?#27996;嗘柟渚?#28598;?#28729;?#37734;?#32457;?#37716;?#32468;?#28052;熻兘鐪嬪?#29256;?#25120;殑鍗氭枃?#25328;璁?#29825;?#27996;?#23092;?#38171;岀幇宸叉敞鍐屽井淇?#37711;?#28028;?#37721;?#38171;屾杩庡ぇ瀹舵壂鎻?#28051;嬫柟浜?#32513;?#37934;佸叧?#25950;銆?/h5> Shing Liu(eryar@163.com)


eryar 2019-06-15 10:04 鍙戣〃璇勮
]]>
OpenCASCADE鐩寸嚎涓庡?#25277;潰姹?#27996;?/title><link>http://www.2676208.com/eryar/archive/2019/06/03/LinePlaneInt.html</link><dc:creator>eryar</dc:creator><author>eryar</author><pubDate>Mon, 03 Jun 2019 08:40:00 GMT</pubDate><guid>http://www.2676208.com/eryar/archive/2019/06/03/LinePlaneInt.html</guid><wfw:comment>http://www.2676208.com/eryar/comments/216393.html</wfw:comment><comments>http://www.2676208.com/eryar/archive/2019/06/03/LinePlaneInt.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/eryar/comments/commentRss/216393.html</wfw:commentRss><trackback:ping>http://www.2676208.com/eryar/services/trackbacks/216393.html</trackback:ping><description><![CDATA[ <h2 align="center"><strong>OpenCASCADE<span style="font-family: 瀹嬩綋;">鐩寸嚎涓庡?#25277;潰姹?#27996;?/span></strong></h2> <p><span style="font-family: 瀹嬩綋;">鍦?#37510;?#29785;?#37835;愬嚑浣?#37510;?#37929;?#37711;崇殑涔?#28051;兘缁欏嚭浜嗙?#23544;嚎鍜屽?#25277;潰?#27537;涓鑸柟绋嬪拰鍙?#37825;版柟绋?#37510;傚叾涓?#37929;?#32510;跨殑涓鑸柟绋嬫湁鐐?#37722;?#23534;?#35120;?#23534;忕殑銆?/span></p> <p align="center"><img src="https://img2018.cnblogs.com/blog/534255/201906/534255-20190603162247978-832152196.png" alt="" /></p> <p><span style="font-family: 瀹嬩綋;">鐢?#27996;?#26473;囩┖闂?#28051;鐐?#37721;?#28003;?#28051;?#37721;兘浣?#28051;鏉?#37929;寸嚎骞?#29723;?#27996;庡?#33580;煡鐩寸嚎锛屾墍浠ュ綋鐩寸嚎涓?#28051;鐐?#38171;?/span>x0, y0, z0)<span style="font-family: 瀹嬩綋;">?#25328;瀹冪殑涓?#26591;鍚?#37722;?#38322;?#38171;?/span><span style="font-family: Calibri;">m,n,p)</span><span style="font-family: 瀹嬩綋;">涓?#23480;茬煡?#26882;锛?#37929;寸嚎灏?#28729;屽叏纭?#28729;?#27996;?#37510;?#37813;浠?#37734;?/span><span style="font-family: Calibri;">OpenCASCADE</span><span style="font-family: 瀹嬩綋;">涓?#37929;?#32510;跨被</span><span style="font-family: Calibri;">gp_Lin</span><span style="font-family: 瀹嬩綋;">?#28225;涓涓?#37835;?#38315;?#37713;芥暟锛?/span></p> <p>gp_Lin (const gp_Pnt &P, const gp_Dir &V) <span style="font-family: 瀹嬩綋;">鍗抽?#26473;囩?#29808;拰?#26591;鍚戞潵鏋?#38315;?#37929;寸嚎銆?#37922;?#37929;?#32510;跨殑鐐?#37722;?#23534;忔柟绋?#28729;?#37828;?#28725;煎嚭鐩?#32510;跨殑鍙?#37825;版柟绋?#38171;?/span></p> <p align="center"><img src="https://img2018.cnblogs.com/blog/534255/201906/534255-20190603162257277-2017434532.png" alt="" /></p> <p><span style="font-family: 瀹嬩綋;">?#21502;涓?/span>OpenCASCADE<span style="font-family: 瀹嬩綋;">?#27537;鐩寸嚎?#27128;鐢?#37721;?#37825;版柟绋嬫潵琛?#32448;虹殑銆?/span></p> <p><span style="font-family: 瀹嬩綋;">鍚?#37918;?#28725;?#27996;庡?#25277;潰鑰岃█锛?#26473;囩┖闂?#28051;鐐?#37721;?#28000;?#28003;?#38000;?#28051;?#37721;兘浣?#28051;骞抽潰鍨?#37929;?#27996;?#28051;宸茬煡鐩寸嚎锛屾墍浠?#39582;抽潰?#27537;涓鐐?#38171;?/span>x0,y0,z0)<span style="font-family: 瀹嬩綋;">?#25328;瀹冪殑涓涓?#23049;曠嚎?#26591;鍚?/span><span style="font-family: Calibri;">(A, B, C)</span><span style="font-family: 瀹嬩綋;">涓?#23480;茬煡?#26882;锛屽?#25277;潰灏?#28729;屽叏纭?#28729;?#27996;?#37510;?#37813;浠?#39582;抽潰?#26591;绋嬩?#29112;湁鐐?#37722;?#23534;忕殑锛?/span></p> <p><img src="https://img2018.cnblogs.com/blog/534255/201906/534255-20190603162309663-376377789.png" alt="" /></p> <p><span style="font-family: 瀹嬩綋;">浠?#28051;涓?#37904;瑰拰涓?#28051;?#28051;嶅叡绾跨殑鍚?#38322;忕‘瀹?#28051;涓?#39582;抽潰浣?#28051;?#29825;?#29825;虹殑?#22189;鍙?#37904;?#38171;?#37721;?#28000;?#23536;楀嚭骞抽潰?#27537;鍙?#37825;版柟绋?#38171;?/span></p> <p><img src="https://img2018.cnblogs.com/blog/534255/201906/534255-20190603162317894-220894722.png" alt="" /> </p> <p><span style="font-family: 瀹嬩綋;">濡?#28051;婂浘鎵绀?#38171;屽?#33580;煡涓涓?#37904;?/span>M0(x0,y0,z0)<span style="font-family: 瀹嬩綋;">锛屽悜閲?/span><span style="font-family: Calibri;">v1(x1,y1,z1)</span><span style="font-family: 瀹嬩綋;">鍜屽悜閲?/span><span style="font-family: Calibri;">v2(x2,y2,z2)</span><span style="font-family: 瀹嬩綋;">锛屾垜浠潵姹傜偣</span><span style="font-family: Calibri;">M0</span><span style="font-family: 瀹嬩綋;">鍜屽悜閲?/span><span style="font-family: Calibri;">V1</span><span style="font-family: 瀹嬩綋;">锛?/span><span style="font-family: Calibri;">V2</span><span style="font-family: 瀹嬩綋;">纭?#28729;氱殑骞抽潰?#26591;绋?#37510;傜偣</span><span style="font-family: Calibri;">M(x,y,z)</span><span style="font-family: 瀹嬩綋;">鍦?#39582;抽潰涓婄殑鍏?#29781;?#37833;?#28000;舵槸鍚?#38322;?/span><span style="font-family: Calibri;">M0M</span><span style="font-family: 瀹嬩綋;">涓?/span><span style="font-family: Calibri;">V1, V2</span><span style="font-family: 瀹嬩綋;">鍏遍潰銆傚洜涓?#37722;?#38322;?/span><span style="font-family: Calibri;">V1, V2</span><span style="font-family: 瀹嬩綋;">涓嶅钩琛?#38171;屾墍浠?#37711;遍潰?#27537;鍏?#29781;?#37833;?#28000;舵槸瀛?#37734;ㄥ敮涓?#27537;涓瀵?#28729;?#37825;?/span><span style="font-family: Calibri;">u, v</span><span style="font-family: 瀹嬩綋;">浣?#38171;?/span></p> <p><img src="https://img2018.cnblogs.com/blog/534255/201906/534255-20190603162331852-1495156293.png" alt="" /></p> <p><span style="font-family: 瀹嬩綋;">鍚?#38322;?/span>M0M<span style="font-family: 瀹嬩綋;">?#25328;</span><span style="font-family: Calibri;">V1</span><span style="font-family: 瀹嬩綋;">锛?/span><span style="font-family: Calibri;">V2</span><span style="font-family: 瀹嬩綋;">鍏遍潰?#27537;鍏?#29781;?#37833;?#28000;舵槸锛?/span></p> <p><img src="https://img2018.cnblogs.com/blog/534255/201906/534255-20190603162530489-1079184086.png" alt="" /></p> <p><span style="font-family: 瀹嬩綋;">鏍?#37817;?#39582;抽潰?#27537;鍙?#37825;版柟绋?#37721;煡锛岃?#20346;‘瀹?#28051;涓?#39582;抽潰浠庡弬鏁版柟绋嬬殑瑙掑害?#28533;鐪嬮渶瑕?#28051;涓?#37904;瑰拰涓?#28051;柟鍚?#37510;?#28000;庡弬鏁版柟绋嬫帹瀵煎嚭涓鑸柟绋嬬殑杩?#32459;嬩?#29112;槸璁?#32480;?#39582;抽潰涓鑸柟绋嬬?#32472;?#25198;殑?#26591;?#30838;銆?/span></p> <p><span style="font-family: 瀹嬩綋;">鏍?#37817;?#37929;?#32510;跨殑鍙?#37825;版柟绋?#37721;?#39582;抽潰?#27537;涓鑸柟绋?#37721;?#28000;?#37818;?#28725;煎嚭鐩寸嚎涓庡?#25277;潰浜?#37904;圭殑璁?#32480;?#37711;?#23534;?#38171;屾帹瀵?#26473;?#32459;嬪涓?#38171;?/span></p> <p><img src="https://img2018.cnblogs.com/blog/534255/201906/534255-20190603162537534-652366768.png" alt="" /></p> <p><span style="font-family: 瀹嬩綋;">浠?#28051;婇潰?#27537;鎺?#28725;?#26473;?#32459;?#37721;?#28000;?#37930;嬪嚭锛岃绠?#37929;寸嚎涓庡?#25277;潰?#27537;浜?#37904;?#28051;?#29781;?#28751;辨槸璁?#32480;?#37721;?#37825;?/span>t<span style="font-family: 瀹嬩綋;">锛屽綋</span><span style="font-family: Calibri;">t</span><span style="font-family: 瀹嬩綋;">姹傚嚭鍚?#28000;?#37711;?#37929;寸嚎鍙?#37825;版柟绋?#37719;?#37721;?#23536;?#37714;?#27996;?#37904;瑰潗鏍?#37510;?#28000;庡弬鏁?/span><span style="font-family: Calibri;">t</span><span style="font-family: 瀹嬩綋;">?#27537;璁?#32480;?#37711;?#23534;?#37721;煡锛屾湁涓?#37911;规?#23107;儏鍐?#28751;辨槸鍒嗘瘝涓洪?#21057;殑鎯?#37712;?#38171;屾?#26882;?#27128;鐩寸嚎涓庡?#25277;潰骞?#29723;屽?#36941;潰?#28214;瑕?#37911;?#37714;?#28598;?#37918;?#37510;?/span></p> <p><span style="font-family: 瀹嬩綋;">鍦?/span>OpenCASCADE<span style="font-family: 瀹嬩綋;">涓?#37819;愪緵浜嗙?#23544;嚎涓庡?#25277;潰姹?#27996;ょ殑璁?#32480;楃被</span><span style="font-family: Calibri;">IntAna_IntConicQuad</span><span style="font-family: 瀹嬩綋;">锛屽叾瀹炵幇?#31790;鐮佸涓?#38171;?/span></p> <p> </p> <div class="cnblogs_code"> <pre><span style="color: #0000ff;">void</span> IntAna_IntConicQuad::Perform (<span style="color: #0000ff;">const</span> gp_Lin& L, <span style="color: #0000ff;">const</span> gp_Pln&<span style="color: #000000;"> P, </span><span style="color: #0000ff;">const</span><span style="color: #000000;"> Standard_Real Tolang, </span><span style="color: #0000ff;">const</span><span style="color: #000000;"> Standard_Real Tol, </span><span style="color: #0000ff;">const</span><span style="color: #000000;"> Standard_Real Len) { </span><span style="color: #008000;">//</span><span style="color: #008000;"> Tolang represente la tolerance angulaire a partir de laquelle on considere </span><span style="color: #008000;">//</span><span style="color: #008000;"> que l angle entre 2 vecteurs est nul. On raisonnera sur le cosinus de cet </span><span style="color: #008000;">//</span><span style="color: #008000;"> angle, (on a Cos(t) equivalent a t au voisinage de Pi/2).</span> <span style="color: #000000;"> done</span>=<span style="color: #000000;">Standard_False; Standard_Real A,B,C,D; Standard_Real Al,Bl,Cl; Standard_Real Dis,Direc; P.Coefficients(A,B,C,D); gp_Pnt Orig(L.Location()); L.Direction().Coord(Al,Bl,Cl); Direc</span>=A*Al+B*Bl+C*<span style="color: #000000;">Cl; Dis </span>= A*Orig.X() + B*Orig.Y() + C*Orig.Z() +<span style="color: #000000;"> D; </span><span style="color: #008000;">// </span> parallel=<span style="color: #000000;">Standard_False; </span><span style="color: #0000ff;">if</span> (Abs(Direc) <<span style="color: #000000;"> Tolang) { parallel</span>=<span style="color: #000000;">Standard_True; </span><span style="color: #0000ff;">if</span> (Len!=<span style="color: #800080;">0</span> && Direc!=<span style="color: #800080;">0</span><span style="color: #000000;">) { </span><span style="color: #008000;">//</span><span style="color: #008000;">check the distance from bounding point of the line to the plane</span> <span style="color: #000000;"> gp_Pnt aP1, aP2; </span><span style="color: #008000;">// </span> aP1.SetCoord(Orig.X()-Dis*A, Orig.Y()-Dis*B, Orig.Z()-Dis*<span style="color: #000000;">C); aP2.SetCoord(aP1.X()</span>+Len*Al, aP1.Y()+Len*Bl, aP1.Z()+Len*<span style="color: #000000;">Cl); </span><span style="color: #0000ff;">if</span> (P.Distance(aP2) ><span style="color: #000000;"> Tol) { parallel</span>=<span style="color: #000000;">Standard_False; } } } </span><span style="color: #0000ff;">if</span><span style="color: #000000;"> (parallel) { </span><span style="color: #0000ff;">if</span> (Abs(Dis) <<span style="color: #000000;"> Tolang) { inquadric</span>=<span style="color: #000000;">Standard_True; } </span><span style="color: #0000ff;">else</span><span style="color: #000000;"> { inquadric</span>=<span style="color: #000000;">Standard_False; } } </span><span style="color: #0000ff;">else</span><span style="color: #000000;"> { parallel</span>=<span style="color: #000000;">Standard_False; inquadric</span>=<span style="color: #000000;">Standard_False; nbpts </span>= <span style="color: #800080;">1</span><span style="color: #000000;">; paramonc [</span><span style="color: #800080;">0</span>] = - Dis/<span style="color: #000000;">Direc; pnts[</span><span style="color: #800080;">0</span>].SetCoord(Orig.X()+paramonc[<span style="color: #800080;">0</span>]*<span style="color: #000000;">Al, Orig.Y()</span>+paramonc[<span style="color: #800080;">0</span>]*<span style="color: #000000;">Bl, Orig.Z()</span>+paramonc[<span style="color: #800080;">0</span>]*<span style="color: #000000;">Cl); } done</span>=<span style="color: #000000;">Standard_True; }</span></pre> </div> <p> </p> <p><span style="font-family: 瀹嬩綋;">浠?#28051;?#26473;?#28000;?#37934;?#28051;?#37721;?#28000;?#37930;嬪嚭?#21502;璁?#32480;?#37804;濊矾涔熸槸鍏?#29825;?#32480;?#37721;?#37825;?/span>t<span style="font-family: 瀹嬩綋;">锛?#26473;?#37716;?#27996;?#28051;涓?#37911;规畩鐢ㄦ硶锛?#37719;冲綋鍙?#37825;?/span><span style="font-family: Calibri;">Len!=0</span><span style="font-family: 瀹嬩綋;">涓?#37721;?#37825;?/span><span style="font-family: Calibri;">t</span><span style="font-family: 瀹嬩綋;">?#27537;鍒嗘瘝</span><span style="font-family: Calibri;">!=0</span><span style="font-family: 瀹嬩綋;">?#26882;閲嶆柊鍒?#37826;?#37929;寸嚎涓庡?#25277;潰?#27537;骞?#29723;岀?#33333;?#37510;?#26473;?#28051;?#37922;ㄦ硶?#27367;鐒舵湁骞?#29723;岀?#33333;佺殑閲嶆柊鍒?#37826;?#38171;屼?#21976;槸濡傛灉涓嶅钩琛屾病?#28225;璁?#32480;?#27996;?#37904;圭殑澶?#37918;?#37510;?#37813;浠?#28003;?#37922;?#26473;?#28051;?#37713;芥暟?#26882;锛?#37721;?#37825;?/span><span style="font-family: Calibri;">Len</span><span style="font-family: 瀹嬩綋;">鍙?#28000;?#37922;ㄩ粯璁?#37706;?/span><span style="font-family: Calibri;">0</span><span style="font-family: 瀹嬩綋;">锛?#37719;?#28051;?#37922;?#26473;欐澶?#37918;嗛昏緫銆?#26473;樻湁涓?#28051;?#28051;?#29835;ㄧ殑鍦版柟?#27128;杩?#38322;岀殑瀹?#37825;板垽鏂病?#28225;鐢?#37718;?#38338;村垽鏂硶銆?/span></p> <img src ="http://www.2676208.com/eryar/aggbug/216393.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/eryar/" target="_blank">eryar</a> 2019-06-03 16:40 <a href="http://www.2676208.com/eryar/archive/2019/06/03/LinePlaneInt.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>RvmTranslator7.0-OBJhttp://www.2676208.com/eryar/archive/2019/05/29/RvmTranslator_OBJ.htmleryareryarWed, 29 May 2019 13:04:00 GMThttp://www.2676208.com/eryar/archive/2019/05/29/RvmTranslator_OBJ.htmlhttp://www.2676208.com/eryar/comments/216387.htmlhttp://www.2676208.com/eryar/archive/2019/05/29/RvmTranslator_OBJ.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216387.htmlhttp://www.2676208.com/eryar/services/trackbacks/216387.htmlRvmTranslator7.0-OBJ

eryar@163.com

 

RvmTranslator can translate the RVM file exported by AVEVA Plant(PDMS)/AVEVA Marine to STEP, IGES, STL, DXF, 3D PDF, OBJ, 3DXML, IFC,.etc. So it can be used for exchanging model data between other CAD software, such as Autodesk AutoCAD, Plant3d, 3ds Max, CATIA, Solidworks, Pro/E, Unity3d, .etc.

 

RvmTranslator鍙?#28000;?#28751;?/span>AVEVA PDMS/Plant/Marine涓?#28725;煎嚭?#27537;RVM?#26499;浠?#26473;涜鍙?#29785;嗗寲锛?#28000;?#37721;?#28751;?/span>RVM?#27974;鎹㈡垚?#29238;瑙佺殑涓?#32513;存枃浠?#37837;煎紡銆傚STEP锛?/span>IGES锛?/span>STL锛?/span>DXF, OBJ, 3DPDF, 3DXML, IFC绛?#38171;屼究浜?#28051;庡叾浠?/span>CAD绯?#32513;熻?#28060;鏁?#37817;?#27996;?#37817;?#38171;屽Autodesk AutoCAD, Plant3d, 3ds Max, CATIA, Solidworks, Pro/E, Unity3d, Bentley绛?#37510;?/span>

OBJ?#26499;浠舵槸Alias|Wavefront鍏?#37721;?#28051;?#28729;冪殑涓濂?#37737;?#27996;庡伐浣滅珯?#27537;3D寤?#22959;″拰鍔ㄧ敾杞?#28000;?/span>"Advanced Visualizer"寮鍙戠殑涓绉嶆?#22247;噯3D妯″瀷?#26499;浠?#37837;煎紡锛屽緢閫傚悎鐢?#27996;?/span>3D杞?#28000;?#22959;″瀷?#31651;闂寸殑浜?#28725;?#38171;屼篃鍙?#28000;?#38315;?#26473;?/span>Maya璇诲啓銆?#23011;?#28641;?#28003;?#37734;?/span>3dsMax?#22440;LightWave涓?#23524;?#27996;?#28051;涓?#22959;″瀷锛屾兂鎶?#28729;冭皟鍒?/span>Maya閲岄潰娓?#37836;撴垨鍔ㄧ敾锛屽?#29006;嚭OBJ?#26499;浠跺?#36776;槸涓绉嶅?#22557;?#30028;殑閫夋嫨銆?#37929;?#37715;嶅嚑涔?#37813;?#28225;?#29025;鍚嶇殑3D杞?#28000;堕兘?#25966;鎸?/span>OBJ?#26499;浠剁殑璇诲啓锛?#28051;?#26473;囧叾涓?#23536;?#28598;氶渶瑕?#38315;?#26473;?#37819;?#28000;舵?#23944;兘瀹炵幇銆?/span>RvmTranslator鍙?#28000;?#28751;?/span>PDMS妯″瀷?#27974;鎹㈡垚OBJ鏍煎紡銆?/span>

 

涓婂浘涓?/span>RvmTranslator?#27974;鎹㈢殑宸?#37720;?#22959;″瀷銆?/span>

涓婂浘涓?/span>RvmTranslator?#27974;鎹㈢殑鑸?#28003;?#22959;″瀷銆?/span>

 

Download RvmTranslator

 https://share.weiyun.com/5fcHSBC



eryar 2019-05-29 21:04 鍙戣〃璇勮
]]>
OpenCASCADE License FAQshttp://www.2676208.com/eryar/archive/2019/05/29/occ_license_faq.htmleryareryarWed, 29 May 2019 13:03:00 GMThttp://www.2676208.com/eryar/archive/2019/05/29/occ_license_faq.htmlhttp://www.2676208.com/eryar/comments/216386.htmlhttp://www.2676208.com/eryar/archive/2019/05/29/occ_license_faq.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216386.htmlhttp://www.2676208.com/eryar/services/trackbacks/216386.htmlOpenCASCADE License FAQs

 

缁忓父鐢?#27996;?#38338;?#37812;?#28003;?#37922;?/span>OpenCASCADE寮鍙戝晢涓?#26462;?#28000;舵槸鍚﹂渶瑕?#28000;?#29840;?#38171;?#28051;嬮潰浠?/span>OpenCASCADE?#27537;瀹樻?#22317;綉绔?#28051;婃埅鍙栧叾鍥?#32475;旂?#26127;瘧鎴愪腑?#26499;锛?#28729;樻?#22317;?#25117;潃锛?/span>https://www.opencascade.com/content/faqs 銆?/span>

 

缈昏瘧缁?#28051;灏?/span>Open CASCADE Technology绠绉?#28051;?OCCT銆?/span>

 

OCCT璁?#37721;?#28051;?/span>GPL鍏?#28729;?#37722;?#38171;?/span>

?#27128;?#27537;锛?#28000;庣増鏈?/span>6.7.0寮濮?#38171;?/span>OCCT?#27128;鏍?#37817;?/span>GNU LGPL鐗?#37832;?/span>2.1?#27537;鏉?#23046;?#38171;?#28000;?#37721;?#28051;浜?#28751;忕殑闄?#37716;?#37833;?#38340;?#38171;?#37721;戝?#20906;殑锛屽洜姝?#28729;?#28051;?/span>GNU GPL鐗?#37832;?/span>2鍙?#37831;撮珮鐗?#37832;?#28729;屽叏鍏?#28729;?#37510;?/span>

浣嗘槸锛?/span>OCCT鐗?#37832;?/span>6.6.0鍙?#37831;存棭鐗?#37832;槸鏍?#37817;?#38007;?#28729;氫箟璁?#37721;?#29831;?#38171;?/span>OCCT Public License锛?#37721;戝?#20906;殑銆?璇?#29825;?#37721;?#37734;?#37929;殑?#25328;鎰忓浘?#26591;?#28528;?#34987;浼?#27996;?/span>GNU LGPL锛屼絾涓?/span>GNU GPL涓嶅吋瀹?#37510;?/span>

 

鎴?#37721;?#28000;?#28003;?#37922;?/span>OCCT鏍?#37817;?/span>GPL锛?/span>LGPL?#22440;?#21502;浠?#29825;?#37721;?#38171;堝寘鎷?#28051;撴湁锛?#37714;?#37721;?#37812;戠殑杞?#28000;?#27996;?#37725;佸悧锛?/span>

?#27128;?#27537;浣?#37721;?#28000;?#37510;?/span> 浣嗘槸锛屾偍搴?#28654;?#32513;?#32429;繚鏈缁?#27996;?#37725;佽鍙?#29831;?#32471;?#37722;?#27996;?#37725;?#28051;?#28003;?#37922;ㄧ殑搴撶殑璁?#37721;?#29831;佽?#20345;眰銆?/span> 浠庣増鏈?/span>6.7.0寮濮?#38171;?/span>OCCT鏍?#37817;?/span>GNU LGPL鐗?#37832;?/span>2.1?#27537;鏉?#23046;?#38171;?#28000;?#37721;?#28051;浜?#28751;忕殑闄?#37716;?#37833;?#38340;?#38171;?#37721;戝竷锛屼娇鐢?#29831;?#25652;撶殑杞?#28000;?#27996;?#37725;佺殑瑕佹?#20634;湪LGPL?#26499;鏈殑绗?/span>6閮?#37714;?#28051;?#37819;?#26473;?#37510;?濡傛灉鎮ㄧ殑鏈缁?#27996;?#37725;佺殑璁?#37721;?#28051;庡叾涓?#28003;?#37922;ㄧ殑搴撶殑璁?#37721;湁浠?#28003;?#37712;茬獊锛屾偍?#28214;瑕?#38322;?#37721;栨帾鏂?#38171;?#28186;嬪锛屽?#35268;?#34987;鏈缁?#27996;?#37725;佽鍙?#26473;涜?#23684;傚綋?#27537;淇?#37824;?#38171;?#28000;?#29785;?#37712;?#28000;?#28003;曠煕?#27992;銆?/span>

濡傛灉?#28225;?#26514;闂苟閬?#37711;?#37721;兘?#27537;璇?#29785;?#38171;岃?#30127;?#26050;?#32472;垜浠幏鍙栧缓璁?#38171;屾垜浠?#23536;堜?#24877;剰鍥?#32475;?#37806;?#28725;规浜?#37721;兘?#28225;?#27537;浠?#28003;曠枒闂?#37510;?/span>

 

鎴?#37721;?#28000;?#28003;?#37922;?/span>Open CASCADE鎶鏈?#37714;?#28003;滃晢涓?#27996;?#37725;佸苟杩涜?#23684;攢鍞?#37722;?#38171;?濡傛灉?#27128;锛屾槸鍚︽湁浠?#28003;?#38340;?#37714;?#38171;?/span>

?#27128;?#27537;锛屾偍鍙?#28000;?#37734;ㄥ晢涓氬簲鐢?#32459;嬪簭涓?#28003;?#37922;?/span>Open CASCADE鎶鏈?#38171;?/span>OCCT锛?#25652;?#38171;岃?#37827;犻渶?#25966;浠?#28000;?#28003;?#23534;鍙戣鍙?#29840;规垨杩愯?#23678;椂璐规垨鐗?#32459;?#37510;傛偍?#27537;涔?#37716;℃槸瑕?#37828;庣‘?#25950;鎰忔偍?#27537;杞?#28000;?#28003;?#37922;?/span>Open CASCADE鎶鏈?#38171;?/span>OPEN CASCADE鍏?#37721;哥殑鍟嗘爣锛?#38171;屽湪鎮ㄧ殑浜?#37725;?#28051;?#37819;愪緵OCCT璁?#37721;?#29831;佺殑鍓?#37832;?#38171;屽苟閬?#23536;?#29825;?#37721;?#29831;?#37832;?#38892;殑?#21502;浠?#29781;佹眰銆?浠庣増鏈?/span>6.7.0寮濮?#38171;屾璁?#37721;?#29831;佹槸GNU LGPL鐗?#37832;?/span>2.1锛?#37711;锋湁涓浜?#28751;忕殑闄?#37716;?#37833;?#38340;?#38171;?#37510;?#37721;?#29831;锋敞鎰?#38171;?/span>OCCT浣?#37922;?#8220;绯?#32513;熻?#20345;眰”椤甸潰涓?#37714;楀嚭?#27537;绗?#28051;夋?#22317;粍浠?#37510;?绗?#28051;夋?#22317;粍浠剁殑浣?#37922;?#37721;楀叾鐩?#25652;?#29825;?#37721;?#29831;佺殑绾?#37833;?#37510;?/span>

 

 

濡傛灉鎴?#37807;?#37721;戝?#20909;嚜宸?#28003;?#37922;?/span>OCCT?#27537;杞?#28000;?#38171;屾垜?#27128;鍚︽湁涔?#37716;?#38322;嶆柊鍒?#37721;?#37825;?#28051;?#28729;?#29761;呭寘锛屾垨鑰?#37812;?#37721;兘鍒?#37721;?#37812;戦渶瑕佺殑閮?#37714;?#28000;?#37934;?#38171;?/span>

杩欐牱?#27128;鍏佽?#21733;殑?#33503;?#28257;鏈涙偍浠?#37714;?#37721;?#28003;犵殑绋嬪簭浣?#37922;?#37714;扮殑搴撳拰璧勬簮銆?/span>

 

 

鎴?#28725;?/span>OCCT?#27537;浣?#37922;ㄦ槸鍚?#28028;氫鏡鐘?#28000;?#28003;曞叾浠?#29825;?#37721;垨涓?#37714;?#38171;?/span>

鎮?#28051;嶉渶瑕?#28000;?#28003;曠壒瀹氱殑瀹夋帓?#28533;浣?#37922;?/span>OCCT寮?#31790;鍒?#37721;?#28051;寘鍚殑浠?#28003;?#32480;楁硶銆傚?#27692;?#23384;潵锛屾垜浠?#28051;鐩存病?#28225;鍚?#29831;?#26473;?#28729;?#37812;锋垨鐢?#37812;?#28003;?#37922;?/span>Open CASCADE鎶鏈殑浠?#28003;?#28051;?#37714;?#38338;?#26864;?#37510;?/span>

 

 

鎴戞槸鍚︽湁涔?#37716;?#28003;?#37922;?/span>OCCT?#27537;?#26882;鍊?#23534;?#31790;搴?#37922;?#32459;嬪?#24533;殑瀹?#37825;存?#24874;唬鐮?#38171;?/span>

涓?#38171;屼綘涓嶆槸銆?/span> 鎶?#38343;?#37806;ㄧ殑搴?#37922;?#32459;嬪?#24532;?#24874;唬鐮佺殑鍐?#28729;氬彇鍐?#27996;庢偍銆?/span>



eryar 2019-05-29 21:03 鍙戣〃璇勮
]]>
OpenCASCADE鐐?#37722;?#39582;抽潰鎶?#35120;?/title><link>http://www.2676208.com/eryar/archive/2019/05/29/ProjLib.html</link><dc:creator>eryar</dc:creator><author>eryar</author><pubDate>Wed, 29 May 2019 13:02:00 GMT</pubDate><guid>http://www.2676208.com/eryar/archive/2019/05/29/ProjLib.html</guid><wfw:comment>http://www.2676208.com/eryar/comments/216385.html</wfw:comment><comments>http://www.2676208.com/eryar/archive/2019/05/29/ProjLib.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.2676208.com/eryar/comments/commentRss/216385.html</wfw:commentRss><trackback:ping>http://www.2676208.com/eryar/services/trackbacks/216385.html</trackback:ping><description><![CDATA[ <p align="center">OpenCASCADE<span style="font-family: 瀹嬩綋;">鐐?#37722;?#39582;抽潰鎶?#35120;?/span></p> <p> </p> <p>OpenCASCADE<span style="font-family: 瀹嬩綋;">?#27537;</span><span style="font-family: Calibri;">ProjLib</span><span style="font-family: 瀹嬩綋;">?#34987;鎻愪緵浜嗚В鏋?#37831;茬嚎锛?#37929;寸嚎銆?#37734;?#37510;佹き鍦?#37510;佹姏鐗╃嚎銆?#37721;?#37831;茬嚎锛?#37722;?#29785;?#37835;?#37831;查潰锛堝?#25277;潰銆?#37734;嗘?#36941;潰銆?#37734;嗛敟?#28528;銆?#37918;冮潰銆?#37734;嗙幆?#28528;锛夋姇褰辩殑鍔熻兘锛?#28051;?#29781;?#37922;ㄦ潵璁?#32480;?#28051;?#32513;?#37831;茬嚎鍦?#27996;?#32513;?#37721;?#37825;扮┖闂寸殑鍙?#37825;?#37510;?/span></p> <p><img src="https://img2018.cnblogs.com/blog/534255/201905/534255-20190529205727182-1677674186.png" alt="" /> </p> <p><span style="font-family: 瀹嬩綋;">?#21502;涓?#37904;?#37722;?#39582;抽潰鎶?#35120;辨槸鏈绠鍗曠殑鎯?#37712;?#38171;?#37832;枃涓?#29781;?#28000;?#32513;嶇偣鍚?#39582;抽潰鎶?#35120;辩殑?#25950;鎰?#27996;嬮」銆?/span>ProjLib<span style="font-family: 瀹嬩綋;">?#34987;?#27128;涓?#23480;?#37711;风被锛屽洜涓哄叾鍑芥暟?#20824;?#27128;闈?#37804;佸?#33445;暟銆傜偣鍚?#39582;抽潰鎶?#35120;?#23536;?#32480;鍗?#38171;?#37929;存帴鐢?/span><span style="font-family: Calibri;">ProjLib::Project(aPlane, aPoint)</span><span style="font-family: 瀹嬩綋;">鍗?#37721;?#37510;?/span></p> <p><img src="https://img2018.cnblogs.com/blog/534255/201905/534255-20190529205736308-195739996.png" alt="" /> </p> <p><span style="font-family: 瀹嬩綋;">?#21502;瀹炵幇浠?#37934;佸涓?#38171;?/span></p> <div class="cnblogs_Highlighter"> <pre class="brush:cpp;gutter:true;">gp_Pnt2d ProjLib::Project(const gp_Pln& Pl, const gp_Pnt& P) { Standard_Real U, V; ElSLib::Parameters(Pl, P, U, V); return gp_Pnt2d(U,V); } inline void ElSLib::Parameters(const gp_Pln& Pl, const gp_Pnt& P, Standard_Real& U, Standard_Real& V) { ElSLib::PlaneParameters(Pl.Position(),P,U,V); } void ElSLib::PlaneParameters (const gp_Ax3& Pos, const gp_Pnt& P, Standard_Real& U, Standard_Real& V) { gp_Trsf T; T.SetTransformation (Pos); gp_Pnt Ploc = P.Transformed (T); U = Ploc.X(); V = Ploc.Y(); } </pre> </div> <p><span style="font-family: 瀹嬩綋;">浠?#28051;婇潰?#27537;浠?#37934;?#37721;?#28000;?#37930;嬪嚭锛岀偣鍚?#39582;抽潰鎶?#35120;?#28729;炵幇灏辨槸灏嗙偣鍙?#37817;?#37714;板?#25277;潰鎵鍦ㄧ殑?#28503;鏍囩郴涓?#37510;?#28003;?#37922;?#26473;?#28051;被鍚?#39582;抽潰鎶?#35120;?#29781;佹敞鎰忕殑浜嬮?#35268;槸骞抽潰?#27537;鏋?#38315;?#37510;傚?#25277;潰</span>gp_Pln<span style="font-family: 瀹嬩綋;">?#28225;濡?#28051;嬫瀯閫?#37713;芥暟锛?/span></p> <p><img src="https://img2018.cnblogs.com/blog/534255/201905/534255-20190529205816042-90323085.png" alt="" /> </p> <p>l <span style="font-family: 瀹嬩綋;">?#31919;璁?#37835;?#38315;?#37713;芥暟锛?#37835;?#38315;?#27996;?#28051;涓?/span>XOY<span style="font-family: 瀹嬩綋;">骞抽潰</span></p> <p>l <span style="font-family: 瀹嬩綋;">鍩?#27996;?#28051;涓潗鏍囩郴</span>gp_Ax3<span style="font-family: 瀹嬩綋;">鏋?#38315;?#39582;抽潰</span></p> <p>l <span style="font-family: 瀹嬩綋;">鍩?#27996;?#28051;涓?#37904;瑰拰涓涓柟鍚?#37835;?#38315;?#39582;抽潰</span></p> <p>l <span style="font-family: 瀹嬩綋;">鍩?#27996;庡?#25277;潰?#27537;绯绘暟?#26591;绋?#38171;?#37719;?/span>AX+BY+CZ+D=0</p> <p><span style="font-family: 瀹嬩綋;">?#22688;涓?#28051;?#37835;?#38315;?#37713;芥?#26495;?#22559;?#21614;櫚锛岃岀涓?#28051;?#37835;?#38315;?#37713;芥暟鍗冲熀浜?#28051;涓?#37904;瑰拰涓涓柟鍚?#37835;?#38315;?#39582;抽潰?#27537;?#26591;寮忔病鏈夋?#24227;‘锛屾敞閲?#28051;嶆?#21614;櫚銆?#26473;?#38322;岀殑?#26591;鍚?#37816;?#28729;?#27996;嗗?#25277;潰?#27537;?#30838;鍚?#38171;屼?#21976;槸杩?#32514;?#28751;?#28051;涓柟鍚戞潵纭?#28729;?#28051;涓潗鏍囩郴锛屾墍浠?#28003;?#37922;?#26473;?#28051;?#37835;?#38315;?#37713;芥暟?#28533;鐢熸垚骞抽潰?#27537;?#26882;鍊?#38171;岄渶瑕?#37918;嗚В?#21502;鐢熸垚鍙?#28598;?#28051;涓柟鍚戠殑绠楁硶?#27128;涓嶆槸鑷?#23480;遍渶瑕佺殑銆?/span></p> <div class="cnblogs_Highlighter"> <pre class="brush:cpp;gutter:true;">gp_Pln::gp_Pln (const gp_Pnt& P, const gp_Dir& V) { Standard_Real A = V.X(); Standard_Real B = V.Y(); Standard_Real C = V.Z(); Standard_Real Aabs = A; if (Aabs < 0) Aabs = - Aabs; Standard_Real Babs = B; if (Babs < 0) Babs = - Babs; Standard_Real Cabs = C; if (Cabs < 0) Cabs = - Cabs; // pour determiner l'axe X : // on dit que le produit scalaire Vx.V = 0. // et on recherche le max(A,B,C) pour faire la division. // l'une des coordonnees du vecteur est nulle. if( Babs <= Aabs && Babs <= Cabs) { if (Aabs > Cabs) pos = gp_Ax3 (P, V, gp_Dir (-C,0., A)); else pos = gp_Ax3 (P, V, gp_Dir ( C,0.,-A)); } else if( Aabs <= Babs && Aabs <= Cabs) { if (Babs > Cabs) pos = gp_Ax3 (P, V, gp_Dir (0.,-C, B)); else pos = gp_Ax3 (P, V, gp_Dir (0., C,-B)); } else { if (Aabs > Babs) pos = gp_Ax3 (P, V, gp_Dir (-B, A,0.)); else pos = gp_Ax3 (P, V, gp_Dir ( B,-A,0.)); } } </pre> </div> <p><span style="font-family: 瀹嬩綋;">?#32139;杩?#38322;岀‘瀹氬?#25277;潰?#28503;鏍囩?#33636;殑?#26591;寮?#28051;庨渶瑕佺殑涓?#28051;鑷存椂锛屽湪浣?#37922;?#37814;?#35120;?#32480;?#23049;曠殑?#26882;鍊?#28751;变細浜?#37922;?#38338;?#26864;?#37510;?/span></p> <img src ="http://www.2676208.com/eryar/aggbug/216385.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/eryar/" target="_blank">eryar</a> 2019-05-29 21:02 <a href="http://www.2676208.com/eryar/archive/2019/05/29/ProjLib.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Compile OpenCASCADE7.3 with VS2008http://www.2676208.com/eryar/archive/2019/04/18/compile_occ730_vs2008.htmleryareryarWed, 17 Apr 2019 23:17:00 GMThttp://www.2676208.com/eryar/archive/2019/04/18/compile_occ730_vs2008.htmlhttp://www.2676208.com/eryar/comments/216353.htmlhttp://www.2676208.com/eryar/archive/2019/04/18/compile_occ730_vs2008.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216353.htmlhttp://www.2676208.com/eryar/services/trackbacks/216353.html

Compile OpenCASCADE7.3 with VS2008

eryar@163.com

 

1. 姒?#26473;?/h3>

鍦?span style="margin: 0px; padding: 0px; font-family: "Times New Roman";">OpenCASCADE?#27537;?#31790;鐮佹枃浠?#28598;?#28051;湁涓?/span>adm?#26499;浠?#28598;?#38171;?#38322;岄潰鎻愪緵浜嗗悇涓?#39582;?#37721;?#28051;?#32514;?#29831;戞簮鐮佺殑椤?#37929;枃浠?#37510;傚叾涓?#37734;?/span>Windows鎿?#28003;滅郴缁?#28051;?#28003;?#37922;?#23536;?#26462;殑Visual Studio鍗?/span>msvc?#26499;浠?#28598;?#28051;?#37819;愪緵浜?/span>VS鐩?#25652;旂増鏈殑椤?#37929;枃浠?#37510;?#37813;浠?#37734;?#28003;?#37922;?#37813;?#28598;?#37918;?#28725;?/span>OpenCASCADE?#31790;鐮?#26473;涜?#23680;紪璇戠殑?#26882;鍊?#38171;屼細鏍?#37817;?/span>vc?#27537;鐗?#37832;潵鍚?#37716;?#37929;?#25652;旂増鏈殑visual studio銆傚?#20635;灉?#26499;浠?#28598;?#28051;病?#28225;瀵?#25652;旂殑VS鐗?#37832;?#38171;屽?#36776;墦涓嶅紑鐩?#25652;旂殑VS銆?/span>

 

鍦?#37832;?#26570;鐗?#37832;殑OpenCASCADE7.3.0涓?#38171;屾病?#28225;鎻愪緵VS2008?#27537;椤?#37929;枃浠?#37510;?#37813;浠?#28725;?#27996;庢兂灏?/span>OpenCASCADE鐢?#27996;?#38000;佺殑绯?#32513;?#38171;屽XP绯?#32513;?#28051;椂锛屾垨鑰?#28051;?#32459;嬪?#24532;槸鐢?/span>VS2008缂?#29831;戠殑锛?#26473;欐椂灏遍渶瑕?#28751;?/span>OpenCASCADE鐢?/span>VS2008?#28533;缂?#29831;?#27996;?#37510;?/span>

2. 鐢熸垚VS椤?#37929;?/span>

?#21502;瀹?span style="margin: 0px; padding: 0px; font-family: "Times New Roman";">OpenCASCADE?#27537;VS椤?#37929;兘?#27128;閲?#37922;?/span>Tcl鑴?#37832;?#37922;熸垚?#27537;锛岃?#28051;?#37922;熸垚?#27537;鑴?#37832;?#38322;岄潰杩樹繚鐣?#27996;?#28725;?/span>VS2008?#27537;?#25966;鎸?#37510;?#28051;嬮潰灏?#28000;?#32513;?#28051;涓嬪浣曠?#29112;垚VS椤?#37929;?#37510;傚湪OpenCASCADE?#31790;鐮佹枃浠?#28598;?#28051;湁涓?#37813;?#28598;?#37918;嗘枃浠?/span>genproj.bat

 

鐢?#27996;?#26473;?#28051;?#37813;?#28598;?#37918;嗕細璋?#37922;?span style="margin: 0px; padding: 0px; font-family: "Times New Roman";">Tcl?#26499;浠?#28051;殑?#25057;浠?#38171;屾墍浠ラ渶瑕?#28751;?/span>Tcl鍔?#37711;?#37714;?#37916;?#28583;?#37721;?#38322;?/span>PATH涓?#28000;?#28186;?#27996;?#26473;愯Tcl鑴?#37832;枃浠?#28051;殑?#25057;浠?#37510;傚涓婂浘涓?/span>

SET "PATH=%PATH%;D:\OpenCASCADE-7.3.0\tcltk-86-64\bin;"

灏辨槸灏員cl鍔?#37711;?#37714;癙ATH?#27537;涓绉嶆柟?#30838;锛岄?#23943;疆濂?#26473;?#28051;?#28751;?#37721;?#28000;?#37929;存帴鍙屽嚮genproj.bat锛?#26473;愯?#23678;埅?#27992;濡?#28051;?#38171;?/p>

 

鏍?#37817;甮enproj.bat涓殑?#25950;閲?#37721;煡genproj杩?#37721;?#28000;?#29999;?#28051;?#37721;?#37825;?#38171;岀涓涓?#37721;?#37825;版槸VS缂?#29831;戝櫒?#27537;鐗?#37832;?#38171;岀浜?#28051;?#37721;?#37825;版槸鎿?#28003;滅郴缁?#37510;傛垜浠?#29781;?#37922;熸垚Windows鎿?#28003;滅郴缁?#28051;?/span>VS2008?#27537;椤?#37929;?#38171;屾墍浠ヨ緭鍏?#37721;?#37825;?#38171;?/span>

genproj vc9 wnt

杩欐牱灏?#37922;熸?#24874;簡VS2008?#27537;椤?#37929;?#27996;?#38171;?/span>

 


涓?#27996;嗘柟渚?#28598;?#28729;?#37734;?#32457;?#37716;?#32468;?#28052;熻兘鐪嬪?#29256;?#25120;殑鍗氭枃?#25328;璁?#29825;?#27996;?#23092;?#38171;岀幇宸叉敞鍐屽井淇?#37711;?#28028;?#37721;?#38171;屾杩庡ぇ瀹舵壂鎻?#28051;嬫柟浜?#32513;?#37934;佸叧?#25950;銆?/h5>Shing Liu(eryar@163.com)


eryar 2019-04-18 07:17 鍙戣〃璇勮
]]>
姝?#23033;夋鍑?#23536;?#28103;?#37805;?#32457;?#37814;?#28225;闄?#37711;?#37721;?/title><link>http://www.2676208.com/eryar/archive/2019/04/08/wuhan_ocade_intro.html</link><dc:creator>eryar</dc:creator><author>eryar</author><pubDate>Mon, 08 Apr 2019 03:34:00 GMT</pubDate><guid>http://www.2676208.com/eryar/archive/2019/04/08/wuhan_ocade_intro.html</guid><wfw:comment>http://www.2676208.com/eryar/comments/216344.html</wfw:comment><comments>http://www.2676208.com/eryar/archive/2019/04/08/wuhan_ocade_intro.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.2676208.com/eryar/comments/commentRss/216344.html</wfw:commentRss><trackback:ping>http://www.2676208.com/eryar/services/trackbacks/216344.html</trackback:ping><description><![CDATA[<h3 align="center"><strong><span style="font-family: 瀹嬩綋;">姝?#23033;夋鍑?#23536;?#28103;?#37805;?#32457;?#37814;?#28225;闄?#37711;?#37721;?/span></strong></h3> <p><span style="font-family: 瀹嬩綋;">姝?#23033;夋鍑?#23536;?#28103;?#37805;?#32457;?#37814;?#28225;闄?#37711;?#37721;?#37721;?#37722;嶆潵婧愪簬</span>OpenCASCADE<span style="font-family: 瀹嬩綋;">?#27537;?#29046;璇?#38171;?#28051;?#29781;?#37819;愪緵寮?#31790;?#22161;浣?#38315;?#37736;嬪簱</span><span style="font-family: Calibri;">OpenCASCADE</span><span style="font-family: 瀹嬩綋;">鐩?#37711;崇殑鍜?#29831;?#37510;佸煿璁拰瀹氬埗寮鍙?#37832;?#37716;?#37510;?/span><span style="font-family: Calibri;">Open</span><span style="font-family: 瀹嬩綋;">鎰?#28051;?#23534;鏀?#37714;?#27996;?#38171;屾?#27128;?#27932;涓?#37714;?#27996;?#38171;?#28051;?#28000;?#27996;?#37714;?#38315;?#28000;?#37706;兼?#23940;細鏈夋洿澶氱殑鍥?#37814;?#37510;傚皢浼氱户缁?#37714;?#27996;?/span><span style="font-family: Calibri;">OpenCASCADE</span><span style="font-family: 瀹嬩綋;">?#27537;涓浜?#37814;宸у拰瀹炵幇鍘?#37918;?#38171;屽叡鍚?#26473;?#23005;?#37510;?/span></p> <p> </p> <p><span style="font-family: 瀹嬩綋;">鐩?#37715;嶅叕鍙哥殑浜?#37725;佹湁锛?/span></p> <h3>l RvmTranslator</h3> <p>RvmTranslator<span style="font-family: 瀹嬩綋;">鍙?#28000;?#28751;?/span><span style="font-family: Calibri;">AVEVA PDMS/Plant/Marine</span><span style="font-family: 瀹嬩綋;">涓?#28725;煎嚭?#27537;</span><span style="font-family: Calibri;">RVM</span><span style="font-family: 瀹嬩綋;">?#26499;浠?#26473;涜鍙?#29785;嗗寲锛?#28000;?#37721;?#28751;?/span><span style="font-family: Calibri;">RVM</span><span style="font-family: 瀹嬩綋;">?#27974;鎹㈡垚?#29238;瑙佺殑涓?#32513;存枃浠?#37837;煎紡銆傚</span><span style="font-family: Calibri;">STEP</span><span style="font-family: 瀹嬩綋;">锛?/span><span style="font-family: Calibri;">IGES</span><span style="font-family: 瀹嬩綋;">锛?/span><span style="font-family: Calibri;">STL</span><span style="font-family: 瀹嬩綋;">锛?/span><span style="font-family: Calibri;">DXF, OBJ, 3DPDF, 3DXML, IFC</span><span style="font-family: 瀹嬩綋;">绛?#38171;屼究浜?#28051;庡叾浠?/span><span style="font-family: Calibri;">CAD</span><span style="font-family: 瀹嬩綋;">绯?#32513;熻?#28060;鏁?#37817;?#27996;?#37817;?#38171;屽</span><span style="font-family: Calibri;">Autodesk AutoCAD, Plant3d, 3ds Max, CATIA, Solidworks, Pro/E, Unity3d, Bentley</span><span style="font-family: 瀹嬩綋;">绛?#37510;?/span></p> <p><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408112724580-819751049.png" /></p> <p><span style="font-family: 瀹嬩綋;">?#27992;</span>1 RvmTranslator<span style="font-family: 瀹嬩綋;">绋嬪?#24533;?#23684;潰</span></p> <p><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408112742908-287211285.png" /> </p> <p><span style="font-family: 瀹嬩綋;">?#27992;</span>2 RvmTranslator<span style="font-family: 瀹嬩綋;">?#27974;鎹㈢殑</span><span style="font-family: Calibri;">3DXML</span><span style="font-family: 瀹嬩綋;">鍒拌?#21095;儲绯?#32513;?/span></p> <p><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408112753166-1690564034.png" /></p> <p><span style="font-family: 瀹嬩綋;">?#27992;</span>3 RvmTranslator<span style="font-family: 瀹嬩綋;">?#27974;鎹㈢殑</span><span style="font-family: Calibri;">STEP</span><span style="font-family: 瀹嬩綋;">鍒?/span><span style="font-family: Calibri;">CATIA</span></p> <p><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408112813166-910954946.png" /></p> <p><span style="font-family: 瀹嬩綋;">?#27992;</span>4 RvmTranslator <span style="font-family: 瀹嬩綋;">?#27974;鎹㈢殑</span><span style="font-family: Calibri;">IFC</span></p> <p> </p> <h2>l IsoAlgo</h2> <p>IsoAlgo<span style="font-family: 瀹嬩綋;">?#27128;</span><span style="font-family: Calibri;">piping Isometric drawing generation Algorithm</span><span style="font-family: 瀹嬩綋;">?#27537;绠绉?#38171;屾剰涓?#32480;¢亾杞存?#23338;浘?#22189;?#27992;绠楁硶銆傚?#20171;檯涓绘?#20346;殑绠¢亾杞存?#23338;浘?#22189;?#27992;绋嬪簭</span><span style="font-family: Calibri;">ISOGEN</span><span style="font-family: 瀹嬩綋;">?#27128;?#23283;鍥?#28051;瀹跺叕鍙?#23534;鍙戠殑锛岀幇琚?/span><span style="font-family: Calibri;">Intergraph</span><span style="font-family: 瀹嬩綋;">鏀惰喘锛岃?/span><span style="font-family: Calibri;">Intergraph</span><span style="font-family: 瀹嬩綋;">涔?#37734;?/span><span style="font-family: Calibri;">2010</span><span style="font-family: 瀹嬩綋;">骞磋缇庡浗鍏?#37721;?/span><span style="font-family: Calibri;">Hexagon</span><span style="font-family: 瀹嬩綋;">鏀惰喘銆?/span><span style="font-family: Calibri;">ISOGEN</span><span style="font-family: 瀹嬩綋;">浣?#28051;?#37929;?#28725;规垚鐔熺殑杞?#28000;?#38171;屼篃瀛?#37734;?#28051;浜?#38338;?#26864;?#38171;屽鐜?#32480;″嚭?#27992;?#22426;鎶樼嚎锛?#28000;?#37721;?#28729;?#37812;风殑涓浜?#28729;氬?#36346;寲瑕佹眰涓嶈兘鍙婃椂鍙嶉绛?#37510;?/span><span style="font-family: Calibri;">IsoAlgo</span><span style="font-family: 瀹嬩綋;">鍏锋湁鑷?#28051;荤煡璇?#27996;?#37833;?#38171;屽叏?#28528;鍏?#28729;?/span><span style="font-family: Calibri;">ISOGEN</span><span style="font-family: 瀹嬩綋;">?#27537;?#32237;鍏?#38171;屽绠¢亾鏁?#37817;枃浠?/span><span style="font-family: Calibri;">PCF</span><span style="font-family: 瀹嬩綋;">?#25328;</span><span style="font-family: Calibri;">IDF</span><span style="font-family: 瀹嬩綋;">锛?#28000;?#37721;?/span><span style="font-family: Calibri;">SKEY</span><span style="font-family: 瀹嬩綋;">瀹氫?#22795;枃浠?#37510;?/span><span style="font-family: Calibri;">IsoAlgo</span><span style="font-family: 瀹嬩綋;">鐢熸垚绠¢亾杞存?#23338;浘濡?#28051;?#38171;?/span></p> <p><span style="font-family: 瀹嬩綋;"><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408112907933-1282167575.png" /><br /><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408112914486-1856273205.png" /><br /><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408112919447-145589813.png" /><br /><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408112923853-2004312242.png" /><br /><br /><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408112928451-1154608888.png" /></span></p> <p><span style="font-family: 瀹嬩綋;">閫?#26473;?#32459;嬪簭</span>IsoAlgo3d<span style="font-family: 瀹嬩綋;">?#26591;渚?#37734;板皢</span><span style="font-family: Calibri;">PCF/IDF</span><span style="font-family: 瀹嬩綋;">鍙?#29785;嗗寲锛?#37831;?#28186;?#37817;风殑鏄?#32448;哄嚭绠¢亾淇?#37805;?#37510;?#28000;?#37721;?#37737;?#27996;?/span><span style="font-family: Calibri;">IsoAlgo3d</span><span style="font-family: 瀹嬩綋;">瀹氬埗寮鍙?#37929;?#37711;崇殑鐒婄偣绠?#37918;嗙?#23338;簭銆?/span></p> <h2>l <span style="font-family: 瀹嬩綋;">瀹氬埗寮鍙?/span></h2> <p><span style="font-family: 瀹嬩綋;">闅忕潃鍥?#37712;呯?#22559;潈鎰?#29831;嗙殑鎻愰珮浠?#37721;?#37832;?#37734;板寲?#27537;涓浜?#37837;囧?#21978;?#21230;寖瑕佹眰锛岃冭檻?#22426;鏈拰鏁?#37916;?#38171;屾湁瓒婃潵瓒?#28598;氱殑瀹氬?#36346;寲寮鍙?#37832;?#37716;?#37510;傛垚鍔熸渚嬫湁锛?/span></p> <p>v GIM<span style="font-family: 瀹嬩綋;">寤?#22959;?/span></p> <p><span style="font-family: 瀹嬩綋;">闅忕潃鍥?#28729;?#37922;?#32515;?#37825;板瓧鍖?#28051;?#32513;?#29825;?#29825;$殑鎺?#39582;?#38171;?#37819;愬嚭浜?/span>GIM<span style="font-family: 瀹嬩綋;">涓?#32513;?#29825;?#29825;?#37837;囧噯锛?#28051;?#27996;嗘弧?#20923;鍥?#32515;?/span><span style="font-family: Calibri;">GIM</span><span style="font-family: 瀹嬩綋;">宸?#32459;?#37825;板瓧鍖?#32457;?#27996;?#38171;?#28051;烘煇鍏?#37721;?#28729;氬埗寮鍙?#27996;?/span><span style="font-family: Calibri;">GIM</span><span style="font-family: 瀹嬩綋;">寤?#22959;?#37716;熻兘锛?/span></p> <p><span style="font-family: 瀹嬩綋;"><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408113004316-58524139.png" /><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408113008640-160598795.png" /><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408113018377-917999677.png" /></span></p> <h2>v FORAN<span style="font-family: 瀹嬩綋;">瀹氬埗</span></h2> <p>FORAN<span style="font-family: 瀹嬩綋;">?#27128;涓娆?/span><span style="font-family: Calibri;">3D</span><span style="font-family: 瀹嬩綋;">閫?#38008;?#26462;?#28000;?#38171;?/span><span style="font-family: Calibri;">FORAN</span><span style="font-family: 瀹嬩綋;">杞?#28000;?#37922;辫?#36328;彮鐗?/span><span style="font-family: Calibri;">SENER</span><span style="font-family: 瀹嬩綋;">闆嗗洟寮鍙?#38171;岃鍏?#37721;?#28000;?#38008;?#38008;惰璁¤捣瀹?#38171;屽凡?#28225;</span><span style="font-family: Calibri;">50</span><span style="font-family: 瀹嬩綋;">骞寸殑鍘?#37721;?#38171;屽叿?#28225;</span><span style="font-family: Calibri;">40</span><span style="font-family: 瀹嬩綋;">澶氬?#23544;殑閫?#38008;?/span><span style="font-family: Calibri;">CAD</span><span style="font-family: 瀹嬩綋;">杞?#28000;?#23534;鍙?#37724;屽簲鐢?#32513;?#26976;?#37510;?#37929;?#37715;嶅湪杩涜?#23683;蒋浠?#23534;鍙?#37724;屽簲鐢ㄧ殑鍚屾椂锛?#28000;嶇?#33333;?#25358;帴鑸?#38008;惰璁?#26916;?#37929;?#37510;?/span><span style="font-family: Calibri;">FORAN</span><span style="font-family: 瀹嬩綋;">杞?#28000;舵槸涓?#37923;?#28051;?#25652;?#37922;?#37832;涓?#39582;挎硾?#27537;澶у瀷閫?#38008;?#28051;?#28051;?#26462;?#28000;朵箣涓锛屽叏鐞?#37922;?#37812;峰寘鎷?#27996;?/span><span style="font-family: Calibri;">120</span><span style="font-family: 瀹嬩綋;">瀹?#28000;?#28051;婄殑璁?#29825;?#37711;?#37721;稿拰閫?#38008;瑰巶锛?#26473;?#39582;存潵鏇?#28000;?#26440;冨揩?#27537;閫?#25652;?#37734;?#37711;?#37918;?#37818;?#39582;?#37510;?/span></p> <p><span style="font-family: 瀹嬩綋;">瀹氬埗寮鍙?#27996;嗗叏?#28528;?#25966;鎸?/span>FORAN<span style="font-family: 瀹嬩綋;">?#22161;浣?#28729;?#37721;?/span><span style="font-family: Calibri;">NORM</span><span style="font-family: 瀹嬩綋;">鍙?#37825;板寲妯″瀷锛屾柟渚?#37929;存帴璁?#38338;?/span><span style="font-family: Calibri;">FORAN</span><span style="font-family: 瀹嬩綋;">?#27537;鏁?#37817;?#25652;?#38171;岃?#36777;</span><span style="font-family: Calibri;">FORAN</span><span style="font-family: 瀹嬩綋;">鐜?#28583;?#26473;涜涓?#32513;?#37721;?#29785;嗗寲銆?/span></p> <p><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408113037691-1144303748.png" /><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408113043724-1089929810.png" /> </p> <h2>v <span style="font-family: 瀹嬩綋;">鑸?#38008;?#32480;?#28699;愰浂浠跺浘</span></h2> <p><span style="font-family: 瀹嬩綋;">鑸?#38008;?#32480;?#28699;愰浂浠跺浘涔?#32457;板皬绁ㄥ浘锛岄浂浠跺浘涓?#38340;?#27996;嗗浘褰?#37721;婂叾鏍囨敞澶?#38171;?#26473;?#25652;斿寘鎷?#32480;?#37833;?#29785;勬牸銆?#23534;?#32480;?#37825;?#37817;?#37510;佹牎绠?#37825;?#37817;?#37510;佽〃?#28528;澶?#37918;?#37510;?#28729;?#29761;呬綅?#30086;绛変俊鎭?#37510;?/span></p> <p><span style="font-family: 瀹嬩綋;"><img alt="" src="https://img2018.cnblogs.com/blog/534255/201904/534255-20190408113103012-37825149.png" /></span></p> <p> </p><img src ="http://www.2676208.com/eryar/aggbug/216344.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.2676208.com/eryar/" target="_blank">eryar</a> 2019-04-08 11:34 <a href="http://www.2676208.com/eryar/archive/2019/04/08/wuhan_ocade_intro.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>AVEVA PDMS to DIALuxhttp://www.2676208.com/eryar/archive/2019/04/02/Pdms2Dialux.htmleryareryarTue, 02 Apr 2019 08:19:00 GMThttp://www.2676208.com/eryar/archive/2019/04/02/Pdms2Dialux.htmlhttp://www.2676208.com/eryar/comments/216327.htmlhttp://www.2676208.com/eryar/archive/2019/04/02/Pdms2Dialux.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216327.htmlhttp://www.2676208.com/eryar/services/trackbacks/216327.htmlAVEVA PDMS to DIALux

eryar@163.com

  Abstract. DIAL develops DIALux - the world's leading software for planning, calculation and visualisation of indoor and outdoor lighting. With a community of over 700,000 users, the light planning tool is available in 25 languages and is free of charge for users. All renowned luminaire manufacturers offer digital product data for planning in DIALux. The software makes professional lighting design easier and accessible to everyone. As a platform and tool, it connects planners and manufacturers all over the world. DIALux is available as a desktop version and as a basic mobile app.

DIALux can import model by IFC, so use RvmTranslator to convert PDMS model to IFC format and imported by DIALux for lighting calculation.

Key Words. DIAlux, IFC, RvmTranslator

1. Introduction

棣栧腑鐏?#37711;?#37916;?#28583;?#22959;?#37815;?#28051;?#29825;?#32480;?#26462;?#28000;?/span>DIALux寰?#37733;?/span>DIAL鐮?#37721;?#38171;岃兘婊¤冻鐓?#37828;?#29825;?#29825;$殑鎵?#28225;?#28214;姹?#38171;?#28000;?#37837;囧?#21975;寲?#27537;瀹?#37712;?#37510;佹埛澶栨垨琛楅亾?#27537;鐓?#37828;?#29785;勫垝涓?#29825;?#32480;?#38171;屽埌涓?#28051;氱殑鐏?#37711;?#29825;?#29825;?#37510;佽?#21978;?#22796;?#23337;綋鍖?#37510;佽兘閲?#29831;勪及锛?#22959;?#37815;?#37825;堟灉鎺?#26473;?#37930;?#28729;?#38171;屾柟渚?#29825;?#29825;″笀楠岃?#20344;悇绉嶇?#35268;畩鐢ㄦ硶锛屽?#29006;嚭鎶?#37723;?#38171;屽叏?#26591;?#32133;鍗?#37716;?#29825;?#29825;″笀?#29678;鏁?#28729;屾垚鍒?#28003;?#37510;?/span>

DIALux瀹屽叏鍏嶈垂寮鏀?#28051;嬭浇锛屾湁鍚?#28051;枃鍦?#37712;呯殑26绉嶈瑷鐗?#37832;?#38171;屽湪鍏?#37918;冩湁100澶?#28051;?#37922;?#37812;?#38171;屽湪涓?#37733;?#28598;?#38340;嗘湁10涓?#28598;氬悕鐢?#37812;?#38171;?#37922;?#37812;?#28051;?#29781;佸寘鍚?#37907;?#37828;?#29825;?#29825;″笀銆佸缓绛戝笀銆佸伐绋嬪叕鍙?#32475;?#38171;屾槸鍏?#37918;冮?#21975;?#22562;殑鐓?#37828;?#29785;勫垝涓?#29825;?#32480;?#26462;?#28000;?#37510;?

 

PDMS涓?#29781;?#37922;?#27996;庡伐鍘傝緟鍔?#29825;?#29825;?#38171;屽叾涓?#28052;熶細?#31225;鍙?#37714;?#28000;?#29723;?#37510;?#37922;垫皵涓?#28051;?#37510;傞?#26473;?#28003;?#37922;?/span>RvmTranslator鍙?#28000;?#36423;?#38315;?#37734;板皢PDMS妯?#37736;嬪?#29006;叆DIALux杞?#28000;?#26473;涜?#23680;伅鍏夌収鏄?#29825;?#29825;?#37510;?/span>

2. PDMS to IFC

RvmTranslator7.0鍙?#28000;?#28751;?/span>PDMS妯″瀷?#27974;鎹㈡垚IFC鏍煎紡锛?/span>IFC涓?#29781;?#37922;?#27996;?/span>BIM?#27537;鏁?#37817;?#27996;?#37817;?#38171;屾墍浠?#37903;?#37711;?#29825;?#29825;?#26462;?#28000;?/span>DIALux涓?#27996;嗘柟渚?#28725;煎叆?#21502;浠?#26462;?#28000;跺?#28056;缓?#27537;寤?#32475;?#22959;″瀷锛屽鍔?#27996;?/span>IFC瀵煎叆?#27537;鍔熻兘銆?#28003;?#37922;?/span>IFC瀵煎叆鍔熻兘锛屽氨鍙?#28000;?#28725;煎叆PDMS?#27537;妯″瀷浜?#37510;?/span>

涓婂浘涓?/span>RvmTranslator?#27974;鎹㈢殑绀轰緥妯″瀷?#22426;IFC?#26499;浠?#37510;?/span>

 

涓婂浘鎵绀?#28051;?#28725;煎叆RvmTranslator?#27974;鎹㈢殑IFC?#26499;浠跺埌DIALux.

3. Showcase

DIALux杞?#28000;?#37922;熸垚?#27537;鍏夌収鏁堟灉寰?#38315;?#37930;?#38171;?#28051;嬮潰缁欏嚭?#22161;涓?#28729;?#38340;呭伐鍘傜殑鍏夌収鏁堟灉?#27537;渚嬪瓙锛?/span>

 

 

4. Download

鐩存帴鍦?#37820;滅儲寮?#37823;?#28051;緭鍏?/span>RvmTranslator7.0锛?#37719;?#37721;?#28000;ユ壘鍒?#28051;嬭浇鍦板潃銆?/span>



eryar 2019-04-02 16:19 鍙戣〃璇勮
]]>
[?#27974;]GLTF-3D?#27992;褰?#37923;岀殑JPEGhttp://www.2676208.com/eryar/archive/2019/03/30/gltf.htmleryareryarSat, 30 Mar 2019 13:47:00 GMThttp://www.2676208.com/eryar/archive/2019/03/30/gltf.htmlhttp://www.2676208.com/eryar/comments/216324.htmlhttp://www.2676208.com/eryar/archive/2019/03/30/gltf.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216324.htmlhttp://www.2676208.com/eryar/services/trackbacks/216324.htmlGLTF绠浠?/strong>

1.glTF(GL TransmissionFormat)锛?#37719;冲浘褰?#29831;?#29815;浜?#37817;?#37837;煎紡锛?#28729;冩槸涓绉?D鍐?#28729;圭殑鏍煎?#24532;?#22247;噯锛?#37922;?strong>Khronos Group绠?#37918;?#38171;圞hronos Group杩?#32480;?#37918;嗙潃OpenGL绯诲垪銆丱penCL绛?#38322;?#29781;佺殑琛?#28051;?#37837;囧噯锛?#38171;?/p>

2.glTF?#27537;璁?#29825;℃槸?#28528;鍚?strong>瀹炴椂娓?#37836;?/strong>搴?#37922;ㄧ殑锛屽?#20171;噺鎻愪緵鍙?#28000;?#37929;存帴浼犺緭缁欏浘褰PI?#27537;鏁?#37817;?#35120;?#23534;?#38171;?#28051;嶅?#23945;渶瑕?#27996;屾?#27974;鎹?#38171;?/p>

3.glTF瀵筄penGL ES銆乄ebGL闈炲父鍙嬪ソ锛?/p>

4.glTF?#27537;鐩?#37837;囨槸锛?D棰嗗?#29114;殑JPEG锛?/p>

5.浣?#28051;?#28051;涓?#37837;囧噯锛岃嚜2015骞?0鏈?#37721;戝竷锛坓lTF 1.0锛?#28000;ユ潵锛屽凡缁忓緱鍒?#27996;?#28051;氱?#23677;?#25358;硾?#27537;璁?#37721;?#38171;屼綘鍙?#28000;?#37929;?#28103;?#28729;冪殑姘村钩锛?/p>

6.glTF鐩?#37715;嶆渶?#26570;鐗?#37832;?#28051;?.0宸?#27996;?017骞?鏈堟寮?#37721;戝竷銆?/p>

GLTF鍏?#28003;撶殑鏁?#37817;?#28699;樺偍鏍煎紡鍙?#28000;?#37720;?#28729;樻?#22317;綉绔?#28051;?#37930;?#38171;歨ttps://www.khronos.org/gltf/锛屽ぇ姒傚?#36776;槸鐩?#28725;?#27996;嶺ML?#27537;JSON瀛樺偍?#26591;寮?#37510;?/p>

 

?#26499;绔?#37711;虫敞?#27537;?#27128;GLTF缁欐垜浠?#29999;︽潵?#27537;渚?#37714;?#8212;—鑺?#32510;?#28699;樺偍绌?#38338;?#38171;屽噺灏戝甫瀹藉帇鍔?#37510;?/p>

閭?#28052;堝浣曡幏寰桮LTF鏍煎?#24532;枃浠?#38171;?/strong>

鐩?#37715;嶅凡缁忔湁浜嗗緢澶氱殑?#27974;鎹?#23480;?#37711;?#38171;?/p>

 

?#21502;涓璉nput浠?#29723;ㄨ緭鍏?#22959;″瀷?#27537;鏍煎紡锛岃緭?#22189;涓篻ltf鏍煎紡銆?#37922;?#27996;庝?#23338;墠浣?#37922;?#26473;嘍ae鏍煎?#24533;殑?#26499;浠?#38171;坔ttps://www.khronos.org/collada/锛?#38171;屽洜姝ゆ枃绔?#38315;?#37721;朇OLLADA2GLTF宸?#37711;疯浆鎹㈡枃浠?#38171;?/p>

 

鍗?#28051;?#37714;?#32510;?#32513;?#27996;庡伐鍏?#23143;愪唬鐮佺殑缂?#29831;?#38171;屽洜涓篕hronosGroup宸?#32513;?#32513;欏嚭浜哛elease鐗?#37832;?#37510;?#26473;?#38322;岃涓浜?#28003;?#37922;ㄦ柟?#30838;锛?/p>

1.瑙?#37720;媧ip?#26499;浠?#38171;屽湪鏍?#37929;?#35120;曟柊寤篸ae?#26499;浠?#28598;?#8212;—鐢?#27996;庡?#27195;?#24807;師濮嬬殑dae?#26499;浠?/p>

2.鍦?#37837;?#37929;?#35120;曟柊寤篻ltf?#26499;浠?#28598;?#8212;—鐢?#27996;庡?#27195;?#25424;浆鎹?#37722;庣殑gltf?#26499;浠?/p>

3.鍦?#37837;?#37929;?#35120;?#37816;?#28003;廋trl+Shift+Alt+榧?#37837;?#37721;抽敭锛屾墦寮PowerShell?#29541;鍙?/p>

4.鍦ㄥ懡浠?#29723;?#28051;緭鍏?#38171;?strong>./collada2gltf-bin.exe input.dae output.gltf –i dae/input.dae –o gltf/output.gltf

?#21502;涓璱nput涓篸ae?#26499;浠剁殑鍚?#32457;?#38171;宱utput涓鸿緭?#22189;gltf?#26499;浠剁殑鍚?#32457;?#37510;?/p>

5.Enter寮濮嬭浆鎹?#37510;?/p>

PS C:\Users\Ruby\Desktop\COLLADA2GLTF-v2.1.2-windows-Release-x64>./COLLADA2GLTF-bin.exe elf.dae elf.gltf -i dae/elf/elf.

dae -o gltf/elf.gltf

Convertingdae\elf\elf.dae -> gltf\elf.gltf

Time: 320 ms

鍘?#28654;媎ae?#26499;浠跺寘鍚?涓猨pg璐村浘涓鍏?strong>2.46M锛岃浆鎹?#37722;?#28051;?strong>涓涓?#37719;曠嫭?#27537;gltf?#26499;浠?#32510;?strong>1.38M锛?#37722;?#29840;村浘锛?#37510;傚叾瀹?#37812;戝?#22557;?#34249;閭?#27996;涜?#26449;浘?#26499;浠跺?#35826;摢?#21177;浜?#38171;?#27996;庢槸鎵?#23534;浜唃ltf?#26499;浠舵煡鐪?#38171;?#37721;戠幇鍦╥mage鏁?#32513;?#28051;嬪凡缁忔妸杩?#27996;涜?#26449;浘?#26499;浠?#37922;╞ase 64缂?#37934;?#38171;?#37721;樻?#24874;竴鍫嗘満鍣?#37934;?#37929;存帴鎻?#37734;╣ltf?#26499;浠?#28051;?#37510;?/p>

瀹屾垚妯″瀷?#27974;鎹?#28000;?#37722;?#38171;屽埄鐢═hreeJS?#27537;LoadGLTF API瀵煎叆缃戦〉涓?#23092;?#29785;堟?#22559;灉濡?#28051;?#38171;?nbsp;

濡?#28003;?#37734;℅LTF鏍煎紡涓?#37817;曡幏鍔ㄧ敾锛?/strong>

涓?#26473;?#26473;?#32459;嬪?#26336;ず浜?#28000;嶤ollada鍒癵ltf?#27537;?#27974;鎹?#28000;?#37721;婅gltf妯?#37736;嬪?#26336;ず鍦?#32515;戦〉涓?#37510;?#28051;嬮潰灏嗙户缁?#37934;旂?#36346;浣曡幏鍙杇ltf妯″瀷?#27537;鍔ㄧ敾锛?Talk is cheap锛宻how me the code"——鍝堝?#22557;搱锛?nbsp;

鏁堟灉濡傚浘鎵绀?#38171;?/p>

鑷?#23005;?#38171;実ltf浠?#22959;?#37736;嬪埌鍔ㄧ敾?#20824;run浜?#28051;閬?#37510;?/p>

 

鎬?#32513;?/strong>

GLTF鏍煎紡鍙?#32457;?D?#27992;褰?#37923;岀殑JPEG锛岃兘澶?#28729;炵幇蹇?#38315;熺殑妯″瀷鏁?#37817;?#27996;?#37817;?#37510;傚湪2017骞?#28051;?#37827;?#37831;存柊?#27537;2.0鐗?#37832;?#37711;?#37832;?#27996;?#28051;浜?#28003;庣増鏈殑鍔熻兘缂?#38340;?#38171;屼?#22446;緱鑷?#38892;?#37716;熻兘寰?#37714;?#37721;戝睍锛涘?#23678;椂锛実ltf瑙?#37835;?#37721;婅浆鎹ool?#27537;蹇?#38315;?#37721;戝睍锛?#28051;篏LTF?#27537;杩?#28051;姝?#37818;?#39582;垮?#27692;嚭浜嗗緢澶氱殑璐?#37914;?#37510;傛枃涓?#28052;?#25652;?#29831;?#27996;?#38171;屼綔涓篏LTF鏍煎?#24533;殑鐢?#37812;?#38171;岃兘澶?#37714;?#37922;ㄧ幇?#28225;?#27537;宸?#37711;?#28725;?#22959;?#37736;嬪鐞?#38171;屽噺灏?#22959;″瀷?#27537;鏁?#37817;?#38322;?#38171;屽湪WebGL?#27537;搴?#37922;?#28051;?#37734;ㄦ垚鍊嶅湴鑺?#37930;佸甫瀹界殑鍚屾椂?#20824;澶熻幏鍙?#37722;岃川閲忕殑妯″瀷浠?#37721;?#37716;ㄧ敾銆?/p>

 

鍘熸枃锛歨ttps://cloud.tencent.com/developer/news/204942

 



eryar 2019-03-30 21:47 鍙戣〃璇勮
]]>
瑙?#37835;愬嚑浣?#23033;?#27996;?#28052;嬪渾涓?#27996;屾鏇查潰http://www.2676208.com/eryar/archive/2019/02/21/IntAna_Circle.htmleryareryarThu, 21 Feb 2019 14:05:00 GMThttp://www.2676208.com/eryar/archive/2019/02/21/IntAna_Circle.htmlhttp://www.2676208.com/eryar/comments/216252.htmlhttp://www.2676208.com/eryar/archive/2019/02/21/IntAna_Circle.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216252.htmlhttp://www.2676208.com/eryar/services/trackbacks/216252.html瑙?#37835;愬嚑浣?#23033;?#27996;?#28052;嬪渾涓?#27996;屾鏇查潰

eryar@163.com

 

Abstract. OpenCASCADE provides the analytic intersection between a conic and a quadric in the package IntAna.

Key Words. Analytic geometry, intersection, coninc, quadric

1. Introduction

OpenCASCADE涓殑?#23512;IntAna鎻愪緵浜嗚В鏋愬嚑浣?#37831;茬嚎锛?#27996;屾鏇茬嚎锛?#28051;?#29785;?#37835;?#37831;查潰锛?#27996;屾鏇查潰锛夋眰浜?#37510;佽В鏋?#37831;查潰涓?#29785;?#37835;?#37831;查潰姹?#27996;ょ殑鍔熻兘銆傚叾涓?/span>IntAna鍒?#37714;槸Intersection Analytic?#27537;?#22688;涓?#28051;?#28699;?#23011;嶇緝鍐?#38171;岃〃绀?#29785;?#37835;愬嚑浣?#23033;?#27996;?#37510;?/span>

鎴?#28000;?#28699;?#26473;?#27996;?#37510;婄嚎鎬?#28000;?#37825;?#37510;?#28051;殑浜屾?#28727;锛屽叾涓?#27996;屾鍨嬪湪瑙?#37835;愬嚑浣?#28051;殑涓涓?#25652;?#37922;?#28751;辨槸浜屾鏇茬嚎?#25328;浜屾鏇查潰?#26591;绋嬬殑鍖?#32480;鍙婂叾鎬?#29840;ㄧ殑鍒嗘瀽銆?/span>

鏈枃涓?#29781;?#32513;?#37722;堟簮鐮?#37714;嗘瀽鍦?#28051;?#27996;屾鏇查潰姹?#27996;ょ殑瀹炵幇锛屽叾浠?#27996;屾鏇茬嚎涓?#27996;屾鏇查潰姹?#27996;ょ殑鍙?#28000;?#28186;濇?#34987;鎺?#37510;?/span>

2. Quadratic form

鍦?#29785;?#37835;愬嚑浣?#28051;?#38171;?#28051;?#27996;?#28186;?#27996;庣?#26050;┒浜屾鏇茬嚎

?#27537;?#22161;浣?#37804;?#29840;?#38171;屾垜浠?#37721;?#28000;?#38315;夋嫨閫傚綋?#27537;?#28503;鏍?#37827;嬭浆鍙?#37817;?/span>

鎶婃柟绋嬪?#26664;垚鏍囧?#21975;舰寮?#38171;?/span>

鏍?#37817;?#37837;囧?#21975;舰寮?#28051;殑绯绘暟?#28533;鍒嗘瀽杩?#28051;?#27996;屾鏇茬嚎?#27128;浠涔堟?#33580;嚎锛?#37719;?#37734;?#37510;佹き鍦?#37510;佹姏鐗╃嚎銆?#37721;?#37831;茬嚎銆?/span>

鍦?/span>OpenCASCADE涓?#29785;?#37835;愬嚑浣曠殑浜屾鏇查潰?#28225;浠?#28051;嬪嚑绉嶇被?#28727;锛?/span>

l gp_Pln锛氬?#25277;潰鍙?#37930;嬩綔浜屾鏇查潰?#27537;鐗?#28186;?/span>

l gp_Sphere锛?#29785;?#37835;?#37918;冮潰

l gp_Cylinder锛?#29785;?#37835;愭?#36941;潰

l gp_Cone锛?#29785;?#37835;?#38335;ラ潰

杩?#27996;涜В鏋?#37831;查潰?#20824;鍙?#28000;?#32513;?#28051;浣?#37922;?#27996;屾澶?#26916;?#23534;忔潵琛?#32448;?#38171;?#37719;?#26473;?#28051;?#27996;屾澶?#26916;?#23534;忕殑绯绘?#25198;‘瀹?#27996;?#28051;涓?#27996;屾鏇查潰銆?/span>OpenCASCADE涓?#37929;?#25652;旂殑?#34987;?#27128;IntAna_Quaric锛?/span>

3. Math Trigonometric Function Roots

OpenCASCADE涓被IntAna_IntConicQuad涓?#37819;愪緵浜?#27996;屾鏇茬嚎涓?#27996;屾鏇查潰姹?#27996;?#37716;熻兘锛屽叾涓?#29825;?#32480;?#37734;?#28051;?#27996;屾鏇查潰鐩?#27996;ょ殑鍑芥暟?#27128;锛?/span>

  //! Creates the intersection between a circle and a quadric.

  Standard_EXPORT IntAna_IntConicQuad(const gp_Circ& C, const IntAna_Quadric& Q);

?#21502;瀹炵幇鍘熺爜涓敞閲?#28641;?#28051;?#38171;?/span>

 

鏍?#37817;叾?#25950;閲?#38171;?#37721;煡?#21502;璁?#32480;?#26473;?#32459;嬪涓?#38171;氬皢鍦嗙殑?#26591;绋嬪湪?#21502;灞閮ㄥ潗鏍囩郴涓?#37922;?#37721;?#37825;板舰寮?#29723;?#32448;?#38171;?/span>

灏?#27996;屾鏇查潰?#26591;绋嬬殑绯绘?#39041;篃鍙?#37817;?#37714;?#37734;嗙殑?#28503;鏍囩郴涓?#38171;屽洜涓?#37734;嗙殑鍙?#37825;版柟绋?#28051;?#28051;?/span>0锛屾墍浠?#28751;?#37734;嗙殑鍙?#37825;版柟绋?#28000;?#37711;?#27996;屾鏇查潰?#27537;?#26591;绋嬪悗锛屽拰z鐩?#37711;崇殑椤圭殑绯绘暟?#20824;鍙?#28000;?#32480;鍖?#27996;?#37510;?/span>

寰?#37714;?#28051;涓?#28051;?#29785;掑?#33445;?#25198;殑?#26591;绋嬪悗锛?#26473;欐椂灏?#29781;?#23534;?#37711;?#37737;虹妯″潡涓殑鏁板宸?#37711;?#38342;嗘潵瑙?#37712;?#38338;?#26864;?#27996;?#37510;?br />

?#34987;math_TrigonometricFunctionRoots涓?#29781;?#37922;?#27996;庡?#29808;涓嬪舰寮忕殑涓?#29785;掑?#33445;暟?#26591;绋?#26473;涜姹?#29785;?#38171;?/span>

4. Conclusion

瀵?#27996;庡渾涓?#27996;屾鏇查潰姹?#27996;ょ殑瀹炵幇?#28533;鐪?#38171;屼篃鍙?#28000;?#28051;?#37922;?#37721;?#37817;?#27996;屾鏇查潰?#27537;?#28503;鏍囩郴锛?#37929;存帴灏?#37734;嗙殑鍙?#37825;版柟绋?#28000;?#37711;?#37831;查潰?#27537;浜屾?#26591;绋?#28051;?#38171;?/span>

鏈缁堝寲绠涔?#37721;?#23536;?#37714;?#28051;涓?#28051;?#29785;掑?#33445;暟?#26591;绋?#38171;屼?#21976;槸璁?#32480;?#38322;?#28051;庡彉鎹?#37831;查潰?#28503;鏍囩?#35826;?#35268;瘮?#28533;鐪嬩細鏇?#28598;?#37510;?/span>

浠?#28051;婇潰?#27537;?#31790;鐮?#37714;嗘瀽鍙煡锛屽湪OpenCASCADE涓?#28725;?#27996;?#29785;?#37835;?#37831;茬嚎涓?#37831;查潰姹?#27996;?#28003;?#37922;?#27996;屾澶?#26916;?#23534;忕?#32472;暟?#28533;琛?#32448;虹殑銆傞?#26473;?#28751;?#27996;屾鏇茬嚎鐢?#37721;?#37825;板舰寮忕殑?#26591;绋嬫潵琛?#32448;?#38171;屽苟浠?#37711;?#27996;屾鏇查潰?#27537;?#26591;绋?#38171;屽寲绠鍚?#37929;存帴浣?#37922;?/span>math?#23512;涓殑宸?#37711;?#38171;?#28598;?#26916;?#23534;忔柟绋?#23033;?#29785;e拰涓?#29785;掑?#33445;暟姹?#29785;?#23480;?#37711;?#38171;?#28725;规柟绋?#26473;涜姹?#29785;?#37510;?/span>

5. References

1. 鍚屾?#24225;ぇ瀛?#25652;?#37922;?#37825;板绯?/span>. ?#22158;鎬?#28000;?#37825;?#38171;?#32471;?#37733;?#37911;?#38171;?/span>. ?#29678;绛夋暀?#20571;?#22189;鐗?#32448;?/span>

2. 涓?#32513;村0. 瑙?#37835;愬嚑浣?/span>. 鍖?#27996;?#28598;?#28699;﹀嚭鐗?#32448;?br />

 


涓?#27996;嗘柟渚?#28598;?#28729;?#37734;?#32457;?#37716;?#32468;?#28052;熻兘鐪嬪?#29256;?#25120;殑鍗氭枃?#25328;璁?#29825;?#27996;?#23092;?#38171;岀幇宸叉敞鍐屽井淇?#37711;?#28028;?#37721;?#38171;屾杩庡ぇ瀹舵壂鎻?#28051;嬫柟浜?#32513;?#37934;佸叧?#25950;銆?/h5> Shing Liu(eryar@163.com)




eryar 2019-02-21 22:05 鍙戣〃璇勮
]]>
瑙?#37835;愬嚑浣?#23033;?#27996;や箣鐩寸嚎涓?#27996;屾鏇查潰http://www.2676208.com/eryar/archive/2019/01/29/IntAna_IntConicQuad.htmleryareryarTue, 29 Jan 2019 14:06:00 GMThttp://www.2676208.com/eryar/archive/2019/01/29/IntAna_IntConicQuad.htmlhttp://www.2676208.com/eryar/comments/216225.htmlhttp://www.2676208.com/eryar/archive/2019/01/29/IntAna_IntConicQuad.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216225.htmlhttp://www.2676208.com/eryar/services/trackbacks/216225.html瑙?#37835;愬嚑浣?#23033;?#27996;や箣鐩寸嚎涓?#27996;屾鏇查潰

eryar@163.com

 

Abstract. OpenCASCADE provides the analytic intersection between a conic and a quadric in the package IntAna.

Key Words. Analytic geometry, intersection, coninc, quadric 

1. Introduction

OpenCASCADE涓殑?#23512;IntAna鎻愪緵浜嗚В鏋愬嚑浣?#37831;茬嚎锛?#27996;屾鏇茬嚎锛?#28051;?#29785;?#37835;?#37831;查潰锛?#27996;屾鏇查潰锛夋眰浜?#37510;佽В鏋?#37831;查潰涓?#29785;?#37835;?#37831;查潰姹?#27996;ょ殑鍔熻兘銆傚叾涓?/span>IntAna鍒?#37714;槸Intersection Analytic?#27537;?#22688;涓?#28051;?#28699;?#23011;嶇緝鍐?#38171;岃〃绀?#29785;?#37835;愬嚑浣?#23033;?#27996;?#37510;?/span>

鎴?#28000;?#28699;?#26473;?#27996;?#37510;婄嚎鎬?#28000;?#37825;?#37510;?#28051;殑浜屾?#28727;锛屽叾涓?#27996;屾鍨嬪湪瑙?#37835;愬嚑浣?#28051;殑涓涓?#25652;?#37922;?#28751;辨槸浜屾鏇茬嚎?#25328;浜屾鏇查潰?#26591;绋嬬殑鍖?#32480;鍙婂叾鎬?#29840;ㄧ殑鍒嗘瀽銆?/span>

鏈枃涓?#29781;?#32513;?#37722;堟簮鐮?#37714;嗘瀽鐩寸嚎涓?#27996;屾鏇查潰姹?#29785;g殑瀹炵幇?#28533;鎶?#37934;?#23534;曠帀锛屽?#24226;湡灏?#27996;屾鏇茬嚎涓?#27996;屾鏇查潰姹?#27996;ょ殑鍚?#32457;嶆儏鍐靛?#27692;叏?#28528;鍒嗘瀽銆?/span>

2. Quadratic form

鍦?#29785;?#37835;愬嚑浣?#28051;?#38171;?#28051;?#27996;?#28186;?#27996;庣?#26050;┒浜屾鏇茬嚎

?#27537;?#22161;浣?#37804;?#29840;?#38171;屾垜浠?#37721;?#28000;?#38315;夋嫨閫傚綋?#27537;?#28503;鏍?#37827;嬭浆鍙?#37817;?/span>

鎶婃柟绋嬪?#26664;垚鏍囧?#21975;舰寮?#38171;?img src="https://img2018.cnblogs.com/blog/534255/201901/534255-20190129203514082-441549350.png" alt="" />

鏍?#37817;?#37837;囧?#21975;舰寮?#28051;殑绯绘暟?#28533;鍒嗘瀽杩?#28051;?#27996;屾鏇茬嚎?#27128;浠涔堟?#33580;嚎锛?#37719;?#37734;?#37510;佹き鍦?#37510;佹姏鐗╃嚎銆?#37721;?#37831;茬嚎銆?/span>

鍦?/span>OpenCASCADE涓?#29785;?#37835;愬嚑浣曠殑浜屾鏇查潰?#28225;浠?#28051;嬪嚑绉嶇被?#28727;锛?/span>

l gp_Pln锛氬?#25277;潰鍙?#37930;嬩綔浜屾鏇查潰?#27537;鐗?#28186;?/span>

l gp_Sphere锛?#29785;?#37835;?#37918;冮潰

l gp_Cylinder锛?#29785;?#37835;愭?#36941;潰

l gp_Cone锛?#29785;?#37835;?#38335;ラ潰

杩?#27996;涜В鏋?#37831;查潰?#20824;鍙?#28000;?#32513;?#28051;浣?#37922;?#27996;屾澶?#26916;?#23534;忔潵琛?#32448;?#38171;?#37719;?#26473;?#28051;?#27996;屾澶?#26916;?#23534;忕殑绯绘?#25198;‘瀹?#27996;?#28051;涓?#27996;屾鏇查潰銆?/span>OpenCASCADE涓?#37929;?#25652;旂殑?#34987;?#27128;IntAna_Quaric锛?/span>

 

 3. Math Direct Polynomial Roots

OpenCASCADE涓被IntAna_IntConicQuad涓?#37819;愪緵浜?#27996;屾鏇茬嚎涓?#27996;屾鏇查潰姹?#27996;?#37716;熻兘锛屽叾涓?#29825;?#32480;?#37929;寸嚎涓?#27996;屾鏇查潰鐩?#27996;ょ殑鍑芥暟?#27128;锛?/span>

  //! Creates the intersection between a line and a quadric.

  Standard_EXPORT IntAna_IntConicQuad(const gp_Lin& L, const IntAna_Quadric& Q);

?#21502;瀹炵幇鍘熺爜涓敞閲?#28641;?#28051;?#38171;?/span>

 

鏍?#37817;叾?#25950;閲?#38171;?#37721;煡?#21502;璁?#32480;?#26473;?#32459;嬪涓?#38171;氬?#21977;?#23544;嚎?#26591;绋?#37922;?#37721;?#37825;板舰寮?#29723;?#32448;?#38171;?/span>

灏?#37721;?#37825;?#29723;?#32448;虹殑鐩寸嚎?#26591;绋?#28000;?#37711;?#27996;屾鏇查潰?#26591;绋?#38171;屽寲绠鍙?#23536;?#28051;涓?#27996;屾澶?#26916;?#23534;?#38171;屽浜屾澶?#26916;?#23534;?#26473;涜姹?#29785;?#37719;冲緱鐩寸嚎涓?#27996;屾鏇查潰?#27537;浜?#37904;?#37510;?/span>

寰?#37714;?#28051;涓?#27996;屾澶?#26916;?#23534;忕殑?#26591;绋嬪悗锛?#26473;欐椂灏?#29781;?#23534;?#37711;?#37737;虹妯″潡涓殑鏁?#37817;?#23480;?#37711;?#38342;嗘潵瑙?#37712;?#38338;?#26864;?#27996;?#37510;?/span>

 

?#34987;math_DirectPolynomialRoots鍙?#28000;?#37922;ㄦ潵瀵?/span>4娆?#37721;?#28000;?#28051;嬬殑澶?#26916;?#23534;忔柟绋?#26473;涜姹?#29785;?#37510;傚浜庡寲绠鍚庣殑鐩寸嚎涓?#27996;屾鏇查潰?#26591;绋嬫槸涓涓?#27996;屾澶?#26916;?#23534;忔柟绋?#38171;屽垯浣?#37922;?#26473;?#28051;被鐩存帴杩涜姹?#29785;?#37510;?/span>

4. Conclusion

浠?#28051;婇潰?#27537;?#31790;鐮?#37714;嗘瀽鍙煡锛屽湪OpenCASCADE涓?#28725;?#27996;?#29785;?#37835;?#37831;茬嚎涓?#37831;查潰姹?#27996;?#28003;?#37922;?#27996;屾澶?#26916;?#23534;忕?#32472;暟?#28533;琛?#32448;虹殑銆傞?#26473;?#28751;嗘柟绋嬪寲绠鍚?#37929;存帴浣?#37922;?/span>math?#23512;涓殑宸?#37711;?#28725;规柟绋?#26473;涜姹?#29785;?#37510;?/span>

浣?#37922;?/span>OpenCASCADE?#21851;缁?#28028;氬?#25120;幇浠?#28000;殑缂?#37934;侀鏍?#28052;熸槸?#28225;涓瀹氱殑濂楄矾?#27537;锛?#37719;?#28051;涓被?#32048;鎻愪緵?#22161;涓?#37835;?#38315;?#37713;芥暟锛屽皢涓嶅悓鍙?#37825;?#26473;涜?#23683;緭鍏?#37510;傛湁?#27537;鍦?#37835;?#38315;?#37713;芥暟涓?#29835;?#37922;?#37714;?#28654;嬪?#26663;?#33445;暟Init()?#28533;瀵?#32480;楁硶?#28214;瑕佺殑?#21502;浠栬緭鍏?#37825;?#37817;?#26473;涜?#23677;垵濮嬪寲锛屾湁?#27537;鍒?#37929;存帴鍦?#37835;?#38315;?#37713;芥暟涓?#29835;?#37922;ㄧ殑璁?#32480;?#37713;芥暟Perform()銆傚?#20635;灉鏋?#38315;?#37713;芥暟涓病?#28225;璋?#37922;?#29825;?#32480;?#37713;芥暟Perform()锛屽?#27411;渶瑕佹墜鍔?#29835;?#37922;?/span>Perform()銆?#32480;?#23049;曠殑?#22426;鍔?#38315;?#26473;囧?#33445;暟IsDone()?#28533;妫娴?#37510;?#37837;?#37817;?#22955;娴嬪垽鏂槸鍚?#37721;栧嚭璁?#32480;?#37706;?#37510;?/span>

鏄?#38010;傚氨瑕?#37714;?#27996;?#38171;岀澶?#28729;?#37734;ㄦ柊?#27537;涓骞?#38322;屽績鎯?#27996;嬫垚锛?#28051;?#27996;嬪?#20635;剰锛?/span>

5. References

1. 鍚屾?#24225;ぇ瀛?#25652;?#37922;?#37825;板绯?/span>. ?#22158;鎬?#28000;?#37825;?#38171;?#32471;?#37733;?#37911;?#38171;?/span>. ?#29678;绛夋暀?#20571;?#22189;鐗?#32448;?/span>

2. 涓?#32513;村0. 瑙?#37835;愬嚑浣?/span>. 鍖?#27996;?#28598;?#28699;﹀嚭鐗?#32448;?/span>



eryar 2019-01-29 22:06 鍙戣〃璇勮
]]>
RvmTranslator7.0-IFChttp://www.2676208.com/eryar/archive/2019/01/19/RvmTranslator70_IFC.htmleryareryarSat, 19 Jan 2019 06:11:00 GMThttp://www.2676208.com/eryar/archive/2019/01/19/RvmTranslator70_IFC.htmlhttp://www.2676208.com/eryar/comments/216214.htmlhttp://www.2676208.com/eryar/archive/2019/01/19/RvmTranslator70_IFC.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216214.htmlhttp://www.2676208.com/eryar/services/trackbacks/216214.htmlRvmTranslator7.0-IFC

eryar@163.com

 

RvmTranslator can translate the RVM file exported by AVEVA Plant(PDMS)/AVEVA Marine to STEP, IGES, STL, DXF, 3D PDF, OBJ, 3DXML, IFC,.etc. So it can be used for exchanging model data between other CAD software, such as Autodesk AutoCAD, Plant3d, 3ds Max, CATIA, Solidworks, Pro/E, Unity3d, .etc.

I am pleased to announce a new release of RvmTranslator7.0.

RvmTranslatoer7.0 is a major release, which includes the following new features: translate PDMS rvm to IFC file.

RvmTranslator鍙?#28000;?#28751;?/span>AVEVA PDMS/Plant/Marine涓?#28725;煎嚭?#27537;RVM?#26499;浠?#26473;涜鍙?#29785;嗗寲锛?#28000;?#37721;?#28751;?/span>RVM?#27974;鎹㈡垚?#29238;瑙佺殑涓?#32513;存枃浠?#37837;煎紡銆傚STEP锛?/span>IGES锛?/span>STL锛?/span>DXF, OBJ, 3DPDF, 3DXML, IFC绛?#38171;屼究浜?#28051;庡叾浠?/span>CAD绯?#32513;熻?#28060;鏁?#37817;?#27996;?#37817;?#38171;屽Autodesk AutoCAD, Plant3d, 3ds Max, CATIA, Solidworks, Pro/E, Unity3d, Bentley绛?#37510;?/span>

RvmTranslator7.0澧?#37716;?#27996;?#28051;涓柊?#27537;?#26499;浠惰浆鎹?/span>IFC銆?IFC鐩?#37715;嶆槸鍥介檯閫?#37922;ㄧ殑BIM鏍囧噯锛岀幇鍦?#23536;?#28598;?/span>BIM杞?#28000;堕兘閲?#37922;ㄥ叾浣?#28051;烘暟鎹?#27996;?#37817;㈢殑鏍囧噯銆?#28051;?#27996;?#28003;?/span>PDMS涓殑妯″瀷鍙?#28000;?#28725;煎叆BIM杞?#28000;?#38171;屽紑鍙?#27996;嗘鍔熻兘銆?#32459;嬪簭?#27974;鎹?#27996;?/span>PDMS涓嚑浣?#22959;″瀷鍙?#37837;?#35120;?#32513;撴瀯銆?/span> 

 

 

IFC(IndustryFoundationClasses)

 IFC?#27128;鐢?#37733;介檯鍗?#37722;屽伐浣滆仈鐩?/span>IAI(InternationalAllianceForInteroperability)搴?#37922;ㄩ潰鍚?#28725;硅薄鎶鏈?#37813;寤虹珛?#27537;淇?#37805;?#37837;囧噯銆?/span>IAI?#27537;鍙戝?#26337;捣婧愪簬1994骞?/span>8鏈?#38171;?#37922;辩?#24225;浗12瀹跺叕鍙?#28000;?/span>AutoCAD13?#27537;ARX绯?#32513;?#28051;?#37737;虹锛?#37934;旂┒涓嶅?#23677;簲鐢?#26462;?#28000;?#37734;?#37719;?#37722;屽伐浣滅殑鍙兘鎬?#38171;?#32513;撴灉鍙?#29785;?#28051;?#28003;?#37721;?#29723;?#37831;存湁鍙?#29785;傜殑缁忔祹鏁?#37929;?#37510;?#27996;?/span>1995骞村厠鏈?#27996;嗘?#31295;?#20906;殑闂?#26864;?#37722;?#38171;?#37721;戣〃浜嗙畝绉?/span>IFC?#27537;淇?#37805;?#27996;?#37817;?#37837;煎紡锛?/span>1995骞?/span>10鏈?#38171;?#28000;?#28000;?#37734;?#37718;楃?#24226;垚?#29659;IAI缁?#32513;?#37510;傚苟鍙戠幇杩?#23480;叉槸鍏?#37918;冨伐涓氱殑闂?#26864;?#38171;岄殢鍚?#28000;?#28000;?#28751;嗘鎬濇兂鎺?#39582;?#37714;板叾浠?#37733;?#28729;?#38171;屽?#22557;揩?#27537;?#21502;浠?#37733;?#28729;朵篃鐩?#32513;ф垚?#29659;浜?/span>IAI鍒嗛儴銆傚苟鍦?/span>1996骞?#27996;庝雞鏁?#37721;?#23534;浜嗙涓娆$殑IAI鍥介檯?#32048;璁?#37510;?#37929;?#37715;嶆垚鍛樻兜鐩?/span>24涓?#37733;?#28729;?#37721;?/span>8涓?#38340;勫睘?#22440;?#25950;鍐岀殑鍥?#28003;?#38171;屽?#20635;?#34411;床銆佹硶鍥?#37510;佸痉鍥?#37510;佹棩鏈?#37510;侀煩鍥?#37510;佸寳娆?#37510;佹柊鍔犲潯鍙婅嫳鍥?#32475;?#38171;屽叾缁勬垚鍗?#28003;嶅叡璁?/span>131涓?#38171;屽寘鍚?#23524;?#32475;?#28051;?#28051;?#37510;佹?#22446;寘?#26210;銆佹斂搴?#28729;樺憳銆?#28699;?#37832;?#37719;曚綅銆佽祫浜?#32480;?#37918;?#37510;佽蒋浠跺?#20634;晢銆佸缓璁惧叕鍙?#32475;?#37510;?/span>

IAI涓?#29781;?#37929;?#37837;?#28051;?#37819;愪緵AEC鍙?/span>FM鍘傚晢锛岃幏寰?#37929;?#37722;?#37719;?#28051;寤?#32475;?#28103;?#37805;殑娌?#38315;?#22959;″瀷(SingleBuildingInformationModel,BIM)锛?/span>IAI璁?#28051;?/span>BIM?#20824;鏈夋?#22557;噺灏戞垚鏈?#37721;?#37819;愰珮鏁?#37916;?#38171;?#37825;?#32457;?#28051;?/span>buildingSMART(浠?#38001;?#37828;庣殑?#26591;寮?#23524;?#32475;?/span>)IAI?#31495;鏈?#37814;婃墍?#28225;?#27537;寤?#32475;?#28103;?#37805;?#38315;?#26473;?#28051;濂?#37837;囧?#21975;?#21975;叾鏁村悎鍦?#28051;?#25443;锛屽儚?#27128;鎶?#38338;?#37510;佸绛?#28729;?#38340;?#28725;硅薄浠?#37721;?#28051;浜?#32460;?#38338;?#37510;?#32513;撴?#21230;繃绋?#32475;夋?#20511;薄姒傚康浠?#37922;?#28699;愪俊鎭柟寮忔湁绯?#32513;熺殑鍛堢幇?#22189;?#28533;銆?#26473;?#27996;涗俊鎭?#29825;?#37722;?#32457;?#28051;嶅?#23683;蒋浠剁殑闂?#37721;?#28000;?#27996;?#37929;?#28028;?#38315;?#28051;庡垎浜?#38171;屼?#23338;?#20636;編璇槸鍥介檯闂寸殑鍏?#37722;岃瑷涓鑸?#38171;?/span>IFC渚挎槸涓绉?#37922;?#37711;?#37722;岃瑷锛屽湪寤?#32475;?#37922;熷懡鍛ㄦ湡涓?#37813;?#23125;?#37711;?#27996;?#40511;兘瀵硅薄?#27537;瑙掕壊銆?/span>

IFC?#27128;涓绉嶅紑鏀?#37804;?#29840;?#28103;?#37805;?#37837;煎紡锛屼綔涓轰俊鎭殑浜?#37817;?#28000;?#37721;?#37711;?#27996;?#28003;?#37922;?#38171;屽湪鎶鏈?#28051;?#38322;?#37922;?/span>BIM姒傚康鍙婇潰鍚?#28725;硅薄绛夋潵杩涜?#23676;俊鎭?#37712;?#28729;圭殑澶?#37918;?#38171;?#37929;殑鍦?#27996;?#29825;?#37734;?#23005;?#26864;嗗煙鍐?/span>BIM绯?#32513;熺殑鍚?#32457;?#28051;嶅?#23677;簲鐢?#26462;?#28000;?#38171;屽洜IFC淇?#37805;?#37837;煎?#24533;殑鏍囧?#21975;寲鍙?#28051;鑷存?#38171;岃屾湁涓涓?#28103;?#37805;?#27996;?#37817;㈢殑鏍囧?#21976;?#29006;紡鍙?#28000;?#38316;?#23536;?#38171;屼娇涓嶅?#23683;蒋浣?#38338;寸殑淇?#37805;?#37721;?#37929;?#27996;?#27996;?#37817;?#38171;屾?#23342;?#35826;?#23941;?#21230;嚜寤虹?#23337;俊鎭?#38171;岄伩鍏嶄俊鎭?#28028;?#38315;掓椂鍙?#37922;熼敊婕?#38315;犳垚璐?#37716;″拰?#26882;闂?#28051;婄殑鎹?#28598;?#38171;屽?#20171;檯闂村?#21227;ぇ杞?#28000;跺叕鍙?#38171;?#28186;?/span>Autodesk銆?/span>Bentley銆?/span>Graphisoft銆?/span>TEKLA銆?/span>NEC銆?/span>Fujitsu绛?#38171;?#38171;岄兘宸?#38340;嗙画寮鍙?#28000;?/span>BIM姒傚康缁?#37722;?/span>IFC鏍囧?#21977;殑杞?#28000;?#37510;?/span> 

Download RvmTrnaslator

https://yun.baidu.com/pcloud/album/info?uk=3808749571&album_id=3634993082542187183



eryar 2019-01-19 14:11 鍙戣〃璇勮
]]>
QString::toStdString() crasheshttp://www.2676208.com/eryar/archive/2019/01/17/std_string_crash.htmleryareryarThu, 17 Jan 2019 13:50:00 GMThttp://www.2676208.com/eryar/archive/2019/01/17/std_string_crash.htmlhttp://www.2676208.com/eryar/comments/216209.htmlhttp://www.2676208.com/eryar/archive/2019/01/17/std_string_crash.html#Feedback0http://www.2676208.com/eryar/comments/commentRss/216209.htmlhttp://www.2676208.com/eryar/services/trackbacks/216209.html浠?#28598;?#37734;≦t涓?#23534;鍙?#32459;嬪?#24532;椂锛岄亣鍒?#28051;涓猀String::toStdString()?#27537;鍐?#28699;?#38338;?#26864;?#38171;?#37922;ㄦ硶濡?#28051;?#38171;?/p>
void test(const QString& theFileName)
{
    std::string aFileName = theFileName.toStdString();
    std::ofstream aFile(aFileName);
    aFile << aFileName;
}

鍦?#37713;芥暟杩樻病鎵?#29723;?#28729;屽氨?#31359;婧?#27996;?#38171;岃?#29115;釜鍙戠幇?#27128;std::string?#27537;闂?#26864;?#37510;?#37832;鍚庡?#25120;幇?#27128;?#27932;涓?#23534;曠敤?#27537;搴撶殑Runtime Library涓嶅?#23677;鑷寸殑锛?#28051;涓槸MDd锛?#28051;涓槸MTd锛屽?#24226;潵鏀规?#24874;竴鑷?#37719;?#37721;?#37510;?/p>



eryar 2019-01-17 21:50 鍙戣〃璇勮
]]>
探灵笔记系统攻略
pk10走势图技巧 ub8手机登录 快速时时开奖 四川时时怎么玩 天津十一选五开奖结果查询结果 2018精准20码中特 网络捕鱼赌博案件 蓝胖子钱包app 贵州11选5走势图 球琛网