mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-28 09:30:34 +05:00
0022414: [CEA 1010] Regressio on tests bug_763_netgen_1d_2d.py
+ from salome.smesh.smeshBuilder import Mesh
This commit is contained in:
parent
21734f0253
commit
1faf00f679
@ -693,7 +693,7 @@ class StdMeshersBuilder_Projection1D(Mesh_Algorithm):
|
|||||||
# @param UseExisting if ==true - searches for the existing hypothesis created with
|
# @param UseExisting if ==true - searches for the existing hypothesis created with
|
||||||
# the same parameters, else (default) - creates a new one
|
# the same parameters, else (default) - creates a new one
|
||||||
def SourceEdge(self, edge, mesh=None, srcV=None, tgtV=None, UseExisting=0):
|
def SourceEdge(self, edge, mesh=None, srcV=None, tgtV=None, UseExisting=0):
|
||||||
from salome.smesh.smeshBuilder import AssureGeomPublished
|
from salome.smesh.smeshBuilder import AssureGeomPublished, Mesh
|
||||||
AssureGeomPublished( self.mesh, edge )
|
AssureGeomPublished( self.mesh, edge )
|
||||||
AssureGeomPublished( self.mesh, srcV )
|
AssureGeomPublished( self.mesh, srcV )
|
||||||
AssureGeomPublished( self.mesh, tgtV )
|
AssureGeomPublished( self.mesh, tgtV )
|
||||||
@ -853,6 +853,7 @@ class StdMeshersBuilder_Projection3D(Mesh_Algorithm):
|
|||||||
# seems to be not really useful to reuse existing "SourceShape3D" hypothesis
|
# seems to be not really useful to reuse existing "SourceShape3D" hypothesis
|
||||||
#UseExisting=UseExisting, CompareMethod=self.CompareSourceShape3D)
|
#UseExisting=UseExisting, CompareMethod=self.CompareSourceShape3D)
|
||||||
hyp.SetSource3DShape( solid )
|
hyp.SetSource3DShape( solid )
|
||||||
|
from salome.smesh.smeshBuilder import Mesh
|
||||||
if isinstance(mesh, Mesh):
|
if isinstance(mesh, Mesh):
|
||||||
mesh = mesh.GetMesh()
|
mesh = mesh.GetMesh()
|
||||||
if mesh:
|
if mesh:
|
||||||
|
Loading…
Reference in New Issue
Block a user