From 75263eb2d74528acf0086ddf2d8eab89fcecd8fb Mon Sep 17 00:00:00 2001 From: chenn <gu.beic@qq.com> Date: 星期四, 27 三月 2025 18:31:57 +0800 Subject: [PATCH] 直线圆弧修改 --- WinFrmUI/DPumpHydr.WinFrmUI.Volute/Occ/OccDesignBaseCtrl.cs | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/Occ/OccDesignBaseCtrl.cs b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/Occ/OccDesignBaseCtrl.cs index 8668ddf..1a99f0e 100644 --- a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/Occ/OccDesignBaseCtrl.cs +++ b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/Occ/OccDesignBaseCtrl.cs @@ -411,6 +411,7 @@ } else { + MessageBox.Show(theToolTips.GetToolTips(), "提示"); return false; } } @@ -439,6 +440,7 @@ } else { + MessageBox.Show(theToolTips.GetToolTips(), "提示"); return false ; } } @@ -458,9 +460,11 @@ if (pDisplayView.hasBuildThicknessBody()) pDisplayView.ClearTopoShape(TopoTypeDisplay.EThicknessBody); var tt = pDisplayView.buildWaterBody(theHydrProperties, pHydrGeomCurve); + if (tt.GetTipsId() != 1) + { + } Invalidate(true); pDisplayView.FitAll3DViews(true); - return tt; } public HydrEngineCSharp.ToolTips Create3DWaterBody(HydrEngineCSharp.WaterBodyOuterArcParam pHydrGeomArcCurve) @@ -478,9 +482,13 @@ if (pDisplayView.hasBuildThicknessBody()) pDisplayView.ClearTopoShape(TopoTypeDisplay.EThicknessBody); var tt = pDisplayView.buildWaterBody(theHydrProperties, pHydrGeomArcCurve); + if (tt.GetTipsId() != 1) + { + } Invalidate(true); pDisplayView.FitAll3DViews(true); + return tt; } public HydrEngineCSharp.ToolTips Edit3DWaterBody(HydrEngineCSharp.WaterBodyOuterSpParam pHydrGeomCurve) @@ -495,7 +503,7 @@ return null; if (tt.GetTipsId() != 1) { - + MessageBox.Show(tt.GetToolTips(), "提示"); } Invalidate(true); @@ -514,7 +522,7 @@ return null; if (tt.GetTipsId() != 1) { - + MessageBox.Show(tt.GetToolTips(), "提示"); } Invalidate(true); -- Gitblit v1.9.3