From eedaa35483f7ec40022854ebeb1fbe3d119b5854 Mon Sep 17 00:00:00 2001
From: tangxu <tangxu76880903>
Date: 星期一, 16 十二月 2024 13:55:32 +0800
Subject: [PATCH] 更新部分

---
 WinFrmUI/DPumpHydr.WinFrmUI.Volute/Occ/OccDesign2DCtrl.cs |   33 ++++++++++++++++++---------------
 1 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/Occ/OccDesign2DCtrl.cs b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/Occ/OccDesign2DCtrl.cs
index c4f9786..9a753b8 100644
--- a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/Occ/OccDesign2DCtrl.cs
+++ b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/Occ/OccDesign2DCtrl.cs
@@ -26,24 +26,27 @@
             bool bSucc = pDisplayView.BeginTurbopumpTopoShape(strTurbopumpTopoShapeName); 
         }
 
-        public HydrEngineCSharp.BcGePoint CreateOutflowBody()
+        public HydrEngineCSharp.BcGePoint CreateWaterBody()
         {
-            double dOuterOffset = theOffset;
-            double dOuterHigh = theHigh;
-            double dOuterRad = theRad;
-            if (CreateOutflowBodyConnect())
-            {
-                pDisplayView.build2DSegmentCurve(dOuterOffset, dOuterHigh, dOuterRad);// 75.660892, 283.1167
-                Invalidate(true);
-                pDisplayView.FitAll3DViews(true);
-                HydrEngineCSharp.BcGePoint thePt = pDisplayView.get2DSegmentInterPt();
+            //double dOuterOffset = theOffset;
+            //double dOuterHigh = theHigh;
+            //double dOuterRad = theRad;
+            //if (CreateOutflowBodyConnect())
+            //{
+            //    //pDisplayView.build2DSegmentCurve(dOuterOffset, dOuterHigh, dOuterRad);// 75.660892, 283.1167
+            //    //Invalidate(true);
+            //    //pDisplayView.FitAll3DViews(true);
+            //    //HydrEngineCSharp.BcGePoint thePt = pDisplayView.get2DSegmentInterPt();
 
-                //pDisplayView.buildVoluteOuterSolid(wstrShapeNameI, m_dTopValue, m_dBtmValue);
 
-                //pDisplayView.FitAll3DViews(true);
-                return thePt;
-            }
-
+            //    return thePt;
+            //}
+            //HydrEngineCSharp.BcGePoint theMidCurveFilletPtOnBase = new HydrEngineCSharp.BcGePoint();
+            //HydrEngineCSharp.BcGePoint theMidCurveFilletPtOnOuter = new HydrEngineCSharp.BcGePoint();
+            //this.pDisplayView.CreateWaterBody(theMidCurveFilletPtOnBase, theMidCurveFilletPtOnOuter);
+            //theMidCurveFilletPtOnBase = this.pDisplayView.get2DMidCurveFilletPtOnBase();
+            //theMidCurveFilletPtOnOuter = this.pDisplayView.get2DMidCurveFilletPtOnOuter();
+            ////this.pDisplayView3d.CreateWaterBody(theMidCurveFilletPtOnBase, theMidCurveFilletPtOnOuter);
             return null;
 
             //Invalidate(true);

--
Gitblit v1.9.3