tangxu
2024-12-16 eedaa35483f7ec40022854ebeb1fbe3d119b5854
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);