锘??xml version="1.0" encoding="utf-8" standalone="yes"?>C++鍗氬-eryarhttp://www.9087120.com/eryar/zh-cnTue, 26 Mar 2019 15:29:24 GMTTue, 26 Mar 2019 15:29:24 GMT60瑙瀽鍑犱綍姹備氦涔嬪渾涓庝簩娆洸闈?/title><link>http://www.9087120.com/eryar/archive/2019/02/21/IntAna_Circle.html</link><dc:creator>eryar</dc:creator><author>eryar</author><pubDate>Thu, 21 Feb 2019 14:05:00 GMT</pubDate><guid>http://www.9087120.com/eryar/archive/2019/02/21/IntAna_Circle.html</guid><wfw:comment>http://www.9087120.com/eryar/comments/216252.html</wfw:comment><comments>http://www.9087120.com/eryar/archive/2019/02/21/IntAna_Circle.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.9087120.com/eryar/comments/commentRss/216252.html</wfw:commentRss><trackback:ping>http://www.9087120.com/eryar/services/trackbacks/216252.html</trackback:ping><description><![CDATA[<h2 align="center"><strong><span style="font-family: 瀹嬩綋;">瑙瀽鍑犱綍姹備氦涔嬪渾涓庝簩娆洸闈?/span></strong></h2> <p align="center"><a><span style="text-decoration: underline;">eryar@163.com</span></a></p> <p> </p> <p>Abstract. OpenCASCADE provides the analytic intersection between a conic and a quadric in the package IntAna.</p> <p>Key Words. Analytic geometry, intersection, coninc, quadric</p> <h3>1. Introduction</h3> <p>OpenCASCADE<span style="font-family: 瀹嬩綋;">涓殑鍖?/span><span style="font-family: Calibri;">IntAna</span><span style="font-family: 瀹嬩綋;">鎻愪緵浜?#29785;瀽鍑犱綍?#27960;绾匡紙?#31785;娆洸绾匡級涓?#29785;瀽?#27960;闈紙?#31785;娆洸闈?#38171;?#23033;備氦銆?#29785;瀽?#27960;闈?#28051;?#29785;瀽?#27960;闈?#23033;備氦?#27537;?#23003;鑳?#37510;傚叾涓?/span><span style="font-family: Calibri;">IntAna</span><span style="font-family: 瀹嬩綋;">鍒?#37714;?#37828;?/span><span style="font-family: Calibri;">Intersection Analytic</span><span style="font-family: 瀹嬩綋;">?#27537;?#22688;涓?#28051;?#28699;楁瘝缂啓锛岃绀?#29785;瀽鍑犱綍姹備氦銆?/span></p> <p><span style="font-family: 瀹嬩綋;">鎴戜滑瀛繃浜?#37510;?#32510;?#37804;唬鏁?#37510;?#28051;殑?#31785;娆瀷锛屽叾涓簩娆?#37736;嬪湪瑙瀽鍑犱綍涓殑涓涓簲鐢氨鏄簩娆洸绾垮拰?#31785;娆洸闈?#37826;圭?#23340;殑鍖?#32480;鍙婂叾鎬川?#27537;鍒嗘瀽銆?/span></p> <p><span style="font-family: 瀹嬩綋;">鏈?#37826;?#28051;昏缁撳悎婧愮爜鍒嗘瀽?#28222;涓庝簩娆洸闈?#23033;備氦?#27537;瀹?#37916;?#38171;屽叾?#31916;?#31785;娆洸绾?#28051;庝簩娆洸闈?#23033;備氦?#27537;鍙互渚濇绫绘帹銆?/span></p> <p><img alt="" src="https://img2018.cnblogs.com/blog/534255/201902/534255-20190221214824833-1915945009.png" /></p> <h3>2. Quadratic form</h3> <p><span style="font-family: 瀹嬩綋;">鍦?#29785;瀽鍑犱綍涓?#38171;?#28051;?#27996;嗕究浜庣爺绌朵簩娆洸绾?/span></p> <p><span style="font-family: 瀹嬩綋;"><img alt="" src="https://img2018.cnblogs.com/blog/534255/201902/534255-20190221214837282-2133613567.png" /></span></p> <p><span style="font-family: 瀹嬩綋;">?#27537;鍑犱綍鎬川锛屾?#25116;滑鍙互閫夋嫨閫傚綋?#27537;鍧愭?#22248;棆杞?#37721;?#37817;?/span></p> <p><span style="font-family: 瀹嬩綋;"><span style="font-family: 'PingFang SC','Helvetica Neue','Helvetica','Arial',sans-serif;"><img alt="" src="https://img2018.cnblogs.com/blog/534255/201902/534255-20190221214848027-1841343209.png" /></span></span></p> <p><span style="font-family: 瀹嬩綋;">鎶?#37826;圭?#23338;寲鎴愭爣鍑嗗舰寮?#38171;?/span></p> <p><span style="font-family: 瀹嬩綋;"><span style="font-family: 'PingFang SC','Helvetica Neue','Helvetica','Arial',sans-serif;"><img alt="" src="https://img2018.cnblogs.com/blog/534255/201902/534255-20190221214858700-736435163.png" /></span></span></p> <p><span style="font-family: 瀹嬩綋;">鏍?#37817;?#37837;?#37713;嗗舰寮?#28051;殑绯?#37825;?#37833;?#37714;嗘瀽?#32342;涓簩娆洸绾?#37828;?#28000;涔堟洸绾匡紝鍗冲渾銆佹?#28222;銆?#37814;?#37911;?#32510;?#37510;?#37721;屾洸绾?#37510;?/span></p> <p><span style="font-family: 瀹嬩綋;">鍦?/span>OpenCASCADE<span style="font-family: 瀹嬩綋;">涓?#29785;瀽鍑犱綍?#27537;?#31785;娆洸闈?#37832;変互涓?#37713;?#32457;?#32491;诲瀷锛?/span></p> <p>l gp_Pln<span style="font-family: 瀹嬩綋;">锛氬钩闈?#37721;?#37930;嬩綔?#31785;娆洸闈殑鐗?#28186;?/span></p> <p>l gp_Sphere<span style="font-family: 瀹嬩綋;">锛?#29785;瀽?#24710;闈?/span></p> <p>l gp_Cylinder<span style="font-family: 瀹嬩綋;">锛?#29785;瀽?#29044;闈?/span></p> <p>l gp_Cone<span style="font-family: 瀹嬩綋;">锛?#29785;瀽?#25951;闈?/span></p> <p><span style="font-family: 瀹嬩綋;">?#32342;浜?#29785;瀽?#27960;闈?#38318;?#37721;互缁?#28051;浣?#37922;簩娆?#28598;氶寮?#37833;?#29723;?#32448;?#38171;?#37719;宠繖涓簩娆?#28598;氶寮忕殑绯?#37825;?#32429;?#28729;?#27996;?#28051;涓簩娆洸闈?#37510;?/span>OpenCASCADE<span style="font-family: 瀹嬩綋;">涓浉?#31794;?#27537;绫?#37828;?/span><span style="font-family: Calibri;">IntAna_Quaric</span><span style="font-family: 瀹嬩綋;">锛?/span></p> <p><img alt="" src="https://img2018.cnblogs.com/blog/534255/201902/534255-20190221214911122-186510965.png" /></p> <h3>3. Math Trigonometric Function Roots</h3> <p>OpenCASCADE<span style="font-family: 瀹嬩綋;">涓?#32491;?/span><span style="font-family: Calibri;">IntAna_IntConicQuad</span><span style="font-family: 瀹嬩綋;">涓?#37819;愪緵浜嗕簩娆洸绾?#28051;庝簩娆洸闈?#23033;備氦?#23003;鑳?#38171;屽叾涓?#29825;?#32480;楀渾涓庝簩娆洸闈浉?#27686;?#27537;鍑?#37825;?#37828;?#38171;?/span></p> <p>  //! Creates the intersection between a circle and a quadric.</p> <p>  Standard_EXPORT IntAna_IntConicQuad<strong>(</strong>const gp_Circ<strong>&</strong> C<strong>,</strong> const IntAna_Quadric<strong>&</strong> Q<strong>);</strong></p> <p><span style="font-family: 瀹嬩綋;">?#21502;瀹?#37916;板師?#29212;涓?#23049;?#38322;婂?#20633;笅锛?/span></p> <p><img alt="" src="https://img2018.cnblogs.com/blog/534255/201902/534255-20190221214923311-1114783430.png" /> </p> <p><span style="font-family: 瀹嬩綋;">鏍?#37817;叾娉噴锛屽彲?#29025;?#21502;璁?#32480;楄繃绋嬪?#20633;笅锛氬?#21975;渾?#27537;鏂圭?#23338;湪?#21502;?#30508;閮?#37735;愭爣绯?#28051;?#37922;?#37721;?#37825;板舰寮?#29723;?#32448;?#38171;?/span></p> <p><span style="font-family: 瀹嬩綋;"><img alt="" src="https://img2018.cnblogs.com/blog/534255/201902/534255-20190221215036103-137187322.png" /></span></p> <p><span style="font-family: 瀹嬩綋;">灏嗕簩娆洸闈?#37826;圭?#23340;殑绯?#37825;?#28052;?#37721;?#37817;?#37714;板渾?#27537;鍧愭爣绯?#28051;?#38171;屽?#29361;负?#28222;?#27537;鍙?#37825;?#37826;圭涓?#28051;?/span>0<span style="font-family: 瀹嬩綋;">锛屾墍?#20114;灏嗗渾?#27537;鍙?#37825;?#37826;圭?#23337;唬鍏簩娆洸闈殑鏂圭?#23338;悗锛屽拰</span><span style="font-family: Calibri;">z</span><span style="font-family: 瀹嬩綋;">?#27977;鍏崇殑椤圭殑绯?#37825;?#38318;?#37721;互绠鍖?#27996;?#37510;?/span></p> <p><img alt="" src="https://img2018.cnblogs.com/blog/534255/201902/534255-20190221215058087-823214203.png" /></p> <p><span style="font-family: 瀹嬩綋;">寰?#37714;?#28051;涓?#28051;?#29785;?#37713;?#37825;扮殑鏂圭?#23338;悗锛岃繖鏃跺氨瑕?#23534;?#37711;?#37737;?#32429;妯?#37735;?#28051;殑鏁?#28699;?#23480;?#37711;?#38342;嗘潵瑙喅闂?#26864;?#27996;?#37510;?br /></span><img alt="" src="https://img2018.cnblogs.com/blog/534255/201902/534255-20190221215127233-2101143657.png" /></p> <p><span style="font-family: 瀹嬩綋;">绫?/span>math_TrigonometricFunctionRoots<span style="font-family: 瀹嬩綋;">涓昏鐢?#27996;?#28725;?#28641;備?#23338;舰寮忕殑涓?#29785;?#37713;?#37825;?#37826;圭杩?#29723;?#23033;?#29785;?#38171;?/span></p> <p><img alt="" src="https://img2018.cnblogs.com/blog/534255/201902/534255-20190221215136068-2104905422.png" /></p> <h3>4. Conclusion</h3> <p><span style="font-family: 瀹嬩綋;">瀵?#27996;庡渾涓庝簩娆洸闈?#23033;備氦?#27537;瀹?#37916;?#37833;?#37930;?#38171;?#28052;?#37721;互涓?#37922;?#37721;?#37817;簩娆洸闈殑鍧愭爣绯?#38171;?#37929;存帴灏嗗渾?#27537;鍙?#37825;?#37826;圭?#23337;唬鍏洸闈殑?#31785;娆?#37826;圭涓?#38171;?/span></p> <p><img alt="" src="https://img2018.cnblogs.com/blog/534255/201902/534255-20190221215146977-191005949.png" /></p> <p><span style="font-family: 瀹嬩綋;">鏈缁?#37718;?#32480;涔?#37721;?#23536;?#37714;?#28051;涓?#28051;?#29785;?#37713;?#37825;?#37826;圭锛?#28003;?#37828;?#29825;?#32480;?#38322;?#28051;?#37721;?#37817;洸闈?#37735;愭爣绯?#28725;规瘮鏉?#37930;嬩細鏇?#28598;?#37510;?/span></p> <p><span style="font-family: 瀹嬩綋;">浠?#28051;?#38344;殑婧愮爜鍒嗘瀽鍙煡锛屽湪</span>OpenCASCADE<span style="font-family: 瀹嬩綋;">涓?#28725;?#27996;?#29785;瀽?#27960;绾?#28051;庢洸闈?#23033;備氦浣?#37922;簩娆?#28598;氶寮?#32495;?#37825;?#37833;?#29723;?#32448;虹殑銆?#38315;氳繃灏嗕簩娆洸绾?#37922;?#37721;?#37825;板舰寮忕殑鏂圭鏉?#29723;?#32448;?#38171;屽?#26421;唬鍏簩娆洸闈殑鏂圭锛?#37718;?#32480;鍚庣?#23384;帴浣?#37922;?/span><span style="font-family: Calibri;">math</span><span style="font-family: 瀹嬩綋;">鍖?#28051;殑宸?#37711;凤紙澶氶寮?#37826;圭姹?#29785;拰涓?#29785;?#37713;?#37825;?#23033;?#29785;?#23480;?#37711;?#38171;?#28725;?#37826;圭杩?#29723;?#23033;?#29785;?#37510;?/span></p> <h3>5. References</h3> <p>1. <span style="font-family: 瀹嬩綋;">鍚屾祹澶?#28699;簲鐢?#37825;?#28699;?#32495;?/span>. <span style="font-family: 瀹嬩綋;">绾?#37804;唬鏁帮紙绗洓鐗?#38171;?/span><span style="font-family: Calibri;">. </span><span style="font-family: 瀹嬩綋;">楂樼瓑鏁欒偛鍑?#37911;?#32448;?/span></p> <p>2. <span style="font-family: 瀹嬩綋;">涓?#32513;村</span>. <span style="font-family: 瀹嬩綋;">瑙瀽鍑犱綍</span><span style="font-family: Calibri;">. </span><span style="font-family: 瀹嬩綋;">鍖?#27996;?#28598;?#28699;?#37713;?#37911;?#32448;?br /></span></p><span style="font-family: 瀹嬩綋;"><p> </p><div><div id="cnblogs_post_body" style="background-color: transparent; color: #000000; font-family: &quot;Helvetica Neue&quot;,Helvetica,Verdana,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 20px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"><p style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-indent: 0px;"></p></div><div id="MySignature" style="background-color: transparent; color: #000000; display: block; font-family: &quot;Helvetica Neue&quot;,Helvetica,Verdana,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"><hr style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /> <h5>涓?#27996;?#37826;?#28186;垮瀹?#37734;?#32457;诲姩绔?#28052;?#38003;?#37930;嬪埌鎴戠殑鍗?#37826;囧?#23683;璁轰氦娴?#38171;?#37916;板凡娉?#37712;屽井?#20426;鍏紬鍙?#38171;?#23046;?#26473;?#28598;?#28729;舵鎻?#28051;?#37826;逛簩缁寸爜鍏?#23049;?#37510;?/h5> <img width="200" height="200" title="娆?#26473;?#37711;?#23049;OpenCASCADE鍏紬鍙? style="background-image: none; border-bottom-color: #000000; border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: #000000; border-left-style: none; border-left-width: 0px; border-right-color: #000000; border-right-style: none; border-right-width: 0px; border-top-color: #000000; border-top-style: none; border-top-width: 0px; display: inline; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" alt="Shing Liu(eryar@163.com)" src="https://files.cnblogs.com/files/opencascade/qrcode_occ.gif" border="0" /> <hr style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /></div><span style='display: inline !important; float: none; background-color: transparent; color: #000000; font-family: "Helvetica Neue",Helvetica,Verdana,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;'> </span><div style="background-color: transparent; clear: both; color: #000000; font-family: &quot;Helvetica Neue&quot;,Helvetica,Verdana,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"><font color="#002000"></font></div></div><p><strong></strong><em></em><u></u><sub></sub><sup></sup><strike></strike><br /></p></span><img src ="http://www.9087120.com/eryar/aggbug/216252.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.9087120.com/eryar/" target="_blank">eryar</a> 2019-02-21 22:05 <a href="http://www.9087120.com/eryar/archive/2019/02/21/IntAna_Circle.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;?#29825;?/a></div>]]></description></item><item><title>瑙瀽鍑犱綍姹備氦涔?#37929;?#32510;?#28051;庝簩娆洸闈?/title><link>http://www.9087120.com/eryar/archive/2019/01/29/IntAna_IntConicQuad.html</link><dc:creator>eryar</dc:creator><author>eryar</author><pubDate>Tue, 29 Jan 2019 14:06:00 GMT</pubDate><guid>http://www.9087120.com/eryar/archive/2019/01/29/IntAna_IntConicQuad.html</guid><wfw:comment>http://www.9087120.com/eryar/comments/216225.html</wfw:comment><comments>http://www.9087120.com/eryar/archive/2019/01/29/IntAna_IntConicQuad.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.9087120.com/eryar/comments/commentRss/216225.html</wfw:commentRss><trackback:ping>http://www.9087120.com/eryar/services/trackbacks/216225.html</trackback:ping><description><![CDATA[ <h2 align="center"><strong><span style="font-family: 瀹嬩綋;">瑙瀽鍑犱綍姹備氦涔?#37929;?#32510;?#28051;庝簩娆洸闈?/span></strong></h2> <p align="center"><a><span style="text-decoration: underline;">eryar@163.com</span></a></p> <p> </p> <p>Abstract. OpenCASCADE provides the analytic intersection between a conic and a quadric in the package IntAna.</p> <p>Key Words. Analytic geometry, intersection, coninc, quadric </p> <h3>1. Introduction</h3> <p>OpenCASCADE<span style="font-family: 瀹嬩綋;">涓殑鍖?/span><span style="font-family: Calibri;">IntAna</span><span style="font-family: 瀹嬩綋;">鎻愪緵浜?#29785;瀽鍑犱綍?#27960;绾匡紙?#31785;娆洸绾匡級涓?#29785;瀽?#27960;闈紙?#31785;娆洸闈?#38171;?#23033;備氦銆?#29785;瀽?#27960;闈?#28051;?#29785;瀽?#27960;闈?#23033;備氦?#27537;?#23003;鑳?#37510;傚叾涓?/span><span style="font-family: Calibri;">IntAna</span><span style="font-family: 瀹嬩綋;">鍒?#37714;?#37828;?/span><span style="font-family: Calibri;">Intersection Analytic</span><span style="font-family: 瀹嬩綋;">?#27537;?#22688;涓?#28051;?#28699;楁瘝缂啓锛岃绀?#29785;瀽鍑犱綍姹備氦銆?/span></p> <p><span style="font-family: 瀹嬩綋;">鎴戜滑瀛繃浜?#37510;?#32510;?#37804;唬鏁?#37510;?#28051;殑?#31785;娆瀷锛屽叾涓簩娆?#37736;嬪湪瑙瀽鍑犱綍涓殑涓涓簲鐢氨鏄簩娆洸绾垮拰?#31785;娆洸闈?#37826;圭?#23340;殑鍖?#32480;鍙婂叾鎬川?#27537;鍒嗘瀽銆?/span></p> <p><span style="font-family: 瀹嬩綋;">鏈?#37826;?#28051;昏缁撳悎婧愮爜鍒嗘瀽鐩?#32510;?#28051;庝簩娆洸闈?#23033;?#29785;殑瀹?#37916;?#37833;?#37814;?#37934;?#23534;?#37916;?#38171;屽悗鏈?#28751;嗕簩娆洸绾?#28051;庝簩娆洸闈?#23033;備氦?#27537;鍚?#32457;嶆儏鍐靛?#27692;叏闈?#37714;嗘瀽銆?/span></p> <h3>2. Quadratic form</h3> <p><span style="font-family: 瀹嬩綋;">鍦?#29785;瀽鍑犱綍涓?#38171;?#28051;?#27996;嗕究浜庣爺绌朵簩娆洸绾?/span><img src="https://img2018.cnblogs.com/blog/534255/201901/534255-20190129203458203-77825616.png" alt="" /><img src="file:///C:/Users/eryar/AppData/Local/Temp/ksohtml/wps6818.tmp.png" alt="" width="207" height="41" /></p> <p><span style="font-family: 瀹嬩綋;">?#27537;鍑犱綍鎬川锛屾?#25116;滑鍙互閫夋嫨閫傚綋?#27537;鍧愭?#22248;棆杞?#37721;?#37817;?/span></p> <p><span style="font-family: 瀹嬩綋;"><img src="https://img2018.cnblogs.com/blog/534255/201901/534255-20190129203506461-1004974782.png" alt="" /></span></p> <p><span style="font-family: 瀹嬩綋;">鎶?#37826;圭?#23338;寲鎴愭爣鍑嗗舰寮?#38171;?img src="https://img2018.cnblogs.com/blog/534255/201901/534255-20190129203514082-441549350.png" alt="" /></span></p> <p><span style="font-family: 瀹嬩綋;">鏍?#37817;?#37837;?#37713;嗗舰寮?#28051;殑绯?#37825;?#37833;?#37714;嗘瀽?#32342;涓簩娆洸绾?#37828;?#28000;涔堟洸绾匡紝鍗冲渾銆佹?#28222;銆?#37814;?#37911;?#32510;?#37510;?#37721;屾洸绾?#37510;?/span></p> <p><span style="font-family: 瀹嬩綋;">鍦?/span>OpenCASCADE<span style="font-family: 瀹嬩綋;">涓?#29785;瀽鍑犱綍?#27537;?#31785;娆洸闈?#37832;変互涓?#37713;?#32457;?#32491;诲瀷锛?/span></p> <p>l gp_Pln<span style="font-family: 瀹嬩綋;">锛氬钩闈?#37721;?#37930;嬩綔?#31785;娆洸闈殑鐗?#28186;?/span></p> <p>l gp_Sphere<span style="font-family: 瀹嬩綋;">锛?#29785;瀽?#24710;闈?/span></p> <p>l gp_Cylinder<span style="font-family: 瀹嬩綋;">锛?#29785;瀽?#29044;闈?/span></p> <p>l gp_Cone<span style="font-family: 瀹嬩綋;">锛?#29785;瀽?#25951;闈?/span></p> <p><span style="font-family: 瀹嬩綋;">?#32342;浜?#29785;瀽?#27960;闈?#38318;?#37721;互缁?#28051;浣?#37922;簩娆?#28598;氶寮?#37833;?#29723;?#32448;?#38171;?#37719;宠繖涓簩娆?#28598;氶寮忕殑绯?#37825;?#32429;?#28729;?#27996;?#28051;涓簩娆洸闈?#37510;?/span>OpenCASCADE<span style="font-family: 瀹嬩綋;">涓浉?#31794;?#27537;绫?#37828;?/span><span style="font-family: Calibri;">IntAna_Quaric</span><span style="font-family: 瀹嬩綋;">锛?/span></p> <p><span style="font-family: 瀹嬩綋;"><img src="https://img2018.cnblogs.com/blog/534255/201901/534255-20190129203525955-608496972.png" alt="" /></span> </p> <h3> 3. Math Direct Polynomial Roots</h3> <p>OpenCASCADE<span style="font-family: 瀹嬩綋;">涓?#32491;?/span><span style="font-family: Calibri;">IntAna_IntConicQuad</span><span style="font-family: 瀹嬩綋;">涓?#37819;愪緵浜嗕簩娆洸绾?#28051;庝簩娆洸闈?#23033;備氦?#23003;鑳?#38171;屽叾涓?#29825;?#32480;?#37929;?#32510;?#28051;庝簩娆洸闈浉?#27686;?#27537;鍑?#37825;?#37828;?#38171;?/span></p> <p>  //! Creates the intersection between a line and a quadric.</p> <p>  Standard_EXPORT IntAna_IntConicQuad<strong>(</strong>const gp_Lin<strong>&</strong> L<strong>,</strong> const IntAna_Quadric<strong>&</strong> Q<strong>);</strong></p> <p><span style="font-family: 瀹嬩綋;">?#21502;瀹?#37916;板師?#29212;涓?#23049;?#38322;婂?#20633;笅锛?/span></p> <p><span style="font-family: 瀹嬩綋;"><img src="https://img2018.cnblogs.com/blog/534255/201901/534255-20190129203541279-1842098859.png" alt="" /></span> </p> <p><span style="font-family: 瀹嬩綋;">鏍?#37817;叾娉噴锛屽彲?#29025;?#21502;璁?#32480;楄繃绋嬪?#20633;笅锛氬皢鐩?#32510;?#37826;圭鐢?#37721;?#37825;板舰寮?#29723;?#32448;?#38171;?/span></p> <p><span style="font-family: 瀹嬩綋;"><img src="https://img2018.cnblogs.com/blog/534255/201901/534255-20190129203554852-446923209.png" alt="" /></span></p> <p><span style="font-family: 瀹嬩綋;">灏嗗弬鏁?#29723;?#32448;虹殑鐩?#32510;?#37826;圭?#23337;唬鍏簩娆洸闈?#37826;圭锛?#37718;?#32480;鍙?#23536;?#28051;涓簩娆?#28598;氶寮?#38171;屽?#36891;簩娆?#28598;氶寮?#26473;?#29723;?#23033;?#29785;?#37719;冲緱鐩?#32510;?#28051;庝簩娆洸闈殑?#27686;鐐?#37510;?/span></p> <p><span style="font-family: 瀹嬩綋;"><img src="https://img2018.cnblogs.com/blog/534255/201901/534255-20190129203614159-34907821.png" alt="" /></span></p> <p><span style="font-family: 瀹嬩綋;">寰?#37714;?#28051;涓簩娆?#28598;氶寮忕殑鏂圭?#23338;悗锛岃繖鏃跺氨瑕?#23534;?#37711;?#37737;?#32429;妯?#37735;?#28051;殑鏁?#37817;?#23480;?#37711;?#38342;嗘潵瑙喅闂?#26864;?#27996;?#37510;?/span></p> <p><img src="https://img2018.cnblogs.com/blog/534255/201901/534255-20190129203625698-1811141561.png" alt="" /> </p> <p><span style="font-family: 瀹嬩綋;">绫?/span>math_DirectPolynomialRoots<span style="font-family: 瀹嬩綋;">鍙互鐢?#37833;?#28725;?/span><span style="font-family: Calibri;">4</span><span style="font-family: 瀹嬩綋;">娆?#37721;婁互涓嬬殑澶氶寮?#37826;圭杩?#29723;?#23033;?#29785;?#37510;傚浜?#37718;?#32480;鍚庣殑鐩?#32510;?#28051;庝簩娆洸闈?#37826;圭鏄?#28051;涓簩娆?#28598;氶寮?#37826;圭锛?#37714;?#28003;?#37922;繖涓?#32491;?#37929;存帴杩?#29723;?#23033;?#29785;?#37510;?/span></p> <h3>4. Conclusion</h3> <p><span style="font-family: 瀹嬩綋;">浠?#28051;?#38344;殑婧愮爜鍒嗘瀽鍙煡锛屽湪</span>OpenCASCADE<span style="font-family: 瀹嬩綋;">涓?#28725;?#27996;?#29785;瀽?#27960;绾?#28051;庢洸闈?#23033;備氦浣?#37922;簩娆?#28598;氶寮?#32495;?#37825;?#37833;?#29723;?#32448;虹殑銆?#38315;氳繃灏?#37826;圭?#23338;寲绠鍚庣?#23384;帴浣?#37922;?/span><span style="font-family: Calibri;">math</span><span style="font-family: 瀹嬩綋;">鍖?#28051;殑宸?#37711;?#28725;?#37826;圭杩?#29723;?#23033;?#29785;?#37510;?/span></p> <p><span style="font-family: 瀹嬩綋;">浣?#37922;?/span>OpenCASCADE<span style="font-family: 瀹嬩綋;">鐔?#32513;?#28028;氬彂鐜颁粬?#28369;?#27537;缂栫爜椋?#37837;?#28052;?#37828;?#37832;?#28051;瀹氱殑濂楄矾?#27537;锛?#37719;?#28051;涓?#32491;讳細鎻愪緵鍑犱釜鏋?#38315;?#37713;?#37825;?#38171;屽皢涓?#37722;屽弬鏁?#26473;?#29723;岃?#25779;叆銆?#37832;夌殑鍦?#37835;?#38315;?#37713;?#37825;?#28051;?#29835;?#37922;?#37714;濆?#23338;寲鍑?#37825;?/span><span style="font-family: Calibri;">Init()</span><span style="font-family: 瀹嬩綋;">鏉?#28725;圭?#26945;硶闇瑕佺殑?#21502;?#31916;杈撳叆鏁?#37817;?#26473;?#29723;?#37714;濆?#23338;寲锛屾湁?#27537;鍒?#37929;存帴鍦?#37835;?#38315;?#37713;?#37825;?#28051;?#29835;?#37922;殑璁?#32480;?#37713;?#37825;?/span><span style="font-family: Calibri;">Perform()</span><span style="font-family: 瀹嬩綋;">銆傚鏋?#37835;?#38315;?#37713;?#37825;?#28051;?#23052;?#37832;夎皟鐢?#29825;?#32480;?#37713;?#37825;?/span><span style="font-family: Calibri;">Perform()</span><span style="font-family: 瀹嬩綋;">锛?#37714;?#38343;瑕佹?#23338;姩璋?#37922;?/span><span style="font-family: Calibri;">Perform()</span><span style="font-family: 瀹嬩綋;">銆?#32480;楁?#26336;殑鎴愬姛閫氳繃鍑?#37825;?/span><span style="font-family: Calibri;">IsDone()</span><span style="font-family: 瀹嬩綋;">鏉?#22955;娴?#37510;?#37837;?#37817;?#22955;娴嬪垽鏂?#37828;?#37722;?#37721;?#37713;鸿绠楀?#37510;?/span></p> <p><span style="font-family: 瀹嬩綋;">鏄?#38010;傚氨瑕?#37714;?#27996;?#38171;岀澶?#28729;?#37734;?#37826;扮殑涓骞?#38322;屽?#20905;兂浜?#37812;?#38171;?#28051;?#27996;嬪?#20635;剰锛?/span></p> <h3>5. References</h3> <p>1. <span style="font-family: 瀹嬩綋;">鍚屾祹澶?#28699;簲鐢?#37825;?#28699;?#32495;?/span>. <span style="font-family: 瀹嬩綋;">绾?#37804;唬鏁帮紙绗洓鐗?#38171;?/span><span style="font-family: Calibri;">. </span><span style="font-family: 瀹嬩綋;">楂樼瓑鏁欒偛鍑?#37911;?#32448;?/span></p> <p>2. <span style="font-family: 瀹嬩綋;">涓?#32513;村</span>. <span style="font-family: 瀹嬩綋;">瑙瀽鍑犱綍</span><span style="font-family: Calibri;">. </span><span style="font-family: 瀹嬩綋;">鍖?#27996;?#28598;?#28699;?#37713;?#37911;?#32448;?/span></p> <img src ="http://www.9087120.com/eryar/aggbug/216225.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.9087120.com/eryar/" target="_blank">eryar</a> 2019-01-29 22:06 <a href="http://www.9087120.com/eryar/archive/2019/01/29/IntAna_IntConicQuad.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;?#29825;?/a></div>]]></description></item><item><title>RvmTranslator7.0-IFChttp://www.9087120.com/eryar/archive/2019/01/19/RvmTranslator70_IFC.htmleryareryarSat, 19 Jan 2019 06:11:00 GMThttp://www.9087120.com/eryar/archive/2019/01/19/RvmTranslator70_IFC.htmlhttp://www.9087120.com/eryar/comments/216214.htmlhttp://www.9087120.com/eryar/archive/2019/01/19/RvmTranslator70_IFC.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/216214.htmlhttp://www.9087120.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鍙互灏?/span>AVEVA PDMS/Plant/Marine涓?#28725;?#37713;虹殑RVM鏂?#28000;?#26473;?#29723;屽彲瑙?#37718;?#38171;屼互鍙婂皢RVM杞?#37817;?#37812;愬父瑙佺殑涓?#32513;?#37826;?#28000;?#37837;?#23534;?#37510;傚STEP锛?/span>IGES锛?/span>STL锛?/span>DXF, OBJ, 3DPDF, 3DXML, IFC?#29905;锛?#28186;?#27996;?#28051;庡叾?#31916;CAD绯?#32513;?#26473;?#29723;屾暟鎹氦鎹?#38171;屽Autodesk AutoCAD, Plant3d, 3ds Max, CATIA, Solidworks, Pro/E, Unity3d, Bentley?#29905;銆?/span>

RvmTranslator7.0澧?#37716;犱簡涓涓?#37826;扮殑鏂?#28000;?#26462;?#37817;?/span>IFC銆?IFC鐩墠鏄浗闄?#38315;?#37922;殑BIM鏍?#37713;?#38171;?#37916;?#37734;?#23536;?#28598;?/span>BIM杞?#28000;?#38318;?#38322;?#37922;叾浣?#28051;?#37825;?#37817;氦鎹殑鏍?#37713;?#37510;備负浜?#28003;?/span>PDMS涓殑妯?#37736;嬪彲?#20114;瀵?#37711;?/span>BIM杞?#28000;?#38171;屽紑鍙?#27996;嗘?#23003;鑳?#37510;?#32459;嬪簭杞?#37817;?#27996;?/span>PDMS涓?#37713;犱綍妯?#37736;嬪強鏍戝舰缁?#37835;?#37510;?/span> 

 

 

IFC(IndustryFoundationClasses)

 IFC鏄?#37922;卞浗闄?#37719;?#37722;屽伐浣?#38001;旂洘IAI(InternationalAllianceForInteroperability)?#31794;鐢?#38344;?#37722;?#28725;硅薄鎶鏈墍寤虹?#23340;殑?#20426;鎭?#37837;?#37713;?#37510;?/span>IAI?#27537;鍙戝?#26337;捣婧愪簬1994骞?/span>8鏈?#38171;?#37922;辩?#24225;浗12瀹?#37711;?#37721;镐互AutoCAD13?#27537;ARX绯?#32513;?#28051;哄熀纭锛岀爺绌?#28051;?#37722;屽簲鐢?#26462;?#28000;?#37734;?#37719;?#37722;屽伐浣滅殑鍙?#38003;?#37804;?#38171;?#32513;?#37835;?#37721;?#29785;?#28051;?#28003;嗗彲琛屾洿鏈?#37721;?#29785;傜殑缁忔祹鏁?#37929;?#37510;備簬1995骞?#37711;?#37832;?#27996;嗘?#31295;?#20906;殑闂?#26864;樺悗锛屽彂琛?#27996;?#32480;绉?/span>IFC?#27537;?#20426;鎭氦鎹?#37837;?#23534;?#38171;?/span>1995骞?/span>10鏈?#38171;屼粬?#28369;鍦?#37718;楃編鎴愮珛IAI缁?#32513;?#37510;傚苟鍙?#37916;拌繖宸?#37828;?#37711;悆宸?#28051;氱殑闂?#26864;?#38171;岄殢鍚庝粬?#28369;灏嗘鎬濇?#34411;帹骞?#37714;板叾?#31916;?#27991;瀹?#38171;屽?#22557;揩?#27537;?#21502;?#31916;?#27991;瀹?#28052;熺浉缁?#37812;愮?#23337;簡IAI鍒?#38318;?#37510;傚苟鍦?/span>1996骞?#27996;庝u鏁?#37721;?#23534;浜嗙涓娆殑IAI?#27991;闄呬細璁?#37510;?#37929;墠鎴愬?#27195;兜鐩?/span>24涓浗瀹?#37721;?/span>8涓?#38340;勫睘鎴?#23049;唽?#27537;鍥綋锛屽?#20635;?#34411;銆佹?#26334;浗銆佸?#23792;浗銆佹棩鏈?#37510;侀煩?#27991;銆?#37718;?#23046;?#37510;?#37826;板姞鍧?#37721;婅嫳?#27991;?#29905;锛屽叾缁?#37812;?#37719;?#28003;?#37711;?#29825;?/span>131涓?#38171;?#37718;?#37722;?#23524;虹瓚涓?#28051;?#37510;佹壙鍖呭晢銆佹?#22446;瀹樺憳銆?#28699;?#37832;?#37719;?#28003;?#37510;佽祫浜?#32480;?#37918;?#37510;佽蒋浠跺?#20634;晢銆佸?#40511;鍏?#37721;哥瓑銆?/span>

IAI涓昏鐩?#37837;?#28051;?#37819;愪緵AEC鍙?/span>FM鍘傚晢锛岃幏寰楃浉鍚?#37719;?#28051;寤虹?#25116;俊鎭殑娌?#38315;?#22959;瀷(SingleBuildingInformationModel,BIM)锛?/span>IAI璁?#28051;?/span>BIM鑳?#37832;?#37825;?#37713;?#28751;?#37812;愭湰鍙?#37819;愰珮鏁?#37916;?#38171;屾晠绉?#28051;?/span>buildingSMART(?#20114;鑱?#37828;庣殑鏂?#23534;忓?#34425;瓚)IAI甯屾湜鎶婃墍鏈夌殑寤虹?#25116;俊鎭?#38315;忚繃涓濂楁爣鍑嗗?#21975;叾鏁村悎鍦?#28051;?#25443;锛屽儚鏄?#37814;?#38338;?#37510;佸?#27409;瓑瀹?#38340;?#28725;硅薄?#20114;鍙?#28051;浜?#32460;?#38338;?#37510;?#32513;?#37835;勮繃绋嬬?#22795;?#20511;薄姒傚康?#20114;鐢?#28699;愪俊鎭?#37826;?#23534;?#37832;?#32495;?#32513;熺殑鍛?#37916;?#37713;?#37833;?#37510;傝繖浜涗俊鎭?#29825;?#37722;?#32457;?#28051;?#37722;岃蒋浠剁殑闂?#37721;互浜掔浉浼?#38315;?#28051;?#37714;?#27996;?#38171;?#28186;嬪?#20636;?#24228;鏄浗闄?#38338;寸殑鍏?#37722;岃瑷涓鑸?#38171;?/span>IFC渚?#37828;?#28051;绉?#37922;?#37711;?#37722;岃瑷锛屽湪寤虹瓚鐢熷?#34249;鏈?#28051;?#37813;?#23125;?#37711;?#27996;櫤鑳藉?#30789;薄?#27537;瑙掕壊銆?/span>

IFC鏄?#28051;绉?#23534;鏀?#37804;川?#20426;鎭?#37837;?#23534;?#38171;?#28003;?#28051;轰俊鎭殑?#27686;鎹互鍙婂叡浜?#28003;?#37922;?#38171;屽湪鎶鏈?#28051;?#38322;?#37922;?/span>BIM姒傚康鍙?#38344;?#37722;?#28725;硅薄绛夋潵杩?#29723;屼俊鎭?#37712;?#28729;圭殑澶勭悊锛?#37929;殑鍦?#27996;?#29825;?#37734;?#23005;?#26864;嗗?#29111;唴BIM绯?#32513;熺殑鍚?#32457;?#28051;?#37722;屽簲鐢?#26462;?#28000;?#38171;屽洜IFC?#20426;鎭?#37837;?#23534;忕殑鏍?#37713;?#37718;?#37721;?#28051;鑷?#37804;?#38171;岃屾湁涓涓俊鎭氦鎹殑鏍?#37713;嗘牸寮?#37721;互閬?#23536;?#38171;?#28003;?#28051;?#37722;岃蒋?#32139;闂寸殑?#20426;鎭?#37721;浉浜掍氦鎹?#38171;屾椤诲啀鍚勮嚜寤虹?#23337;俊鎭?#38171;岄?#22446;?#23940;俊鎭?#28028;?#38315;掓椂鍙?#37922;?#38335;欐紡閫?#37812;愯鍔?#37724;屾椂闂?#28051;婄殑鎹?#28598;?#38171;屽浗闄?#38338;?#37722;勫杞?#28000;?#37711;?#37721;革紙渚?/span>Autodesk銆?/span>Bentley銆?/span>Graphisoft銆?/span>TEKLA銆?/span>NEC銆?/span>Fujitsu?#29905;锛?#38171;?#38318;藉?#26597;檰缁?#23534;鍙戜互BIM姒傚康缁撳悎IFC鏍?#37713;嗙殑杞?#28000;?#37510;?/span> 

Download RvmTrnaslator

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



]]>
QString::toStdString() crasheshttp://www.9087120.com/eryar/archive/2019/01/17/std_string_crash.htmleryareryarThu, 17 Jan 2019 13:50:00 GMThttp://www.9087120.com/eryar/archive/2019/01/17/std_string_crash.htmlhttp://www.9087120.com/eryar/comments/216209.htmlhttp://www.9087120.com/eryar/archive/2019/01/17/std_string_crash.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/216209.htmlhttp://www.9087120.com/eryar/services/trackbacks/216209.html浠婂鍦Qt涓?#23534;鍙?#32459;嬪?#24532;椂锛岄亣鍒?#28051;涓猀String::toStdString()?#27537;鍐?#28699;?#38338;?#26864;?#38171;?#37922;?#23049;?#28641;備笅锛?/p>
void test(const QString& theFileName)
{
    std::string aFileName = theFileName.toStdString();
    std::ofstream aFile(aFileName);
    aFile << aFileName;
}

鍦?#37713;?#37825;?#26473;樻病鎵?#29723;?#28729;屽氨?#31359;婧?#27996;?#38171;岃?#29115;釜鍙?#37916;?#37828;std::string?#27537;闂?#26864;?#37510;?#37832;?#24727;鍙?#37916;?#37828;?#37733;犱负寮?#37922;殑搴撶殑Runtime Library涓?#37722;屽鑷寸殑锛?#28051;涓?#37828;MDd锛?#28051;涓?#37828;MTd锛屽悗鏉?#37824;?#37812;?#28051;鑷?#37719;?#37721;?#37510;?/p>



eryar 2019-01-17 21:50 鍙?#29723;?#29831;?#29825;?/a>
]]>
Consolas 瀛椾綋http://www.9087120.com/eryar/archive/2019/01/15/Consolas.htmleryareryarTue, 15 Jan 2019 08:53:00 GMThttp://www.9087120.com/eryar/archive/2019/01/15/Consolas.htmlhttp://www.9087120.com/eryar/comments/216204.htmlhttp://www.9087120.com/eryar/archive/2019/01/15/Consolas.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/216204.htmlhttp://www.9087120.com/eryar/services/trackbacks/216204.html

姒?#26473;?

?#32342;濂?#28699;?#37736;嬩娇鐢?#27996;嗗井杞殑ClearType 瀛?#37736;嬪钩?#31910;鎶鏈?#38171;屽苟?#27554;鍚學indows Vista銆丱ffice 2007鍙奙icrosoft Visual Studio涓?#37721;?#29723;?#38171;屾垨鍙?#37734;?#23536;?#26462;殑缃戠珯涓?#26462;?#37510;傚湪Windows Vista?#27537;6濂楁柊瀛楀瀷涓?#38171;孋onsolas杩戜技浜庡墠鐗圵indows涓??#27537;2娆?#37712;?#23524;?#28699;楀瀷锛Lucida Console涓嶤ourier New锛?#28051;昏涓?#32459;嬪?#24526;唬?#29212;?#27537;鏄?#32448;?#28699;楀瀷鑰岃璁殑锛?#37911;?#37714;?#28052;嬪鏄?#28729;冪殑“0”瀛楀姞鍏?#27996;?#28051;鏂滄拠锛屼互鏂?#28186;?#28051;?#28699;楁瘝“O”鍒嗚鲸銆? 鍦Consolas涔嬪墠锛?#32459;嬪?#24526;唬?#29212;?#27537;鏄?#32448;?#28699;?#37736;嬪澶?#28051;篊ourier New鎴栧叾?#31916;?#29905;瀹?#28699;楀瀷锛?#28699;楀瀷?#27537;?#29005;杈癸紙鍙?#38335;?#27067;匡級鏁?#37835;?#37714;?#28186;?#28051;?#27996;哄濂?#38315;夋嫨寮鍚?#37812;?#37711;?#38338;?#38171;岀?#24816;孋onsolas鏄?#28051;?#28051;烘煍杈?#37825;?#37835;?#38000;岃璁殑瀛楀瀷锛?#37911;?#37714;?#37828;?#28051;?#27996;嗘惌?#21412;寰?#26462;殑ClearType鎶鏈?#38171;屽鏋?#28051;?#23534;鍚疌learType锛孋onsolas?#27537;鏄?#32448;?#37825;?#37835;滀細鎵撳鎶樻墸銆傚彟澶?#38171;孋learType鎶鏈?#26473;?#38343;瑕佹惌閰嶆恫鏅?#37828;?#32448;哄櫒?#22688;?#32048;鏈?#37832;浣?#29723;?#37916;?#37510;?

?#31794;鐢?

浼?#32513;?#28051;?#38171;?#32459;嬪紡缂栧啓鍛?#37734;Windows鐜?#28583;?#25652;?#28051;?#38171;?#28051;鑸?#38318;戒細浣?#37922;Courier New鎴栧叾?#31916;杩戜技?#27537;?#29905;瀹?#28699;椾綋鏉?#37828;?#32448;?#32459;嬪?#24526;唬?#29212;銆?#38315;氬父鐢?#37833;?#32514;栧啓绋嬪?#24526;唬?#29212;?#27537;绋嬪簭閮戒細璁?#32514;?#32459;嬪憳閫夋嫨鐢?#37833;?#37828;?#32448;?#32459;嬪?#24526;唬?#29212;?#27537;瀛椾綋銆?#37922;?#27996;嶤ourier New?#27537;瀛楀瀷姣?#26440;冭偉澶?#38171;?#28003;挎瘡涓?#37922;?#38344;?#37812;?#26916;?#38344;墍鑳?#37828;?#32448;虹殑绋嬪?#24526;唬?#29212;澶?#28051;?#37713;?#28751;?#37510;侰onsolas闄?#27996;嗚?#34249;鍦?#26440;?#28751;戠殑绌?#38338;?#37828;?#32448;?#37831;?#28598;氱殑鍐?#28729;?#38171;?#28729;冪殑娓?#37829;?#28699;?#37736;嬩害浣?#32514;?#32459;嬪憳鑳藉鏇村揩鎹风殑鍒嗚鲸姣?#28051;涓?#37826;?#28699;?#37510;?br />
?#32342;涓?#28699;椾綋鐢?#37833;?#32514;栫爜寰堟竻鏅?#38171;岃鏈?#38171;?#28051;昏鏄?#37825;?#28699;??#25328;瀛楁瘝0鍙互瀹?#37828;撶殑鍖?#37714;?#37713;?#37833;?#38171;岃繖閲屽仛涓?#28598;囧繕锛屾柟渚?#37734;?#32514;栫爜鐜?#28583;?#28051;?#29825;?#32515;繖涓?#28699;椾綋銆?img src ="http://www.9087120.com/eryar/aggbug/216204.html" width = "1" height = "1" />

eryar 2019-01-15 16:53 鍙?#29723;?#29831;?#29825;?/a>
]]>Mesh BRep Shapeshttp://www.9087120.com/eryar/archive/2019/01/06/BRepMesh.htmleryareryarSun, 06 Jan 2019 02:49:00 GMThttp://www.9087120.com/eryar/archive/2019/01/06/BRepMesh.htmlhttp://www.9087120.com/eryar/comments/216169.htmlhttp://www.9087120.com/eryar/archive/2019/01/06/BRepMesh.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/216169.htmlhttp://www.9087120.com/eryar/services/trackbacks/216169.html

Mesh BRep Shapes

eryar@163.com

Abstract. ?#32139;瀵?/span>OpenCASCADE?#27537;BRep琛?#32448;?#23049;曠殑鏁?#37817;?#32513;?#37835;?#37832;?#27996;?#28051;瀹氱殑鐞?#29785;悗锛屽?#40511;鍙互鑷?#23480;?#28729;?#37916;?#28051;涓?#37828;?#32448;?#37825;?#37817;?#37922;?#37812;愮殑?#23003;鑳?#38171;?#37719;?#32515;?#37837;煎墫鍒嗗姛鑳?#37510;?/span>

Key Words. BRep, Mesh, Triangulation

1. Introduction

鍦?/span>OpenCASCADE涓?#32515;?#37837;煎墫鍒嗗姛鑳?#37828;?#23536;?#38322;?#29781;佺殑涓涓?#22959;?#37735;?#38171;屼粬鍙?#37922;?#27996;?#37922;?#37812;愭?#28727;?#27537;鍙?#29785;?#37718;?#37825;?#37817;?#38171;岃繕鍙?#37922;?#27996;?/span>HLR娑堥殣锛屽浜庣鏁?#23033;備氦绠楁硶涔?#37828;?#37737;?#27996;庣綉鏍?#37825;?#37817;?#37510;?/span>OpenCASCADE寮婧愮増鏈?#28051;殑妯?#37735;?/span>TKMesh鍙互鐢?#37833;?#37922;?#37812;愮綉鏍肩殑鏄?#32448;?#37825;?#37817;?#38171;?#28051;昏?#20346;殑绫?#28051;?/span>BRepMesh_IncrementalMesh銆?/span>

鍦?#28003;?#37922;?/span>BRepMesh_IncrementalMesh?#27537;?#32323;绋?#28051;?#37721;?#37916;板叾鍓?#37714;嗙簿搴?#26946;?#38171;?#28051;旂簿搴?#28051;?#28186;?#27996;?#37818;?#37714;?#37510;傚?#20634;涓涓悆杩?#29723;岀綉鏍煎墫鍒?#38171;屾?#20914;緱鍒?#28051;涓?#32494;?#32495;欑殑鏁?#37835;?#38171;?#37719;?#28051;涓?#28598;氳?#29808;舰锛?#28003;?#37922;?/span>BRepMesh_IncrementalMesh鏄?#28051;?#28729;?#37828;撳緱鍒扮殑銆?/span>

濡備?#23106;?#28844;墍绀?#28051;哄悓涓涓悆?#27537;涓?#37722;岀殑鍓?#37714;嗙簿搴?#23536;?#37714;扮殑妯瀷銆備负浜嗚兘?#31807;纭?#37818;?#37714;?#32515;?#37837;煎墫鍒嗙簿搴?#38171;屼互渚垮悗鏈?#28003;?#37922;?/span>LOD绛変紭鍖?#32480;楁硶锛岃嚜宸?#28729;?#37916;?#28051;涓?#32515;?#37837;煎墫鍒嗗姛鑳?#37510;?/span>

缃?#37837;煎墫鍒嗙殑涓昏鎬濊矾?#27688;鏄?#38316;?#37720;嗘瘡涓?/span>TopoDS_Face?#27537;TopoDS_Wire锛屾牴鎹?/span>Wire鎵?#37714;拌?#22317;?#23678;垨闈?#28051;婄殑瀛旀礊銆傚皢Wire瀵瑰簲鍒颁簩缁?#37721;?#37825;?#32460;?#38338;?#38171;屽?#36346;?#36891;簩缁?#37721;?#37825;?#32460;?#38338;?#28051;殑杈圭?#23677;厛杩?#29723;?#28051;娆?#28051;?#29785;掔綉鏍煎墫鍒?#37510;傚浜庡钩闈?#37833;?#29831;?#38171;屽彧闇瑕佽繖涓姝氨鍙互婊冻鍙?#29785;?#37718;栫殑瑕?#23033;?#37510;傚浜庡叾?#31916;?#27960;闈?#37833;?#29831;?#38171;屽氨闇瑕?#37734;簩缁?#37721;?#37825;?#32460;?#38338;?#28051;?#26864;?#28598;?#37819;?#37711;?#28051;浜?#37904;?#38171;屼互浣?#37832;缁?#37922;?#37812;愮殑缃?#37837;兼弧瓒冲墫鍒嗙簿搴?#29781;?#23033;?#37510;?#37832;?#24727;灏嗕簩缁?#37721;?#37825;?#32460;?#38338;寸殑涓?#29785;掑墫鍒?#37828;?#28751;勫埌涓?#32513;?#32460;?#38338;?#37510;?/span>

2. Mesh Boundary Region

鍥犱负浣?#37922;?/span>BRepBuilderAPI_MakeFace鍙互閫氳繃Add(TopoDS_Wire)鏉?#23075;诲姞闈?#28051;婄殑寮瀛?#38171;屾墍?#20114;涓涓?/span>TopoDS_Face?#32048;鏈?#28598;?#27996;?/span>1涓殑TopoDS_Wire銆傛壘鍑?#28598;?#26440;圭?#23677;?#23677;唴瀛?/span>Wire?#24727;鍙?#26473;?#29723;?#28051;娆?#28051;?#29785;掑墫鍒?#38171;屽?#20633;?#23338;?#28844;墍绀?#38171;?/span>

 

濡備?#23106;?#28844;墍绀?#38171;屽浜庡钩闈?#38000;岃锛?#37929;存帴瀵?#26440;圭?#23677;?#23106;唴瀛?#26473;?#29723;?#28051;娆?#28051;?#29785;掑墫鍒?#37719;?#37721;互寰?#37714;版弧鎰忕殑缃?#37837;?#37825;?#37817;?#37510;傚浜庢洸闈?#38000;岃锛岃繖鏄剧劧鏄?#28051;嶆弧?#20923;?#31807;搴?#29781;?#23033;傜殑銆?/span>

 

濡備?#23106;?#28844;墍绀?#28051;虹悆闈殑绗?#28051;娆?#28725;?#26440;圭?#23683;繘琛?#28051;?#29785;掑墫鍒嗗緱鍒扮殑鏁?#37835;?#37510;傚?#29361;负鍦?#28051;涓?#37721;?#37825;?#28051;婄殑杈?#37828;?#38315;鍖?/span>Degenerated杈?#38171;屾墍?#20114;閫鍖?#26440;圭殑鍙?#37825;?#32460;?#38338;?#28051;婃病鏈?#37735;?#37714;?#37510;傚?#21975;弬鏁?#32460;?#38338;寸殑涓?#29785;掑墫鍒?#37828;?#28751;勫埌涓?#32513;?#32460;?#38338;村悗锛屽緱鍒扮殑鏄?#28051;鏉?#32510;匡?#23677;叾瀹?#37828;?#28051;?#28051;?#38344;?#38315;鍖?#26440;?#37510;?/span>

 

3. Deflection Control

瀵?#27996;庢洸闈?#37833;?#29831;?#38171;屽鏋?#37929;?#28725;?#26440;圭?#23683;繘琛?#28051;娆?#28051;?#29785;掑墫鍒?#38171;屾槸杈?#28051;?#37714;扮簿搴?#29781;?#23033;?#37510;備负浜?#28003;挎洸闈?#32515;?#37837;煎墫鍒?#37825;?#37835;?#37831;村锛屽氨闇瑕佸?#35268;?#22798;?#22317;?#23677;墫鍒嗗?#24227;殑缃?#37837;?#26473;?#29723;?#37819;?#37711;?#37904;圭户缁?#37715;?#37714;?#37510;傚浜?#28051;?#38344;悆闈殑鍙?#37825;?#32460;?#38338;?#37718;哄煙锛屾牴鎹簿搴?#29781;?#23033;?#37819;?#37711;?#37904;瑰墫鍒嗗?#24227;殑缁?#37835;?#28641;備?#23338;?#28844;墍绀?#38171;?/span>

 

寰?#37714;扮殑涓?#32513;?#37825;?#37835;?#28641;備?#23338;?#28844;墍绀?#38171;?/span>

 

4. Demo

涓?#38344;?#32513;?#37713;?#37713;犱釜鑷?#23480;?#28729;?#37916;扮綉鏍煎墫鍒嗙殑缁?#37835;?#28051;?/span>OpenCASCADE?#27537;TKMesh浣?#28051;?#28725;规瘮锛?/span>

 

涓婂浘涓鸿嚜宸?#28729;?#37916;扮綉鏍煎墫鍒?#32480;楁?#26334;?#35268;?#24710;闈殑缃?#37837;煎墫鍒?#32513;?#37835;?/span>

 

涓婂浘涓?/span>TKMesh缃?#37837;煎墫鍒?#32480;楁?#26334;?#35268;?#24710;闈殑缃?#37837;煎墫鍒?#32513;?#37835;?/span>

 

涓婂浘涓鸿嚜宸?#28729;?#37916;扮綉鏍煎墫鍒?#32480;楁?#26334;?#35268;?#28222;鐜?#38344;殑缃?#37837;煎墫鍒?#32513;?#37835;?/span>

 

涓婂浘涓?/span>TKMesh缃?#37837;煎墫鍒?#32480;楁?#26334;?#35268;?#28222;鐜?#38344;殑缃?#37837;煎墫鍒?#32513;?#37835;?/span>

閫氳繃涓?#38344;殑瀵规瘮鍙互鍙?#37916;?#38171;屽湪澶?#38007;寸浉鍚岀殑鏄?#32448;?#37825;?#37835;滄儏鍐?#28051;?#38171;?/span>OpenCASCADE浜?#37922;?#27996;?#37831;?#28598;氱殑椤?#37904;瑰拰涓?#29785;掑舰鏁?#37817;?#37510;傝嚜宸?#28729;?#37916;扮殑缃?#37837;煎墫鍒?#27996;?#37922;熺殑缃?#37837;艰川閲忕浉瀵?#37721;?#37818;?#28051;?#37804;?#38003;?#26946;?#37510;?/span> 

5. Conclusion

OpenCASCADE涓?#23534;婧愮殑缃?#37837;煎墫鍒嗗簱TKMesh鍙互瀹?#37916;版?#28727;?#27537;鍙?#29785;?#37718;?#37825;?#37817;?#37922;?#37812;愬姛鑳?#38171;?#28003;?#37828;?#28725;?#27996;庣綉鏍煎墫鍒嗙殑?#31807;搴?#37721;?#37818;?#37804;?#23480;?#37510;備负浜嗗?#35268;?#28727;?#27537;缃?#37837;肩簿搴?#26473;?#29723;屾?#26449;鍦版帶鍒?#38171;岃嚜宸?#28729;?#37916;?#28051;濂楃綉鏍煎墫鍒嗗姛鑳?#38171;?#28051;?#37804;?#38003;?#29781;佷紭浜?/span>TKMesh銆傚湪绋嬪?#24533;殑缂栧啓?#32323;绋?#28051;?#38171;屽彲?#20114;鍔犳繁BREP鏁?#37817;?#32513;?#37835;?#28051;?#28051;浜?#22994;傚康?#27537;鐞?#29785;?#37510;?#37832;?#37711;磋叮?#27537;璇昏?#37734;?#37908;熸倝BREP鏁?#37817;?#32513;?#37835;勫悗锛?#28052;?#37721;互灏?#29831;?#28051;嬬綉鏍煎墫鍒嗗姛鑳界殑瀹?#37916;?#37510;?/span>


涓?#27996;?#37826;?#28186;垮瀹?#37734;?#32457;诲姩绔?#28052;?#38003;?#37930;嬪埌鎴戠殑鍗?#37826;囧?#23683;璁轰氦娴?#38171;?#37916;板凡娉?#37712;屽井?#20426;鍏紬鍙?#38171;?#23046;?#26473;?#28598;?#28729;舵鎻?#28051;?#37826;逛簩缁寸爜鍏?#23049;?#37510;?/h5>Shing Liu(eryar@163.com)


eryar 2019-01-06 10:49 鍙?#29723;?#29831;?#29825;?/a>
]]>OpenCASCADE Incremental Meshhttp://www.9087120.com/eryar/archive/2018/12/31/IncementalMesh.htmleryareryarMon, 31 Dec 2018 14:45:00 GMThttp://www.9087120.com/eryar/archive/2018/12/31/IncementalMesh.htmlhttp://www.9087120.com/eryar/comments/216159.htmlhttp://www.9087120.com/eryar/archive/2018/12/31/IncementalMesh.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/216159.htmlhttp://www.9087120.com/eryar/services/trackbacks/216159.htmlOpenCASCADE Incremental Mesh

eryar@163.com

 

Abstract. OpenCASCADE IncrementalMesh is used to build the mesh of a shape with respect of their correctly triangulated parts. The blog focus on the deflection control of the algorithm.

 

Key Words. Mesh, Visualization

 

1. Introduction

Mesh鏄?#37922;?#37812;?#28051;?#32513;?#22959;瀷鏄?#32448;?#37825;?#37817;殑鍏?#38335;?#32480;楁硶銆?/span>OpenCASCADE?#27537;TKMesh鎻愪緵浜嗙綉鏍煎墫鍒?#32480;楁硶锛?#37922;?#27996;?#37922;?#37812;?/span>BREP?#32139;?#27537;鏄?#32448;?#37825;?#37817;?#37510;傚師鏉殑涓浜?#37826;囩珷瀵圭綉鏍煎墫鍒嗙殑绠楁硶鍙婂叾鐢?#23049;?#26473;?#29723;岃繃璇?#37828;?#38171;屾湰鏂?#28051;昏?#20344;?#22317;綉鏍煎墫鍒嗙殑鏍稿績閮?#37714;嗚繘琛屾繁鍏寲鎺?#38171;岀悊瑙叾鍓?#37714;嗙簿搴?#37818;?#37714;跺師鐞?#37510;傛劅鍏磋叮?#27537;璇昏?#37721;互缁撳悎婧愮爜锛?#28699;?#28052;犲叾瀹?#37916;?#37826;规硶銆傚綋鐞?#29785;叾绠楁?#26334;師鐞嗗悗锛?#28052;?#37721;互鑷?#23480;?#28729;?#37916;?#28051;濂?#32513;撳悎瀹?#38340;?#38343;姹傜殑楂?#37804;?#38003;界綉鏍煎墫鍒嗗簱銆?/span>

缃?#37837;煎墫鍒嗙殑涓昏?#20345;祦绋嬪?#20633;笅锛?/span>

 

閬?#37720;?/span>TopoDS_Shape?#27537;TopoDS_Face锛屽浜?#23011;?#28051;?/span>TopoDS_Face锛岄亶鍘嗗叾TopoDS_Wire锛屽浜?#23011;?#28051;?/span>TopoDS_Wire閬?#37720;嗗叾TopoDS_Edge锛屽湪鏍?#37817;?/span>Edge?#25328;Face寰?#37714;?/span>PCurve銆傚?#29361;负TopoDS_Wire鏄?#38338;悎?#27537;锛屾墍?#20114;Wire?#27537;PCurve鏄?#37734;?#37721;?#37825;?#32460;?#38338;?#38338;悎鍖哄煙銆傚PCurve?#27967;鎴愮殑鍙?#37825;?#37718;哄煙杩?#29723;?#28051;?#29785;掑墫鍒?#38171;屽皢涓?#29785;掑墫鍒嗙殑缁?#37835;?#37828;?#28751;勫埌涓?#32513;?#32460;?#38338;?#38171;屾渶缁?#37922;?#37812;愭瘡涓?/span>Face?#27537;缃?#37837;煎墫鍒?#37510;傝繖涓?#23092;?#32459;嬪?#22557;鐞?#29785;?#38171;?#28003;?#37828;?#28641;備綍瀵圭綉鏍煎墫鍒嗙殑?#24029;閲?#26473;?#29723;屾帶鍒跺憿锛?#37719;?#37922;浉瀵?#28751;戠殑涓?#29785;掔綉鏍?#37833;?#37831;村鍦?#29723;?#32448;?#28051;?#32513;?#22959;?#37736;嬪憿锛?/span>

 

2. Mesh Deflection Control

OpenCASCADE瀵?/span>BRep?#32139;杩?#29723;?#28051;?#29785;掑墫鍒嗙綉鏍?#37718;栫殑绫?#37828;?/span>BRepMesh_IncrementalMesh锛屾绫?#37832;?#28051;?#28051;?#28051;昏?#20346;殑閫?#26916;规潵鎺?#37714;?#28051;?#29785;掔綉鏍?#37718;?#38171;?#32510;?#37804;?#37707;?#23480;?/span>Linear deflection?#25328;瑙?#25652;?#37707;?#23480;?/span>Angular deflection銆?/span>

涓?#29785;掔綉鏍煎墫鍒嗙涓姝?#37828;?#28751;嗘墍鏈夌殑杈?/span>Edge杩?#29723;岀鏁?#38171;?#37719;?#37837;?#37817;?#28051;瀹氱殑?#31807;搴?#37922;?#37812;愬?#27693;绾匡紱

 

绾?#37804;?#37707;?#23480;?#38340;愬埗绂?#37825;殑澶氭绾?#28051;庢洸绾?#28052;?#38338;寸殑?#31387;绂?#38171;?#29785;?#25652;?#37707;?#23480;?#38340;愬?#33333;?#24532;绾挎绔?#38318;?#37714;?#32510;跨殑澶?#29785;?#37510;?/span>

绗簩姝?#37828;?#28725;?#38344;?#26473;?#29723;?#28051;?#29785;掑墫鍒?#37510;?#32510;?#37804;?#37707;?#23480;?#28052;?#38340;愬埗绂?#37825;殑涓?#29785;掑舰涓?#37904;?#37714;版洸绾跨殑?#31387;绂?#37510;?/span>

 

?#31794;鐢?#32459;嬪?#24531;簲璇?#37819;愪緵閫傚綋?#27537;鍋?#23480;?#37721;?#37825;颁互杈?#37714;?#37922;?#37812;愭弧鎰忕殑涓?#29785;掔綉鏍?#37510;?#29785;?#25652;?#37707;?#23480;?/span>Angular deflection姣?#26440;?#32480;鍗?#28051;?#37711;佽浣?#37922;?#28051;涓粯璁?#37706;硷紙12~20搴?#38171;?#37510;?#32510;?#37804;?#37707;?#23480;?/span>Linear deflection鏈?#32513;?#28725;圭殑鍚?#28052;?#38171;?#38343;瑕?#37922;?#32459;嬪簭鏉?#32513;?#28729;氭纭殑鍊?#37510;?#32513;?#28051;涓?#23536;?#28751;忕殑绾?#37804;?#37707;?#23480;?#37706;?#28028;氬鑷寸綉鏍煎墫鍒嗚繃瀵?#38171;屾秷鑰?#28598;?#38322;?#37712;?#28699;?#37721;婂?#21342;搷鏄?#32448;?#37825;?#37916;?#38171;?#28003;?#37828;?#37706;?#28598;?#28598;?#23536;?#37714;扮殑缃?#37837;?#37825;?#37835;滃氨鏄?#37828;?#32448;?#28598;?#37930;?#37510;傛墍?#20114;瀵?#27996;?/span>LOD?#27537;缃?#37837;?#37833;?#29831;?#38171;?#38343;瑕?#37837;?#37817;?#22959;?#37736;嬪?#21700;鏉?#29825;?#32515;浉?#31794;?#27537;绾?#37804;?#37707;?#23480;?#37706;?#37510;?/span>

涓?#38344;?#28725;圭綉鏍煎墫鍒嗙殑鍙?#37825;?#29825;?#32515;?#26473;?#29723;?#27996;嗕粙缁?#38171;?#28051;?#38344;?#28725;圭綉鏍煎墫鍒嗙殑瀹?#37916;板師鐞嗚繘琛岃鏄?#37510;傚?#29361;负?#27960;绾挎洸闈?#37828;?#28051;?#32513;寸殑锛岃屽?#35268;洸闈?#26473;?#29723;屽墫鍒嗙殑搴曞?#20633;笁瑙掑?#26663;姛鑳?#37828;?#28051;簩缁?#28051;?#29785;掑墫鍒嗗簱锛屾墍?#20114;缃?#37837;煎墫鍒?#37804;荤殑鎬濊矾鏄?#28725;规洸绾?#37734;簩缁?#37721;?#37825;?#32460;?#38338;?#26473;?#29723;屽墫鍒?#38171;屽?#21975;弬鏁?#32460;?#38338;村墫鍒嗙殑缁?#37835;?#38315;氳繃?#27960;闈?#37721;?#37825;?#37826;圭鏄?#28751;勫洖鍒?#28051;?#32513;?#32460;?#38338;?#37510;?#38315;氳繃瀵?/span>pcurve?#27967;鎴愮殑鍙?#37825;?#32460;?#38338;?#38338;悎鍖哄煙杩?#29723;屼簩缁?#28051;?#29785;掑墫鍒?#38171;?#37719;?#37721;?#28725;?#28051;?#32513;存洸闈?#26473;?#29723;屽墫鍒?#37510;?#32491;?/span>BRepMesh_FastDiscretFace鏄?#28725;规瘡涓?/span>TopoDS_Face杩?#29723;岀鏁?#38171;屽叾涓?#37713;?#37825;?/span>control()鏄?#37922;?#37833;?#37818;?#37714;?#37922;?#37812;愮綉鏍肩殑?#24029;閲忕殑銆?/span>

 

鏈澶氳凯?#21804;娆?#37825;?#37828;?/span>11娆?#37510;傚湪姣?#28051;娆?#26473;唬?#32323;绋?#28051;?#38171;屾?#29025;鐢?#37812;愮殑?#22669;鏈?#28051;?#29785;掑舰鍦?#37721;?#37825;?#32460;?#38338;?#28051;?#36423;?#37904;?#28598;?#28051;庢洸闈殑?#31387;绂?#37828;?#37722;?#23114;冻绾?#37804;?#37707;?#23480;?#38171;屽鏋?#28051;嶆弧?#20923;锛?#37714;?#37819;?#37711;?#37826;扮殑鐐逛互渚?#28051;?#23046;?#26473;唬銆?/span>

 

浠?#28051;?#38344;殑?#21804;?#29212;鍙互鐪?#37713;哄叾瀹?#37916;?#37804;濊矾涓庡叾绫?#37722;?/span>Incremental杩?#37828;?#23536;?#29840;?#37714;囩殑锛?#37719;冲閲忔硶銆?/span>

 

 

3. Conclusion

OpenCASCADE?#27537;缃?#37837;煎墫鍒?#28051;?#32515;?#37837;艰川閲忔帶鍒?#37828;浉瀵?#38322;?#29781;佺殑鏍稿績?#23003;鑳?#37510;傚湪鐞?#29785;叾?#24107;鐞嗗悗锛屽彲?#20114;鑷?#23480;?#28729;?#37916;?#28051;涓?#37831;存竻鏅扮殑缃?#37837;煎墫鍒嗗簱銆?/span>

 

2018骞村氨?#32323;缁?#37833;?#27996;?#38171;岃繖涓骞存?#24816;幏棰?#28051;?#38171;屽叾涓?#37832;澶殑鏀惰?#23792;氨鏄?#37832;?#27996;嗚嚜宸辩殑灏?#28729;?#28729;?#37510;?/span>

 

鍒?#27996;?#37714;涘缓浠峰?#37510;傝?#30028;劧OpenCASCADE涓?#37828;?#28729;岀?#24227;殑锛?#28003;?#37828;?#28610;?#37828;?#37929;墠涓栫晫涓婂敮涓涓娆惧姛鑳界浉瀵?#28729;屽?#21229;殑寮鏀剧殑鍑犱綍閫?#37736;嬪簱銆?/span>OpenCASCADE?#27537;寮鏀?#37714;?#27996;?#38171;?#32513;?#28610;瑰甫鏉?#37922;?#37832;?#37510;傚綋?#31916;浜哄?#29361;负鎴戠殑blog?#27537;鍒?#27996;殑鏂囩珷鎴栦唬鐮佽仈绯?#37812;戞椂锛屼粬?#28369;?#27537;涓澹版?#29115;锛屾垜閮戒細瑙?#23536;?#23536;?#26946;?#37711;?#37510;?/span>

 

2019骞撮涓婂氨瑕?#37714;?#37833;?#38171;屽?#23678;湜澶?#28729;?#37734;?#37826;扮殑涓骞?#38322;?#38171;?#37714;?#38315;?#37510;?#37714;?#37826;?#38171;岀鐮?#38007;?#37812;?#38171;屾洿涓?#28051;?#30512;?#38171;?/span>


涓?#27996;?#37826;?#28186;垮瀹?#37734;?#32457;诲姩绔?#28052;?#38003;?#37930;嬪埌鎴戠殑鍗?#37826;囧?#23683;璁轰氦娴?#38171;?#37916;板凡娉?#37712;屽井?#20426;鍏紬鍙?#38171;?#23046;?#26473;?#28598;?#28729;舵鎻?#28051;?#37826;逛簩缁寸爜鍏?#23049;?#37510;?/h5> Shing Liu(eryar@163.com)


eryar 2018-12-31 22:45 鍙?#29723;?#29831;?#29825;?/a>
]]>RvmTranslator6.6 - RVM to CATIAhttp://www.9087120.com/eryar/archive/2018/12/09/RVM2CATIA.htmleryareryarSun, 09 Dec 2018 08:35:00 GMThttp://www.9087120.com/eryar/archive/2018/12/09/RVM2CATIA.htmlhttp://www.9087120.com/eryar/comments/216114.htmlhttp://www.9087120.com/eryar/archive/2018/12/09/RVM2CATIA.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/216114.htmlhttp://www.9087120.com/eryar/services/trackbacks/216114.htmlRvmTranslator6.6 - RVM to CATIA

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, .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 RvmTranslator6.6.

 

RvmTranslatoer6.6 is a minor release, which includes the following new features:

 

RvmTranslator鍙互灏?/span>AVEVA PDMS/Plant/Marine涓?#28725;?#37713;虹殑RVM鏂?#28000;?#26473;?#29723;屽彲瑙?#37718;?#38171;屼互鍙婂皢RVM杞?#37817;?#37812;愬父瑙佺殑涓?#32513;?#37826;?#28000;?#37837;?#23534;?#37510;傚STEP锛?/span>IGES锛?/span>STL锛?/span>DXF, OBJ, 3DPDF, 3DXML?#29905;锛?#28186;?#27996;?#28051;庡叾?#31916;CAD绯?#32513;?#26473;?#29723;屾暟鎹氦鎹?#38171;屽Autodesk AutoCAD, Plant3d, 3ds Max, CATIA, Solidworks, Pro/E, Unity3d, Bentley?#29905;銆?/span>

 

RvmTranslator6.6涓昏?#20344;鍔?#28725;?#37713;哄甫璁?#29825;?#32513;?#37835;勭殑STEP鏂?#28000;?#38171;屾鏂?#28000;?#37734;?#28725;?#37711;?/span>CATIA鍚庣殑缁?#37835;?#28051;?#22959;瀷涓?/span>PDMS涓?#28051;鑷?#38171;屽?#20633;?#23338;?#28844;墍绀?#38171;?/span>

 

Download RvmTranslator

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

  



eryar 2018-12-09 16:35 鍙?#29723;?#29831;?#29825;?/a>
]]>PipeCAD涔?#32480;?#38316;?#37837;?#37713;嗗簱PipeStd(2)http://www.9087120.com/eryar/archive/2018/11/26/PipeCAD_PipeStd2.htmleryareryarMon, 26 Nov 2018 14:08:00 GMThttp://www.9087120.com/eryar/archive/2018/11/26/PipeCAD_PipeStd2.htmlhttp://www.9087120.com/eryar/comments/216082.htmlhttp://www.9087120.com/eryar/archive/2018/11/26/PipeCAD_PipeStd2.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/216082.htmlhttp://www.9087120.com/eryar/services/trackbacks/216082.htmlPipeCAD涔?#32480;?#38316;?#37837;?#37713;嗗簱PipeStd(2)

eryar@163.com

 

Key Words. PipeCAD, PipeStd, 绠?#38316;?#29825;?#29825;?#26462;?#28000;?#38171;?#32480;?#28000;?#25652;?/span>

 

1. Introduction

绠?#38316;?#37837;?#37713;?#38318;?#28000;?#25652;?#32459;嬪簭PipeStd?#27537;涓昏鐢?#23049;?#28051;?/span>PDMS?#27537;Paragon妯?#37735;?#32491;讳技锛?#28051;昏涔?#37828;?#38322;?#37922;?#37721;?#37825;?#37718;栫殑鏂?#23534;?#37833;?#29723;?#32448;?#32480;?#28000;?#37510;傛瘡绉?#32491;诲瀷?#27537;绠?#28000;?/span>Category鍖?#37722;?#28051;?#28051;?#38342;嗗悎锛氬弬鏁伴泦Parameter Set銆?#37904;?#38342;?/span>Point Set鍜屽舰闆?/span>Geometry Set銆?#37832;?#37826;?#28051;昏鏉?#28000;?#32513;?#28641;備綍鍒涘缓涓涓?#37721;?#37825;?#37718;栫殑鏍?#37713;?#32480;?#28000;?#37510;傚?#20633;?#23338;?#28844;墍绀?#28051;?#28051;甯?#26864;?#28725;圭?#23107;硶鍏?/span>Weld Neck Flange?#27537;鍙?#37825;?#37718;?#32480;?#28000;?#38171;?/span>

鍥?/span>1 娉?#37711;?#37721;?#37825;?#37718;?#22959;瀷

 

2. Category

绫诲瀷Category鏄?#28051;绫?#32480;?#28000;?#37825;?#37817;殑闆嗗悎锛屽90搴?#23534;?#28598;?#37510;?#38338;?#38339;?#29905;銆傚?#28056;缓绫诲瀷?#27537;鏃跺欎細鑷?#37716;?#37714;涘?#21700;叾涓?#28051;?#36423;?#26916;荤殑闆嗗悎锛氬弬鏁伴泦銆?#37904;?#38342;嗗?#23677;舰闆?#38171;屽?#20633;?#23338;?#28844;墍绀?#38171;?/span>

鍥?/span>2 鍒涘缓Category

 

3. Parameter Set

鍙?#37825;伴?#21975;悎Parameter Set鐢?#37833;?#28729;?#28052;夎绉?#32491;诲瀷?#27537;绠?#28000;?#38343;瑕佽?#25779;叆?#25698;浜?#37721;?#37825;?#38171;?#37719;?#32480;?#28000;?#37837;?#37713;?#28051;?#28729;?#28052;夌殑鏁?#37817;?#37510;?/span>

鍥?/span>3 甯?#26864;?#28725;圭?#23107;硶鍏板?#21700;鏁?#37817;?#29723;?#37837;?/span>

涓婂浘鏉?#27996;?#38171;?/span>http://www.wermac.org/flanges/dimensions_welding-neck-flanges_asme-b16-5.html

涓?/span>ASME B16.5鏍?#37713;?#28051;?#28729;?#28052;夌殑灏哄鏁?#37817;?#37510;傚叾涓?#23011;?#28051;?#28751;哄锛屽A锛?/span>D?#29905;閮?#37721;互鐪嬩綔涓鸿繖閲屽弬鏁伴泦涓殑涓涓?#37721;?#37825;?#37510;?/span>

鍥?/span>4 鍙?#37825;伴泦瀹?#28052;?/span>

姣?#28051;涓?#37721;?#37825;?#37721;互瀵瑰簲涓涓?#28751;哄锛屽湪涓婂浘4?#22669;绀虹殑宸?#26440;?#28729;?#28052;夊鍙?#37825;伴?#21975;悗锛屽湪鍙?#26440;圭殑鍒?#29723;?#28051;?#37721;互涓?#23011;?#28051;?#32480;?#23536;勭殑绠?#28000;惰?#25779;叆?#27977;?#31794;?#27537;灏哄鏁?#37817;?#37510;?/span>

 

4. Point Set

鐐?#38342;?/span>Point Set涓昏鐢?#37833;?#28729;?#28052;?#32480;?#28000;剁殑杩炴帴鐐?#37812;?#28051;浜涜緟鍔?#28729;?#28052;?#28003;嶇偣銆傚?#20633;?#23338;?#28844;墍绀?#38171;?/span>

鍥?/span>5 鐐?#38342;?#28729;?#28052;?/span>

姣?#28051;?#37904;?#38343;瑕?#28729;?#28052;?#28051;涓?#32514;?#37721;?#38171;屽浜庣?#22317;殑缂?#37721;?#28052;?#37832;?#32510;?#28729;?#37510;傚?#20634;浜庢閫氱殑绠?#28000;?#38171;?#32514;?#37721;?/span>1銆?/span>2琛?#32448;?#32480;?#28000;剁殑涓?#32468;?#37510;傚浜?#28051;?#38315;氬叾鏀?#32480;?#29781;?#37922;?#32514;?#37721;?/span>3?#29905;銆傝繖浜?#32510;?#28729;?#37828;?#28051;?#27996;嗗悗闈?#37922;?#37812;?#26462;存?#23338;?#21095;殑瑕?#23033;?#37510;?#37904;圭殑浣嶇疆PX锛?/span>PY锛?/span>PZ鍙?#37826;?#37722;?/span>DX锛?/span>DY锛?/span>DZ閮?#37828;?#37721;互鐢墠闈?#28729;?#28052;夌殑鍙?#37825;?#29723;?#32448;?#37510;傚?#20635;煇涓?#37706;?#29781;?#37922;?#37721;?#37825;?/span>1锛屽氨?#21843;鎴?/span>$PA1銆?#37812;?#38000;?#26473;?#37721;互鐢?#37825;?#28699;?#29723;?#26440;?#23534;?#38171;屽锛?/span>$PA1 + 2 * cos($PA2)?#29905;銆?/span>

 

5. Geometry Set

?#33328;闆?/span>Geometry Set涓昏鏉?#28729;?#28052;?#32480;?#28000;剁殑鍑犱綍?#33328;?#23032;銆備娇鐢?#28051;浜?#37737;?#37832;舰?#23032;锛屽?#20638;暱鏂逛綋锛屽渾?#29044;?#32139;銆佸渾鍙颁綋绛夋潵鏋?#38315;?#32480;?#28000;?#28598;栧舰銆傛瘡绉?#37737;?#37832;綋閮?#37828;?#37922;?#37721;?#37825;?#29723;?#32448;?#38171;屽?#20633;?#23338;?#28844;墍绀?#28051;哄渾?#29044;?#32139;?#27537;鍙?#37825;?#38171;?/span>

鍥?/span>6 鍙?#37825;?#37718;?#37737;?#37832;綋

瀵?#27996;庡渾?#29044;?#32139;锛?#38343;瑕?#32429;?#28729;氬叾杞?#37722;?/span>PAXI锛?#26946;?#25652;?/span>PHEI鍙婄洿寰勶紙PDIA锛夌瓑銆傚浜?#37825;?#37817;?#37706;煎瀷?#27537;鍙?#37825;?#38318;?#37828;?#37721;互浣?#37922;?#37825;?#28699;?#29723;?#26440;?#23534;?#37833;?#29723;?#32448;?#37510;傝繖鏍?#37721;互浣?#28051;?#37722;岀殑绠?#23536;勫?#29808;簲涓?#37722;岀殑?#33328;?#23032;銆?/span>

鍥?/span>7 DN10?#25328;DN80?#27537;娉?#37711;?/span>

 

6. Conclusion

缁?#28051;婃墍杩?#38171;?#38315;氳繃瀹?#28052;?#37721;?#37825;伴泦銆?#37904;?#38342;嗗?#23677;舰闆嗘潵瀹?#37916;?#37837;?#37713;?#32480;?#28000;剁殑鍙?#37825;?#37718;?#37510;?#38315;氳繃缁?#28051;?#27537;鏂?#23534;?#38171;屽浠绘剰鏍?#37713;?#32480;?#28000;?#26473;?#29723;屽弬鏁?#37718;?#28598;勭悊銆傝繖鏍?#32459;嬪?#24532;搷浣?#37826;?#23534;?#32513;?#28051;锛?#28003;?#37922;?#32480;鍗?#37510;傚浜?#28051;浜?#37911;规?#23108;浠?#38171;?#28052;?#37721;互閫氳繃?#32342;绉?#37826;?#23534;?#37833;?#23524;?#22959;?#38171;岀娲昏嚜鐢?#37510;備笉鍍?#37832;夌殑杞?#28000;?#37828;?#28751;?#32480;?#28000;?#32491;诲瀷閫氳繃纭?#32514;栫爜?#27537;鏂?#23534;忓啓鍦?#32459;嬪簭涓?#38171;屽鏋?#29781;佸鍔?#32459;嬪簭涓?#23052;?#37832;夌殑绠?#28000;?#32491;诲瀷锛屽彧鏈夋?#22317;?#23338;?#24533;殑涓?#28186;?#37510;?/span>

绠?#28000;?#37837;?#37713;嗗簱绋嬪簭PipeStd?#27537;绠?#28000;?#28729;?#28052;?#37737;?#37832;?#37812;愬瀷锛?#28051;?#28051;姝?#28729;?#37916;?#32480;?#38316;撶瓑绾?/span>Piping Specification?#23003;鑳?#37510;?#32480;?#38316;撶瓑绾殑浣?#37922;?#28051;昏鐢?#27996;庣瓫閫夎繃婊?#38171;屾柟渚?#37833;愭?#27408;帶鍒?#37510;傝冭檻鍒板悗闈?#37922;?#37812;?/span>ISO杞存?#23338;?#21095;殑?#23003;鑳?#38171;屽?#29361;负姣?#32457;?#32480;?#28000;?#38318;戒細鏈?/span>SKEY锛岃岃繖浜?/span>SKEY宸茬粡鍒嗗绫?#37736;嬩簡銆傛墍?#20114;绠?#38316;撶瓑绾殑澶勭悊涔?#28751;?#38322;?#32480;鍖?#38171;?#37929;存帴鏍?#37817;?/span>SKEY鏉?#37714;嗗?#27537;绫?#37736;嬪?#23106;皬绫?#38171;屽娉?#37711;扮殑澶?#32491;?#28051;?/span>Flange锛屽皬绫?#38322;?#38344;?#37837;?#37817;?/span>SKEY鏉?#32475;?#38315;?#38171;?/span>FLWN锛?FLSO?#29905;銆?/span>



eryar 2018-11-26 22:08 鍙?#29723;?#29831;?#29825;?/a>
]]>PipeCAD涔?#32480;?#38316;?#37837;?#37713;嗗簱PipeStdhttp://www.9087120.com/eryar/archive/2018/11/25/PipeCAD_PipeStd.htmleryareryarSun, 25 Nov 2018 14:27:00 GMThttp://www.9087120.com/eryar/archive/2018/11/25/PipeCAD_PipeStd.htmlhttp://www.9087120.com/eryar/comments/216080.htmlhttp://www.9087120.com/eryar/archive/2018/11/25/PipeCAD_PipeStd.html#Feedback2http://www.9087120.com/eryar/comments/commentRss/216080.htmlhttp://www.9087120.com/eryar/services/trackbacks/216080.htmlPipeCAD涔?#32480;?#38316;?#37837;?#37713;嗗簱PipeStd

eryar@163.com

 

Key Words. PipeCAD, PipeStd, 绠?#38316;?#29825;?#29825;?#26462;?#28000;?#38171;?#32480;?#28000;?#25652;?/span>

 

1. Introduction

?#22688;涓?#28052;?#38171;?#28051;?#28003;?#38000;?#37721;嬪?#24877;诲?#23678;鎬?#37734;?#28051;婃捣娴?#28051;?#38322;戞?#27537;涓鑼?#28051;鍧愬?#24538;仛锛屽?#28852;兂鍒?#37713;犲?#26449;墠鎴戜滑浠?#37734;?#38317;?#38322;岃仛?#32048;?#27537;?#20751;鏅?#37510;備粬?#28369;鍒?#37714;?#37734;?/span>A鍏?#37721;稿拰I鍏?#37721;?#38171;屾垜?#32139;?#26882;鍦仛SPD?#27537;寮鍙?#37510;傚湪涓?#25443;鑱婄殑璇?#26864;?#28052;?#37828;?#37711;?#27996;?#29825;?#29825;?#26462;?#28000;剁殑锛屽綋?#26882;涔?#37832;?#28051;浜?#37804;濇兂纰版?#28853;殑鐏?#38010;?#38171;屾兂?#28483;鍋氬嚭涓涓?#28000;涔?#26462;?#28000;?#38171;屾垚涓?/span>CEO锛岃繋濞剁?#34249;?#23680;編锛岃蛋涓?#27996;?#37922;?#26916;跺銆?#32513;?#37835;?#37713;犲?#30923;繃鍘?#38171;屽綋骞?#37722;硅繃?#27537;鐗?/span>B锛屾病鏈?#28729;?#37916;?#37510;傚叾涓?#37832;?#28051;涓氨鏄仛涓涓?#32480;?#38316;?#37837;?#37713;嗗簱绋嬪簭锛屾柟渚?#32480;?#28000;剁殑瀹?#28052;?#37510;?#28729;?#28052;夊涔嬪悗锛屽彲?#20114;瀵?#37711;?/span>AVEVA PDMS?#25328;Intergraph SmartPlant銆?/span>

鐪嬬潃鍥藉唴宸巶/鑸硅埗璁?#29825;?#26462;?#28000;跺PDSOFT锛?/span>UESOFT锛?/span>PDMAX杩?#37832;夎?#30789;埗璁?#29825;?#26462;?#28000;?/span>SPD閮?#28051;嶆涓嶇伀锛岃?#28051;?#37733;藉?#26667;殑AVEVA PDMS/Marine, Intergraph SmartPlant宸茬粡鍗?#37817;?#27996;嗗?#34249;?#21613;?#20634;満锛屾?#22795;椂鎴?#28052;?#37734;兂寮鍙?#28051;涓師鏉?#22986;兂?#27537;绠?#38316;?#29825;?#29825;?#26462;?#28000;剁殑鎰?#28052;夊拰浠峰?#37510;?/span>

AVEVA PDMS/Marine鎴?#29785;?#23536;?#37828;?#32480;鍗曟槗鐢殑杞?#28000;?#38171;?#28051;鑷寸殑?#25655;浣?#37826;?#23534;?#38171;屽熀浜?/span>CSG?#27537;閫犲瀷绠楁硶锛岃繕鎻愪緵浜嗕簩娆?#23534;鍙戣瑷PML鍙?/span>C#鏉?#28725;圭?#23338;簭杩?#29723;岀娲绘墿灞?#37510;傚熀浜?#37826;?#28000;剁殑?#30512;娆?#37825;?#37817;?#25652;?#38171;屽苟鎻愪緵浜?#37825;?#37817;?#25652;撶殑澧?#37510;?#37714;?#37510;佹敼鍙?#37825;?#37817;?#37733;?#38315;?#23003;鑳?#38171;屽彲?#20114;鐢?#27996;?#28598;?#28051;瀷椤圭洰璁?#29825;?#37510;?#37922;?#27996;?#23536;?#28729;?#37828;撳緱鍒板?#23683;?#24878;増锛屾墍?#20114;鐢?#37812;?#23536;?#28598;?#37510;?/span>

Intergraph SmartPlant鏄?#32519;庡浗?#27537;涓娆?#26462;?#28000;?#38171;?#37922;?#27996;庡叾浠?#37837;?#37828;傝锛屽湪鍥藉唴?#27537;鐢?#37812;?#38318;?#37828;?#28051;?#23480;?#38333;辩殑鍗?#28003;?#37510;?#37922;?#27996;庢病鏈?#28003;?#37922;繃锛屾墍?#20114;瀵瑰叾涓?#28186;?#27996;庤?#21226;环銆備絾鏄?#37922;?#27996;庡?#34249;唴澶?#37832;?#28051;?#28051;讳細鎸?#28729;氳繖娆?#26462;?#28000;?#38171;屾墍?#20114;?#27991;闄?#28051;婄敤鎴?#28052;熷緢澶?#37510;?/span>

鍐嶇?#23338;?#34249;唴?#27537;宸巶/鑸硅埗璁?#29825;?#32495;?#32513;?/span>PDSOFT锛?/span>UESOFT锛?/span>PDMAX鍙?/span>SPD?#29905;锛?#38318;?#37828;?#37737;?#27996;?/span>AutoCAD寮鍙戠殑銆傛棭鏈熷熀浜?/span>AutoCAD锛屽?#29361;负AutoCAD姣?#26440;冩鍙?#38171;屾墍?#20114;浼氬寮?#28051;浜涗細AutoCAD?#27537;鐢?#37812;?#37510;備絾鏄?#37737;?#27996;?/span>AutoCAD寮鍙?#32459;嬪簭寮婄涔?#28051;鏄?/span>AutoCAD鐗?#37832;?#37719;?#32510;?#38171;?#32459;嬪?#24538;?#20345;兂閫傚簲AutoCAD锛?#28052;熷繀椤昏?#29114;潃鍗?#32510;?#37510;傚?#23108;?#31785;鏄?/span>AutoCAD?#27537;鎻愪緵?#27537;寮鍙?#25652;?/span>ObjectARX, .NET?#29905;閮?#28051;?#37828;?#23534;婧愮殑锛屽鏋?#37828;?#38317;?#27996;?#25652;?#37713;?#37916;?/span>BUG鎴?#37828;?#28051;嶆敮鎸佺殑?#23003;鑳?#38171;岃涔堝?#35826;拰Autodesk鍏?#37721;?#23052;?#38315;?#38171;岃涔?#37721;?#37832;?#32513;?#38316;?#27996;?#37510;?#37832;夌殑浣?#37922;?/span>ObjectARX?#27537;C++搴撳紑鍙?#38171;岃?#30028;劧绋嬪簭鎬?#38003;藉锛岃繕鍦?#28003;?#37922;?/span>MFC?#20187;GUI锛?#28003;?#37828;?#23534;鍙?#37825;?#37916;?#28003;?#37510;傚?#23108;涔?#28051;?#37828;?#37832;?#27996;涘姛鑳?#28051;?/span>AutoCAD?#27537;?#23003;鑳?#32510;?#32514;犱笉娓?#38171;?#37922;?#37812;蜂綋?#29529;涓?#28598;?#37721;嬪銆?/span>

涓?#27996;?#28729;?#37916;?#37713;犲?#26449;墠?#27537;姊兂锛屾垜?#21893;瀹氬紑鍙?#28051;涓?#32480;?#38316;?#29825;?#29825;?#26462;?#28000;?/span>PipeCAD銆?/span>

 

2. PipeCAD

瀵?/span>PipeCAD?#27537;涓涓?#28729;?#28003;嶅氨鏄?#38315;?#37922;?#27996;?#28051;?#28751;忓瀷椤圭洰?#27537;绠?#38316;?#29825;?#29825;?#26462;?#28000;?#37510;傚?#29361;负澶瀷椤圭洰?#27537;鐢?#37812;?#28051;鑸?#38318;?#37828;?#37922;?/span>PDMS鎴?/span>SmartPlant銆?/span>

浣?#37922;?#23534;婧愬簱OpenCASCADE鏉?#26473;?#29723;?#28051;?#32513;村?#24807;舰寮鍙?#38171;?#28003;?#37922;?#23534;婧愬簱Qt鏉?#26473;?#29723;?/span>GUI寮鍙?#38171;?#37819;愰珮绋嬪簭寮鍙?#37825;?#37916;?#37510;傚?#29361;负浣?#37922;?#23534;婧愭妧鏈?#38171;?#37713;?#37916;?/span>BUG鍙互浠?#37837;?#37817;?#28051;?#29785;喅銆備笉渚?#29863;栧叾?#31916;闂?#23143;愮殑杞?#28000;?#38171;?#28051;嶄細鏈夊叾?#31916;杞?#28000;?#37719;?#32510;?#29999;?#37833;殑褰卞搷銆?/span>

涓氬姟鏍稿績?#23003;鑳?#38318;借嚜宸?#28729;?#37916;?#38171;?#32459;嬪?#24538;嚜涓?#37721;?#37818;?#38171;屾柟渚垮鍔?#37826;板姛鑳?#37510;?/span>

 

PipeCAD?#27537;鍒濇寮鍙戜互涓嬪姛鑳?#22959;?#37735;?#38171;?/span>

绠?#28000;?#25652;撶瓑绾?#25652;?#32480;?#37918;?#32459;嬪簭PipeStd锛?/span>

涓?#32513;?#29825;?#29825;?#22959;?#37735;?/span>PipeCAD锛?/span>

绠?#38316;?#26462;存?#23338;浘鍑哄浘妯?#37735;?/span>IsoAlgo銆?/span>

 

3. PipeStd

PipeStd涓昏鐢?#37833;?#28725;圭浠?#37837;?#37713;?#37825;?#37817;?#37510;?#32480;?#38316;撶瓑绾瓑鏁?#37817;?#26473;?#29723;?#32480;?#37918;?#37510;?#37832;?#27996;?#32480;?#28000;?#37825;?#37817;?#38171;屽氨鍙互瀵圭浠?#26473;?#29723;?#28051;?#32513;?#37828;?#32448;?#37510;?#37832;?#27996;?#32480;?#38316;撶瓑绾?#38171;屽氨鍙互鍦?#28051;?#32513;?#29825;?#29825;?#22959;?#37735;楁潵浣?#37922;?#32480;?#28000;?#37833;?#28725;圭閬?#26473;?#29723;屽缓妯?#37510;?/span>PipeStd?#27537;浣?#37922;?#37826;?#23534;?#28051;?/span>PDMS?#27537;Paragon妯?#37735;?#32491;讳技锛?#38315;氳繃鍙?#37825;?#37718;栫殑鏂?#23534;?#37833;?#28729;?#28052;?#32480;?#28000;?#37510;?#37929;墠绋嬪?#24533;殑涓昏?#20344;姛鑳藉?#33580;粡瀹?#37916;?#38171;?#32459;嬪?#24533;晫闈?#28641;備?#23338;?#28844;墍绀?#38171;?/span>

?#21502;涓?#26473;?#29825;炬兂?#27537;?#23003;鑳?#37832;?#38171;?/span>

瀵?#37711;?#37510;佸鍑?/span>PDMS涓殑绠?#28000;?#37721;婄閬撶瓑绾?/span>Piping Specification鏁?#37817;?#38171;?/span>

瀵?#37711;?#37510;佸鍑?/span>SmartPlant涓殑绠?#28000;?#37721;婄閬撶瓑绾?/span>Piping Specification鏁?#37817;?#38171;?/span>

 

4. Conclusion

涓?#28003;?#37721;嬩?#34425;殑鎻愰锛屽喅瀹氬紑鍙?#28051;涓?#28051;?#32513;?#32480;?#38316;?#29825;?#29825;?#26462;?#28000;?/span>PipeCAD銆備负涓?#28751;忓瀷椤圭洰?#27537;绠?#38316;?#29825;?#29825;?#37819;愪緵浜?#28051;涓?#38315;夋嫨銆?#37837;稿績?#23003;鑳?#38318;借嚜宸?#28729;?#37916;?#38171;?#32459;嬪?#24538;嚜涓?#37721;?#37818;?#37510;備笉渚?#29863;栧叾?#31916;杞?#28000;?#38171;屽AutoCAD锛?#37819;愪緵?#22727;濂界殑鐢?#37812;蜂綋?#29529;銆?/span>

 



eryar 2018-11-25 22:27 鍙?#29723;?#29831;?#29825;?/a>
]]>銆?#26462;?#37510;戝?#23677;叆寮?#37825;?#37817;?#25652;?#32495;?#32513;烞erkeley DBhttp://www.9087120.com/eryar/archive/2018/11/22/BerkeleyDb.htmleryareryarThu, 22 Nov 2018 01:57:00 GMThttp://www.9087120.com/eryar/archive/2018/11/22/BerkeleyDb.htmlhttp://www.9087120.com/eryar/comments/216074.htmlhttp://www.9087120.com/eryar/archive/2018/11/22/BerkeleyDb.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/216074.htmlhttp://www.9087120.com/eryar/services/trackbacks/216074.html

?#24107;鏂?#37734;板潃锛?a href="https://www.ibm.com/developerworks/cn/linux/l-embdb/index.html" target="_blank">https://www.ibm.com/developerworks/cn/linux/l-embdb/index.html

?#22688;瑷

UNIX/LINUX?#38057;鍙?#28051;嬬殑鏁?#37817;?#25652;?#32457;?#32491;?#38344;炲父澶?#38171;?a href="https://www.ibm.com/developerworks/cn/linux/l-embdb/index.html#artrelatedtopics">鍙傝冭祫鏂?涓?#37714;?#28051;?#27996;嗗叾涓殑澶?#38318;?#37714;?#37510;?#38315;氬父锛屾?#25116;滑鍦?#29825;?#29825;UNIX/LINUX?#38057;鍙?#28051;嬬殑?#31794;鐢?#26462;?#28000;舵椂锛屽鏋?#37825;?#37817;?#32457;?#32491;荤?#20344;,鏁?#37817;?#28051;?#37825;?#37817;?#28052;?#38338;?#37711;?#32495;绘瘮杈?#28598;?#37833;?#38171;屽氨?#32048;閫?#37922;?#28051;浜?#28598;瀷?#27537;浼?#28051;?#32510;?#37825;?#37817;?#25652;?#32495;?#32513;?#38171;屽?#20401;B2锛孫RACLE銆丼YBASE?#29905;锛屽鏋?#26462;?#28000;?#29785;勬涓?#28598;?#38171;屽氨鍊?#37722;?#38315;?#37922;?#28641;侻YSQL銆丳OSTGRESQL?#29905;涓?#28751;忓瀷鏁?#37817;?#25652;?#37510;備?#23338;?#20633;娇鐢PHP/PERL + MYSQL/POSTGRESQL璁?#29825;?#32515;戠珯鍩?#37832;?#28051;?#37828;?#28051;涓?#23536;堝父瑙勭殑?#20187;娉?#37510;備絾鏄?#38171;屽綋?#31794;鐢?#26462;?#28000;?#32480;?#37918;嗙殑鏁?#37817;?#32491;诲瀷杈?#28751;戯紙鐗?#37714;?#23049;?#37808;?#38171;氳繖?#33503;涓?#37828;?#29831;?#38343;瑕?#32480;?#37918;嗙殑鏁?#37817;?#38322;?#28751;?#38171;?#38171;屾暟鎹?#32480;?#37918;?#37832;韩涓?#28598;?#37833;?#38171;?#28051;?#28725;?#37825;?#37817;搷浣?#29781;?#23033;傞珮鏁?#37916;?#38171;?#37714;?#37922;?#28598;?#37722;嶉?#24232;?#24227;殑Berkeley?#32025;缇庡?#34249;姞宸?#28598;?#28699;?#28028;?#37711;嬪埄鍒嗘牎锛?#23534;鍙戠殑 Berkeley DB鍙?#38003;?#37828;?#28051;涓?#23536;?#37828;庢?#34425;殑閫夋嫨銆?/p>

DB缁?#26473;?/h2>

DB鏈鍒?#23534;鍙戠殑鐩殑鏄互鏂扮殑HASH璁?#38338;?#32480;楁?#26335;潵?#21804;鏇挎棫?#27537;hsearch鍑?#37825;板?#23677;閲忕殑dbm瀹?#37916;帮紙濡AT&T?#27537;dbm锛孊erkeley?#27537;ndbm锛孏NU椤圭洰?#27537;gdbm锛?DB?#27537;绗?#28051;涓?#37721;?#29723;?#37911;?#37734;?991骞?#37713;?#37916;?#38171;屽綋?#26882;杩?#37718;?#37722;?#27996;B+鏍?#37825;?#37817;?#29825;?#38338;?#32480;楁硶銆傚湪1992骞?#38171;孊SD UNIX绗?.4鍙?#29723;?#37911;?#28051;?#37718;?#37722;?#27996;咲B1.85鐗?#37510;傚熀鏈?#28051;?#29825;?#28051;鸿繖鏄DB?#27537;绗?#28051;涓?#23005;?#23534;?#37911;?#37510;傚湪1996骞?#28051;?#37832;?#38171;?a href="http://www.sleepycat.com/">Sleepycat杞?#28000;?#37711;?#37721;?#37812;愮珛锛?#37819;愪緵瀵DB?#27537;?#26210;涓氭敮鎸?#37510;傚湪?#32342;?#20114;?#24727;锛孌B寰?#37714;?#27996;嗗?#25358;?#28058;殑?#31794;鐢?#38171;屽綋?#22688;鏈鏂?#37911;?#37832;?#37828;?.3.27銆?/p>

DB鏀?#37816;?#37713;犱?#24226;墍鏈夌殑鐜颁唬?#25655;浣?#32495;?#32513;?#38171;屽?#20410;INUX銆乁NIX銆乄INDOWS?#29905;锛?#28052;?#37819;愪緵浜?#28051;板?#23680;殑?#31794;鐢?#32459;嬪?#24532;帴鍙?#38171;屾敮鎸丆銆丆++銆丣AVA銆丳ERL銆乀CL銆丳YTHON銆丳HP?#29905;銆侱B?#27537;?#31794;鐢?#37719;?#37714;嗗?#25358;锛屽湪寰?#28598;氱煡鍚嶇殑杞?#28000;?#28051;?#38318;?#38003;?#37930;嬪?#26495;叾?#38889;褰?#37510;備?#23338;鍙傝冭祫鏂?涓?#28003;?#38000;?#29835;?#37714;?#37714;?#37922;DB鍦LINUX涓嬪疄鐜板唴鏍?#32510;?#37826;?#28000;?#32495;?#32513;?#38171;?a href="https://www.ibm.com/developerworks/cn/linux/l-embdb/index.html#artrelatedtopics">鍙傝冭祫鏂?涓?#38315;氳繃瀹?#38340;?#23092;?#29831;曟暟鎹?#29831;?#37828;嶥B鎻愰珮浜哋PENLDAP?#27537;鏁?#37916;?#37510;侺INUX涓嬬殑杞?#28000;?#37718;?#32480;?#37918;嗗櫒RPM涔?#28003;?#37922;DB绠?#37918;嗚蒋浠?#37718;呯浉鍏?#37825;?#37817;?#38171;屽彲?#20114;浣?#37922;?#37723;?#28000;file?#29025;鐪RPM鏁?#37817;?#37929;綍/var/lib/rpm涓嬬殑鏂?#28000;?鍒?#37832;夊舰寮?#28641;備笅?#27537;?#32237;鍑?#38171;?/p>

Dirnames: Berkeley DB (Btree, version 9, native byte-order)
Filemd5s: Berkeley DB (Hash, version 8, native byte-order)

鍊?#23536;楁敞鎰忕殑鏄DB鏄?#23443;屽叆寮?#37825;?#37817;?#25652;?#32495;?#32513;?#38171;岃?#28051;?#37828;父瑙佺殑鍏?#32495;?瀵硅薄?#28727;鏁?#37817;?#25652;?#38171;屽SQL璇?#29815;涓嶆敮鎸?#38171;?#28052;?#28051;?#37819;愪緵鏁?#37817;?#25652;撳父瑙佺殑楂?#32510;姛鑳?#38171;屽?#20634;?#27194;偍?#32323;绋?#38171;?#29785;?#37721;戝櫒?#29905;銆?/p>

DB?#27537;璁?#29825;?#37804;濇兂

DB?#27537;璁?#29825;?#37804;濇兂鏄?#32480;鍗?#37510;佸皬宸?#37510;?#37721;?#38344;?#37510;?#26946;?#37804;?#38003;?#37510;傚鏋?#29831;?#28051;浜?#28051;绘祦鏁?#37817;?#25652;?#32495;?#32513;?#37828;?#28598;?#38000;屽叏?#27537;璇?#38171;岄偅涔圖B?#27688;鍙?#32457;?#28051;?#28751;忚岀簿銆侱B鎻愪緵浜?#28051;绯?#37714;楀簲鐢?#32459;嬪?#24532;帴鍙紙API锛?#38171;岃皟鐢?#37832;韩寰?#32480;鍗?#38171;屽簲鐢?#32459;嬪?#24531;拰DB?#22669;鎻愪緵?#27537;搴?#37734;?#28051;?#25443;缂?#29831;?#37812;?#28051;?#37721;?#37813;?#29723;?#32459;嬪簭銆傝繖绉?#37826;?#23534;?#28000;?#28051;?#37826;?#38344;?#37835;佸鎻愰珮浜咲B?#27537;鏁?#37916;?#37510;?#32471;?#28051;锛欴B搴撳?#23677;簲鐢?#32459;嬪簭杩愯?#23677;湪鍚?#28051;涓?#37734;板潃绌?#38338;?#38171;屾病鏈?#28729;?#37812;?#32468;?#32459;嬪簭鍜屾暟鎹?#25652;?#37832;?#37716;櫒涔?#38338;?#37828;傝?#30005;殑缃?#32513;?#38315;氳寮閿锛?#28052;熸病鏈?#37832;?#37734;?#28051;?#37832;鸿繘绋?#28052;?#38338;寸殑閫氳锛?#32471;簩锛?#28051;?#38343;瑕佸SQL?#21804;?#29212;瑙爜锛屽鏁?#37817;殑璁?#38338;?#37929;?#37812;?#27996;嗗綋銆?/p>

DB瀵?#38343;瑕?#32480;?#37918;嗙殑鏁?#37817;?#37930;?#23049;?#23536;?#32480;鍗?#38171;孌B鏁?#37817;?#25652;?#37718;?#37722;嫢骞?#37833;?#29825;板綍锛屾瘡涓涓?#29825;板綍鐢?#37711;?#38335;?#28699;楀?#23678;暟鎹紙KEY/VALUE锛?#37835;?#37812;?#37510;?#37825;?#37817;?#37721;互鏄?#32480;鍗曠殑鏁?#37817;?#32491;诲瀷锛?#28052;?#37721;互鏄?#28598;?#37833;傜殑鏁?#37817;?#32491;诲瀷锛?#28186;嬪?#20400;璇?#29815;涓?#32513;?#37835;?#37510;侱B瀵?#37825;?#37817;?#32491;诲瀷涓嶅仛浠讳綍瑙噴, 瀹屽叏鐢?#32459;嬪?#24531;憳鑷?#29723;屽?#21229;悊锛屽?#31295;瀷?#27537;C璇?#29815;鎸?#38333;堢殑"鑷?#37922;?椋?#37837;?#37510;傚鏋?#37814;?#29825;板綍鐪?#37812;?#28051;涓?#37832;n涓?#28699;楁?#30005;殑琛?#38171;岄偅涔?#32471;?涓?#28699;楁涓鸿?#27537;涓?#38335;?#38171;?#32471;?--n涓?#28699;楁瀵瑰簲浜嗗叾瀹?#37825;?#37817;?#37510;侱B?#31794;鐢?#32459;嬪簭閫氬父浣?#37922;?#28598;?#28051;DB鏁?#37817;?#25652;?#38171;屼?#24226;?#24878;?#23942;剰涔?#28051;婄湅锛?#28052;熷氨鏄?#37711;?#32495;?#37825;?#37817;?#25652;?#28051;殑澶?#28051;?#29723;?#37510;侱B搴?#38344;炲父?#25571;鍑?#38171;?#28051;?#29906;呰繃500K锛?#28003;嗗彲?#20114;绠?#37918;嗗鑷?56T?#27537;鏁?#37817;?#38322;?#37510;?/p>

DB?#27537;璁?#29825;?#37711;?#37714;嗕綋鐜?#27996;UNIX?#27537;鍩?#27996;?#23480;?#37711;风殑鍝?#28699;?#38171;?#37719;宠嫢骞茬畝鍗曞伐鍏风殑缁勫悎鍙互瀹?#37916;?#23534;?#28598;殑?#23003;鑳?#37510;侱B?#27537;姣?#28051;涓?#37737;?#32429;?#23003;鑳?#22959;?#37735;?#38318;借璁?#29825;?#28051;虹嫭绔嬬殑,涔?#37719;虫?#24531;?#23815;潃?#21502;浣?#37922;?#26864;嗗?#29111;苟涓嶅眬闄愪簬DB鏈韩銆備?#23338;?#20634;姞閿?#28699;愮郴缁?#37721;互鐢?#27996;?#38344;濪B?#31794;鐢?#32459;嬪?#24533;殑閫?#37922;搷浣?#38171;屽唴瀛?#37711;?#27996;?#32514;撳啿姹?#28699;愮郴缁?#37721;互鐢?#27996;?#37734;?#37712;?#28699;?#28051;?#37737;?#27996;?#26916;?#38344;殑鏂?#28000;?#32514;撳啿銆?/p>

DB鏍稿績鏁?#37817;?#32513;?#37835;?/h2>

鏁?#37817;?#25652;?#37721;?#37836;?#32513;?#37835;凞B锛氬寘鍚?#27996;嗚嫢骞?#37819;?#26473;?#37825;?#37817;?#25652;撳睘鎬殑鍙?#37825;?#38171;屽鏁?#37817;?#25652;?#29825;?#38338;?#37826;规硶绫诲瀷銆?#38315;昏緫椤?#38344;?#28598;?#28751;?#37510;?#37825;?#37817;?#25652;撳悕绉扮瓑锛?#37722;屾椂锛孌B缁?#37835;?#28051;?#37718;?#37722;?#27996;嗗閲忕殑鏁?#37817;?#25652;撳?#21229;悊鍑?#37825;版寚閽?#38171;屽澶?#37825;板舰寮?#28051;??#32025;*dosomething锛?DB *, arg1, arg2, …)銆傚叾涓?#37832;閲?#29781;佺殑鏈open,close,put,get?#29905;鍑?#37825;?#37510;?/p>

鏁?#37817;?#25652;?#29825;板綍缁?#37835;凞BT锛欴B涓殑璁板綍鐢?#37711;?#38335;?#28699;楀?#23678;暟鎹?#37835;?#37812;?#38171;屽叧閿?#28699;楀?#23678;暟鎹?#38318;?#37922;?#32513;?#37835;凞BT琛?#32448;?#37510;?#28729;?#38340;?#28051;?#28729;屽叏鍙互鎶婂叧閿?#28699;?#37930;?#37812;愮?#35268;?#23108;殑鏁?#37817;?#37510;?#32513;?#37835;?#28051;?#37832;閲?#29781;佺殑涓?#28051;?#28699;楁鏄?void * data?#25328;u_int32_t size锛?#37714;?#37714;?#28725;瑰簲鏁?#37817;?#37832;韩鍜屾暟鎹殑闀垮害銆?/p>

鏁?#37817;?#25652;撴父鏍?#32513;?#37835;凞BC锛氭父鏍囷紙cursor锛?#37828;?#37825;?#37817;?#25652;撳簲鐢?#28051;父瑙佹?#20634;康锛屽叾鏈川涓婂氨鏄?#28051;涓?#37711;?#27996;庣壒瀹氳?#26495;綍?#27537;閬?#37720;嗗櫒銆?#23049;?#37808;?#37714;癉B鏀?#37816;佸?#27702;噸璁板綍?#32025;duplicate records锛?#38171;?#37719;冲鏉?#29825;板綍鏈夌浉鍚屽叧閿?#28699;?#38171;屽湪瀵?#28598;氶噸璁板綍?#27537;澶勭悊涓?#38171;?#28003;?#37922;父鏍?#37828;?#37832;瀹?#37828;撶殑鏂?#23534;?#37510;?/p>

鏁?#37817;?#25652;?#37916;?#28583;?#37721;?#37836;?#32513;?#37835;凞B_ENV锛?#37916;?#28583;?#37734;DB涓?#28766;?#27996;?#26946;?#32510;?#37911;?#37804;?#38171;屾湰?#24029;涓婄湅锛?#37916;?#28583;?#37828;?#28598;?#28051;?#37825;?#37817;?#25652;撶殑鍖呰?#21613;櫒銆傚綋涓涓?#37812;?#28598;?#28051;?#37825;?#37817;?#25652;?#37734;?#37916;?#28583;?#28051;?#37813;撳紑?#24727;锛?#37916;?#28583;?#37721;互涓鸿繖浜?#37825;?#37817;?#25652;?#37819;愪緵澶?#32457;?#28699;愮郴缁?#37832;?#37716;?#38171;?#28186;嬪?#20634;绾?杩?#32459;嬪?#21229;?#21976;敮鎸?#37510;?#27996;嬪姟澶勭?#21976;敮鎸?#37510;?#26946;?#37804;?#38003;芥敮鎸?#37510;佹棩蹇楁仮澶嶆敮鎸佺瓑銆?/p>

DB涓?#37837;稿績鏁?#37817;?#32513;?#37835;勫湪浣?#37922;墠閮?#29781;?#37714;濆?#23338;寲锛岄?#24531;悗鍙互璋?#37922;?#32513;?#37835;?#28051;殑鍑?#37825;帮紙鎸?#38333;?#38171;?#28729;屾?#24876;悇绉嶆搷浣?#38171;屾渶?#24727;蹇?#26916;?#37711;?#38338;?#37825;?#37817;?#32513;?#37835;?#37510;備粠璁?#29825;?#37804;濇兂?#27537;?#30512;闈?#28051;婄湅锛岃繖绉?#29825;?#29825;?#37826;规?#26335;槸鍒?#37922;?#38344;?#37722;戣繃绋?#29831;?#29815;瀹?#37916;?#38344;?#28725;?#28725;硅薄缂?#32459;嬬殑涓涓?#37711;?#38012;?#37510;?/p>

DB鏁?#37817;?#29825;?#38338;?#32480;楁硶

鍦?#37825;?#37817;?#25652;?#26864;嗗煙涓?鏁?#37817;?#29825;?#38338;?#32480;楁?#26334;?#29808;簲浜?#37825;?#37817;?#37734;?#32429;?#37929;?#28051;婄殑瀛樺偍鏍?#23534;?#37724;屾搷浣?#37826;规硶銆傚湪缂栧啓?#31794;鐢?#32459;嬪?#24532;椂锛?#38315;夋嫨?#24718;閫傜殑绠楁硶鍙?#38003;?#28028;氬湪杩?#32480;?#38315;?#25652;?#28051;?#37819;愰珮1涓?#37922;氳?#20914;涓?#37825;?#38322;?#32510;?#37510;傚澶?#37825;?#37825;?#37817;?#25652;?#38318;?#38315;?#37922;B+鏍?#32480;楁硶锛孌B涔?#28051;?#28186;嬪锛屽?#23678;椂杩樻敮鎸HASH绠楁硶銆丷ecno绠楁?#26334;拰Queue绠楁硶銆傛帴涓?#37833;?#38171;屾?#25116;滑灏嗚璁鸿繖浜?#32480;楁?#26336;殑鐗圭?#36891;互鍙婂?#20633;綍鏍?#37817;?#38343;瑕?#28699;樺偍鏁?#37817;殑鐗圭偣杩?#29723;?#38315;夋嫨銆?/p>

B+鏍?#32480;楁硶锛B+鏍?#37828;?#28051;涓钩琛?#37837;?#38171;屽叧閿?#28699;楁湁搴?#28699;樺偍锛屽苟涓斿叾缁?#37835;?#38003;介殢鏁?#37817;殑鎻?#37711;拰鍒?#38340;?#26473;?#29723;屽姩鎬佽皟鏁?#37510;備负浜嗕唬?#29212;?#27537;绠鍗?#38171;孌B娌?#37832;?#28729;?#37916;板鍏?#38335;?#28699;楃殑?#22688;缂?#29212;鍘?#32514;?#37510;侭+鏍戞敮鎸佸鏁?#37817;煡璇?#37510;?#37819;?#37711;?#37510;?#37714;?#38340;殑?#29238;鏁?#32510;?#38315;?#25652;?#37510;傚叧閿?#28699;?#37721;互涓?#28000;绘?#24533;殑鏁?#37817;?#32513;?#37835;?#37510;?/p>

HASH绠楁硶锛欴B涓?#28729;?#38340;?#28003;?#37922;殑鏄?#37813;?#28766;?#32510;?#37804;HASH绠楁硶?#32025;extended linear hashing锛?#38171;屽彲?#20114;鏍?#37817;HASH琛殑澧為暱杩?#29723;?#38315;傚綋?#27537;璋?#37825;?#37510;傚叧閿?#28699;?#37721;互涓?#28000;绘?#24533;殑鏁?#37817;?#32513;?#37835;?#37510;?/p>

Recno绠楁硶锛?瑕?#23033;傛瘡涓涓?#29825;板綍閮?#37832;?#28051;涓?#38315;昏緫绾綍鍙?#38171;?#38315;昏緫绾綍鍙?#37922;?#32480;楁?#26335;湰?#38889;鐢?#37812;?#37510;?#28729;?#38340;?#28051;?#38171;岃繖鍜屽叧绯诲瀷鏁?#37817;?#25652;?#28051;?#38315;昏緫涓?#38335;?#38315;氬父瀹?#28052;?#28051;篿nt AUTO?#28727;鏄?#37722;?#28051;涓?#22994;傚康銆俁echo寤虹?#23338;湪B+鏍?#32480;楁硶涔?#28051;?#38171;?#37819;愪緵浜?#28051;涓?#28699;樺偍鏈?#25652;?#37825;?#37817;殑?#24116;鍙?#37510;?#29825;板綍?#27537;闀垮害鍙互涓?#28729;氶暱鎴?#28051;?#28729;氶暱銆?/p>

Queue绠楁硶锛氬拰Recno鏂?#23534;忔帴杩? 鍙?#28051;嶈繃璁板綍?#27537;闀垮害涓?#28729;氶暱銆?#37825;?#37817;互瀹氶暱璁板綍鏂?#23534;?#28699;樺偍鍦?#38339;?#37714;?#28051;?#38171;?#37819;?#37711;搷浣?#37814;?#29825;板綍鎻?#37711;?#37714;伴槦鍒楃殑灏?#38318;?#38171;岀浉姣?#28052;?#28051;?#37819;?#37711;?#38315;?#25652;?#37828;?#37832;蹇殑銆?/p>

瀵圭?#26945;?#26336;殑閫夋嫨棣?#37711;?#29781;?#37930;嬪叧閿?#28699;楃殑绫诲瀷锛屽鏋?#28051;?#28598;?#37833;?#32491;诲瀷锛?#37714;?#37721;?#38003;?#38315;夋嫨B+鏍?#37812;HASH绠楁硶锛屽鏋?#37711;?#38335;?#28699;?#28051;?#38315;昏緫璁板綍鍙?#38171;?#37714;欏簲璇?#38315;夋嫨Recno鎴朡ueue绠楁硶銆傚綋宸?#28003;?#38342;嗗叧閿?#28699;楁湁搴忔椂锛孊+鏍?#32480;楁?#26335;瘮杈冨悎閫?#38171;?#28641;?#37835;?#23480;?#28003;?#38342;嗘瘮杈?#28598;?#28051;?#37737;?#37832;?#28051;婂叧閿?#28699;?#28051;洪殢鏈?#37714;嗗?#20905;椂锛?#38315;夋嫨HASH绠楁硶銆俀ueue绠楁硶鍙?#38003;?#28699;樺偍瀹氶?#36328;殑璁板綍锛屽湪楂樼殑?#33503;鍙?#28598;勭?#21976;儏鍐?#28051;?#38171;孮ueue绠楁?#26335;晥鐜?#26440;?#26946;?#38171;?#28641;?#37835;?#37828;叾瀹冩儏鍐?#38171;?#37714;?#38315;夋嫨Recno绠楁硶锛孯ecno绠楁?#26335;妸鏁?#37817;?#28699;樺偍涓哄钩闈?#37826;?#28000;?#37837;?#23534;?#37510;?/p>

DB?#29238;鐢?#37713;?#37825;?#28003;?#37922;?#38012;?#28186;?br />
#include <db.h> 
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
/* DB?#27537;鍑?#37825;版墽琛?#28729;屾?#24876;悗锛岃繑鍥??#21804;琛?#37812;愬姛锛屽惁鍒?#28598;辫| */
void print_error(int ret)
{
    if(ret != 0)
        printf("ERROR: %s\n",db_strerror(ret));
}
/* 鏁?#37817;?#32513;?#37835;凞BT鍦?#28003;?#37922;墠锛屽簲棣?#37711;?#37714;濆?#23338;寲锛屽惁鍒?#32514;?#29831;?#37721;?#38315;氳繃浣嗚?#24879;?#23678;椂鎶?#37721;?#37825;伴?#27410;  */
void init_DBT(DBT * key, DBT * data)
{
    memset(key, 0, sizeof(DBT));
    memset(data, 0, sizeof(DBT));
}
void main(void)
{
    DB *dbp;           
    DBT key, data;
    u_int32_t flags;  
    int ret;
    char *fruit = "apple";
    int number = 15;
     
    typedef struct customer
    {
        int  c_id;
        char name[10];
        char address[20];
        int  age;
    } CUSTOMER;
    CUSTOMER cust; 
    int key_cust_c_id = 1;
    cust.c_id = 1;
    strncpy(cust.name, "javer", 9);
    strncpy(cust.address, "chengdu", 19);
    cust.age = 32;
    /* 棣?#37711;?#37714;涘缓鏁?#37817;?#25652;?#37721;?#37836;?nbsp;*/
    ret = db_create(&dbp, NULL, 0);
    print_error(ret);
     
    /* 鍒涘缓鏁?#37817;?#25652;?#37837;囧織 */
    flags = DB_CREATE;    
    /* 鍒涘缓涓涓?#37722;?#28051;簊ingle.db?#27537;鏁?#37817;?#25652;?#38171;?#28003;?#37922;B+鏍?#29825;?#38338;?#32480;楁硶锛屾湰娈典唬?#29212;婕?#32448;哄?#22317;畝鍗曟暟鎹?#32491;诲瀷?#27537;澶勭悊 */
    ret = dbp->open(dbp, NULL, "single.db", NULL, DB_BTREE, flags, 0); 
    print_error(ret);
    init_DBT(&key, &data);
     
    /* 鍒?#37714;?#28725;?#37711;?#38335;?#28699;楀?#23678;暟鎹?#29863;嬪煎拰瑙?#28729;氶?#22446;害 */
    key.data = fruit;
    key.size = strlen(fruit) + 1;
    data.data = &number;
    data.size = sizeof(int);
    /* 鎶?#29825;板綍?#21843;鍏?#37825;?#37817;?#25652;?#28051;?#38171;?#28051;?#37711;佽瑕?#37929;?#37711;?#38335;?#28699;楃浉鍚岀殑璁板綍 */
    ret = dbp->put(dbp, NULL, &key, &data,DB_NOOVERWRITE); 
    print_error(ret);
     
/* 鎵嬪姩鎶?#32514;?#28699;?#28051;殑鏁?#37817;?#37714;?#37826;?#37714;?#32429;?#37929;?#37826;?#28000;?#28051;?#38171;?#28729;?#38340;?#28051;?#37734;?#37711;?#38338;?#37825;?#37817;?#25652;撴椂锛屾暟鎹細琚?#38007;?#37716;?#37714;?#37826;?nbsp;*/
dbp->sync()锛?br />     
init_DBT(&key, &data);
    key.data = fruit;
    key.size = strlen(fruit) + 1;
     
    /* 浠?#37825;?#37817;?#25652;?#28051;煡璇?#37711;?#38335;?#28699;?#28051;篴pple?#27537;璁板綍 */
    ret = dbp->get(dbp, NULL, &key, &data, 0);
    print_error(ret);
    /* 鐗?#37714;?#29781;佹敞鎰?#37825;?#37817;?#32513;?#37835;凞BT?#27537;瀛楁?#31029;ata涓簐oid *?#28727;锛屾墍?#20114;鍦?#28725;筪ata璧嬪?#37724;屽?#26663;兼椂锛岃?#20344;?#27692;繀瑕佺殑绫诲瀷杞?#37817;?#37510;?nbsp;*/
    printf("The number = %d\n", *(int*)(data.data));
     
    if(dbp != NULL)
            dbp->close(dbp, 0); 
    ret = db_create(&dbp, NULL, 0);
    print_error(ret);
    flags = DB_CREATE;    
    /* 鍒涘缓涓涓?#37722;?#28051;篶omplex.db?#27537;鏁?#37817;?#25652;?#38171;?#28003;?#37922;HASH璁?#38338;?#32480;楁硶锛屾湰娈典唬?#29212;婕?#32448;哄澶?#37833;?#37825;?#37817;?#32513;?#37835;勭殑澶勭悊 */
    ret = dbp->open(dbp, NULL, "complex.db", NULL, DB_HASH, flags, 0); 
    print_error(ret);
    init_DBT(&key, &data);
    key.size = sizeof(int);
    key.data = &(cust.c_id);
    data.size = sizeof(CUSTOMER);
    data.data = &cust;
    ret = dbp->put(dbp, NULL, &key, &data,DB_NOOVERWRITE);
    print_error(ret);
     
    memset(&cust, 0, sizeof(CUSTOMER));
     
    key.size = sizeof(int);
    key.data = &key_cust_c_id;
    data.data = &cust;
    data.ulen = sizeof(CUSTOMER); 
    data.flags = DB_DBT_USERMEM;
    dbp->get(dbp, NULL, &key, &data, 0);
    print_error(ret);
     
    printf("c_id = %d name = %s address = %s age = %d\n", 
        cust.c_id, cust.name, cust.address, cust.age);
     
    if(dbp != NULL)
            dbp->close(dbp, 0); 
}

DB?#29238;鏍?#28003;?#37922;?#38012;?#28186;?/h2>

?#29238;鏍?#37828;?#28186;?#29863;?#27996;?#37825;?#37817;?#25652;?#37721;?#37836;勭殑锛屽簲鐢?#32459;嬪?#24526;唬?#29212;妗?#37835;跺?#20633;笅锛?/p>

1
2
3
4
5
6
7
8
9
10
/* 瀹?#28052;?#28051;涓父鏍?#37721;?#38322;?*/
DBC * cur;
/* 棣?#37711;堟?#25779;紑鏁?#37817;?#25652;?#38171;屽啀鎵撳紑?#29238;鏍?*/
dbp->open(dbp, ……);
dbp->cursor(dbp, NULL, &cur, 0);
 
/* do something with cursor */
/* 棣?#37711;?#37711;?#38338;?#38171;屽湪鍏?#38338;?#37825;?#37817;?#25652;?*/
cur->c_close(cur);
dbp->close(dbp, 0);

鍦父鏍囨?#25779;紑?#24727;锛屽彲?#20114;?#20114;澶?#32457;?#37826;?#23534;?#38316;?#37720;?#37911;?#28729;氳?#26495;綍銆?/p>

1
2
3
4
5
6
7
    Memset(&key, 0, sizeof(DBT));
Memset(&data, 0, sizeof(DBT));
/* 鍥犱负KEY?#25328;DATA涓?#32460;?#38171;?#37714;欐父鏍?#38316;?#37720;?#37825;?#28051;?#37825;?#37817;?#25652;?#29825;板綍 */
While((ret = cur->c_get(cur, &key, &data, DB_NEXT)) == 0)
{
    /* do something with key and data */
}

?#32139;鎯虫煡璇?#37911;?#28729;氬叧閿?#28699;楀?#29808;簲?#27537;璁板綍锛?#37714;欏簲瀵?#37711;?#38335;?#28699;楄?#23338;?#38171;屽苟鎶cur->c_get()鍑?#37825;?#28051;?#37837;囧織浣?#29825;?#32515;?#28051;篋B_SET銆備?#23338;锛?/p>

1
2
3
4
5
6
    key.data = "xxxxx";
key.size =  XXX;
While((ret = cur->c_get(cur, &key, &data, DB_SET)) == 0)
{
    /* do something with key and data */
}

?#29238;鏍囩殑浣?#37922;?#26473;?#37832;?#23536;?#28598;?#38171;屽?#20635;煡璇?#28598;氶噸璁板綍锛?#37819;?#37711;?淇?#37824;?鍒?#38340;?#29825;板綍?#29905;銆?/p>

DB鐜?#28583;?#28003;?#37922;?#38012;?#28186;?/h2>

鏈?#37826;囧墠闈?#23480;?#29831;?#37828;?#37916;?#28583;?#37828;DB鏁?#37817;?#25652;撶殑鍖呰?#21613;櫒锛?#37819;愪緵澶?#32457;?#26946;?#32510;姛鑳?#37510;傚簲鐢?#32459;嬪?#24526;唬?#29212;妗?#37835;跺?#20633;笅锛?/p>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* 瀹?#28052;?#28051;涓?#37916;?#28583;?#37721;?#38322;?#38171;屽苟鍒涘缓 */
  DB_ENV *dbenv;
  db_env_create(&dbenv, 0);
   
/* 鍦?#37916;?#28583;?#37813;撳紑涔嬪墠锛屽彲璋?#37922;舰寮?#28051;篸benv->set_XXX()?#27537;?#23266;骞?#37713;?#37825;?#29825;?#32515;?#37916;?#28583;?*/
  /* 閫氱煡DB浣?#37922;Rijndael鍔?#28725;?#32480;楁硶?#32025;鍙傝冭祫鏂?gt;锛?#28725;?#37825;?#37817;?#26473;?#29723;屽?#21229;悊 */
dbenv->set_encrypt(dbenv, "encrypt_string", DB_ENCRYPT_AES);
  /* 璁?#32515;DB?#27537;缂?#28699;?#28051;?M */
dbenv->set_cachesize(dbenv, 0, 5 * 1024 * 1024, 0);
/* 璁?#32515;DB?#29025;鎵?#37825;?#37817;?#25652;?#37826;?#28000;剁殑鐩綍 */
  dbenv->set_data_dir(dbenv, "/usr/javer/work_db");
  /* 鎵撳紑鏁?#37817;?#25652;?#37916;?#28583;?#38171;屾敞鎰忓悗?#27923;涓?#37837;囧織鍒?#37714;?#37816;?#32448;篋B鍚?#37716;?#37827;?#36423;?#37510;佸姞閿?#37510;?#32514;?#28699;?#37510;?#27996;嬪姟澶勭?#21975;?#24878;郴缁?*/
  dbenv->open(dbenv,home,DB_CREATE|DB_INIT_LOG|DB_INIT_LOCK| DB_INIT_MPOOL
                |DB_INIT_TXN, 0)锛?/code>
   
  /* 鍦?#37916;?#28583;?#37813;撳紑?#24727;锛?#37714;?#37721;互鎵撳紑?#23266;骞?#28051;?#37825;?#37817;?#25652;?#38171;屾墍鏈?#37825;?#37817;?#25652;撶殑澶勭悊閮?#37734;?#37916;?#28583;冪殑鎺?#37714;跺拰淇濇涓?#37510;?/code>
娉?#37808;db_create鍑?#37825;扮殑绗簩涓?#37721;?#37825;?#37828;?#37916;?#28583;?#37721;?#38322;?*/
db_create(&dbp1, dbenv, 0)锛?/code>
dbp1->open(dbp1, ……);
db_create(&dbp2, dbenv, 0)锛?/code>
dbp1->open(dbp2, ……);
  /* do something with the database */
  /* 鏈?#24727;棣?#37711;?#37711;?#38338;?#37813;撳紑?#27537;鏁?#37817;?#25652;?#38171;屽啀鍏?#38338;?#37916;?#28583;?*/
  dbp2->close(dbp2, 0);
  dbp1->close(dbp1, 0);
  dbenv->close(dbenv, 0);

DB杞?#28000;剁殑瀹夎?#21613;拰缂?#29831;?/h2>

浠嶥B?#27537;瀹?#37826;圭珯鐐?a href="http://www.sleepycat.com/">http://www.sleepycat.com/涓?#26462;?#37832;鏂扮殑杞?#28000;?#37718;卍b-4.3.27.tar.gz锛?#29785;?#37720;嬪?#26495;伐浣?#37929;綍锛岃繘鍏?#29831;?#37929;綍锛?#28186;?#23046;?#37813;?#29723;?#28051;嬪垪涓夋潯鍛?#28000;?#37719;?#37721;?#37510;?/p>

1
2
3
../dist/configure
make
make install

鎵?#29723;make uninstall锛?#37714;?#37721;?#37719;?#26462;藉凡瀹夎?#21615;殑DB杞?#28000;?#37510;?/p>

DB缂?#37930;?#37814;婂?#25779;?#23677;鏂?#28000;?#28729;夎鍦?#37929;綍/usr/local/BerkeleyDB.4.3/涓?#38171;?#28003;?#37922;gcc test.c -ggdb -I/usr/local/BerkeleyDB.4.3/include/ -L/usr/local/BerkeleyDB.4.3/lib/ -ldb -lpthread?#27688;鍙?#23005;?#32429;?#32514;?#29831;?#32459;嬪簭銆傚鏋?#29831;昏呯殑娴?#29831;?#28051;?#37832;烘搷浣?#32495;?#32513;?#28051;篟ED HAT9,鍒?#28729;夎?#21615;殑DB鐗?#37832;?#37721;?#38003;?#37828;?.0銆?#37911;?#37714;?#29781;佹敞鎰?#37714;拌繖涓?#28051;?#37911;?#37832;殑搴?#37828;?#28051;?#37711;?#28729;圭殑銆備?#23338;?#20635;?#25779;紑鏁?#37817;?#25652;?#37713;?#37825;癉B->open(),鍦?.0鐗?#37832;?#28051;?#37711;?#37721;備负6涓?#38171;岃屽湪4.3鐗?#28051;?#37714;?#28051;?涓紙鍙?#38007;?#29723;屾瘮杈?#28051;?#28051;?#25652;撶殑澶?#37826;?#28000;db.h涓璂B->open鍑?#37825;扮殑瀹?#28052;?#38171;?#37510;傚?#29361;负鍦DB?#27977;鍏崇殑?#31794;鐢?#32459;嬪簭涓?#38171;宱pen鍑?#37825;板熀鏈?#28051;?#38318;?#37828;?#29781;佹墽琛岀殑锛屾墍?#20114;濡?#37835;?#37713;?#37825;板拰鐗?#37832;?#28051;?#37718;归厤锛?#32514;?#29831;戣瀹?#28028;氬嚭閿?#37510;傚綋?#21159;锛?#32514;?#29831;?#28729;屾?#24876;悗锛屽彲?#20114;浣?#37922;?#37723;?#28000;ldd?#29025;鐪嬪簱?#27537;渚?#29863;?#37711;?#32495;?#37510;?/p>

鎬?#32513;?/h2>

DB鏄?#28051;涓?#37711;?#37832;?#23480;?#28051;氬己搴殑宓屽叆寮?#37825;?#37817;?#25652;?#32495;?#32513;?#38171;屾暟鎹?#28598;勭?#21977;殑鏁?#37916;囧緢楂?#37510;侱B?#23003;鑳界殑绋?#28729;?#37804;?#37720;?#32513;忔椂闂寸殑鑰冮獙锛屽湪澶?#38322;忓簲鐢?#32459;嬪簭涓?#28003;?#37922;?#28186;?#37828;?#37828;庤銆傚彲?#20114;?#20802;瑙?#38171;屽湪鍚岀?#22793;唬鐮佽川閲忕殑鏉?#28000;?#28051;?#38171;岃蒋浠剁殑BUG鏁板拰?#21804;?#29212;?#27537;闀垮害鏄?#37812;愭姣旂殑锛岀浉瀵?#37713;?#37719;?#37711;?#37510;?#37713;犵鍏嗗?#28727;鏁?#37817;?#25652;?#26462;?#28000;?#38171;孌B?#27537;鍙?#37832;?#28051;?#37714;?00K?#27537;澶?#28751;?#38171;?/p>

浠?#28729;?#37916;板姛鑳?#28051;婄湅,DB鏄?#26462;?#38322;?#32510;?#37825;?#37817;?#25652;?#32495;?#32513;?#38171;屾垨鍙?#32457;?#28051;?鏋? 杞?#38322;?#32510;?#37825;?#37817;?#25652;?#32495;?#32513;?#37510;備絾鏄?#38171;屾垜璁?#28051;?#28051;?#38003;藉洜姝?#38000;屽績瀛?#26462;?#29785;?#28052;嬫剰锛屾墍璋?灏?#37832;夋墍鐭?#38171;屽鏈夋墍?#26289;"锛屼互缁?#28725;?#29785;?#25652;?#23011;?#26440;?#23480;?#37711;?#28052;?#38338;寸殑濂藉鏄?#23052;?#37832;変粈涔堟剰涔夌殑锛屽叧閿?#37734;?#27996;?#28725;?#23480;?#37711;风殑閫夋嫨鍜岃繍鐢紙浼?#28052;?#37721;互鍙傝?#28051;涓?#37835;?#38340;?#32514;?#32459;嬬殑鎬濇兂锛?#37510;備篃璁?#38171;屾纭殑"琛?#26440;捐寮??#31794;璇?#37828;?#38171;氬湪?#32139;?#22688;?#31794;鐢?#38003;屾涓?#38171;?#38315;夋嫨?#32342;绉?#23480;?#37711;?#37828;?#37832;?#24718;閫傜殑銆?/p>



eryar 2018-11-22 09:57 鍙?#29723;?#29831;?#29825;?/a>
]]>OpenCASCADE Face Normalshttp://www.9087120.com/eryar/archive/2018/10/17/Face_Normals.htmleryareryarWed, 17 Oct 2018 14:02:00 GMThttp://www.9087120.com/eryar/archive/2018/10/17/Face_Normals.htmlhttp://www.9087120.com/eryar/comments/216013.htmlhttp://www.9087120.com/eryar/archive/2018/10/17/Face_Normals.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/216013.htmlhttp://www.9087120.com/eryar/services/trackbacks/216013.htmlOpenCASCADE Face Normals

eryar@163.com

 

Abstract. 瑕?#37828;?#32448;?#28051;涓?#38315;?#37930;熺殑涓?#32513;?#22959;瀷锛屽叾椤?#37904;?#37735;愭爣銆?#26916;?#37904;规硶鍚?#37510;?#32510;圭?#21975;?#24877;爣?#32342;涓?#28051;俊鎭?#36423;?#28051;?#37721;?#28751;?#37510;?#37832;?#37826;?#28051;昏浠?#32513;?#28641;備綍鍦?/span>OpenCASCADE?#27537;Draw涓?#37828;?#32448;?#37713;烘洸闈殑娉?#37722;?#38322;?#38171;?#38315;氳繃浣?#37922;浉鍏冲懡浠?#38171;屾潵鏂?#28186;?#37734;板?#35268;洸闈殑娉?#37722;?#26473;?#29723;屾?#29025;銆?/span>

Key Words. Face, Surface, Normals

1. Introduction

?#27960;闈?#28051;婄?#22317;殑娉?#37722;?#38322;?#28725;?#27996;?#28051;?#32513;?#37828;?#32448;?#32459;嬪簭鏉?#29831;?#37828;?#28051;涓?#38322;?#29781;佺殑鏁?#37817;?#38171;屼粬?#27537;姝?#32429;?#28051;?#37722;?#37929;存帴褰卞?#23942;洸闈?#28725;?#37711;夌収?#27537;鍙嶅簲杩涜屽?#21342;搷鏄?#32448;?#37825;?#37835;?#37510;傚?#20633;?#23338;?#28844;墍绀?#28051;哄悓涓涓悆?#27537;涓?#32513;?#37828;?#32448;?#38171;?#28051;?#37722;岀殑娉?#37722;?#23536;?#37714;扮殑鏄?#32448;?#37825;?#37835;?#37828;?#28051;?#37722;岀殑銆?/span>

 

瀵?#27996;?/span>OpenGL鏉?#29831;?#38171;?#37819;愪緵浜嗘帴鍙?/span>glNormal()鏉?#29825;?#32515;?#23049;?#37722;?#38322;?#37510;傚叧浜?/span>OpenCASCADE涓?#37831;?#28598;氭洸闈?#23049;?#37722;?#38322;?#29825;?#32480;?#37721;婄浉鍏充俊鎭?#38171;屽彲?#20114;鍙傝冨師鏉啓?#27537;blog:

Topology and Geometry in OpenCascade-Face

Surface Normal Vector in OpenCascade

Surface Normal Averaging

浠庤繖浜?#37826;囩?#29361;腑鍙互鐪?#37713;?#38171;?#28051;?#28051;鑸?#37828;?#32448;?#23534;曟搸涓?#37722;岀殑鏄?#38171;?/span>OpenCASCADE瀵?#27996;?#38315;氳繃閫犲瀷绠楁硶鏋?#38315;犵殑妯瀷锛?#37922;?#27996;庡叾鍐?#37734;殑?#31807;纭?#37721;?#37825;?#37826;圭?#23340;殑琛?#32448;?#38171;屽彲?#20114;?#31807;纭?#29825;?#32480;?#37713;烘洸闈?#28051;?#28000;绘?#24533;偣澶勭殑娉?#37722;?#38322;?#37510;傝?#28051;?#37922;?#37709;?#28051;鑸殑鏄?#32448;?#23534;曟?#24232;偅鏍?#38171;?#38315;氳繃璁?#32480;楀?#20914;?#22248;硶鍚?#32491;讳技?#27537;绠楁?#26335;潵澶勭悊椤?#37904;规硶鍚?#37510;?/span>

2. Face Normals

鍦?/span>OpenCASCADE鏃?#37832;?#37911;?#37832;殑Draw Test Harness涓?#37819;愪緵浜?/span>normals鍛?#28000;?#38171;屽彲?#20114;灏嗘洸闈殑娉?#37722;?#37828;?#32448;?#37713;?#37833;?#37510;?/span>

鍛?#28000;?#37922;?#23049;?#28641;備笅锛?/span>

normals shape [Length {10}] [-NbAlongU {1}] [-NbAlongV {1}] [-UseMesh] [-print], display normals

閫氳繃?#27977;?#31794;?#27537;鍙?#37825;?#37721;互璁?#32515;?#23049;?#32510;?#32480;?#28598;寸殑闀垮害銆佹?#25358;洸闈?#37721;?#37825;?/span>UV鏂?#37722;?#37828;?#32448;?#23049;?#37722;戠殑鏁?#38322;?#37510;?#37828;?#37722;?#37828;?#32448;虹綉鏍肩殑娉?#37722;?#37721;?#37828;?#37722;?#37813;?#37719;?#37734;?/span>Draw?#27537;鍛?#28000;?#32464;?#37721;?#28051;?#37510;備笅闈?#38315;氳繃鏄?#32448;?#28051;涓渾?#29044;?#32139;鍚?#28051;?#38344;殑娉?#37722;?#37833;?#29831;?#37828;庡懡浠殑鐢?#23049;?#37510;傚懡浠?#37714;?#37713;?#28641;備笅锛?/span>

axo

pcylinder c 10 20

normals c

fit

棣?#37711;?#28003;?#37922;?#37723;?#28000;?/span>axo鎵撳紑涓涓簩缁?#26462;存祴瑙嗗浘銆?/span>

鍐?#28003;?#37922;?#37723;?#28000;?/span>pcylinder鍒涘缓涓涓?#37719;婂緞10锛?#26946;?#25652;?/span>20?#27537;?#28222;?#29044;?#32139;锛?/span>

浣?#37922;?#37723;?#28000;?/span>normals鏉?#37922;粯璁?#37721;?#37825;?#37828;?#32448;?#37713;哄渾?#29044;?#27537;娉?#37722;?#38171;?/span>

浣?#37922;?/span>fit鍛?#28000;?#37833;?#32514;?#37824;句簩缁?#26462;存祴瑙嗗浘銆?/span>

 

?#21502;涓?#32510;壊琛?#32448;?#23049;?#32510;?#37826;?#37722;?#28051;?#37828;?#32448;虹殑鏂?#37722;?#28051;鑷?#38171;岃?#28618;壊琛?#32448;?#23049;?#37722;?#28051;?#37828;?#32448;虹殑鏂?#37722;戠浉鍙?#37510;?#37922;?#27996;庤繖涓簩缁?#26462;存祴瑙嗗浘涓?#38003;?#28000;绘?#24532;棆杞?#37510;?#32514;?#37824;?#38171;屾病鏈?#28051;?#32513;?#29785;嗗浘鏂?#28186;匡?#23678;墍?#20114;OpenCASCADE鍙?#37819;愪緵浜?#28051;涓?#37734;?#28051;?#32513;?#29785;嗗浘涓?#37828;?#32448;烘洸闈?#23049;?#37722;戠殑鍛?#28000;?/span>vnormals锛岀浉鍏?#37721;?#37825;?#29825;?#32515;?#28051;?/span>normals涓鑷?#37510;傛墍?#20114;涓?#38344;?#28051;昏鍦?#28051;?#32513;?#29785;嗗浘涓?#37833;?#28725;硅繖鍑犱釜鍙?#37825;扮殑鐢?#23049;?#26473;?#29723;岃鏄?#37510;傚叾涓?/span>vnormals鍛?#28000;?#37922;?#23049;?#28641;備笅锛?/span>

Displays/Hides normals calculated on shape geometry or retrieved from triangulation

vnormals Shape [{on|off}=on] [-length {10}] [-nbAlongU {1}] [-nbAlongV {1}] [-nbAlong {1}]

                :        [-useMesh] [-oriented {0}1}=0]

?#32139;浣?#37922;粯璁?#37721;?#37825;?#37833;?#37828;?#32448;?#28051;?#38344;殑?#28222;?#29044;?#32139;?#27537;娉?#37722;戞椂锛?#37929;存帴杈撳叆鍛?#28000;?#38171;?/span>vnormals c

 

鍥犱负鍦?#28051;?#32513;?#29785;嗗浘涓?#28003;?#37922;?#32480;?#28598;?#37833;?#29723;?#32448;?#23049;?#37722;戠殑鏂?#37722;?#38171;屾墍?#20114;涓?#37922;?#26864;滆壊鏉?#37718;?#37714;?#37826;?#37722;戠殑姝?#37721;?#37510;?#37922;?#28051;婂浘鍙?#29785;?#38171;屽簳闈殑娉?#37722;?#23005;?#32429;殑?#31794;璇?#29781;?#37721;?#37722;?#37510;傞粯璁?#37721;?#37825;?#37721;?#37828;?#32448;虹殑TOPO闈?#28051;殑鍑犱綍闈殑娉?#37722;?#38171;屾病鏈夎冭檻TOPO闈殑鏂?#37722;?#37510;?#38315;氳繃鍙?#37825;?/span>-oriented浣垮懡浠?#37828;?#32448;?#23049;?#37722;?#37827;惰冭檻TOPO闈殑鏂?#37722;?#38171;?#37719;?#37832;缁?#37828;?#32448;?#37922;殑娉?#37722;?#37826;?#37722;?#37510;傚懡浠?#28051;?#38171;?/span>

vnormals c -oriented

 

涓?#38344;?#23011;?#28051;?#38344;?#28051;?#37721;?#37828;?#32448;?#27996;?#28051;涓?#23049;?#37722;?#38171;屽浜庡渾?#29044;闈?#23536;?#37828;?#37828;?#28051;涓?#23049;?#37722;?#28051;?#28598;?#37510;傚彲?#20114;閫氳繃鍙?#37825;?/span>-nbAlong绛夋潵璁?#32515;洸闈?#37734;?#37721;?#37825;?/span>UV鏂?#37722;?#23049;?#37722;戠殑涓?#37825;?#37510;?/span>

 

瀵?#27996;?#37828;?#32448;?#37825;?#37817;?#37719;?#28051;?#29785;掔綉鏍?#26916;?#37904;圭殑娉?#37722;?#37721;互閫氳繃鍙?#37825;?/span>-useMesh鏉?#37816;?#28729;?#37510;傝繖涓?#37922;?#23049;?#37721;互鏂?#28186;?#37734;版?#29025;缃?#37837;?#37825;?#37817;殑椤?#37904;?#37721;?#26916;?#37904;规硶鍚?#37510;?/span>

鏄?#32448;?#28051;涓?#28888;棆妗?#22959;瀷闈殑娉?#37722;?#38171;?/span>

杩?#37721;互閫氳繃璁?#32515;?#37721;?#37825;?/span>on鍙?/span>-length鏉?#29825;?#32515;?#23049;?#37722;戠殑鏄?#32448;?#28051;?#28051;?#37828;?#32448;?#38171;屽?#23107;硶鍚戠殑鏄?#32448;洪?#22446;害锛岃繖閲屽氨涓?#32513;嗚浜?#38171;岃?#26127;?#37721;互鑷?#23480;?#23092;?#29831;?#37510;?/span>

3. Conclusion

缁?#28051;婃墍杩?#38171;?/span>OpenCASCADE鍦?/span>Draw Test Harness涓?#28751;佽浜?#37828;?#32448;?#38344;?#23049;?#37722;戠殑鍛?#28000;?/span>normals?#25328;vnormals銆?#38315;氳繃浣?#37922;繖浜涘懡浠?#37721;互鏂?#28186;?#37734;?#37833;?#22955;?#29025;闈殑娉?#37722;?#37828;?#37722;?#23005;?#32429;?#37510;傚挨?#21502;鏄?#37721;?#37825;?/span>-useMesh

鏉?#37828;?#32448;虹綉鏍?#28051;殑娉?#37722;戝姛鑳?#38171;屽浜?#22959;瀷?#27537;鏄?#32448;虹綉鏍?#37825;?#37817;?#28051;殑椤?#37904;规硶鍚戠殑妫?#29025;寰?#37832;夊府鍔?#37510;?#38315;氳繃?#29025;鎵剧浉鍏冲懡浠?#28729;?#37916;扮殑婧愮爜锛屽彲?#20114;鏂?#28186;?#37734;版壘鍒扮浉鍏冲姛鑳?#28729;?#37916;扮殑婧愮爜锛岃繖涔?#37828;?#23534;婧愮殑涓涓?#28028;?#37716;?#37510;?br />


涓?#27996;?#37826;?#28186;垮瀹?#37734;?#32457;诲姩绔?#28052;?#38003;?#37930;嬪埌鎴戠殑鍗?#37826;囧?#23683;璁轰氦娴?#38171;?#37916;板凡娉?#37712;屽井?#20426;鍏紬鍙?#38171;?#23046;?#26473;?#28598;?#28729;舵鎻?#28051;?#37826;逛簩缁寸爜鍏?#23049;?#37510;?/h5> Shing Liu(eryar@163.com)



eryar 2018-10-17 22:02 鍙?#29723;?#29831;?#29825;?/a>
]]>OpenCASCADE Make Face With Holeshttp://www.9087120.com/eryar/archive/2018/10/14/MakeFaceWithHoles.htmleryareryarSun, 14 Oct 2018 07:40:00 GMThttp://www.9087120.com/eryar/archive/2018/10/14/MakeFaceWithHoles.htmlhttp://www.9087120.com/eryar/comments/216009.htmlhttp://www.9087120.com/eryar/archive/2018/10/14/MakeFaceWithHoles.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/216009.htmlhttp://www.9087120.com/eryar/services/trackbacks/216009.htmlOpenCASCADE Make Face With Holes

eryar@163.com

OpenCASCADE鎻愪緵浜?#37835;?#38315;燜ace?#27537;绫BRepBuilderAPI_MakeFace锛?#28003;?#37922;繖涓?#32491;?#37721;互鏋?#38315;?#37713;哄甫瀛旂殑闈?#37510;傚?#20633;?#23338;?#28844;墍绀?#38171;?/p>

wps_clip_image-21779

?#32139;?#21159;锛岃?#20344;緱鍒?#28051;婂?#28844;墍绀虹殑缁?#37835;?#38171;岃繕鍙互浣?#37922;Boolean?#25655;浣?#38171;?#37922;?#28051;涓?#38344;?#37720;籆ut鍑犱釜?#28222;?#29044;銆傚綋浣?#37922;?#29999;?#28751;旀搷浣滃氨?#32048;娑?#37721;?#37714;?#28051;浜?#28598;?#37833;?#32480;楁硶锛屽姹備氦锛?#38322;?#37835;Topo?#32139;?#29905;锛屾瘮杈?#38000;楁椂銆傛棦?#21159;鍙互鐩存帴鍦?#37922;?#37812;?#38344;殑鏃跺欐寲瀛?#38171;岃繖涓?#28051;嶆秹鍙婂鏉?#32480;楁硶锛?#38315;?#25652;?#37510;?#32459;?#28729;?#37804;?#38318;芥瘮浣?#37922;?#29999;?#28751;旀搷浣?#29781;佸銆?#37832;?#37826;?#28051;昏鏉?#28000;?#32513;?#28641;備綍浣?#37922;BRepBuilderAPI_MakeFace鏉?#37922;?#37812;愬甫瀛旂殑闈?#38171;屽?#23106;叾娉?#37808;?#27996;?#26916;?#37510;?#37929;存帴涓婁唬?#29212;锛?/p>

#include <gp_Circ.hxx>
#include <gp_Pln.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <BRepBuilderAPI_MakeFace.hxx>
#include <BRepTools.hxx>
#pragma comment(lib, "TKernel.lib")
#pragma comment(lib, "TKMath.lib")
#pragma comment(lib, "TKG2d.lib")
#pragma comment(lib, "TKG3d.lib")
#pragma comment(lib, "TKGeomBase.lib")
#pragma comment(lib, "TKGeomAlgo.lib")
#pragma comment(lib, "TKBRep.lib")
#pragma comment(lib, "TKTopAlgo.lib")
void makeFaceTest()
{
    gp_Pln aPlane;
    gp_Circ aCircle1(gp::XOY(), 1.0);
    gp_Circ aCircle2(gp::XOY(), 1.0);
    gp_Circ aCircle3(gp::XOY(), 1.0);
    aCircle1.SetLocation(gp_Pnt(3.0, 3.0, 0.0));
    aCircle2.SetLocation(gp_Pnt(7.0, 3.0, 0.0));
    aCircle3.SetLocation(gp_Pnt(3.0, 7.0, 0.0));
    BRepBuilderAPI_MakeEdge anEdgeMaker1(aCircle1);
    BRepBuilderAPI_MakeEdge anEdgeMaker2(aCircle2);
    BRepBuilderAPI_MakeEdge anEdgeMaker3(aCircle3);
    BRepBuilderAPI_MakeWire aWireMaker1(anEdgeMaker1.Edge());
    BRepBuilderAPI_MakeWire aWireMaker2(anEdgeMaker2.Edge());
    BRepBuilderAPI_MakeWire aWireMaker3(anEdgeMaker3.Edge());
    BRepBuilderAPI_MakeFace aFaceMaker(aPlane, 0.0, 10.0, 0.0, 10.0);
    if (aWireMaker1.IsDone())
    {
        aFaceMaker.Add(aWireMaker1.Wire());
    }
    if (aWireMaker2.IsDone())
    {
        aFaceMaker.Add(aWireMaker2.Wire());
    }
    if (aWireMaker3.IsDone())
    {
        aFaceMaker.Add(aWireMaker3.Wire());
    }
    if (aFaceMaker.IsDone())
    {
        BRepTools::Write(aFaceMaker.Shape(), "d:/face.brep");
    }
}
int main(int argc, char* argv[])
{
    makeFaceTest();
    return 0;
}

涓?#38344;唬?#29212;?#27688;鏄?#37734;?#28051;涓钩闈?#28051;婂紑涓?#28051;?#28699;?#38171;屾渶?#24727;鍦D鐩?#37922;?#37812;恌ace.brep鏂?#28000;?#37510;傚湪Draw Test Harness涓?#37716;?#26462;藉苟鏄?#32448;鸿繖涓?#37826;?#28000;跺緱鍒?#38171;?/p>

wps_clip_image-4565

?#32139;鍒囨崲鍒?#32510;挎鏄?#32448;?#22959;?#23534;忔椂锛屽拰棰?#37832;?#37825;?#37835;?#28051;鑷?#37510;備絾鏄綋鍒囨崲鍒扮潃?#22730;鏄?#32448;?#22959;?#23534;忔椂锛屽彂鐜?#37922;?#37812;愮殑闈拰棰?#37832;熺殑鏁?#37835;?#37714;氬?#30028;浉鍙?#37510;傝繖鏄?#28000;涔堝師?#27932;鍛?#38171;?/p>

鍦Draw Test Harness涓?#26440;撳叆鍛?#28000;pcruve鏉?#22955;?#29025;锛屽?#20633;?#23338;?#28844;墍绀?#38171;?/p>

wps_clip_image-8080

鏍?#37817;pcurve鍛?#28000;殑鎻?#32448;哄緱?#29025;锛岃?#28618;?#33580;殑鏂?#37722;戝簲璇?#37721;?#37722;?#38171;?#32510;?#38009;茬殑涓?#28598;?#37916;?#37510;傛墍?#20114;寰楃煡锛屽唴鐜?#28699;旂殑鏂?#37722;?#37721;?#27996;?#37510;備慨鏀逛唬?#29212;锛?#37929;存帴灏哤ire?#27537;鏂?#37722;慠everse銆備慨鏀?#37722;庣殑?#21804;?#29212;濡備笅锛?/p>

#include <gp_Circ.hxx>
#include <gp_Pln.hxx>
#include <TopoDS_Wire.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <BRepBuilderAPI_MakeFace.hxx>
#include <BRepTools.hxx>
#pragma comment(lib, "TKernel.lib")
#pragma comment(lib, "TKMath.lib")
#pragma comment(lib, "TKG2d.lib")
#pragma comment(lib, "TKG3d.lib")
#pragma comment(lib, "TKGeomBase.lib")
#pragma comment(lib, "TKGeomAlgo.lib")
#pragma comment(lib, "TKBRep.lib")
#pragma comment(lib, "TKTopAlgo.lib")
void makeFaceTest()
{
    gp_Pln aPlane;
    gp_Circ aCircle1(gp::XOY(), 1.0);
    gp_Circ aCircle2(gp::XOY(), 1.0);
    gp_Circ aCircle3(gp::XOY(), 1.0);
    aCircle1.SetLocation(gp_Pnt(3.0, 3.0, 0.0));
    aCircle2.SetLocation(gp_Pnt(7.0, 3.0, 0.0));
    aCircle3.SetLocation(gp_Pnt(3.0, 7.0, 0.0));
    BRepBuilderAPI_MakeEdge anEdgeMaker1(aCircle1);
    BRepBuilderAPI_MakeEdge anEdgeMaker2(aCircle2);
    BRepBuilderAPI_MakeEdge anEdgeMaker3(aCircle3);
    BRepBuilderAPI_MakeWire aWireMaker1(anEdgeMaker1.Edge());
    BRepBuilderAPI_MakeWire aWireMaker2(anEdgeMaker2.Edge());
    BRepBuilderAPI_MakeWire aWireMaker3(anEdgeMaker3.Edge());
    BRepBuilderAPI_MakeFace aFaceMaker(aPlane, 0.0, 10.0, 0.0, 10.0);
    if (aWireMaker1.IsDone())
    {
        TopoDS_Wire aWire1 = aWireMaker1.Wire();
        aWire1.Reverse();
        aFaceMaker.Add(aWire1);
    }
    if (aWireMaker2.IsDone())
    {
        TopoDS_Wire aWire2 = aWireMaker2.Wire();
        aWire2.Reverse();
        aFaceMaker.Add(aWire2);
    }
    if (aWireMaker3.IsDone())
    {
        TopoDS_Wire aWire3 = aWireMaker3.Wire();
        aWire3.Reverse();
        aFaceMaker.Add(aWire3);
    }
    if (aFaceMaker.IsDone())
    {
        BRepTools::Write(aFaceMaker.Shape(), "d:/face.brep");
    }
}
int main(int argc, char* argv[])
{
    makeFaceTest();
    return 0;
}

閲?#37826;板姞杞?#37826;?#37922;?#37812;愮殑face.brep?#33503;浣?#37922;pcurve?#29025;鐪?#38171;屽緱鍒板?#20633;?#23338;?#28844;墍绀虹殑鏁?#37835;?#38171;?/p>

wps_clip_image-12231

浠?#28051;婂浘鍙煡锛岃繖鏃跺緱鍒扮殑涓?#26864;?#37832;熺殑鏁?#37835;?#37510;?#32513;?#28051;婃墍杩?#38171;屽鏋?#29781;?#37929;存帴浣?#37922;BRepBuilderAPI_MakeFace鏉?#37922;?#37812;愬甫鏈?#28699;旂殑闈?#38171;?#38343;瑕佽嚜宸?#28051;?#28598;?#37916;?#37724;屽唴鐜殑鏂?#37722;戣?#29115;矗锛宱pencascade瀵规涓?#28003;滄?#29025;銆傚綋闈?#37828;?#32448;?#28051;嶆纭椂锛屽彲?#20114;浣?#37922;Draw Test Harness?#27537;pcurve鍛?#28000;?#37833;?#22955;?#29025;銆備竴涓?#29999;?#28699;旂殑闈殑pcurve?#27537;瑙勫垯涓?#38171;氬鐜?#28051;?#38315;嗘椂閽?#37826;?#37722;?#38171;?#37712;?#37916;?#28699;旂殑鏂?#37722;?#28051;?#26916;烘椂閽?#37826;?#37722;?#37510;?/p>

鍩?#27996;庣?#23384;帴鐢?#37812;愮殑甯?#28699;旂殑闈?#38171;岃繕鍙互杩?#28051;姝?#28003;?#37922;?#37824;?#37837;?#32480;楁?#26335;潵閫犲瀷锛屽?#20635;?#22793;几锛屾棆杞瓑锛屽?#20633;?#23338;?#28844;墍绀?#37510;傝繖鏍峰氨鍙互閬垮厤浣?#37922;?#29999;?#28751;旀搷浣?#38171;?#37819;愰珮閫犲瀷绠楁?#26336;殑鎬?#38003;藉拰绋?#28729;?#37804;?#37510;?/p>

wps_clip_image-665


涓?#27996;?#37826;?#28186;垮瀹?#37734;?#32457;诲姩绔?#28052;?#38003;?#37930;嬪埌鎴戠殑鍗?#37826;囧?#23683;璁轰氦娴?#38171;?#37916;板凡娉?#37712;屽井?#20426;鍏紬鍙?#38171;?#23046;?#26473;?#28598;?#28729;舵鎻?#28051;?#37826;逛簩缁寸爜鍏?#23049;?#37510;?/h5> Shing Liu(eryar@163.com)


eryar 2018-10-14 15:40 鍙?#29723;?#29831;?#29825;?/a>
]]>RvmTranslator6.5 is releasedhttp://www.9087120.com/eryar/archive/2018/10/01/RvmTranslator65.htmleryareryarMon, 01 Oct 2018 15:52:00 GMThttp://www.9087120.com/eryar/archive/2018/10/01/RvmTranslator65.htmlhttp://www.9087120.com/eryar/comments/215985.htmlhttp://www.9087120.com/eryar/archive/2018/10/01/RvmTranslator65.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/215985.htmlhttp://www.9087120.com/eryar/services/trackbacks/215985.htmlRvmTranslator6.5 is released

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, .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 RvmTranslator6.5.

 

RvmTranslatoer6.5 is a minor release, which includes the following new features:

 

RvmTranslator鍙互灏?/span>AVEVA PDMS/Plant/Marine涓?#28725;?#37713;虹殑RVM鏂?#28000;?#26473;?#29723;屽彲瑙?#37718;?#38171;屼互鍙婂皢RVM杞?#37817;?#37812;愬父瑙佺殑涓?#32513;?#37826;?#28000;?#37837;?#23534;?#37510;傚STEP锛?/span>IGES锛?/span>STL锛?/span>DXF, OBJ, 3DPDF, 3DXML?#29905;锛?#28186;?#27996;?#28051;庡叾?#31916;CAD绯?#32513;?#26473;?#29723;屾暟鎹氦鎹?#38171;屽Autodesk AutoCAD, Plant3d, 3ds Max, CATIA, Solidworks, Pro/E, Unity3d, Bentley?#29905;銆?/span>

 

3DXML is a proprietary 3D file format developed by Dassault Systemes under its 3DVIA Brand. It uses an XML container whose specifications were published. It should not be confused with X3D, the ISO standard XML-based file format for representing 3D computer graphics.

The 3DXML file itself is actually a zip archive file that contains a BOM file and one or more 3D representation files. Renaming the file from .3dxml to .zip allows a program like WinZip to open the archive.

 

3DXML鏍?#23534;?#37828;?#26440;剧杞?#28000;?#23534;鍙戠殑涓涓?#26462;?#38322;?#37718;?#28051;?#32513;?#37826;?#28000;?#37837;?#23534;?#37510;?/span>3DXML鏄?#28051;绉?#37737;?#27996;?/span>XML?#27537;杞?#38322;?#37718;?/span>3D鏁?#37817;?#37837;?#23534;?#38171;屼綋绉?#37831;?#28751;?#38171;屽帇缂?#23011;?#26946;?#38171;?#38003;?#28003;?#37922;?#37812;峰揩閫?#37510;?#32480;鍗?#37734;拌幏鍙?#37724;屽叡浜?/span>3D鏁?#37817;?#37510;?/span>3DXML鏄?#28051;绉?#23534;鏀剧殑涓?#32513;?#37826;?#28000;?#37837;?#23534;?#38171;?/span>3DXML鏂?#28000;?#28051;?#28051;?#37718;?#37722;?#37713;犱綍?#20426;鎭?#38171;屽彧鍖?#37722;?#22959;?#37736;嬪疄?#32139;?#20426;鎭?#37724;岃?#21620;?#23940;俊鎭?#37510;傝繖浣?/span>3DXML?#27537;鏂?#28000;跺?#21700;灏?#27996;?#28051;鑸殑CAD鏂?#28000;?#38171;屽?#23678;椂3DXML鏂?#28000;惰杩?#28051;姝?#37720;?#32514;?#38171;?#28003;垮叾鏂?#28000;?#37831;?#28751;?#38171;?#38003;藉?#29115;鏇村揩?#27537;浼?#26440;撳拰鍗?#37922;?#37831;?#28751;忕殑瀛樺偍绌?#38338;?#37510;?/span>

 

3DXML瀹屽叏閬?#23536;?/span>XML璇?#23049;?#38171;?#28003;?#37922;?#28000;讳綍鏍?#37713;?/span>XML瑙瀽?#27346;閮?#37721;互瀵瑰叾杩?#29723;?#29785;瀽锛?#37819;愬彇鎴栧啓鍏俊鎭?#37510;傝?#21095;鍦叾?#22669;鏈夌殑浜?#37725;?#28051;?#28641;?/span>CATIA, Virtools,?#29905;閮藉姞鍏?#27996;?/span>3DXML?#27537;鏀?#37816;?#38171;屽彲?#20114;灏?/span>CAD鏂?#28000;?#26462;?#37817;?#37812;?/span>3DXML鏂?#28000;?#38171;屽?#23683;?#28060;?#21095;鎻愪緵鍏?#29840;圭殑3DXML娴?#29785;堝櫒锛屾柟渚?#37922;?#37812;?#28725;?/span>3DXML?#27537;娴?#29785;?#37510;?/span>

 

1. Fix bugs for 3DXML

Fix the missing model bugs, and test by the Spooler and Stabilizer model:

淇?#28598;?#26462;?#37817;?/span>3DXML妯瀷涓?#28598;辩殑Bug;

 

2. Fix bugs for 3DXML Color

淇?#28598;?#26462;?#37817;?/span>3DXML棰滆?#33580;己澶辩殑Bug:

 

3. Download RvmTrnaslator6.5

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

  


涓?#27996;?#37826;?#28186;垮瀹?#37734;?#32457;诲姩绔?#28052;?#38003;?#37930;嬪埌鎴戠殑鍗?#37826;囧?#23683;璁轰氦娴?#38171;?#37916;板凡娉?#37712;屽井?#20426;鍏紬鍙?#38171;?#23046;?#26473;?#28598;?#28729;舵鎻?#28051;?#37826;逛簩缁寸爜鍏?#23049;?#37510;?/h5> Shing Liu(eryar@163.com)



eryar 2018-10-01 23:52 鍙?#29723;?#29831;?#29825;?/a>
]]>qmake鐢?#37812;Visual Studio宸?#32459;?http://www.9087120.com/eryar/archive/2018/09/30/qmake.htmleryareryarSun, 30 Sep 2018 05:49:00 GMThttp://www.9087120.com/eryar/archive/2018/09/30/qmake.htmlhttp://www.9087120.com/eryar/comments/215984.htmlhttp://www.9087120.com/eryar/archive/2018/09/30/qmake.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/215984.htmlhttp://www.9087120.com/eryar/services/trackbacks/215984.html 

鏁?#28051;猀t鍦Windows涓?#38318;?#37721;互閫氳繃?#22738;澶勭?#21976;潵缂?#29831;?#38171;屽綋缂?#29831;?#28610;絈t?#24727;锛屼細鐢?#37812;恞make.exe銆?/p>

鍦?#23052;?#37832;?#28729;夎?#21293;t-VS-Addin?#27537;?#20751;鍐?#28051;?#38171;屽?#20633;綍浣?#37922;?#37714;?#27996;?#37819;愪緵?#27537;Qt *.pro椤圭洰鏂?#28000;跺憿锛?/p>

浣?#37922;qmake鍙互鐩存帴鐢?#37812;Visual Studio椤圭洰鏂?#28000;?#38171;屽懡浠?#28641;備笅锛?/p>

qmake -tp vc


濡?#37835;?#28051;?#37812;愬姛锛屽彲鑳?#26473;?#38343;瑕侀?#23943;疆QMAKESPEC锛?/p>

set QMAKESPEC=win32-msvc2015


浠嶸isual Studio?#27537;?#24397;鍗?#37722;?#37716;VS鍛?#28000;?#32464;?#37721;?#38171;屽彲?#20114;鎶qmake绋嬪?#24533;殑?#30718;寰?#29825;?#32515;?#37714;?#37916;?#28583;?#37721;?#38322;PATH涓?#38171;屽啀鍒囨崲鍒?.pro鏂?#28000;舵墍鍦?#37929;綍锛?#28003;?#37922;qmake鍛?#28000;?#37510;傚鏋?#38343;瑕?#38315;?#35120;?#28598;勭?#21976;墍鏈?.pro鏂?#28000;?#38171;屽彲?#20114;鍔犱笂-recursive閫?#26916;?#37510;?#28729;屾?#26449;唴瀹?#28641;備笅锛?/p>

set PATH=%PATH%;D:/Qt5.8.0/bin;
set QMAKESPEC=win32-msvc2015
qmake -tp vc -recursive
nmake

 



eryar 2018-09-30 13:49 鍙?#29723;?#29831;?#29825;?/a>
]]>Levmar:Levenberg-Marquardt闈?#32510;?#37804;?#37832;灏忎簩涔?#32480;楁硶http://www.9087120.com/eryar/archive/2018/09/26/levmar.htmleryareryarWed, 26 Sep 2018 12:53:00 GMThttp://www.9087120.com/eryar/archive/2018/09/26/levmar.htmlhttp://www.9087120.com/eryar/comments/215950.htmlhttp://www.9087120.com/eryar/archive/2018/09/26/levmar.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/215950.htmlhttp://www.9087120.com/eryar/services/trackbacks/215950.htmlLevmar:Levenberg-Marquardt闈?#32510;?#37804;?#37832;灏忎簩涔?#32480;楁硶

eryar@163.com

Abstract. Levmar is GPL native ANSI C implementations of the Levenberg-Marquardt optimization algorithm.The blog focus on the compilation of levmar on Windows with Visual Studio.

Key Words. Levmar, C, LM least squares

1. levmar绠浠?/h3>

Gauss-Newton绠楁?#26335;槸涓涓?#37721;?#38000;佺殑澶勭悊闈?#32510;?#37804;?#37832;灏忎簩涔?#38338;?#26864;樼殑鏂规硶銆傝鏂规硶鍦?#26473;唬?#32323;绋?#28051;?#29781;?#23033;傜煩闃J(x)婊?#32457;?#37510;備负浜嗗厠鏈嶈繖涓?#37733;伴锛Levenberg(1944)鎻?#37713;?#27996;?#28051;绉?#37826;扮殑鏂规硶锛?#28003;?#37832;?#37721;?#37714;?#38322;?#29785;?#37510;傚悗鏉Marquardt(1963)鍙?#38322;?#37826;?#37819;?#37713;?#38171;屽苟鍦?#37918;嗚涓?#26473;?#29723;?#27996;嗘帶璁?#38171;屽緱鍒癓evenberg-Marquardt鏂规硶锛?#32480;绉癓M鏂规硶銆傚湪姝?#37737;?#32429;涓?#38171;Fletcher(1971)瀵瑰叾瀹?#37916;扮?#26667;暐杩?#29723;?#27996;嗘敼杩?#38171;屽緱鍒?#27996;哃evenberg-Marquardt-Fletcher鏂规硶?#32025;LMF锛?#37510;傚?#23941;悗鏉?#38171;孧ore(1978)灏哃M鏂规硶涓庝俊璧?#37737;?#37826;规硶缁撳悎锛屽?#34425;?#23337;?#21975;甫?#20426;璧?#37737;熺殑LM鏂规硶銆?/p>

LM绠楁?#26336;殑浜?#37922;?#28051;昏鏄?#29785;喅?#27960;绾?#37832;灏忎簩涔樻?#29111;悎闂?#26864;?#38171;?#37916;?#37734;?#23536;?#28598;?#26462;?#28000;?#28003;?#37922;LM绠楁?#26335;潵瑙喅閫?#37922;殑?#27960;绾挎?#29111;悎闂?#26864;?#37510;?/p>

鏈?#37826;?#28051;昏浠?#32513;GPL寮婧愬簱levmar2.6浣?#37922;Visual Studio鍦Windows涓?#26473;?#29723;?#32514;?#29831;?#37510;傝繖涓?#23534;婧愬簱?#27537;瀹?#37826;圭?#25120;珯鏄?#38171;?a href="http://users.ics.forth.gr/~lourakis/levmar/">http://users.ics.forth.gr/~lourakis/levmar/

wps_clip_image-24963

2. 缂?#29831;憀evmar

涓?#26462;?#23143;愮爜levmar-2.6瑙?#37720;?#38171;屽湪?#21502;README.txt涓?#28725;levmar?#27537;鎺?#37833;僄PL銆?#32514;?#29831;戠瓑杩?#29723;?#27996;嗚鏄?#37510;傚湪Windows?#25655;浣?#32495;?#32513;?#28051;?#38171;屽彲?#20114;浣?#37922;nmake /f Makefile.vc鏉?#32514;?#29831;憀evmar?#25328;涓涓?#32448;?#28186;?#32459;嬪簭銆?/p>

浠?#28729;樼?#25116;粙缁?#37721;煡锛宭evmar鏈?#27996;?#32480;楁?#26330;緷璧朙APACK搴?#38171;?#28051;涓?#32510;?#37804;唬鏁?#29825;?#32480;?#23534;婧愬簱銆傛墍?#20114;濡?#37835;?#29781;?#28003;?#37922;?#38317;?#27996;?#32480;楁硶锛?#32514;?#29831;戠殑鏃跺?#36423;?#26916;?#37718;?#37722;繖涓?#25652;?#37510;備粠绀?#28186;?#32459;嬪?#24533;殑婧愭枃浠秎mdemo.c涓?#37721;互鐪?#37713;?#38171;屾湁浜?#38338;?#26864;樼殑姹?#29785;?#37828;?#38343;瑕丩APACK搴撶殑锛岀浉鍏?#23143;愮爜鍒?#37713;?#28641;備笅锛?/p>

  /* uncomment the appropriate line below to select a minimization problem */
  problem=
          //0; // Rosenbrock function
          //1; // modified Rosenbrock problem
          //2; // Powell's function
      //3; // Wood's function
          4; // Meyer's (reformulated) problem
          //5; // Osborne's problem
      //6; // helical valley function
#ifdef HAVE_LAPACK
      //7; // Boggs & Tolle's problem 3
      //8; // Hock - Schittkowski problem 28
      //9; // Hock - Schittkowski problem 48
      //10; // Hock - Schittkowski problem 51
#else // no LAPACK
#ifdef _MSC_VER
#pragma message("LAPACK not available, some test problems cannot be used")
#else
#warning LAPACK not available, some test problems cannot be used
#endif // _MSC_VER
#endif /* HAVE_LAPACK */
      //11; // Hock - Schittkowski problem 01
      //12; // Hock - Schittkowski modified problem 21
      //13; // hatfldb problem
      //14; // hatfldc problem
      //15; // equilibrium combustion problem
#ifdef HAVE_LAPACK
      //16; // Hock - Schittkowski modified #1 problem 52
      //17; // Schittkowski modified problem 235
      //18; // Boggs & Tolle modified problem #7
      //19; // Hock - Schittkowski modified #2 problem 52
      //20; // Hock - Schittkowski modified problem #76"
#endif /* HAVE_LAPACK */
  switch(problem){
  default: fprintf(stderr, "unknown problem specified (#%d)! Note that some minimization problems require LAPACK.\n", problem);
           exit(1);
    break;

浠?#28051;?#26473;?#23143;愮爜鍙煡锛屽鏋LAPACK搴?#28051;?#37721;?#37922;殑鏃跺?#38171;?#32448;?#28186;?#32459;嬪簭涓殑闂?#26864;?/p>

l 7 Boggs & Tolle’s problem 3

l 8 Hock - Schittkowski problem 28

l 9 Hock - Schittkowski problem 48

l 10 Hock - Schittkowski problem 51

l 16 Hock - Schittkowskit modified #1 problem 52

l 17 Schittkowski modified problem 235

l 18 Boggs & Tolle modified problem #7

l 19 Hock - Schittkowski modified #2 problem 52

l 20 Hock - Schittkowski modified probem #76

?#32342;浜?#38338;?#26864;樼殑姹?#29785;姛鑳?#37828;?#28051;?#38003;?#28003;?#37922;殑銆備粠澶?#37826;?#28000;秎evmar.h涓?#29781;佷互鐪?#37713;?#38171;?/p>

#ifdef LM_DBL_PREC
/* double precision LM, with & without Jacobian */
/* unconstrained minimization */
extern int dlevmar_der(
      void (*func)(double *p, double *hx, int m, int n, void *adata),
      void (*jacf)(double *p, double *j, int m, int n, void *adata),
      double *p, double *x, int m, int n, int itmax, double *opts,
      double *info, double *work, double *covar, void *adata);
extern int dlevmar_dif(
      void (*func)(double *p, double *hx, int m, int n, void *adata),
      double *p, double *x, int m, int n, int itmax, double *opts,
      double *info, double *work, double *covar, void *adata);
/* box-constrained minimization */
extern int dlevmar_bc_der(
       void (*func)(double *p, double *hx, int m, int n, void *adata),
       void (*jacf)(double *p, double *j, int m, int n, void *adata),  
       double *p, double *x, int m, int n, double *lb, double *ub, double *dscl,
       int itmax, double *opts, double *info, double *work, double *covar, void *adata);
extern int dlevmar_bc_dif(
       void (*func)(double *p, double *hx, int m, int n, void *adata),
       double *p, double *x, int m, int n, double *lb, double *ub, double *dscl,
       int itmax, double *opts, double *info, double *work, double *covar, void *adata);
#ifdef HAVE_LAPACK
/* linear equation constrained minimization */
extern int dlevmar_lec_der(
      void (*func)(double *p, double *hx, int m, int n, void *adata),
      void (*jacf)(double *p, double *j, int m, int n, void *adata),
      double *p, double *x, int m, int n, double *A, double *b, int k,
      int itmax, double *opts, double *info, double *work, double *covar, void *adata);
extern int dlevmar_lec_dif(
      void (*func)(double *p, double *hx, int m, int n, void *adata),
      double *p, double *x, int m, int n, double *A, double *b, int k,
      int itmax, double *opts, double *info, double *work, double *covar, void *adata);
/* box & linear equation constrained minimization */
extern int dlevmar_blec_der(
      void (*func)(double *p, double *hx, int m, int n, void *adata),
      void (*jacf)(double *p, double *j, int m, int n, void *adata),
      double *p, double *x, int m, int n, double *lb, double *ub, double *A, double *b, int k, double *wghts,
      int itmax, double *opts, double *info, double *work, double *covar, void *adata);
extern int dlevmar_blec_dif(
      void (*func)(double *p, double *hx, int m, int n, void *adata),
      double *p, double *x, int m, int n, double *lb, double *ub, double *A, double *b, int k, double *wghts,
      int itmax, double *opts, double *info, double *work, double *covar, void *adata);
/* box, linear equations & inequalities constrained minimization */
extern int dlevmar_bleic_der(
      void (*func)(double *p, double *hx, int m, int n, void *adata),
      void (*jacf)(double *p, double *j, int m, int n, void *adata),
      double *p, double *x, int m, int n, double *lb, double *ub,
      double *A, double *b, int k1, double *C, double *d, int k2,
      int itmax, double *opts, double *info, double *work, double *covar, void *adata);
extern int dlevmar_bleic_dif(
      void (*func)(double *p, double *hx, int m, int n, void *adata),
      double *p, double *x, int m, int n, double *lb, double *ub, 
      double *A, double *b, int k1, double *C, double *d, int k2,
      int itmax, double *opts, double *info, double *work, double *covar, void *adata);
/* box & linear inequality constraints */
extern int dlevmar_blic_der(
      void (*func)(double *p, double *hx, int m, int n, void *adata),
      void (*jacf)(double *p, double *j, int m, int n, void *adata),
      double *p, double *x, int m, int n, double *lb, double *ub, double *C, double *d, int k2,
      int itmax, double opts[4], double info[LM_INFO_SZ], double *work, double *covar, void *adata);
extern int dlevmar_blic_dif(
      void (*func)(double *p, double *hx, int m, int n, void *adata),
      double *p, double *x, int m, int n, double *lb, double *ub, double *C, double *d, int k2,
      int itmax, double opts[5], double info[LM_INFO_SZ], double *work, double *covar, void *adata);
/* linear equation & inequality constraints */
extern int dlevmar_leic_der(
      void (*func)(double *p, double *hx, int m, int n, void *adata),
      void (*jacf)(double *p, double *j, int m, int n, void *adata),
      double *p, double *x, int m, int n, double *A, double *b, int k1, double *C, double *d, int k2,
      int itmax, double opts[4], double info[LM_INFO_SZ], double *work, double *covar, void *adata);
extern int dlevmar_leic_dif(
      void (*func)(double *p, double *hx, int m, int n, void *adata),
      double *p, double *x, int m, int n, double *A, double *b, int k1, double *C, double *d, int k2,
      int itmax, double opts[5], double info[LM_INFO_SZ], double *work, double *covar, void *adata);
/* linear inequality constraints */
extern int dlevmar_lic_der(
      void (*func)(double *p, double *hx, int m, int n, void *adata),
      void (*jacf)(double *p, double *j, int m, int n, void *adata),
      double *p, double *x, int m, int n, double *C, double *d, int k2,
      int itmax, double opts[4], double info[LM_INFO_SZ], double *work, double *covar, void *adata);
extern int dlevmar_lic_dif(
      void (*func)(double *p, double *hx, int m, int n, void *adata),
      double *p, double *x, int m, int n, double *C, double *d, int k2,
      int itmax, double opts[5], double info[LM_INFO_SZ], double *work, double *covar, void *adata);
#endif /* HAVE_LAPACK */
#endif /* LM_DBL_PREC */

浠?#28598;?#37826;?#28000;秎evmar.h涓殑?#21804;?#29212;鍙互鐪?#37713;?#38171;屽湪#ifdef HAVE_LAPACK?#25328;#endif /* HAVE_LAPACK */涔?#38338;寸殑鍑?#37825;?#38318;?#37828;?#28051;?#37721;?#37922;殑銆傞櫎姝?#28052;嬪?#26667;殑鍑?#37825;?#37828;?#37721;?#37922;殑锛屽?#20634;熀鏈殑dlevmar_der?#25328;dlevmar_dif?#29905;鍑?#37825;?#37828;?#28051;?#28186;?#29863;朙APACK搴撶殑銆傚鏋?#37721;?#28003;?#37922;繖鍑犱釜鍑?#37825;?#38171;?#37714;?#37721;互涓?#37922;?#38320;嶇疆LAPACK搴?#38171;?#32514;?#29831;憀evmar?#27688;寰?#32480;鍗?#27996;?#37510;?/p>

濡?#37835;?#28051;?#28003;?#37922;LAPACK搴?#38171;屽彲?#20114;鍏?#37734;?#28598;?#37826;?#28000;秎evmar.h涓?#37814;?define HAVE_LAPACK ?#32342;涓琛屾敞閲婃帀锛?/p>

wps_clip_image-1378

鐒跺悗鍐嶄慨鏀筂akefile.vc鏂?#28000;?#38171;屽湪Makefile.vc涓?#37721;互鐪嬪?#26495;?#20633;?#23338;?#28844;墍绀?#28051;鍙?#23049;噴锛?#37719;冲綋涓?#28003;?#37922;LAPACK搴?#37828;?#38171;屾?#23111;偅涓琛屾敞閲婃?#22811;紙?#22688;闈?#37716;?锛?#38171;?/p>

wps_clip_image-511

?#32342;鏃跺氨鍙互鍚?#37716;Visual Studio?#27537;缂?#29831;戝櫒CL鏉?#32514;?#29831;憀evmar搴?#27996;?#37510;傞?#23943;疆濂?#32514;?#29831;?#37916;?#28583;冪殑鍛?#28000;?#23480;?#37711;?#28000;嶸isual Studio?#27537;?#24397;鍗曟潵鍚?#37716;?#38171;?/p>

wps_clip_image-31275

瑕?#32514;?#29831;?2浣嶇殑levmar搴?#38171;屽彲?#20114;浣?#37922;x86?#27537;鍛?#28000;?#23480;?#37711;?#38171;岃缂?#29831;?4浣嶇殑levmar锛屽彲?#20114;浣?#37922;x64?#27537;鍛?#28000;?#23480;?#37711;?#37510;傚惎鍔?#37723;?#28000;?#23480;?#37711;峰悗锛?#37714;囨崲鍒levmar婧愮爜鏂?#28000;?#28598;?#38171;屽?#24816;?#25779;叆鍛?#28000;?/p>

nmake /f Makefile.vc

濡備?#23338;?#28844;墍绀?#38171;?/p>

wps_clip_image-5008

缂?#29831;?#37812;愬姛鐢?#37812;levmar.lib?#25328;lmdemo.exe璇?#37828;?#32514;?#29831;?#37812;愬姛浜?#37510;?/p>

wps_clip_image-7636

?#24116;?#28483;鍦?#37723;?#28000;?#32464;?#37721;?#28051;?#26473;愯?#23469;mdemo.exe锛屾祴璇昹evmar渚嬪?#24878;?#23338;簭銆傚鏋渓mdemo姝父杩愯锛岃鏄巐evmar宸茬粡鎴愬姛缂?#29831;?#37510;?/p>

鑷?#23480;辩殑绋嬪簭濡?#37835;?#29781;?#28003;?#37922;levmar锛屽氨鍙互鍍?#28003;?#37922;叾?#31916;寮婧愬簱涓鏍?#38171;岃缃?#28598;?#37826;?#28000;惰矾寰勫?#23106;簱levmar.lib?#27537;?#30718;寰?#38171;屽氨鍙互浣?#37922;?#27996;?#37510;?/p>

wps_clip_image-10013


涓?#27996;?#37826;?#28186;垮瀹?#37734;?#32457;诲姩绔?#28052;?#38003;?#37930;嬪埌鎴戠殑鍗?#37826;囧?#23683;璁轰氦娴?#38171;?#37916;板凡娉?#37712;屽井?#20426;鍏紬鍙?#38171;?#23046;?#26473;?#28598;?#28729;舵鎻?#28051;?#37826;逛簩缁寸爜鍏?#23049;?#37510;?/h5>Shing Liu(eryar@163.com)




eryar 2018-09-26 20:53 鍙?#29723;?#29831;?#29825;?/a>
]]>IsoAlgo3d涓?#32513;?#32480;?#38316;?#26462;?#28000;?/title><link>http://www.9087120.com/eryar/archive/2018/09/15/IsoAlgo3d_v01.html</link><dc:creator>eryar</dc:creator><author>eryar</author><pubDate>Sat, 15 Sep 2018 14:44:00 GMT</pubDate><guid>http://www.9087120.com/eryar/archive/2018/09/15/IsoAlgo3d_v01.html</guid><wfw:comment>http://www.9087120.com/eryar/comments/215935.html</wfw:comment><comments>http://www.9087120.com/eryar/archive/2018/09/15/IsoAlgo3d_v01.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.9087120.com/eryar/comments/commentRss/215935.html</wfw:commentRss><trackback:ping>http://www.9087120.com/eryar/services/trackbacks/215935.html</trackback:ping><description><![CDATA[     ?#25011;瑕? IsoAlgo3d涓?#32513;?#32480;?#38316;?#26462;?#28000;?#28051;昏鐢?#27996;?#28751;?#37929;墠?#27991;闄?#28051;绘祦绠?#38316;?#29825;?#29825;?#26462;?#28000;禔VEVA PDMS?#25328;Intergraph SmartPlatn3D?#29905;杞?#28000;跺鍑虹殑IDF/PCF鏂?#28000;?#26473;?#29723;?#28051;?#32513;?#22959;瀷閲?#23524;?#38171;屽苟鍦?#23005;?#37737;?#32429;涓?#28729;氬埗寮鍙?#32480;?#38316;?#37833;愭枡缁?#29825;?#37510;?#32480;?#28699;愰?#26421;欢璁?#29825;?#37510;?#32480;?#28699;愰?#26421;?#36346;?#24807;姛鑳?#37510;?銆銆鍦?#28725;?#37711;IDF/PCF?#24727;锛屽彲鍦?#28051;?#32513;?#22959;?#37736;嬪?#22317;?#23108;?#36891;俊鎭?#26473;?#29723;?#32514;?#26440;?#38171;?#37719;?#38322;?#37826;?#37922;?#37812;?#32480;?#28699;愰?#26421;欢锛屾柟渚?#32480;?#38316;?#26864;勫埗杞?#38338;?#26473;?#29723;?#32480;?#28699;愰?#26421;欢澶勭悊銆?#37719;虫鍒?#29825;?#29825;?#38340;殑IDF/PCF?#24727;锛屽彲?#20114;鐩存帴鍦IsoAlgo3d涓?#26473;?#29723;?#28051;?#32513;存祻瑙?#38171;?#28051;?#37734;?#32480;?#38316;?#29825;?#29825;?#26462;?#28000;?#28051;?#37828;?#32448;?#28051;鏍风殑涓?#32513;?#22959;瀷銆備笉闇瑕佸?#23942;?#36328;潃杞存?#23338;浘鏉?#37819;?#37733;剧瓑荤?#27537;鎵嬪伐鐢诲浘锛?#37819;愰珮鏁?#37916;?#37510;?nbsp; <a href='http://www.9087120.com/eryar/archive/2018/09/15/IsoAlgo3d_v01.html'>闃?#29831;?#37711;?#37826;?/a><img src ="http://www.9087120.com/eryar/aggbug/215935.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.9087120.com/eryar/" target="_blank">eryar</a> 2018-09-15 22:44 <a href="http://www.9087120.com/eryar/archive/2018/09/15/IsoAlgo3d_v01.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;?#29825;?/a></div>]]></description></item><item><title>IsoAlgo3d - IDF/PCF pipeline 3d viewerhttp://www.9087120.com/eryar/archive/2018/09/11/IsoAlgo3d_v1.htmleryareryarTue, 11 Sep 2018 14:17:00 GMThttp://www.9087120.com/eryar/archive/2018/09/11/IsoAlgo3d_v1.htmlhttp://www.9087120.com/eryar/comments/215918.htmlhttp://www.9087120.com/eryar/archive/2018/09/11/IsoAlgo3d_v1.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/215918.htmlhttp://www.9087120.com/eryar/services/trackbacks/215918.htmlIsoAlgo3d - IDF/PCF pipeline 3d viewer

eryar@163.com

 

Key Words. IDF, PCF, IsoAlgo, 3D

 

?#32139;?#22688;?#27991;闄?#28051;绘祦绠?#38316;?#29825;?#29825;?#26462;?#28000;?#38318;?#37721;互鐢?#37812;?span style="font-family: Times New Roman;">IDF/PCF鏂?#28000;?#38171;岃繖涓?#32457;?#37826;?#28000;?#37837;?#23534;?#38318;?#37828;?#37922;?#27996;?/span>Isogen鐢?#37812;?#32480;?#38316;?#26462;存?#23338;浘銆傚叾涓?/span>IDF涓?/span>ISOGEN Data File锛?#28051;昏鏉?#38007;?/span>Intergraph PDS ?#25328;AVEVA PDMS銆?/span>PCF涓?/span>Piping Component File锛?#28051;昏鏉?#38007;?/span>Intergraph SmartPlant 3D?#25328;CADWorx銆傚叾涓?#37734;?/span>PDMS涓?#37922;?#37812;?/span>IDF鏂?#28000;?#38343;瑕佸Isodraft杩?#29723;岄?#23943;疆锛岄?#23943;疆鏂规硶濡備笅锛?/span>

 

杩?#37711;?span style="font-family: Times New Roman;">Isodraft鎵撳紑Reports and Symbol File閫?#26916;?#28725;?#29831;濇锛?/span>

 

鍦?span style="font-family: Times New Roman;">Transfer涓?#37816;?#28729;氶渶瑕?#37922;?#37812;?/span>IDF鏂?#28000;剁殑?#30718;寰勫強鏂?#28000;跺悕銆傚綋?#21159;涔?#37721;互鍦?/span>Design妯?#37735;?#38315;氳繃鑷?#28729;?#28052;?/span>ISO鍥?#38320;嶇疆鏂?#28000;?#38171;?#28052;?#37721;互鐩存帴鐢?#37812;?/span>IDF鏂?#28000;?#37510;?/span>

IDF/PCF鏂?#28000;?#28051;?#37718;?#37722;?#32480;?#38316;?#28051;?#32480;?#28000;剁殑绔?#37904;?#37735;愭爣鍙婄敤浜?#37922;?#37812;?/span>ISO杞存?#23338;?#21095;殑SKEY绛変俊鎭?#38171;?/span>IsoAlgo3d璇?#37721;栬繖涓?#32457;?#37826;?#28000;?#37837;?#23534;忓悗锛屽彲?#20114;瀵瑰叾涓?#32480;?#38316;?#26473;?#29723;?#28051;?#32513;村缓妯?#38171;屾柟渚?#32480;?#38316;?#37929;?#29785;傛祻瑙?#37510;?/span>

 

濡備?#23106;?#28844;墍绀?#28051;?span style="font-family: Times New Roman;">IsoAlgo3d鏄?#32448;虹殑绠?#38316;?#22959;瀷锛?#38315;氳繃榧?#37837;?#37734;?#28051;?#32513;?#29785;嗗浘涓?#38315;夋嫨绠?#28000;?#38171;?#37714;?#37721;互鍚屾椂鍦?#23480;?#26440;?#37837;?#28051;?#28729;?#28003;?#32480;?#28000;跺睘浜庡摢涓?#32480;?#32510;匡?#23677;彸杈圭殑灞?#37804;?#32464;?#37721;細鏄?#32448;鸿繖涓?#32480;?#28000;剁殑?#20426;鎭?#38171;屽绠?#38316;撶瓑绾?#38171;屾?#24877;枡鎻?#26473;?#37510;?/span>SKEY?#29905;銆?/span>

濡?#37835;?span style="font-family: Times New Roman;">IDF/PCF鏂?#28000;?#28051;?#37718;?#37722;?#37906;婄?#36891;俊鎭?#38171;?#37714;?#37721;互鏍?#37817;?#37906;婄?#36891;俊鎭?#37828;?#32448;?#32480;?#23048;?/span>SPOOL锛?#28051;?#37722;岀殑绠?#23048;?/span>SPOOL鏄?#32448;?#37713;?#28051;?#37722;岀殑棰滆壊锛?/span>

 


涓?#27996;?#37826;?#28186;垮瀹?#37734;?#32457;诲姩绔?#28052;?#38003;?#37930;嬪埌鎴戠殑鍗?#37826;囧?#23683;璁轰氦娴?#38171;?#37916;板凡娉?#37712;屽井?#20426;鍏紬鍙?#38171;?#23046;?#26473;?#28598;?#28729;舵鎻?#28051;?#37826;逛簩缁寸爜鍏?#23049;?#37510;?/h5> Shing Liu(eryar@163.com)



eryar 2018-09-11 22:17 鍙?#29723;?#29831;?#29825;?/a>
]]>OpenCASCADE瑙?#38344;?#32510;?#37804;?#37826;圭缁?/title><link>http://www.9087120.com/eryar/archive/2018/09/06/FunctionSet.html</link><dc:creator>eryar</dc:creator><author>eryar</author><pubDate>Thu, 06 Sep 2018 13:20:00 GMT</pubDate><guid>http://www.9087120.com/eryar/archive/2018/09/06/FunctionSet.html</guid><wfw:comment>http://www.9087120.com/eryar/comments/215910.html</wfw:comment><comments>http://www.9087120.com/eryar/archive/2018/09/06/FunctionSet.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.9087120.com/eryar/comments/commentRss/215910.html</wfw:commentRss><trackback:ping>http://www.9087120.com/eryar/services/trackbacks/215910.html</trackback:ping><description><![CDATA[<h1 style="text-align: center;">OpenCASCADE<span style="font-family: 瀹嬩綋;">瑙?#38344;?#32510;?#37804;?#37826;圭缁?/span></h1> <p class="p0" style="text-align: center;">eryar@163.com</p> <p class="p0"> </p> <p class="p0"><strong>Abstract.</strong> <span style="font-family: 瀹嬩綋;">鍦?#32457;?#28699;?#37814;鏈?#26864;嗗煙閲屽?#31295;父鎻?#37713;?#23033;?#29785;?#38344;?#32510;?#37804;?#37826;圭缁勭殑闂?#26864;?#38171;?#28186;嬪锛?#37922;?#38344;?#32510;?#37804;?#37713;?#37825;版?#29111;悎瀹為?#23678;暟鎹?#38338;?#26864;?#37510;?#38344;?#32510;?#37804;?#32515;?#32513;?#38338;?#26864;?#37510;?#37713;犱綍涓婄殑?#27960;绾挎洸闈?#23033;備氦闂?#26864;樼瓑銆?/span><span style="font-family: Times New Roman;">OpenCASCADE</span><span style="font-family: 瀹嬩綋;">涓?#37832;?#37711;?#27996;?#38344;?#32510;?#37804;?#37826;圭缁?#28729;?#28052;夌殑绫?#37721;婂叾姹?#29785;?#32491;?#38171;屾湰鏂?#28051;昏浠?#32513;?#28641;備綍鍦?/span><span style="font-family: Times New Roman;">OpenCASCADE</span><span style="font-family: 瀹嬩綋;">涓?#28729;?#28052;?#38344;?#32510;?#37804;?#37826;圭缁?#38171;屽?#23106;?#29808;叾杩?#29723;?#23033;?#29785;?#37510;?/span></p> <p class="p0"><strong>Key Words.</strong> Function Set, Function Set Root, Newton Raphson Algorithm</p> <h3 class="p0">1.Introduction</h3> <p class="p0">鍦?#32457;?#28699;?#37814;鏈?#26864;嗗煙閲屽?#31295;父鎻?#37713;?#23033;?#29785;?#38344;?#32510;?#37804;?#37826;圭缁勭殑闂?#26864;?#38171;?#28186;嬪锛?#37922;?#38344;?#32510;?#37804;?#37713;?#37825;版?#29111;悎瀹為?#23678;暟鎹?#38338;?#26864;?#37510;?#38344;?#32510;?#37804;?#32515;?#32513;?#38338;?#26864;樼瓑銆傚湪鍑犱綍閫犲瀷涓?#23536;?#28598;氶棶棰?#28052;?#37721;互鍒?#37922;?#38344;?#32510;?#37804;?#37826;圭缁?#37833;?#29785;喅銆傚?#20635;洸绾跨殑鍏?#26916;?#38171;屾洸绾?#23033;備氦銆佹洸闈?#23033;備氦銆?span style="font-family: Times New Roman;">Blend</span><span style="font-family: 瀹嬩綋;">閫犲瀷闂?#26864;樼瓑銆?/span></p> <p class="p0">OpenCASCADE<span style="font-family: 瀹嬩綋;">鎻愪緵浜?#38344;?#32510;?#37804;?#37826;圭缁勭殑绫?/span><span style="font-family: Times New Roman;">math_FunctionSet</span><span style="font-family: 瀹嬩綋;">锛屽彲?#20114;鍏堜粠绫诲浘涓婃潵鐪?#37930;?#37832;夊摢浜?#32480;楁硶浣?#37922;?#27996;嗚繖涓?#32491;?#38171;?/span></p> <p class="p0"> <img alt="" src="https://images2018.cnblogs.com/blog/534255/201809/534255-20180906211233569-362384595.png" /> </p> <p class="p0">鍥? ?#27960;绾垮厜椤?#37718;匜aireCurve</p> <p class="p0"> <img alt="" src="https://images2018.cnblogs.com/blog/534255/201809/534255-20180906211242396-1305470757.png" /></p> <p class="p0">鍥? Blending Surface between two surfaces</p> <p class="p0">鎰?#37711;磋叮?#27537;鍚?#28699;?#37721;互鑷?#23480;?#37813;撳紑OpenCASCADE?#27537;绫荤寮曟枃浠舵煡鐪?#37510;傚彲?#20114;鐪嬪?#26495;緢澶?#32480;楁?#26335;秹鍙?#37714;?#37826;圭缁勭殑姹?#29785;?#38338;?#26864;?#37510;?#37832;?#37826;?#28051;昏浠?#32513;?#28641;備綍瀹?#28052;?#38344;?#32510;?#37804;?#37826;圭缁勫?#23106;?#29808;叾杩?#29723;?#23033;?#29785;?#37510;傜悊瑙繖浜?#28610;楄矾?#24727;锛屽math_FunctionSet?#27977;鍏崇殑娲?#37922;?#32491;?#37721;婂叾鐢?#37922;?#38315;斿氨?#32048;鏈?#28051;?#23059;?#37829;扮殑璁?#29831;?#38171;?#28186;?#27996;?#28725;?#23143;愮爜?#27537;鐞?#29785;?#37510;?/p> <h3 class="p0">2.Function Set Definition</h3> <p class="p0">璁?#37832;?#38344;?#32510;?#37804;?#37826;圭缁?/p> <p class="p0"> <img alt="" src="https://images2018.cnblogs.com/blog/534255/201809/534255-20180906211302686-890332092.png" /></p> <p class="p0">涓?#28729;?#37721;?#38322;忕殑闈?#32510;?#37826;圭鍑?#37825;?#37510;傚紩鍏?#37722;?#38322;忓舰寮?#29723;?#32448;?#38171;屽紩杩?#29825;?#37721;?#38171;?/p> <p class="p0"> <img alt="" src="https://images2018.cnblogs.com/blog/534255/201809/534255-20180906211318237-1985007063.png" /></p> <p class="p0">浜?#37828;?#38344;?#32510;?#37804;?#37826;圭缁勫彲?#20114;绠鍗?#29825;?#28003;?#38171;?span style="font-family: Times New Roman;">F(x)=0</span><span style="font-family: 瀹嬩綋;">銆?#37812;戜滑?#27537;闂?#26864;?#37828;?#28725;?#23033;?/span><span style="font-family: Times New Roman;">X</span><span style="font-family: 瀹嬩綋;">浣?/span><span style="font-family: Times New Roman;">F(X)=0</span><span style="font-family: 瀹嬩綋;">锛岃繖涓?/span><span style="font-family: Times New Roman;">X</span><span style="font-family: 瀹嬩綋;">?#27688;鏄?#38344;?#32510;?#37804;?#37826;圭缁勭殑瑙?#37510;?/span></p> <p class="p0">OpenCASCADE<span style="font-family: 瀹嬩綋;">涓?#28003;?#37922;?#32491;?/span><span style="font-family: Times New Roman;">math_FunctionSet</span><span style="font-family: 瀹嬩綋;">鏉?#29723;?#32448;?#37826;圭缁?#38171;岃繖鏄?#28051;?#37814;借薄绫?#38171;?#28729;?#28052;?#27996;嗗?#20633;笅绾?#38095;氬嚱鏁?#38171;?/span></p> <p class="p0">l NbVariables()<span style="font-family: 瀹嬩綋;">锛氬彉閲忕殑涓?#37825;?#38171;?#37719;?#37832;煡閲忕殑涓?#37825;?#38171;?/span></p> <p class="p0">l NbEquations()<span style="font-family: 瀹嬩綋;">锛?#37826;圭?#23340;殑涓?#37825;?#38171;?#37719;?#37826;圭缁?#28051;?#37832;?#37713;犱釜鏂圭锛?/span></p> <p class="p0">l Value(const math_Vector&X, math_Vector& F)<span style="font-family: 瀹嬩綋;">锛?#37826;圭缁勭殑鍊?#38171;?#37719;充唬鍏?#37721;?#38322;忔瘡涓?#37826;圭?#23340;殑鍊?#38171;?/span></p> <h3 class="p0">3.Function Set Root Algorithm</h3> <p class="p0">瑙?#38344;?#32510;?#37804;?#37826;圭缁勭殑鐗?#26916;挎?#26334;拰瑙?#37826;圭?#23338;紡?#27537;鎬濊矾涓鏍?#38171;岃姹?#37826;圭鏈?#28051;闃跺鏁?#37510;傝?#38344;?#32510;?#37804;?#37826;圭缁?#37719;?#37828;?#29781;?#23033;?#37832;夊亸瀵?#37825;?#37510;?#37922;?span style="font-family: Times New Roman;">fi(x)</span><span style="font-family: 瀹嬩綋;">鍋?#28725;?#37825;?#28003;?#37812;愮殑?#29033;闃?#29825;?#28051;?/span><span style="font-family: Times New Roman;">J(x)</span><span style="font-family: 瀹嬩綋;">鎴?/span><span style="font-family: Times New Roman;">F</span>’(x)<span style="font-family: 瀹嬩綋;">锛?#32457;?#28051;?/span><span style="font-family: Times New Roman;">F(x)</span><span style="font-family: 瀹嬩綋;">?#27537;</span><span style="font-family: Times New Roman;">Jacobi</span><span style="font-family: 瀹嬩綋;">?#29033;闃?#38171;?/span></p> <p class="p0"> <img alt="" src="https://images2018.cnblogs.com/blog/534255/201809/534255-20180906211340847-1208606963.png" /></p> <p class="p0">姹?#29785;?#38344;?#32510;?#37804;?#37826;圭缁勭殑鐗?#26916;挎硶涓?#38171;?/p> <p class="p0"> <img alt="" src="https://images2018.cnblogs.com/blog/534255/201809/534255-20180906211354299-779455022.png" /></p> <p class="p0">?#21502;涓?span style="font-family: Times New Roman;">x</span><sup>k</sup>涓?#37826;圭绾跨殑杩戜技瑙?#37722;?#38322;?#37510;?/p> <p class="p0"> </p> <p class="p0">OpenCASCADE<span style="font-family: 瀹嬩綋;">涓?#28052;?#37819;愪緵浜?#38344;?#32510;?#37804;?#37826;圭缁勭殑姹?#29785;?#32491;?#38171;屽锛?/span><span style="font-family: Times New Roman;">math_FunctionSetRoot</span><span style="font-family: 瀹嬩綋;">锛?/span><span style="font-family: Times New Roman;">math_NewtonFunctionSetRoot</span><span style="font-family: 瀹嬩綋;">銆傝?#28003;?#37922;繖浜?#32491;荤殑杈撳叆閮?#37828;?#29781;?#23033;傚叿鏈?#28051;闃跺亸瀵?#37825;扮殑绾?#37804;?#37826;圭缁勭殑瀹?#28052;?/span><span style="font-family: Times New Roman;">math_FunctionSetWithDerivaties</span><span style="font-family: 瀹嬩綋;">銆傝繖涓?#32491;?#28729;?#28052;?#27996;嗗叿鏈?#28051;闃跺亸瀵?#37825;扮殑闈?#32510;?#37804;?#37826;圭缁?#38171;屽叾绾?#38095;氬嚱鏁伴櫎浜嗗墠闈?#29831;?#37828;庣殑鍑犱釜?#20114;澶?#38171;岃繕澧?#37716;犱?#21975;?#20633;笅涓?#28051;?#38171;?/span></p> <p class="p0">l Derivatives(const math_Vector& X, math_Matrix& D)<span style="font-family: 瀹嬩綋;">锛?#28051;闃跺亸瀵?#37825;板?#38171;?#37719;?#29825;?#32480;?/span><span style="font-family: Times New Roman;">Jacobi</span><span style="font-family: 瀹嬩綋;">?#29033;闃?#38171;?/span></p> <p class="p0">l Values(const math_Vector& X, math_Vector& F, math_Matrix& D)<span style="font-family: 瀹嬩綋;">锛氳绠楁?#22317;?#23340;殑鍊?#37721;?#28051;闃跺亸瀵?#37825;扮煩闃?/span><span style="font-family: Times New Roman;">Jacobi</span><span style="font-family: 瀹嬩綋;">?#29033;闃?#37510;?/span></p> <h3 class="p0">4.Code Example</h3> <p class="p0">涓?#38344;?#32513;?#37713;?#28051;涓?#37711;蜂綋?#27537;渚嬪?#24877;潵璇?#37828;庤繖浜?#32491;荤殑鐢?#23049;?#37510;?#29825;?#37832;?#38344;?#32510;?#37804;?#37826;圭缁?#38171;?/p> <p class="p0"> <img alt="" src="https://images2018.cnblogs.com/blog/534255/201809/534255-20180906211416852-509849077.png" /></p> <p class="p0">浠?#37713;犱綍涓婄?#23338;叾瑙氨鏄渾蹇?#37734;師鐐?#38171;?#37719;婂緞涓?span style="font-family: Times New Roman;">2</span><span style="font-family: 瀹嬩綋;">?#27537;?#28222;涓庢洸绾跨殑?#27686;鐐?#38171;?/span></p> <p class="p0"> <img alt="" src="https://images2018.cnblogs.com/blog/534255/201809/534255-20180906211428165-799282376.png" /></p> <p class="p0">鍥?span style="font-family: Times New Roman;">3 </span><span style="font-family: 瀹嬩綋;">?#28222;涓庢洸绾?#23033;備氦</span></p> <p class="p0">涓?#38344;?#37812;戜滑浣?#37922;?span style="font-family: Times New Roman;">OpenCASCADE</span><span style="font-family: 瀹嬩綋;">鏉?#28725;?#28051;?#26473;伴棶棰?#26473;?#29723;?#23033;?#29785;?#37510;傞鍏?#28729;?#28052;夎繖涓?#38344;?#32510;?#37804;?#37826;圭缁?#38171;?/span> <br /><br /></p><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #000000; ">#include </span><span style="color: #000000; "><</span><span style="color: #000000; ">math_FunctionSet.hxx</span><span style="color: #000000; ">></span><span style="color: #000000; "><br />#include </span><span style="color: #000000; "><</span><span style="color: #000000; ">math_FunctionSetWithDerivatives.hxx</span><span style="color: #000000; ">></span><span style="color: #000000; "><br />#include </span><span style="color: #000000; "><</span><span style="color: #000000; ">math_FunctionSetRoot.hxx</span><span style="color: #000000; ">></span><span style="color: #000000; "><br />#pragma comment(lib, </span><span style="color: #000000; ">"</span><span style="color: #000000; ">TKernel.lib</span><span style="color: #000000; ">"</span><span style="color: #000000; ">)<br />#pragma comment(lib, </span><span style="color: #000000; ">"</span><span style="color: #000000; ">TKMath.lib</span><span style="color: #000000; ">"</span><span style="color: #000000; ">)<br /></span><span style="color: #0000FF; ">class</span><span style="color: #000000; "> MyFunctionSet : </span><span style="color: #0000FF; ">public</span><span style="color: #000000; "> math_FunctionSetWithDerivatives<br />{<br /></span><span style="color: #0000FF; ">public</span><span style="color: #000000; ">:<br />    </span><span style="color: #0000FF; ">virtual</span><span style="color: #000000; "> Standard_Integer NbVariables() </span><span style="color: #0000FF; ">const</span><span style="color: #000000; "><br />    {<br />        </span><span style="color: #0000FF; ">return</span><span style="color: #000000; "> </span><span style="color: #000000; ">2</span><span style="color: #000000; ">;<br />    }<br />    </span><span style="color: #0000FF; ">virtual</span><span style="color: #000000; "> Standard_Integer NbEquations() </span><span style="color: #0000FF; ">const</span><span style="color: #000000; "><br />    {<br />        </span><span style="color: #0000FF; ">return</span><span style="color: #000000; "> </span><span style="color: #000000; ">2</span><span style="color: #000000; ">;<br />    }<br />    </span><span style="color: #0000FF; ">virtual</span><span style="color: #000000; "> Standard_Boolean Value(</span><span style="color: #0000FF; ">const</span><span style="color: #000000; "> math_Vector</span><span style="color: #000000; ">&</span><span style="color: #000000; "> X, math_Vector</span><span style="color: #000000; ">&</span><span style="color: #000000; "> F)<br />    {<br />        F(</span><span style="color: #000000; ">1</span><span style="color: #000000; ">) </span><span style="color: #000000; ">=</span><span style="color: #000000; "> X(</span><span style="color: #000000; ">1</span><span style="color: #000000; ">) </span><span style="color: #000000; ">*</span><span style="color: #000000; "> X(</span><span style="color: #000000; ">1</span><span style="color: #000000; ">) </span><span style="color: #000000; ">+</span><span style="color: #000000; "> X(</span><span style="color: #000000; ">2</span><span style="color: #000000; ">) </span><span style="color: #000000; ">*</span><span style="color: #000000; "> X(</span><span style="color: #000000; ">2</span><span style="color: #000000; ">) </span><span style="color: #000000; ">-</span><span style="color: #000000; "> </span><span style="color: #000000; ">4.0</span><span style="color: #000000; ">;<br />        F(</span><span style="color: #000000; ">2</span><span style="color: #000000; ">) </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Pow(M_E, X(</span><span style="color: #000000; ">1</span><span style="color: #000000; ">)) </span><span style="color: #000000; ">+</span><span style="color: #000000; "> X(</span><span style="color: #000000; ">2</span><span style="color: #000000; ">) </span><span style="color: #000000; ">-</span><span style="color: #000000; "> </span><span style="color: #000000; ">1.0</span><span style="color: #000000; ">;<br />        </span><span style="color: #0000FF; ">return</span><span style="color: #000000; "> Standard_True;<br />    }<br />    </span><span style="color: #0000FF; ">virtual</span><span style="color: #000000; "> Standard_Boolean Derivatives(</span><span style="color: #0000FF; ">const</span><span style="color: #000000; "> math_Vector</span><span style="color: #000000; ">&</span><span style="color: #000000; "> X, math_Matrix</span><span style="color: #000000; ">&</span><span style="color: #000000; "> D)<br />    {<br />        </span><span style="color: #008000; ">//</span><span style="color: #008000; "> matrix D is Jacobi matrix.</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">        D(</span><span style="color: #000000; ">1</span><span style="color: #000000; ">, </span><span style="color: #000000; ">1</span><span style="color: #000000; ">) </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #000000; ">2.0</span><span style="color: #000000; "> </span><span style="color: #000000; ">*</span><span style="color: #000000; "> X(</span><span style="color: #000000; ">1</span><span style="color: #000000; ">);<br />        D(</span><span style="color: #000000; ">1</span><span style="color: #000000; ">, </span><span style="color: #000000; ">2</span><span style="color: #000000; ">) </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #000000; ">2.0</span><span style="color: #000000; "> </span><span style="color: #000000; ">*</span><span style="color: #000000; "> X(</span><span style="color: #000000; ">2</span><span style="color: #000000; ">);<br />        D(</span><span style="color: #000000; ">2</span><span style="color: #000000; ">, </span><span style="color: #000000; ">1</span><span style="color: #000000; ">) </span><span style="color: #000000; ">=</span><span style="color: #000000; "> Pow(M_E, X(</span><span style="color: #000000; ">1</span><span style="color: #000000; ">));<br />        D(</span><span style="color: #000000; ">2</span><span style="color: #000000; ">, </span><span style="color: #000000; ">2</span><span style="color: #000000; ">) </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #000000; ">1.0</span><span style="color: #000000; ">;<br />        </span><span style="color: #0000FF; ">return</span><span style="color: #000000; "> Standard_True;<br />    }<br />    </span><span style="color: #0000FF; ">virtual</span><span style="color: #000000; "> Standard_Boolean Values(</span><span style="color: #0000FF; ">const</span><span style="color: #000000; "> math_Vector</span><span style="color: #000000; ">&</span><span style="color: #000000; "> X, math_Vector</span><span style="color: #000000; ">&</span><span style="color: #000000; "> F, math_Matrix</span><span style="color: #000000; ">&</span><span style="color: #000000; "> D)<br />    {<br />        Value(X, F);<br />        Derivatives(X, D);<br />        </span><span style="color: #0000FF; ">return</span><span style="color: #000000; "> Standard_True;<br />    }<br /></span><span style="color: #0000FF; ">private</span><span style="color: #000000; ">:<br />};<br /></span><span style="color: #0000FF; ">void</span><span style="color: #000000; "> test()<br />{<br />    MyFunctionSet aFunctionSet;<br />    math_FunctionSetRoot aSolver(aFunctionSet);<br />    math_Vector aStartingPoint(</span><span style="color: #000000; ">1</span><span style="color: #000000; ">, </span><span style="color: #000000; ">2</span><span style="color: #000000; ">);<br />    </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 1. (1.0, 1.0)</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    aStartingPoint(</span><span style="color: #000000; ">1</span><span style="color: #000000; ">) </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #000000; ">1.0</span><span style="color: #000000; ">;<br />    aStartingPoint(</span><span style="color: #000000; ">2</span><span style="color: #000000; ">) </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #000000; ">1.0</span><span style="color: #000000; ">;<br />    aSolver.Perform(aFunctionSet, aStartingPoint);<br />    </span><span style="color: #0000FF; ">if</span><span style="color: #000000; "> (aSolver.IsDone())<br />    {<br />        aSolver.Dump(std::cout);<br />    }<br />    </span><span style="color: #008000; ">//</span><span style="color: #008000; "> 2. (1.0, -1.0)</span><span style="color: #008000; "><br /></span><span style="color: #000000; ">    aStartingPoint(</span><span style="color: #000000; ">1</span><span style="color: #000000; ">) </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #000000; ">1.0</span><span style="color: #000000; ">;<br />    aStartingPoint(</span><span style="color: #000000; ">2</span><span style="color: #000000; ">) </span><span style="color: #000000; ">=</span><span style="color: #000000; "> </span><span style="color: #000000; ">-</span><span style="color: #000000; ">1.0</span><span style="color: #000000; ">;<br />    aSolver.Perform(aFunctionSet, aStartingPoint);<br />    </span><span style="color: #0000FF; ">if</span><span style="color: #000000; "> (aSolver.IsDone())<br />    {<br />        aSolver.Dump(std::cout);<br />    }<br />}<br /></span><span style="color: #0000FF; ">int</span><span style="color: #000000; "> main(</span><span style="color: #0000FF; ">int</span><span style="color: #000000; "> argc, </span><span style="color: #0000FF; ">char</span><span style="color: #000000; ">*</span><span style="color: #000000; "> argv[])<br />{<br />    test();<br />    </span><span style="color: #0000FF; ">return</span><span style="color: #000000; "> </span><span style="color: #000000; ">0</span><span style="color: #000000;">;<br />}</span></div><div class="cnblogs_code"><pre><strong></strong><em></em><u></u><sub></sub><sup></sup><strike></strike><br /></pre></div><p>涓?#26473;颁唬?#29212;鍏?#28729;?#28052;?#27996;嗗甫鏈?#28051;闃跺亸瀵?#37825;扮殑闈?#32510;?#37804;?#37826;圭缁?#32491;?#38171;?span style="font-family: Times New Roman;">MyFunctionSet</span><span style="font-family: 瀹嬩綋;">锛屽?#29361;负鏈?#28051;?#28051;?#37721;?#38322;?#37721;?#28051;?#28051;?#37826;圭锛屽啀鍒?#37714;?#28729;?#37916;?#29825;?#32480;楁?#22317;?#23338;?#37721;婂亸瀵?#37825;扮殑铏氬嚱鏁?#37510;?/span></p> <p class="p0">鐒跺?#24221;娇鐢?#32491;?span style="font-family: Times New Roman;">math_FunctionSetRoot</span><span style="font-family: 瀹嬩綋;">鏉?#28725;?#37826;圭缁?#26473;?#29723;?#23033;?#29785;?#38171;?#23033;?#29785;殑缁?#37835;?#28641;備?#23338;?#28844;墍绀?#38171;?/span></p> <p class="p0"> <img alt="" src="https://images2018.cnblogs.com/blog/534255/201809/534255-20180906211514313-2040000280.png" /></p> <p class="p0">鍥?span style="font-family: Times New Roman;">4 </span><span style="font-family: 瀹嬩綋;">闈?#32510;?#37804;?#37826;圭缁?#23033;?#29785;?#32513;?#37835;?/span></p> <p class="p0">鐢?#37733;?span style="font-family: Times New Roman;">3</span><span style="font-family: 瀹嬩綋;">鍙煡锛?#28051;?#28051;洸绾跨浉?#27686;鏈?#28051;?#28051;氦鐐?#38171;?#28003;?#37828;?#28003;?#37922;?#32491;?/span><span style="font-family: Times New Roman;">math_FunctionSetRoot</span><span style="font-family: 瀹嬩綋;">涓娆?#37721;?#38003;?#29825;?#32480;?#28051;涓?#29785;?#37510;備?#24225;浘</span><span style="font-family: Times New Roman;">4</span><span style="font-family: 瀹嬩綋;">?#27537;璁?#32480;?#32513;?#37835;?#26473;?#37721;互鐪?#37713;?#38171;?#37714;濆肩殑閫夋嫨瀵?#29785;殑褰卞搷寰?#28598;?#38171;屾棦褰卞搷璁?#32480;?#32513;?#37835;?#38171;?#28052;?#35120;卞搷杩唬娆?#37825;?#37510;?/span></p> <h3 class="p0"> 5.Conclusion</h3> <p class="p0">缁?#28051;婃墍杩?#38171;?span style="font-family: Times New Roman;">OpenCASCADE</span><span style="font-family: 瀹嬩綋;">?#27537;</span><span style="font-family: Times New Roman;">math</span><span style="font-family: 瀹嬩綋;">宸?#37711;?#32480;?#28051;?#37819;愪緵浜?#37826;圭缁勭殑瀹?#28052;?#37510;?#23033;?#29785;姛鑳?#37510;傚叾涓?#28725;?#38344;?#32510;?#37804;?#37826;圭缁?#23033;?#29785;?#28003;?#37922;殑鏄?/span><span style="font-family: Times New Roman;">Newton</span><span style="font-family: 瀹嬩綋;">杩唬娉?#38171;屾墍?#20114;瑕?#23033;?#37826;圭缁勫繀椤?#28729;?#37916;?#29825;?#32480;?#28051;闃跺亸瀵?#37825;扮殑铏氬嚱鏁?#38171;?#37719;?#29825;?#32480;?/span><span style="font-family: Times New Roman;">Jacobi</span><span style="font-family: 瀹嬩綋;">?#29033;闃?#37510;?/span></p> <p class="p0">浠?span style="font-family: Times New Roman;">OpenCASCADE</span><span style="font-family: 瀹嬩綋;">绫诲浘涓?#37721;互鐪?#37713;?#38171;屾?#22317;缁?#28729;?#28052;?#32491;?#37922;?#37734;?#27996;嗗緢澶氬湴鏂?#38171;屾墍?#20114;鐞?#29785;?#28051;?#26473;板鏂圭缁勭殑瀹?#28052;?#37721;?#29785;殑鐢?#23049;?#38171;屽?#29808;叾?#31916;浣?#37922;繖涓?#23090;?#37922;?#32491;荤殑鍦?#37826;?#37831;?#28729;?#37828;撳叾婧愮爜銆?/span></p> <h3 class="p0"> 6.References</h3> <ol> <li>鍚屾祹澶?#28699;?#37825;?#28699;?#37825;欑爺瀹?span style="font-family: Times New Roman;">. </span><span style="font-family: 瀹嬩綋;">楂樼瓑鏁?#28699;?nbsp;绗洓鐗?/span><span style="font-family: Times New Roman;">. </span><span style="font-family: 瀹嬩綋;">楂樼瓑鏁欒偛鍑?#37911;?#32448;?/span><span style="font-family: Times New Roman;">. 2004</span></li> <li>鏄撳涔?span style="font-family: Times New Roman;">, </span><span style="font-family: 瀹嬩綋;">娌?#27996;?#28729;?/span><span style="font-family: Times New Roman;">, </span><span style="font-family: 瀹嬩綋;">鏉?#37832;夋硶</span><span style="font-family: Times New Roman;">. </span><span style="font-family: 瀹嬩綋;">璁?#32480;楁柟娉?/span><span style="font-family: Times New Roman;">. </span><span style="font-family: 瀹嬩綋;">娴?#23033;?#28598;?#28699;?#37713;?#37911;?#32448;?/span><span style="font-family: Times New Roman;">. 2002</span></li> </ol> <p class="p0">  </p><div><div id="MySignature" style="background-color: transparent; color: #000000; display: block; font-family: &quot;Helvetica Neue&quot;,Helvetica,Verdana,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"><hr style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /> <h5>涓?#27996;?#37826;?#28186;垮瀹?#37734;?#32457;诲姩绔?#28052;?#38003;?#37930;嬪埌鎴戠殑鍗?#37826;囧?#23683;璁轰氦娴?#38171;?#37916;板凡娉?#37712;屽井?#20426;鍏紬鍙?#38171;?#23046;?#26473;?#28598;?#28729;舵鎻?#28051;?#37826;逛簩缁寸爜鍏?#23049;?#37510;?/h5> <img width="200" height="200" title="OpenCASCADE鍏紬鍙?#38171;氬紑鏀?鍒?#27996;?涔愯叮锛歄PEN-SHARE-FUN" style="background-image: none; border-bottom-color: #000000; border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: #000000; border-left-style: none; border-left-width: 0px; border-right-color: #000000; border-right-style: none; border-right-width: 0px; border-top-color: #000000; border-top-style: none; border-top-width: 0px; display: inline; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" alt="Shing Liu(eryar@163.com)" src="https://files.cnblogs.com/files/opencascade/qrcode_occ.gif" border="0" /> <hr style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" /></div><span style='display: inline !important; float: none; background-color: transparent; color: #000000; font-family: "Helvetica Neue",Helvetica,Verdana,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;'> </span><div style="background-color: transparent; clear: both; color: #000000; font-family: &quot;Helvetica Neue&quot;,Helvetica,Verdana,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"></div><span style='display: inline !important; float: none; background-color: transparent; color: #000000; font-family: "Helvetica Neue",Helvetica,Verdana,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;'> </span><div id="blog_post_info_block" style="background-color: transparent; color: #000000; font-family: &quot;Helvetica Neue&quot;,Helvetica,Verdana,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 20px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"> <div id="BlogPostCategory" style="color: #666666; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"></div></div></div><img src ="http://www.9087120.com/eryar/aggbug/215910.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.9087120.com/eryar/" target="_blank">eryar</a> 2018-09-06 21:20 <a href="http://www.9087120.com/eryar/archive/2018/09/06/FunctionSet.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;?#29825;?/a></div>]]></description></item><item><title>RvmTranslator6.4 is releasedhttp://www.9087120.com/eryar/archive/2018/09/05/RvmTranslator64.htmleryareryarWed, 05 Sep 2018 14:57:00 GMThttp://www.9087120.com/eryar/archive/2018/09/05/RvmTranslator64.htmlhttp://www.9087120.com/eryar/comments/215907.htmlhttp://www.9087120.com/eryar/archive/2018/09/05/RvmTranslator64.html#Feedback0http://www.9087120.com/eryar/comments/commentRss/215907.htmlhttp://www.9087120.com/eryar/services/trackbacks/215907.htmlRvmTranslator6.4 is released

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, .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 RvmTranslator6.4.

RvmTranslatoer6.4 is a minor release, which includes the following new features:

 

  1. Fix bugs

Fix the missing model bugs, and test by the Spooler and Stabilizer model:

 

2. Download RvmTrnaslator6.4

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

 

 



eryar 2018-09-05 22:57 鍙?#29723;?#29831;?#29825;?/a>
]]>
տ3
<center id="iceyg"><tr id="iceyg"></tr></center>
<noscript id="iceyg"></noscript>
<center id="iceyg"></center>
<noscript id="iceyg"></noscript>
<noscript id="iceyg"></noscript>
<center id="iceyg"><tr id="iceyg"></tr></center>
<noscript id="iceyg"></noscript>
<center id="iceyg"></center>
<noscript id="iceyg"></noscript>
<noscript id="iceyg"></noscript>