Salome HOME
projects
/
plugins
/
blsurfplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
488f48c
)
bos #16292 [CEA 6719] MGCADSurf: option SetEnforced1D mesh
V9_9_0a1
V9_9_0a2
V9_9_0b1
author
eap
<eap@opencascade.com>
Fri, 25 Feb 2022 09:41:39 +0000
(12:41 +0300)
committer
eap
<eap@opencascade.com>
Fri, 25 Feb 2022 09:41:39 +0000
(12:41 +0300)
Automatically compute the enforced mesh
src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx
patch
|
blob
|
history
diff --git
a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx
b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx
index 3ff30d9f0a1a77a86eef67be04a6b5008423a7e9..9d0ce4db69465ff43cd7754127b576648581e4a2 100644
(file)
--- a/
src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx
+++ b/
src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx
@@
-1001,6
+1001,8
@@
BLSURFPlugin_Hypothesis::GetEnforcedSegments( const EnforcedMesh& enfMesh,
if (( mesh = SMESH_Hypothesis::GetMeshByPersistentID( enfMesh._meshID )))
{
mesh->Load();
+ if ( mesh->NbEdges() == 0 )
+ GetGen()->Compute( *mesh, mesh->GetShapeToMesh(), /*flags=*/0 );
switch( enfMesh._type )
{