output ="EDGE"
dim ="1">
<python-wrap>
- <algo>CompositeSegment_1D=Segment(algo=smesh.COMPOSITE)</algo>
+ <algo>CompositeSegment_1D=Segment(algo=smeshDC.COMPOSITE)</algo>
<hypo>LocalLength=LocalLength(SetLength(), ,SetPrecision())</hypo>
<hypo>MaxLength=MaxSize(SetLength())</hypo>
<hypo>Arithmetic1D=Arithmetic1D(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
output="EDGE"
dim="1">
<python-wrap>
- <algo>Python_1D=Segment(algo=smesh.PYTHON)</algo>
+ <algo>Python_1D=Segment(algo=smeshDC.PYTHON)</algo>
<hypo>PythonSplit1D=PythonSplit1D(SetNumberOfSegments(),SetPythonLog10RatioFunction())</hypo>
</python-wrap>
</algorithm>
output ="TRIA"
dim ="2">
<python-wrap>
- <algo>MEFISTO_2D=Triangle(algo=smesh.MEFISTO)</algo>
+ <algo>MEFISTO_2D=Triangle(algo=smeshDC.MEFISTO)</algo>
<hypo>LengthFromEdges=LengthFromEdges()</hypo>
<hypo>MaxElementArea=MaxElementArea(SetMaxElementArea())</hypo>
<hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
output ="QUAD"
dim ="2">
<python-wrap>
- <algo>Quadrangle_2D=Quadrangle(algo=smesh.QUADRANGLE)</algo>
+ <algo>Quadrangle_2D=Quadrangle(algo=smeshDC.QUADRANGLE)</algo>
<hypo>QuadrangleParams=QuadrangleParameters(SetQuadType(),SetTriaVertex())</hypo>
<hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
</python-wrap>
opt-hypos="ViscousLayers"
dim ="3">
<python-wrap>
- <algo>Hexa_3D=Hexahedron(algo=smesh.Hexa)</algo>
+ <algo>Hexa_3D=Hexahedron(algo=smeshDC.Hexa)</algo>
<hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreFaces())</hypo>
</python-wrap>
</algorithm>
output ="QUAD,TRIA"
dim ="2">
<python-wrap>
- <algo>RadialQuadrangle_1D2D=Quadrangle(algo=smesh.RADIAL_QUAD)</algo>
+ <algo>RadialQuadrangle_1D2D=Quadrangle(algo=smeshDC.RADIAL_QUAD)</algo>
<hypo>NumberOfLayers2D=NumberOfLayers(SetNumberOfLayers())</hypo>
</python-wrap>
</algorithm>
aScript += helper + "aFilterManager = " + aSMESHGen + ".CreateFilterManager()\n\t";
aScript += helper + "aMeasurements = " + aSMESHGen + ".CreateMeasurements()\n\t";
if ( isPublished )
- aScript += aSMESHGen + ".SetCurrentStudy(theStudy)";
+ aScript += aSMESHGen + " = smeshDC.smeshInstance(theStudy)";
else
- aScript += aSMESHGen + ".SetCurrentStudy(None)";
+ aScript += aSMESHGen + " = smeshDC.smeshInstance(None)";
// import python files corresponding to plugins
set<string> moduleNameSet;
TCollection_AsciiString initPart = "import ";
if ( isMultiFile )
initPart += helper + "salome, ";
- initPart += aSmeshpy + ", SMESH, SALOMEDS\n";
+ initPart += " smeshDC, SMESH, SALOMEDS\n";
if ( importGeom && isMultiFile )
{
initPart += ("\n## import GEOM dump file ## \n"