mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 18:54:18 +05:00
Fix for bug PAL12557(V3_2_0b2: SMESH documentation for scripts not up to date).
This commit is contained in:
parent
20424edc38
commit
d491005a53
@ -432,9 +432,11 @@ if (window.writeIntopicBar)
|
|||||||
<h4><a name=bookmark4>Maximum Element Area</a></h4>
|
<h4><a name=bookmark4>Maximum Element Area</a></h4>
|
||||||
|
|
||||||
<p class="whs4"><span style="font-family: 'Lucida Console', monospace;">import
|
<p class="whs4"><span style="font-family: 'Lucida Console', monospace;">import
|
||||||
smesh</span></p>
|
geompy</span></p>
|
||||||
|
|
||||||
<p class="whs4">import salome</p>
|
<p class="whs4">import smesh</p>
|
||||||
|
|
||||||
|
<p class="whs4">import salome </p>
|
||||||
|
|
||||||
<p class="whs4"> </p>
|
<p class="whs4"> </p>
|
||||||
|
|
||||||
@ -855,9 +857,8 @@ if (window.writeIntopicBar)
|
|||||||
<p class="whs6"># create a Netgen_2D3D
|
<p class="whs6"># create a Netgen_2D3D
|
||||||
algorithm for solids</p>
|
algorithm for solids</p>
|
||||||
|
|
||||||
<p class="whs4">is3D = 1</p>
|
<p class="whs4">algo3D = tetraN.Tetrahedron(smesh.FULL_NETGEN)
|
||||||
|
</p>
|
||||||
<p class="whs4">algo3D = tetraN.Netgen(is3D)</p>
|
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
<p class="whs6"> </p>
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -131,52 +131,51 @@ if (window.writeIntopicBar)
|
|||||||
|
|
||||||
<p class="whs1"> </p>
|
<p class="whs1"> </p>
|
||||||
|
|
||||||
<p class="whs2"># print informations
|
<p class="whs2"># print information
|
||||||
about the mesh</p>
|
about the mesh</p>
|
||||||
|
|
||||||
<p class="whs1">mesh = tetra.GetMesh()</p>
|
<p class="whs1">print "Information about mesh:"
|
||||||
|
</p>
|
||||||
<p class="whs1">print "Information about mesh:"</p>
|
|
||||||
|
|
||||||
<p class="whs1">print "Number of nodes :
|
<p class="whs1">print "Number of nodes :
|
||||||
", mesh.NbNodes()</p>
|
", tetra.NbNodes()</p>
|
||||||
|
|
||||||
<p class="whs1">print "Number of edges :
|
<p class="whs1">print "Number of edges :
|
||||||
", mesh.NbEdges()</p>
|
", tetra.NbEdges()</p>
|
||||||
|
|
||||||
<p class="whs1">print "Number of faces :
|
<p class="whs1">print "Number of faces :
|
||||||
", mesh.NbFaces()</p>
|
", tetra.NbFaces()</p>
|
||||||
|
|
||||||
<p class="whs1">print " triangles
|
<p class="whs1">print " triangles
|
||||||
:
|
:
|
||||||
", mesh.NbTriangles()</p>
|
", tetra.NbTriangles()</p>
|
||||||
|
|
||||||
<p class="whs1">print " quadrangles
|
<p class="whs1">print " quadrangles
|
||||||
: ", mesh.NbQuadrangles()</p>
|
: ", tetra.NbQuadrangles()</p>
|
||||||
|
|
||||||
<p class="whs1">print " polygons
|
<p class="whs1">print " polygons
|
||||||
:
|
:
|
||||||
", mesh.NbPolygons()</p>
|
", tetra.NbPolygons()</p>
|
||||||
|
|
||||||
<p class="whs1">print "Number of volumes :
|
<p class="whs1">print "Number of volumes :
|
||||||
", mesh.NbVolumes()</p>
|
", tetra.NbVolumes()</p>
|
||||||
|
|
||||||
<p class="whs1">print " tetrahedrons:
|
<p class="whs1">print " tetrahedrons:
|
||||||
", mesh.NbTetras()</p>
|
", tetra.NbTetras()</p>
|
||||||
|
|
||||||
<p class="whs1">print " hexahedrons
|
<p class="whs1">print " hexahedrons
|
||||||
: ", mesh.NbHexas()</p>
|
: ", tetra.NbHexas()</p>
|
||||||
|
|
||||||
<p class="whs1">print " prisms
|
<p class="whs1">print " prisms
|
||||||
:
|
:
|
||||||
", mesh.NbPrisms()</p>
|
", tetra.NbPrisms()</p>
|
||||||
|
|
||||||
<p class="whs1">print " pyramids
|
<p class="whs1">print " pyramids
|
||||||
:
|
:
|
||||||
", mesh.NbPyramids()</p>
|
", tetra.NbPyramids()</p>
|
||||||
|
|
||||||
<p class="whs1">print " polyhedrons
|
<p class="whs1">print " polyhedrons
|
||||||
: ", mesh.NbPolyhedrons() </p>
|
: ", tetra.NbPolyhedrons() </p>
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript1.2">
|
<script type="text/javascript" language="javascript1.2">
|
||||||
<!--
|
<!--
|
||||||
|
Loading…
Reference in New Issue
Block a user