From: mkr Date: Mon, 28 Nov 2005 09:57:47 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: BR_3_1_0_deb~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6a3292e0719908b1e6ba7d3994fb314fa9fba71b;p=modules%2Fsmesh.git *** empty log message *** --- diff --git a/doc/salome/SMESH_index.html b/doc/salome/SMESH_index.html index 585ce9e7e..8d4ef121a 100644 --- a/doc/salome/SMESH_index.html +++ b/doc/salome/SMESH_index.html @@ -67,7 +67,7 @@
-
GUI Documentation
+
GUI Documentation
diff --git a/doc/salome/gui/SMESH/SMESH.log b/doc/salome/gui/SMESH/SMESH.log deleted file mode 100755 index fb02a90f8..000000000 --- a/doc/salome/gui/SMESH/SMESH.log +++ /dev/null @@ -1,401 +0,0 @@ -|SourceProjectName:SMESH.hpr -|DestinationProjectName:smesh.htm -whhost.js -whmsg.js -whmozemu.js -whproxy.js -whstub.js -whutils.js -whver.js -whform.js -whphost.js -whstart.js -whtopic.js -whframes.js -whlang.js -whskin_info.htm -whskin_blank.htm -whnjs.htm -whthost.js -whtdhtml.htm -whihost.js -whibody.htm -whiform.htm -whfhost.js -whfbody.htm -whfform.htm -whghost.js -whgbody.htm -whgdhtml.htm -whgdef.htm -whproj.js -whproj.xml -whproj.htm -whdata\whtoc.js -whdata\whtoc.xml -whdata\whtoc.htm -whdata\whtdata.js -whdata\whidx.js -whdata\whidx.xml -whdata\whidx.htm -whdata\whidata.js -whdata\whfts.js -whdata\whfts.xml -whdata\whfts.htm -whdata\whglo.js -whdata\whglo.xml -whdata\whglo.htm -whdata\whgdata.js -whdata\whftdata.js -whdata\whfwdata.js -whres.xml -webhelp.jar -webhelp.cab -whgdata\whnvp30.htm -whgdata\whnvp31.htm -whgdata\whnvp32.htm -whgdata\whnvp33.htm -whgdata\whnvt30.htm -whgdata\whnvt31.htm -whgdata\whnvt32.htm -whgdata\whnvt33.htm -whgdata\whnvf30.htm -whgdata\whnvf31.htm -whgdata\whnvf32.htm -whgdata\whnvf33.htm -whgdata\whnvl31.htm -whgdata\whnvl32.htm -whgdata\whnvl33.htm -whgdata\whexpbar.gif -cshdat_webhelp.htm -cshdat_robohelp.htm -wht_tab0.gif -wht_tab1.gif -wht_tab2.gif -wht_tab3.gif -wht_tab4.gif -wht_tab5.gif -wht_tab6.gif -wht_tab7.gif -wht_tab8.gif -wht_glo_h.gif -wht_glo_n.gif -wht_fts_h.gif -wht_fts_n.gif -wht_idx_h.gif -wht_idx_n.gif -wht_toc_h.gif -wht_toc_n.gif -wht_ws.gif -wht_ws_g.gif -wht_logo1.gif -wht_logo2.gif -wht_abgw.jpg -wht_abgi.jpg -wht_abge.jpg -wht_abtw.jpg -wht_abte.jpg -wht_abti.jpg -wht_spac.gif -wht_next.gif -wht_next_g.gif -wht_prev.gif -wht_prev_g.gif -wht_sync.gif -wht_hide.gif -wht_go.gif -whstart.ico -whestart.ico -whrstart.ico -whidhtml.htm -whfdhtml.htm -whskin_banner.htm -whtbar.js -default.skn -whskin_pdhtml.htm -whskin_papplet.htm -whskin_plist.htm -whskin_tbars.htm -whskin_mbars.htm -wht_toc4.gif -wht_toc1.gif -wht_toc2.gif -wht_toc3.gif -whskin_frmset010.htm -whst_topics.xml -whskin_frmset01.htm -smesh_hha.hhk -smesh.hhc -smesh.hhk -extrusion.htm -files\1d_meshing_algorithm.htm -files\2d_(quadrangle)_meshing_algorithm.htm -files\2d_meshing_algorithm.htm -files\3d_meshing_algorithm.htm -files\about_hypotheses.htm -files\about_meshes.htm -files\about_meshing_algorithms.htm -files\about_modification_of_meshes.htm -files\about_quality_controls.htm -files\adding_nodes_and_elements.htm -files\area_of_elements.htm -files\arithmetic_1d.htm -files\aspect_ratio.htm -files\changing_orientation_of_elements.htm -files\computing_meshes.htm -files\connectivity.htm -files\constructing_groups_of_specific_elements.htm -files\constructing_meshes.htm -files\constructing_submeshes.htm -files\creating_groups.htm -files\cutting_quadrangles.htm -files\deflection_1d.htm -files\diagonal_iversion_of_elements.htm -files\displacing_nodes.htm -files\displaying_elements_numbers.htm -files\displaying_nodes_numbers.htm -files\editing_groups.htm -files\editing_hypotheses.htm -files\importing_and_exporting_meshes.htm -files\introduction_to_smesh.htm -files\length_from_edges.htm -files\length_of_edges.htm -files\local_length_hypothesis.htm -files\max._element_area_hypothesis.htm -files\max._element_volume_hypothsis.htm -files\merging_nodes.htm -files\minimum_angle.htm -files\non_conform_mesh_allowed_hypothesis.htm -files\number_of_segments_hypothesis.htm -files\propagation_of_1d_hypothesis_on_opposite_edges.htm -files\reassigning_hypotheses_and_algorithms.htm -files\removing_nodes_and_elements.htm -files\renumbering_nodes_and_elements.htm -files\rotation.htm -files\running_smesh_module.htm -files\scalar_bar_properties.htm -files\sewing_meshes.htm -files\shading.htm -files\shrink.htm -files\skew.htm -files\smoothing.htm -files\start_and_end_length_hypothesis.htm -files\symmetry.htm -files\taper.htm -files\tetrahedron_(ghs3d)_meshing_algorithm.htm -files\tetrahedron_(netgen)_meshing_algorithm.htm -files\translation.htm -files\uniting_a_set_of_triangles.htm -files\uniting_two_triangles.htm -files\using_operations_on_groups.htm -files\using_smesh_module.htm -files\view_update.htm -files\viewing_mesh_info.htm -files\visualization_modes.htm -files\visualization_properties.htm -files\warp.htm -files\wireframe.htm -pattern_mapping.htm -revolution.htm -ehlpdhtm.js -texture_horiz_ltbluebubbles.jpg -smesh.glo -default.css -image96.gif -image77.jpg -image66.jpg -image55.jpg -image85.gif -image74.gif -image44.jpg -image63.gif -image22.jpg -image11.jpg -image41.gif -image97.gif -image78.jpg -image67.jpg -image75.gif -image45.jpg -image34.jpg -image64.gif -image23.jpg -image12.jpg -image31.gif -image98.gif -image87.gif -image68.jpg -image57.jpg -image76.gif -image46.jpg -image35.jpg -image65.gif -image43.gif -image32.gif -image24.jpg -image88.gif -image69.jpg -image58.jpg -image77.gif -image47.jpg -image36.jpg -image66.gif -image44.gif -image33.gif -image22.gif -image25.jpg -image89.gif -image59.jpg -image78.gif -image48.jpg -image67.gif -image34.gif -image26.jpg -image79.gif -image49.jpg -image38.jpg -image68.gif -image57.gif -image16.jpg -image46.gif -image35.gif -image27.jpg -image24.gif -image39.jpg -image69.gif -image3.jpg -pics\exemple.gif -image36.gif -image28.jpg -image25.gif -image18.jpg -image4.jpg -image37.gif -image29.jpg -image26.gif -note1.gif -image2.gif -image38.gif -image27.gif -image80.jpg -image6.jpg -image39.gif -image28.gif -image81.jpg -image70.jpg -image4.gif -image7.jpg -image29.gif -pics\new.jpg -image90.gif -image71.jpg -image60.jpg -image8.jpg -image91.gif -image72.jpg -image61.jpg -image50.jpg -image80.gif -image6.gif -image9.jpg -image92.gif -image73.jpg -image62.jpg -image51.jpg -image81.gif -image40.jpg -image70.gif -image7.gif -i_blue.jpg -image93.gif -image74.jpg -image63.jpg -image52.jpg -image82.gif -image41.jpg -image71.gif -image30.jpg -image8.gif -image94.gif -image75.jpg -image64.jpg -image53.jpg -image83.gif -image42.jpg -image72.gif -image61.gif -image31.jpg -image9.gif -image20.jpg -image95.gif -image76.jpg -image65.jpg -image54.jpg -image84.gif -image43.jpg -image73.gif -image32.jpg -image21.jpg -image10.jpg -image40.gif -smesh.ppf -default_ns.css -whdata\whtdata0.xml -whdata\whtdata0.htm -whdata\whftdata0.xml -whdata\whftdata0.htm -whdata\whfwdata0.xml -whdata\whfwdata0.htm -whdata\whgdata0.xml -whdata\whgdata0.htm -whgdata\whlstt0.htm -whgdata\whlstt1.htm -whgdata\whlstt2.htm -whgdata\whlstt3.htm -whgdata\whlstt4.htm -whgdata\whlstt5.htm -whgdata\whlstt6.htm -whgdata\whlstt7.htm -whgdata\whlstt8.htm -whgdata\whlstt9.htm -whgdata\whlstt10.htm -whgdata\whlstt11.htm -whgdata\whlstt12.htm -whgdata\whlstt13.htm -whgdata\whlsti0.htm -whgdata\whlstfl0.htm -whgdata\whlstfl1.htm -whgdata\whlstfl2.htm -whgdata\whlstfl3.htm -whgdata\whlstfl4.htm -whgdata\whlstfl5.htm -whgdata\whlstfl6.htm -whgdata\whlstfl7.htm -whgdata\whlstfl8.htm -whgdata\whlstfl9.htm -whgdata\whlstfl10.htm -whgdata\whlstfl11.htm -whgdata\whlstfl12.htm -whgdata\whlstfl13.htm -whgdata\whlstfl14.htm -whgdata\whlstfl15.htm -whgdata\whlstfl16.htm -whgdata\whlstfl17.htm -whgdata\whlstfl18.htm -whgdata\whlstfl19.htm -whgdata\whlstfl20.htm -whgdata\whlstfl21.htm -whgdata\whlstfl22.htm -whgdata\whlstfl23.htm -whgdata\whlstf0.htm -whgdata\whlstf1.htm -whgdata\whlstf2.htm -whgdata\whlstf3.htm -whgdata\whlstf4.htm -whgdata\whlstf5.htm -whgdata\whlstf6.htm -whgdata\whlstf7.htm -whgdata\whlstg0.htm -smesh.htm -smesh_csh.htm -smesh_rhc.htm diff --git a/doc/salome/gui/SMESH/about_viewing_meshes.htm b/doc/salome/gui/SMESH/about_viewing_meshes.htm new file mode 100755 index 000000000..77ef54955 --- /dev/null +++ b/doc/salome/gui/SMESH/about_viewing_meshes.htm @@ -0,0 +1,150 @@ + + + + + +About viewing meshes + + + + + + + + + + + + +

About viewing meshes

+ +

You can get information about your mesh, change its presentation parameters + and access to other useful functionalities by right-clicking on it in + the Object Browser.

+ +

Then the + following pop-up menu appears:

+ +

  

+ +

+ +

 

+ +

The Update button refreshes the presentation of your mesh in the Object + Browser, applying all recent changes.

+ +

By clicking on Standard Mesh Infos + and Advanced Mesh + Infos you can learn the Mesh + Infos.

+ +

Via Numbering +  you can + display the ID numbers of all meshing elements or nodes composing your + mesh in the viewer.

+ +

Via Display Mode, Display + Entity,  Colors + / Size, and  Transparency + you can change the way of presentation of your mesh.

+ +

In the Clipping menu you can create + cross-sections of the selected objects.

+ +

Quality Controls are described in + the next chapter.

+ +

By clicking on Display Only + you hide all other objects.

+ +

The Erase button deletes the + selected object from the session.

+ +

Using the Change background + button you can set the background color. By default it is black.  

+ +

 

+ +

See Also + a sample TUI Script of a Viewing Mesh Infos + operation.  

+ +

 

+ + + + diff --git a/doc/salome/gui/SMESH/aspect_ratio_3d.htm b/doc/salome/gui/SMESH/aspect_ratio_3d.htm new file mode 100755 index 000000000..560b78509 --- /dev/null +++ b/doc/salome/gui/SMESH/aspect_ratio_3d.htm @@ -0,0 +1,168 @@ + + + + + +Aspect ratio 3D + + + + + + + + + + + + +

Aspect ratio 3D

+ +

+ +

 

+ +

This mesh quality criterion resembles to the Aspect ratio + criterion, however, it is also applied to 3D mesh elements: tetrahedrons, + pentahedrons, hexahedrons, etc.  

+ +

There are 2 simple formulas to evaluate directly the value of quality + Qk for simplex in 2D and 3D. The formulas are :

+ +

• For triangle :

+ +

 

+ +

+ +

+ +

where :

+ +

 

+ +

+ +

 

+ +

 

+ +

• For tetrahedron :

+ +

 

+ +

 

+ +

where :

+ +

+ +

To calculate Sk , it is needed to sum the area of each of the 3 faces + with the formula given with the triangle.

+ +

 

+ +

For the other types of element like quadrangle, pentahedron and hexahedron + the formula is the following :

+ +

+ +

Where Qi are the quality of all the possible simplex (of same dimension + as the element) that compose the element.

+ +

 

+ +

See Also + a sample TUI Script of an Aspect + Ratio quality control operation.  

+ +

 

+ +

 

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/SMESH/borders_at_multi-connection.htm b/doc/salome/gui/SMESH/borders_at_multi-connection.htm new file mode 100755 index 000000000..cba301b96 --- /dev/null +++ b/doc/salome/gui/SMESH/borders_at_multi-connection.htm @@ -0,0 +1,115 @@ + + + + + +Borders at multi-connection + + + + + + + + + + + + +

Borders at multi-connection

+ +

This mesh quality control highlights borders of faces + consisting of edges belonging to several faces. The amount of faces is + specified by user.

+ +

 

+ +

+ +

 

+ +

In this picture the borders at multi-connection are displayed in white.

+ +

 

+ +

See Also + a sample TUI Script of a Borders + at Multi-Connection quality control operation.  

+ +

 

+ + + + diff --git a/doc/salome/gui/SMESH/borders_at_multiconnection_2d.htm b/doc/salome/gui/SMESH/borders_at_multiconnection_2d.htm new file mode 100755 index 000000000..9587602aa --- /dev/null +++ b/doc/salome/gui/SMESH/borders_at_multiconnection_2d.htm @@ -0,0 +1,110 @@ + + + + + +Borders at multiconnection 2D + + + + + + + + + + + + +

Borders at multi-connection 2D

+ +

This mesh quality control highlights borders of elements + of mesh, consisting of edges belonging to several elements of mesh.

+ +

 

+ +

        

+ +

 

+ +

See Also + a sample TUI Script of a Borders + at Multi-Connection quality control operation.  

+ +

 

+ + + + diff --git a/doc/salome/gui/SMESH/clipping.htm b/doc/salome/gui/SMESH/clipping.htm new file mode 100755 index 000000000..8652fd75f --- /dev/null +++ b/doc/salome/gui/SMESH/clipping.htm @@ -0,0 +1,133 @@ + + + + + +Clipping + + + + + + + + + + + +

Clipping

+ +

Using this menu you can create cross-section views (clipping planes) + of your mesh.

+ +

 

+ +

To start, click on the New button.

+ +

 

+ +

+ +

 

+ +

Now you can define the parameters of your cross-section: Orientation +  (X-Y, X-Z + or Y-Z); Distance between the + opposite extremities of the object, if + it is set to 0.5 the object is split in two halves; and Rotation + (in angle degrees) around X (Y to Z) + and around Y (X to Z). + If the Show preview button is + on, you can see the clipping plane in the Object + window.

+ +

 

+ +

+ +

 

+ +

If the + Auto Apply button is on, you can preview + the cross-section in the Object window

+ +

 

+ +

+ +

 

+ +

To get + a new object from Clipping, click + Ok.

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/SMESH/constructing_meshes.htm b/doc/salome/gui/SMESH/constructing_meshes.htm new file mode 100755 index 000000000..78d8030db --- /dev/null +++ b/doc/salome/gui/SMESH/constructing_meshes.htm @@ -0,0 +1,727 @@ + + + + + +Constructing Meshes + + + + + + + + + + +

Creating Meshes

+ +

Construction of a Mesh

+ +

import salome

+ +

import geompy

+ +

import StdMeshers

+ +

smesh = salome.lcc.FindOrLoadComponent("FactoryServer", + "SMESH")

+ +

smeshgui = salome.ImportComponentGUI("SMESH")

+ +

smeshgui.Init(salome.myStudyId);

+ +

 

+ +

# create a box

+ +

box = geompy.MakeBox(0., + 0., 0., 100., 200., 300.)

+ +

 

+ +

# add box to the study

+ +

idbox = geompy.addToStudy(box, + "box")

+ +

 

+ +

# create a hypothesis

+ +

print "-------------------------- + create Hypothesis"

+ +

print "-------------------------- + NumberOfSegments"

+ +

numberOfSegments + = 7

+ +

hypNbSeg = smesh.CreateHypothesis("NumberOfSegments", + "libStdMeshersEngine.so")

+ +

hypNbSeg.SetNumberOfSegments(numberOfSegments)

+ +

print hypNbSeg.GetName()

+ +

print hypNbSeg.GetId()

+ +

print hypNbSeg.GetNumberOfSegments()

+ +

smeshgui.SetName(salome.ObjectToID(hypNbSeg), + "NumberOfSegments_10")

+ +

print "-------------------------- + MaxElementArea"

+ +

maxElementArea = + 800

+ +

hypArea = smesh.CreateHypothesis("MaxElementArea", + "libStdMeshersEngine.so")

+ +

hypArea.SetMaxElementArea(maxElementArea)

+ +

print hypArea.GetName()

+ +

print hypArea.GetId()

+ +

print hypArea.GetMaxElementArea()

+ +

smeshgui.SetName(salome.ObjectToID(hypArea), + "MaxElementArea_500")

+ +

print "-------------------------- + MaxElementVolume"

+ +

maxElementVolume + = 900

+ +

hypVolume = smesh.CreateHypothesis("MaxElementVolume", + "libStdMeshersEngine.so")

+ +

hypVolume.SetMaxElementVolume(maxElementVolume)

+ +

print hypVolume.GetName()

+ +

print hypVolume.GetId()

+ +

print hypVolume.GetMaxElementVolume()

+ +

smeshgui.SetName(salome.ObjectToID(hypVolume), + "MaxElementVolume_500")

+ +

 

+ +

# create algorithms

+ +

print "-------------------------- + create Algorithms"

+ +

print "-------------------------- + Regular_1D"

+ +

regular1D = smesh.CreateHypothesis("Regular_1D", + "libStdMeshersEngine.so")

+ +

smeshgui.SetName(salome.ObjectToID(regular1D), + "Wire Discretisation")

+ +

print "-------------------------- + MEFISTO_2D"

+ +

mefisto2D = smesh.CreateHypothesis("MEFISTO_2D", + "libStdMeshersEngine.so")

+ +

smeshgui.SetName(salome.ObjectToID(mefisto2D), + "MEFISTO_2D")

+ +

 

+ +

# initialize a mesh with + the box

+ +

mesh = smesh.CreateMesh(box)

+ +

smeshgui.SetName(salome.ObjectToID(mesh), + "MeshBox")

+ +

 

+ +

# add the hypothesis to + the box

+ +

print "-------------------------- + add hypothesis to the box"

+ +

mesh.AddHypothesis(box,hypNbSeg)

+ +

mesh.AddHypothesis(box,hypArea)

+ +

mesh.AddHypothesis(box,hypVolume)

+ +

mesh.AddHypothesis(box,regular1D)

+ +

mesh.AddHypothesis(box,mefisto2D)

+ +

 

+ +

# compute the mesh

+ +

print "-------------------------- + compute the mesh of the box"

+ +

ret = smesh.Compute(mesh,box)

+ +

print ret

+ +

if ret == 0:

+ +

    print + "probleme when computing the mesh"

+ +

salome.sg.updateObjBrowser(1)

+ +

 

+ +

Construction of a Submesh

+ +

 

+ +

from + geompy import *

+ +

import smesh

+ +

 

+ +

# create vertices

+ +

Point111 = MakeVertex( 0,  0, +  0)

+ +

Point211 = MakeVertex(10,  0, +  0)

+ +

Point121 = MakeVertex( 0, 10,  0)

+ +

Point221 = MakeVertex(10, 10,  0)

+ +

Point112 = MakeVertex( 0,  0, + 10)

+ +

Point212 = MakeVertex(10,  0, + 10)

+ +

Point122 = MakeVertex( 0, 10, 10)

+ +

Point222 = MakeVertex(10, 10, 10)

+ +

 

+ +

# create edges

+ +

EdgeX111 = MakeEdge(Point111, Point211)

+ +

EdgeX121 = MakeEdge(Point121, Point221)

+ +

EdgeX112 = MakeEdge(Point112, Point212)

+ +

EdgeX122 = MakeEdge(Point122, Point222)

+ +

EdgeY11 = MakeEdge(Point111, Point121)

+ +

EdgeY21 = MakeEdge(Point211, Point221)

+ +

EdgeY12 = MakeEdge(Point112, Point122)

+ +

EdgeY22 = MakeEdge(Point212, Point222)

+ +

EdgeZ111 = MakeEdge(Point111, Point112)

+ +

EdgeZ211 = MakeEdge(Point211, Point212)

+ +

EdgeZ121 = MakeEdge(Point121, Point122)

+ +

EdgeZ221 = MakeEdge(Point221, Point222)

+ +

 

+ +

# create faces

+ +

FaceX11 = MakeQuad(EdgeY11, EdgeZ111, + EdgeY12, EdgeZ121)

+ +

FaceX21 = MakeQuad(EdgeY21, EdgeZ211, + EdgeY22, EdgeZ221)

+ +

FaceY111 = MakeQuad(EdgeX111, EdgeZ111, + EdgeX112, EdgeZ211)

+ +

FaceY121 = MakeQuad(EdgeX121, EdgeZ121, + EdgeX122, EdgeZ221)

+ +

FaceZ11 = MakeQuad(EdgeX111, EdgeY11, + EdgeX121, EdgeY21)

+ +

FaceZ12 = MakeQuad(EdgeX112, EdgeY12, + EdgeX122, EdgeY22)

+ +

 

+ +

# create a solid

+ +

Block = MakeHexa(FaceX11, FaceX21, FaceY111, + FaceY121, FaceZ11, FaceZ12)

+ +

 

+ +

# create a compound

+ +

box = MakeCompound([Block])

+ +

 

+ +

# add in the study

+ +

box_id = addToStudy(box, "Box compound")

+ +

 

+ +

# create hexahedral mesh + on the box

+ +

hexa = smesh.Mesh(box, "Box compound + : hexahedrical mesh")

+ +

algo = hexa.Segment()

+ +

 

+ +

# define "NumberOfSegments" + hypothesis to cut the edge in a fixed number of segments

+ +

algo.NumberOfSegments(4)

+ +

 

+ +

# creates a quadrangle + 2D algorithm for the faces

+ +

hexa.Quadrangle()

+ +

 

+ +

# construct a submesh with + a local hypothesis

+ +

algo = hexa.Segment(EdgeX111)

+ +

 

+ +

# define "Arithmetic1D" + hypothesis to cut an edge in several segments with increasing arithmetic + length

+ +

algo.Arithmetic1D(1, 4)

+ +

 

+ +

# define "Propagation" + hypothesis that propagates all other hypothesis on all edges on the opposite + side in case of quadrangular faces

+ +

algo.Propagation()

+ +

 

+ +

# compute the mesh

+ +

hexa.Compute() )

+ +

 

+ +

Editing of a mesh

+ +

 

+ +

import + salome

+ +

import geompy

+ +

import SMESH

+ +

import StdMeshers

+ +

 

+ +

smesh = salome.lcc.FindOrLoadComponent("FactoryServer", + "SMESH")

+ +

smesh.SetCurrentStudy(salome.myStudy)

+ +

 

+ +

box   = + geompy.MakeBox(0., 0., 0., 20., 20., 20.)

+ +

idbox = geompy.addToStudy(box, "box")

+ +

 

+ +

subShapeList = geompy.SubShapeAll(box, + geompy.ShapeType["EDGE"])

+ +

edge   = + subShapeList[0]

+ +

name   = + geompy.SubShapeName(edge, box)

+ +

idedge = geompy.addToStudyInFather(box, + edge, name)

+ +

 

+ +

box  = + salome.IDToObject(idbox)

+ +

edge = salome.IDToObject(idedge)

+ +

 

+ +

hyp1 = smesh.CreateHypothesis("NumberOfSegments", + "libStdMeshersEngine.so")

+ +

hyp1.SetNumberOfSegments(3)

+ +

hyp2 = smesh.CreateHypothesis("MaxElementArea", + "libStdMeshersEngine.so")

+ +

hyp2.SetMaxElementArea(10)

+ +

hyp3 = smesh.CreateHypothesis("Arithmetic1D", + "libStdMeshersEngine.so")

+ +

hyp3.SetLength(1,1)

+ +

hyp3.SetLength(6,0)

+ +

hyp4 = smesh.CreateHypothesis("Propagation", + "libStdMeshersEngine.so")

+ +

 

+ +

algo1 = smesh.CreateHypothesis("Regular_1D", + "libStdMeshersEngine.so")

+ +

algo2 = smesh.CreateHypothesis("MEFISTO_2D", + "libStdMeshersEngine.so")

+ +

 

+ +

mesh = smesh.CreateMesh(box)

+ +

mesh.AddHypothesis(box,hyp1)

+ +

mesh.AddHypothesis(box,hyp2)

+ +

mesh.AddHypothesis(box,algo1)

+ +

mesh.AddHypothesis(box,algo2)

+ +

mesh.AddHypothesis(edge,hyp3)

+ +

mesh.AddHypothesis(edge,hyp4)

+ +

mesh.AddHypothesis(edge,algo1)

+ +

 

+ +

smesh.Compute(mesh,box)

+ +

salome.sg.updateObjBrowser(1)

+ +

 

+ +

# remove a hypothesis

+ +

mesh.RemoveHypothesis(edge,hyp4)

+ +

 

+ +

smesh.Compute(mesh,box)

+ +

salome.sg.updateObjBrowser(1)

+ +

 

+ +

# change the value + of the hypothesis

+ +

hyp2.SetMaxElementArea(2)

+ +

mesh.AddHypothesis(box,hyp2)

+ +

 

+ +

smesh.Compute(mesh,box)

+ +

salome.sg.updateObjBrowser(1)

+ +

 

+ +

Export of a Mesh

+ +

 

+ +

import + salome

+ +

import geompy

+ +

import StdMeshers

+ +

smesh = salome.lcc.FindOrLoadComponent("FactoryServer", + "SMESH")

+ +

smeshgui = salome.ImportComponentGUI("SMESH")

+ +

smeshgui.Init(salome.myStudyId);

+ +

 

+ +

# create a box

+ +

box = geompy.MakeBox(0., + 0., 0., 100., 200., 300.)

+ +

 

+ +

# add the box to the study

+ +

idbox = geompy.addToStudy(box, + "box")

+ +

 

+ +

# create a hypothesis

+ +

print "-------------------------- + create Hypothesis"

+ +

print "-------------------------- + NumberOfSegments"

+ +

numberOfSegments + = 7

+ +

hypNbSeg = smesh.CreateHypothesis("NumberOfSegments", + "libStdMeshersEngine.so")

+ +

hypNbSeg.SetNumberOfSegments(numberOfSegments)

+ +

print hypNbSeg.GetName()

+ +

print hypNbSeg.GetId()

+ +

print hypNbSeg.GetNumberOfSegments()

+ +

smeshgui.SetName(salome.ObjectToID(hypNbSeg), + "NumberOfSegments_10")

+ +

print "-------------------------- + MaxElementArea"

+ +

maxElementArea = + 800

+ +

hypArea = smesh.CreateHypothesis("MaxElementArea", + "libStdMeshersEngine.so")

+ +

hypArea.SetMaxElementArea(maxElementArea)

+ +

print hypArea.GetName()

+ +

print hypArea.GetId()

+ +

print hypArea.GetMaxElementArea()

+ +

smeshgui.SetName(salome.ObjectToID(hypArea), + "MaxElementArea_500")

+ +

print "-------------------------- + MaxElementVolume"

+ +

maxElementVolume + = 900

+ +

hypVolume = smesh.CreateHypothesis("MaxElementVolume", + "libStdMeshersEngine.so")

+ +

hypVolume.SetMaxElementVolume(maxElementVolume)

+ +

print hypVolume.GetName()

+ +

print hypVolume.GetId()

+ +

print hypVolume.GetMaxElementVolume()

+ +

smeshgui.SetName(salome.ObjectToID(hypVolume), + "MaxElementVolume_500")

+ +

 

+ +

# create algorithms

+ +

print "-------------------------- + create Algorithms"

+ +

print "-------------------------- + Regular_1D"

+ +

regular1D = smesh.CreateHypothesis("Regular_1D", + "libStdMeshersEngine.so")

+ +

smeshgui.SetName(salome.ObjectToID(regular1D), + "Wire Discretisation")

+ +

print "-------------------------- + MEFISTO_2D"

+ +

mefisto2D = smesh.CreateHypothesis("MEFISTO_2D", + "libStdMeshersEngine.so")

+ +

smeshgui.SetName(salome.ObjectToID(mefisto2D), + "MEFISTO_2D")

+ +

 

+ +

# initialize a mesh with + the box

+ +

mesh = smesh.CreateMesh(box)

+ +

smeshgui.SetName(salome.ObjectToID(mesh), + "MeshBox")

+ +

 

+ +

# add the hypothesis to + the box

+ +

print "-------------------------- + add hypothesis to the box"

+ +

mesh.AddHypothesis(box,hypNbSeg)

+ +

mesh.AddHypothesis(box,hypArea)

+ +

mesh.AddHypothesis(box,hypVolume)

+ +

mesh.AddHypothesis(box,regular1D)

+ +

mesh.AddHypothesis(box,mefisto2D)

+ +

 

+ +

# compute the mesh

+ +

print "-------------------------- + compute the mesh of the box"

+ +

ret = smesh.Compute(mesh,box)

+ +

print ret

+ +

if ret == 0:

+ +

    print + "probleme when computing the mesh"

+ +

salome.sg.updateObjBrowser(1)

+ +

mesh.ExportMED("/tmp/meshMED.med",0)

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/SMESH/cshdat_robohelp.htm b/doc/salome/gui/SMESH/cshdat_robohelp.htm index 3baed1880..2e1891e53 100755 --- a/doc/salome/gui/SMESH/cshdat_robohelp.htm +++ b/doc/salome/gui/SMESH/cshdat_robohelp.htm @@ -1,9 +1,9 @@ SMESH reference manual - + - + + + + + + + + + +

Defining Hypotheses and Algorithms

+ +

Defining 1D Hypotheses

+ +

1D Arithmetic

+ +

 

+ +

from geompy import + *

+ +

import smesh

+ +

 

+ +

# create vertices

+ +

Point111 = MakeVertex( + 0,  0,  0)

+ +

Point211 = MakeVertex(10, +  0,  0)

+ +

Point121 = MakeVertex( + 0, 10,  0)

+ +

Point221 = MakeVertex(10, + 10,  0)

+ +

Point112 = MakeVertex( + 0,  0, 10)

+ +

Point212 = MakeVertex(10, +  0, 10)

+ +

Point122 = MakeVertex( + 0, 10, 10)

+ +

Point222 = MakeVertex(10, + 10, 10)

+ +

 

+ +

# create edges

+ +

EdgeX111 = MakeEdge(Point111, + Point211)

+ +

EdgeX121 = MakeEdge(Point121, + Point221)

+ +

EdgeX112 = MakeEdge(Point112, + Point212)

+ +

EdgeX122 = MakeEdge(Point122, + Point222)

+ +

EdgeY11 = MakeEdge(Point111, + Point121)

+ +

EdgeY21 = MakeEdge(Point211, + Point221)

+ +

EdgeY12 = MakeEdge(Point112, + Point122)

+ +

EdgeY22 = MakeEdge(Point212, + Point222)

+ +

EdgeZ111 = MakeEdge(Point111, + Point112)

+ +

EdgeZ211 = MakeEdge(Point211, + Point212)

+ +

EdgeZ121 = MakeEdge(Point121, + Point122)

+ +

EdgeZ221 = MakeEdge(Point221, + Point222)

+ +

 

+ +

# create faces

+ +

FaceX11 = MakeQuad(EdgeY11, + EdgeZ111, EdgeY12, EdgeZ121)

+ +

FaceX21 = MakeQuad(EdgeY21, + EdgeZ211, EdgeY22, EdgeZ221)

+ +

FaceY111 = MakeQuad(EdgeX111, + EdgeZ111, EdgeX112, EdgeZ211)

+ +

FaceY121 = MakeQuad(EdgeX121, + EdgeZ121, EdgeX122, EdgeZ221)

+ +

FaceZ11 = MakeQuad(EdgeX111, + EdgeY11, EdgeX121, EdgeY21)

+ +

FaceZ12 = MakeQuad(EdgeX112, + EdgeY12, EdgeX122, EdgeY22)

+ +

 

+ +

# create a solid

+ +

Block = MakeHexa(FaceX11, + FaceX21, FaceY111, FaceY121, FaceZ11, FaceZ12)

+ +

 

+ +

# create a compound

+ +

box = MakeCompound([Block])

+ +

 

+ +

# add in the study

+ +

box_id = addToStudy(box, + "Box compound")

+ +

 

+ +

# create a hexahedral mesh on the box

+ +

hexa = smesh.Mesh(box, + "Box compound : hexahedrical mesh")

+ +

algo = hexa.Segment()

+ +

 

+ +

# define "NumberOfSegments" hypothesis to cut an edge in a + fixed number of segments

+ +

algo.NumberOfSegments(4)

+ +

 

+ +

# create a quadrangle 2D algorithm for faces

+ +

hexa.Quadrangle()

+ +

 

+ +

# create a hexahedron 3D algorithm for solids

+ +

hexa.Hexahedron()

+ +

 

+ +

# create a local hypothesis

+ +

algo = hexa.Segment(EdgeX111)

+ +

 

+ +

# define "Arithmetic1D" hypothesis to cut an edge in several + segments with arithmetic length increasing

+ +

algo.Arithmetic1D(1, + 4)

+ +

 

+ +

# define "Propagation" hypothesis that propagates all other + hypothesis on all edges on the opposite side in case of quadrangular faces

+ +

algo.Propagation()

+ +

 

+ +

# compute the mesh

+ +

hexa.Compute()

+ +

 

+ +

Deflection 1D and Number of Segments

+ +

 

+ +

import smesh

+ +

import geompy

+ +

import salome

+ +

gg = salome.ImportComponentGUI("GEOM")

+ +

 

+ +

# create vertices

+ +

px   = + geompy.MakeVertex(100., 0.  , + 0.  )

+ +

py   = + geompy.MakeVertex(0.  , + 100., 0.  )

+ +

pz   = + geompy.MakeVertex(0.  , + 0.  , 100.)

+ +

 

+ +

# create a vector from + two points

+ +

vxy = geompy.MakeVector(px, + py)

+ +

 

+ +

# create an arc from + three points

+ +

arc = geompy.MakeArc(py, + pz, px)

+ +

 

+ +

# create a wire

+ +

wire = geompy.MakeWire([vxy, + arc])

+ +

isPlanarFace = 1

+ +

 

+ +

# create a face from + the wire

+ +

face1 = geompy.MakeFace(wire, + isPlanarFace)

+ +

 

+ +

# add objects in the + study

+ +

id_face1 = geompy.addToStudy(face1,"Face1")

+ +

 

+ +

# display faces

+ +

gg.createAndDisplayGO(id_face1)

+ +

gg.setDisplayMode(id_face1,1)

+ +

gg.setTransparency(id_face1,0.2)

+ +

 

+ +

# create hexahedral mesh

+ +

hexa = smesh.Mesh(face1, + "Face compound : hexahedrical mesh")

+ +

algo = hexa.Triangle()

+ +

 

+ +

# define "MaxElementArea" + hypothesis to be applied  to + each triangle

+ +

algo.MaxElementArea(30)

+ +

 

+ +

# create a quadrangle + 2D algorithm for faces

+ +

hexa.Quadrangle()

+ +

 

+ +

# create a local hypothesis

+ +

algo = hexa.Segment(wire)

+ +

 

+ +

# define "NumberOfSegments" + hypothesis to cut an edge in a fixed number of segments

+ +

algo.NumberOfSegments(6)

+ +

 

+ +

# define "Deflection1D" + hypothesis

+ +

algo.Deflection1D(1)

+ +

 

+ +

# compute the mesh

+ +

hexa.Compute()

+ +

 

+ +

Start and End Length

+ +

from geompy import + *

+ +

import smesh

+ +

 

+ +

# create vertices

+ +

Point111 = MakeVertex( + 0,  0,  0)

+ +

Point211 = MakeVertex(10, +  0,  0)

+ +

Point121 = MakeVertex( + 0, 10,  0)

+ +

Point221 = MakeVertex(10, + 10,  0)

+ +

Point112 = MakeVertex( + 0,  0, 10)

+ +

Point212 = MakeVertex(10, +  0, 10)

+ +

Point122 = MakeVertex( + 0, 10, 10)

+ +

Point222 = MakeVertex(10, + 10, 10)

+ +

 

+ +

# create edges

+ +

EdgeX111 = MakeEdge(Point111, + Point211)

+ +

EdgeX121 = MakeEdge(Point121, + Point221)

+ +

EdgeX112 = MakeEdge(Point112, + Point212)

+ +

EdgeX122 = MakeEdge(Point122, + Point222)

+ +

EdgeY11 = MakeEdge(Point111, + Point121)

+ +

EdgeY21 = MakeEdge(Point211, + Point221)

+ +

EdgeY12 = MakeEdge(Point112, + Point122)

+ +

EdgeY22 = MakeEdge(Point212, + Point222)

+ +

EdgeZ111 = MakeEdge(Point111, + Point112)

+ +

EdgeZ211 = MakeEdge(Point211, + Point212)

+ +

EdgeZ121 = MakeEdge(Point121, + Point122)

+ +

EdgeZ221 = MakeEdge(Point221, + Point222)

+ +

 

+ +

# create faces

+ +

FaceX11 = MakeQuad(EdgeY11, + EdgeZ111, EdgeY12, EdgeZ121)

+ +

FaceX21 = MakeQuad(EdgeY21, + EdgeZ211, EdgeY22, EdgeZ221)

+ +

FaceY111 = MakeQuad(EdgeX111, + EdgeZ111, EdgeX112, EdgeZ211)

+ +

FaceY121 = MakeQuad(EdgeX121, + EdgeZ121, EdgeX122, EdgeZ221)

+ +

FaceZ11 = MakeQuad(EdgeX111, + EdgeY11, EdgeX121, EdgeY21)

+ +

FaceZ12 = MakeQuad(EdgeX112, + EdgeY12, EdgeX122, EdgeY22)

+ +

 

+ +

# create a solid

+ +

Block = MakeHexa(FaceX11, + FaceX21, FaceY111, FaceY121, FaceZ11, FaceZ12)

+ +

 

+ +

# create a compound

+ +

box = MakeCompound([Block])

+ +

 

+ +

# add in the study

+ +

box_id = addToStudy(box, + "Box compound")

+ +

 

+ +

# create a hexahedral mesh on the box

+ +

hexa = smesh.Mesh(box, + "Box compound : hexahedrical mesh")

+ +

algo = hexa.Segment()

+ +

 

+ +

# define "NumberOfSegments" hypothesis to cut an edge in a + fixed number of segments

+ +

algo.NumberOfSegments(4)

+ +

 

+ +

# create a quadrangle 2D algorithm for faces

+ +

hexa.Quadrangle()

+ +

 

+ +

# create a hexahedron 3D algorithm for solids

+ +

hexa.Hexahedron()

+ +

 

+ +

# create a local hypothesis

+ +

algo = hexa.Segment(EdgeX111)

+ +

 

+ +

# define "StartEndLength" hypothesis to cut an edge in several + segments with increasing geometric length

+ +

algo.StartEndLength(1, + 6)

+ +

 

+ +

# define "Propagation" hypothesis that propagates all other + hypothesis on all edges on the opposite side in case of quadrangular faces

+ +

algo.Propagation()

+ +

 

+ +

# compute the mesh

+ +

hexa.Compute()

+ +

 

+ +

Average Length

+ +

from geompy import + *

+ +

import smesh

+ +

 

+ +

# create vertices

+ +

Point111 = MakeVertex( + 0,  0,  0)

+ +

Point211 = MakeVertex(10, +  0,  0)

+ +

Point121 = MakeVertex( + 0, 10,  0)

+ +

Point221 = MakeVertex(10, + 10,  0)

+ +

Point112 = MakeVertex( + 0,  0, 10)

+ +

Point212 = MakeVertex(10, +  0, 10)

+ +

Point122 = MakeVertex( + 0, 10, 10)

+ +

Point222 = MakeVertex(10, + 10, 10)

+ +

 

+ +

# create edges

+ +

EdgeX111 = MakeEdge(Point111, + Point211)

+ +

EdgeX121 = MakeEdge(Point121, + Point221)

+ +

EdgeX112 = MakeEdge(Point112, + Point212)

+ +

EdgeX122 = MakeEdge(Point122, + Point222)

+ +

EdgeY11 = MakeEdge(Point111, + Point121)

+ +

EdgeY21 = MakeEdge(Point211, + Point221)

+ +

EdgeY12 = MakeEdge(Point112, + Point122)

+ +

EdgeY22 = MakeEdge(Point212, + Point222)

+ +

EdgeZ111 = MakeEdge(Point111, + Point112)

+ +

EdgeZ211 = MakeEdge(Point211, + Point212)

+ +

EdgeZ121 = MakeEdge(Point121, + Point122)

+ +

EdgeZ221 = MakeEdge(Point221, + Point222)

+ +

 

+ +

# create faces

+ +

FaceX11 = MakeQuad(EdgeY11, + EdgeZ111, EdgeY12, EdgeZ121)

+ +

FaceX21 = MakeQuad(EdgeY21, + EdgeZ211, EdgeY22, EdgeZ221)

+ +

FaceY111 = MakeQuad(EdgeX111, + EdgeZ111, EdgeX112, EdgeZ211)

+ +

FaceY121 = MakeQuad(EdgeX121, + EdgeZ121, EdgeX122, EdgeZ221)

+ +

FaceZ11 = MakeQuad(EdgeX111, + EdgeY11, EdgeX121, EdgeY21)

+ +

FaceZ12 = MakeQuad(EdgeX112, + EdgeY12, EdgeX122, EdgeY22)

+ +

 

+ +

# create a solid

+ +

Block = MakeHexa(FaceX11, + FaceX21, FaceY111, FaceY121, FaceZ11, FaceZ12)

+ +

 

+ +

# create a compound

+ +

box = MakeCompound([Block])

+ +

 

+ +

# add in the study

+ +

box_id = addToStudy(box, + "Box compound")

+ +

 

+ +

# create a hexahedral + mesh on the box

+ +

hexa = smesh.Mesh(box, + "Box compound : hexahedrical mesh")

+ +

algo = hexa.Segment()

+ +

 

+ +

# define "NumberOfSegments" + hypothesis to cut an edge in a fixed number of segments

+ +

algo.NumberOfSegments(4)

+ +

 

+ +

# create a quadrangle + 2D algorithm for faces

+ +

hexa.Quadrangle()

+ +

 

+ +

# create a hexahedron + 3D algorithm for solids

+ +

hexa.Hexahedron()

+ +

 

+ +

# create a local hypothesis

+ +

algo = hexa.Segment(EdgeX111)

+ +

 

+ +

# define "LocalLength" + hypothesis to cut an edge in several segments with the same length

+ +

algo.LocalLength(2)

+ +

 

+ +

# define "Propagation" + hypothesis that propagates all other hypothesis on all edges on + the opposite side in case of quadrangular faces

+ +

algo.Propagation()

+ +

 

+ +

# compute the mesh

+ +

hexa.Compute()

+ +

 

+ +

 

+ +

Defining 2D and 3D hypotheses

+ +

Maximum Element Area

+ +

import smesh

+ +

import geompy

+ +

import salome

+ +

gg = salome.ImportComponentGUI("GEOM")

+ +

 

+ +

# create vertices

+ +

px   = + geompy.MakeVertex(100., 0.  , + 0.  )

+ +

py   = + geompy.MakeVertex(0.  , + 100., 0.  )

+ +

pz   = + geompy.MakeVertex(0.  , + 0.  , 100.)

+ +

 

+ +

# create a vector from + two points

+ +

vxy = geompy.MakeVector(px, + py)

+ +

 

+ +

# create an arc from three + points

+ +

arc = geompy.MakeArc(py, + pz, px)

+ +

 

+ +

# create a wire

+ +

wire = geompy.MakeWire([vxy, + arc])

+ +

isPlanarFace = 1

+ +

 

+ +

# create a face from the + wire

+ +

face1 = geompy.MakeFace(wire, + isPlanarFace)

+ +

 

+ +

# add objects in the study

+ +

id_face1 = geompy.addToStudy(face1,"Face1")

+ +

 

+ +

# display faces

+ +

gg.createAndDisplayGO(id_face1)

+ +

gg.setDisplayMode(id_face1,1)

+ +

gg.setTransparency(id_face1,0.2)

+ +

 

+ +

# create a hexahedral mesh

+ +

hexa = smesh.Mesh(face1, + "Face compound : hexahedrical mesh")

+ +

algo = hexa.Triangle()

+ +

 

+ +

# define "MaxElementArea" + hypothesis to be applied to each triangle

+ +

algo.MaxElementArea(7)

+ +

 

+ +

# create a quadrangle 2D + algorithm for faces

+ +

hexa.Quadrangle()

+ +

 

+ +

# create a local hypothesis

+ +

algo = hexa.Segment(wire)

+ +

 

+ +

# define "NumberOfSegments" + hypothesis to cut an edge in a fixed number of segments

+ +

algo.NumberOfSegments(10)

+ +

 

+ +

# compute the mesh

+ +

hexa.Compute()

+ +

 

+ +

Maximum Element Volume

+ +

import + salome

+ +

import geompy

+ +

import StdMeshers

+ +

smesh = salome.lcc.FindOrLoadComponent("FactoryServer", + "SMESH")

+ +

smeshgui = salome.ImportComponentGUI("SMESH")

+ +

smeshgui.Init(salome.myStudyId);

+ +

 

+ +

# create a box

+ +

box = geompy.MakeCylinderRH(30, + 50) #MakeBox(0., 0., 0., 100., 200., 300.)

+ +

 

+ +

# add the box to the + study

+ +

idbox = geompy.addToStudy(box, + "box")

+ +

 

+ +

# create vertices

+ +

px   = + geompy.MakeVertex(100., 0.  , + 0.  )

+ +

py   = + geompy.MakeVertex(0.  , + 100., 0.  )

+ +

pz   = + geompy.MakeVertex(0.  , + 0.  , 100.)

+ +

 

+ +

# create a vector from + two points

+ +

vxy = geompy.MakeVector(px, + py)

+ +

 

+ +

# create an arc from + three points

+ +

arc = geompy.MakeArc(py, + pz, px)

+ +

 

+ +

# create a wire

+ +

wire = geompy.MakeWire([vxy, + arc])

+ +

isPlanarFace = 1

+ +

 

+ +

# create a face from + the wire

+ +

#face1

+ +

box = geompy.MakeFace(wire, + isPlanarFace)

+ +

 

+ +

# add objects in the + study

+ +

id_face1 = geompy.addToStudy(box,"Face1")

+ +

#geompy.addToStudy(face1,"Face1")

+ +

 

+ +

# display faces

+ +

gg.createAndDisplayGO(id_face1)

+ +

gg.setDisplayMode(id_face1,1)

+ +

gg.setTransparency(id_face1,0.2)

+ +

 

+ +

# create a hypothesis

+ +

print "-------------------------- + create Hypothesis"

+ +

print "-------------------------- + NumberOfSegments"

+ +

numberOfSegments + = 7

+ +

hypNbSeg = smesh.CreateHypothesis("NumberOfSegments", + "libStdMeshersEngine.so")

+ +

hypNbSeg.SetNumberOfSegments(numberOfSegments)

+ +

print hypNbSeg.GetName()

+ +

print hypNbSeg.GetId()

+ +

print hypNbSeg.GetNumberOfSegments()

+ +

smeshgui.SetName(salome.ObjectToID(hypNbSeg), + "NumberOfSegments_10")

+ +

print "-------------------------- + MaxElementArea"

+ +

maxElementArea = + 800

+ +

hypArea = smesh.CreateHypothesis("MaxElementArea", + "libStdMeshersEngine.so")

+ +

hypArea.SetMaxElementArea(maxElementArea)

+ +

print hypArea.GetName()

+ +

print hypArea.GetId()

+ +

print hypArea.GetMaxElementArea()

+ +

smeshgui.SetName(salome.ObjectToID(hypArea), + "MaxElementArea_800")

+ +

print "-------------------------- + MaxElementVolume"

+ +

maxElementVolume + = 900

+ +

hypVolume = smesh.CreateHypothesis("MaxElementVolume", + "libStdMeshersEngine.so")

+ +

hypVolume.SetMaxElementVolume(maxElementVolume)

+ +

print hypVolume.GetName()

+ +

print hypVolume.GetId()

+ +

print hypVolume.GetMaxElementVolume()

+ +

smeshgui.SetName(salome.ObjectToID(hypVolume), + "MaxElementVolume_900")

+ +

 

+ +

# create algorithms

+ +

print "-------------------------- + create Algorithms"

+ +

print "-------------------------- + Regular_1D"

+ +

regular1D = smesh.CreateHypothesis("Regular_1D", + "libStdMeshersEngine.so")

+ +

smeshgui.SetName(salome.ObjectToID(regular1D), + "Wire Discretisation")

+ +

print "-------------------------- + MEFISTO_2D"

+ +

mefisto2D = smesh.CreateHypothesis("MEFISTO_2D", + "libStdMeshersEngine.so")

+ +

smeshgui.SetName(salome.ObjectToID(mefisto2D), + "MEFISTO_2D")

+ +

#print "-------------------------- + Hexa_3D (Hexahedron meshing algorithm)"

+ +

hexa3D = smesh.CreateHypothesis("Hexa_3D", + "libStdMeshersEngine.so")

+ +

smeshgui.SetName(salome.ObjectToID(hexa3D), + "HEXA_3D")

+ +

 

+ +

# initialize a mesh + with the box

+ +

mesh = smesh.CreateMesh(box)

+ +

smeshgui.SetName(salome.ObjectToID(mesh), + "MeshBox")

+ +

 

+ +

# add a hypothesis + to the box

+ +

print "-------------------------- + add hypothesis to the box"

+ +

mesh.AddHypothesis(box,hypNbSeg)

+ +

mesh.AddHypothesis(box,hypArea)

+ +

mesh.AddHypothesis(box,hypVolume)

+ +

mesh.AddHypothesis(box,regular1D)

+ +

mesh.AddHypothesis(box,mefisto2D)

+ +

mesh.AddHypothesis(box,hexa3D)

+ +

 

+ +

# compute the mesh

+ +

print "-------------------------- + compute the mesh of the box"

+ +

ret = smesh.Compute(mesh,box)

+ +

print ret

+ +

if ret == 0:

+ +

    print + "probleme when computing the mesh"

+ +

salome.sg.updateObjBrowser(1)

+ +

 

+ +

Defining Additional Hypotheses

+ +

Length from Edges

+ +

import smesh

+ +

import geompy

+ +

import salome

+ +

gg = salome.ImportComponentGUI("GEOM")

+ +

 

+ +

# create sketchers

+ +

sketcher1 = geompy.MakeSketcher("Sketcher:F + 0 0:TT 70 0:TT 70 70:TT 0 70:WW")

+ +

sketcher2 = geompy.MakeSketcher("Sketcher:F + 20 20:TT 50 20:TT 50 50:TT 20 50:WW")

+ +

isPlanarFace = 1

+ +

 

+ +

# create faces from two wires

+ +

face1 = geompy.MakeFaces([sketcher1, + sketcher2],isPlanarFace)

+ +

 

+ +

# add objects in the study

+ +

id_face1 = geompy.addToStudy(face1,"Face1")

+ +

 

+ +

# display faces

+ +

gg.createAndDisplayGO(id_face1)

+ +

gg.setDisplayMode(id_face1,1)

+ +

gg.setTransparency(id_face1,0.2)

+ +

 

+ +

# create a mesh

+ +

hexa = smesh.Mesh(face1, + "Face : triangle 2D mesh")

+ +

algo = hexa.Triangle()

+ +

 

+ +

# define "MaxElementArea" hypothesis to be applied to each + triangle

+ +

algo.MaxElementArea(30)

+ +

 

+ +

# define "LengthFromEdges" hypothesis to build triangles based + on the length of the edges taken from the wire

+ +

algo.LengthFromEdges()

+ +

 

+ +

# create local hypothesis

+ +

algo = hexa.Segment()

+ +

 

+ +

# define "NumberOfSegments" hypothesis to cut an edge in a + fixed number of segments

+ +

algo.NumberOfSegments(2)

+ +

 

+ +

# compute the mesh

+ +

hexa.Compute()

+ +

 

+ +

Propagation

+ +

from geompy import + *

+ +

import smesh

+ +

 

+ +

# create vertices

+ +

Point111 = MakeVertex( + 0,  0,  0)

+ +

Point211 = MakeVertex(10, +  0,  0)

+ +

Point121 = MakeVertex( + 0, 10,  0)

+ +

Point221 = MakeVertex(10, + 10,  0)

+ +

Point112 = MakeVertex( + 0,  0, 10)

+ +

Point212 = MakeVertex(10, +  0, 10)

+ +

Point122 = MakeVertex( + 0, 10, 10)

+ +

Point222 = MakeVertex(10, + 10, 10)

+ +

 

+ +

# create edges

+ +

EdgeX111 = MakeEdge(Point111, + Point211)

+ +

EdgeX121 = MakeEdge(Point121, + Point221)

+ +

EdgeX112 = MakeEdge(Point112, + Point212)

+ +

EdgeX122 = MakeEdge(Point122, + Point222)

+ +

EdgeY11 = MakeEdge(Point111, + Point121)

+ +

EdgeY21 = MakeEdge(Point211, + Point221)

+ +

EdgeY12 = MakeEdge(Point112, + Point122)

+ +

EdgeY22 = MakeEdge(Point212, + Point222)

+ +

EdgeZ111 = MakeEdge(Point111, + Point112)

+ +

EdgeZ211 = MakeEdge(Point211, + Point212)

+ +

EdgeZ121 = MakeEdge(Point121, + Point122)

+ +

EdgeZ221 = MakeEdge(Point221, + Point222)

+ +

 

+ +

# create faces

+ +

FaceX11 = MakeQuad(EdgeY11, + EdgeZ111, EdgeY12, EdgeZ121)

+ +

FaceX21 = MakeQuad(EdgeY21, + EdgeZ211, EdgeY22, EdgeZ221)

+ +

FaceY111 = MakeQuad(EdgeX111, + EdgeZ111, EdgeX112, EdgeZ211)

+ +

FaceY121 = MakeQuad(EdgeX121, + EdgeZ121, EdgeX122, EdgeZ221)

+ +

FaceZ11 = MakeQuad(EdgeX111, + EdgeY11, EdgeX121, EdgeY21)

+ +

FaceZ12 = MakeQuad(EdgeX112, + EdgeY12, EdgeX122, EdgeY22)

+ +

 

+ +

# create a solid

+ +

Block = MakeHexa(FaceX11, + FaceX21, FaceY111, FaceY121, FaceZ11, FaceZ12)

+ +

 

+ +

# create a compound

+ +

box = MakeCompound([Block])

+ +

 

+ +

# add in the study

+ +

box_id = addToStudy(box, + "Box compound")

+ +

 

+ +

# create a hexahedral + mesh on the box

+ +

hexa = smesh.Mesh(box, + "Box compound : hexahedrical mesh")

+ +

algo = hexa.Segment()

+ +

 

+ +

# define "NumberOfSegments" + hypothesis to cut an edge in a fixed number of segments

+ +

algo.NumberOfSegments(4)

+ +

 

+ +

# create a quadrangle + 2D algorithm for faces

+ +

hexa.Quadrangle()

+ +

 

+ +

# create a hexahedron + 3D algorithm for solids

+ +

hexa.Hexahedron()

+ +

 

+ +

# create a local hypothesis

+ +

algo = hexa.Segment(EdgeX111)

+ +

 

+ +

# + define "Arithmetic1D" hypothesis to cut an edge in several segments + with arithmetic length

+ +

increasing

+ +

algo.Arithmetic1D(1, + 4)

+ +

 

+ +

# define "Propagation" + hypothesis that propagatea all other hypothesis on all edges on the opposite + side in case of quadrangular faces

+ +

algo.Propagation()

+ +

 

+ +

# compute the mesh

+ +

hexa.Compute()

+ +

 

+ +

Defining Meshing Algorithms

+ +

import + salome

+ +

import StdMeshers

+ +

import NETGENPlugin

+ +

 

+ +

smesh = salome.lcc.FindOrLoadComponent("FactoryServer", + "SMESH")

+ +

smeshgui = salome.ImportComponentGUI("SMESH")

+ +

smeshgui.Init(salome.myStudyId);

+ +

 

+ +

# create algorithms

+ +

print "-------------------------- + create Algorithms"

+ +

print "-------------------------- + Regular_1D (Wire discretisation)"

+ +

regular1D = smesh.CreateHypothesis("Regular_1D", + "libStdMeshersEngine.so")

+ +

smeshgui.SetName(salome.ObjectToID(regular1D), + "Wire Discretisation")

+ +

 

+ +

print "-------------------------- + MEFISTO_2D (Triangle meshing algorithm)"

+ +

mefisto2D = smesh.CreateHypothesis("MEFISTO_2D", + "libStdMeshersEngine.so")

+ +

smeshgui.SetName(salome.ObjectToID(mefisto2D), + "MEFISTO_2D")

+ +

 

+ +

print "-------------------------- + Quadrangle_2D (Quadrangle meshing algorithm)"

+ +

quad2D = smesh.CreateHypothesis( + "Quadrangle_2D", "libStdMeshersEngine.so" )

+ +

smeshgui.SetName(salome.ObjectToID(quad2D), + "Quadrangle_2D")

+ +

 

+ +

print "-------------------------- + Hexa_3D (Hexahedron meshing algorithm)"

+ +

hexa3D = smesh.CreateHypothesis("Hexa_3D", + "libStdMeshersEngine.so")

+ +

smeshgui.SetName(salome.ObjectToID(hexa3D), + "HEXA_3D")

+ +

 

+ +

print "-------------------------- + NETGEN_3D (Tetrahedron meshing algorithm)"

+ +

netgen3D = smesh.CreateHypothesis("NETGEN_3D", + "libNETGENEngine.so")

+ +

smeshgui.SetName(salome.ObjectToID(netgen3D), + "NETGEN_3D")

+ +

salome.sg.updateObjBrowser(1)

+ +

 

+ + + + diff --git a/doc/salome/gui/SMESH/display_entity.htm b/doc/salome/gui/SMESH/display_entity.htm new file mode 100755 index 000000000..8195fc580 --- /dev/null +++ b/doc/salome/gui/SMESH/display_entity.htm @@ -0,0 +1,101 @@ + + + + + +Display Entity + + + + + + + + + + + +

Display Entity

+ +

In this submenu you can choose to display only faces,

+ +

 

+ +

+ +

 

+ +

only edges,

+ +

 

+ +

+ +

 

+ +

or both.

+ + + + diff --git a/doc/salome/gui/SMESH/ehelp.xml b/doc/salome/gui/SMESH/ehelp.xml new file mode 100755 index 000000000..be729a46c --- /dev/null +++ b/doc/salome/gui/SMESH/ehelp.xml @@ -0,0 +1,10 @@ + + + + + + + + WebSearch + + \ No newline at end of file diff --git a/doc/salome/gui/SMESH/ehlpdhtm.js b/doc/salome/gui/SMESH/ehlpdhtm.js index 86d26ea96..6cfd2e463 100755 --- a/doc/salome/gui/SMESH/ehlpdhtm.js +++ b/doc/salome/gui/SMESH/ehlpdhtm.js @@ -1,6 +1,6 @@ // eHelp® Corporation Dynamic HTML JavaScript -// Copyright© 1998-2001 eHelp® Corporation.All rights reserved. -// Version=4.57 +// Copyright© 1998-2003 eHelp® Corporation.All rights reserved. +// Version=4.82 // Warning:Do not modify this file.It is generated by RoboHELP® and changes will be overwritten. @@ -22,9 +22,15 @@ var HH_ActiveX = false; var gstrBsAgent = navigator.userAgent.toLowerCase(); var gnBsVer = parseInt(navigator.appVersion); -var gbBsIE = (gstrBsAgent.indexOf('msie') != -1); -var gbBsNS = (gstrBsAgent.indexOf('mozilla') != -1) && ((gstrBsAgent.indexOf('spoofer') == -1) && (gstrBsAgent.indexOf('compatible') == -1)); var gbBsOpera = (gstrBsAgent.indexOf('opera') != -1); +var gbBsKonqueror = (gstrBsAgent.indexOf('konqueror') != -1); +var gbBsSafari = (gstrBsAgent.indexOf('safari') != -1); +var gbBsIE = (gstrBsAgent.indexOf('msie') != -1) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari; +var gbBsNS = (gstrBsAgent.indexOf('mozilla') != -1) && ((gstrBsAgent.indexOf('spoofer') == -1) && (gstrBsAgent.indexOf('compatible') == -1)) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari; + +var gbBsMac = (gstrBsAgent.indexOf('mac') != -1); +var gbBsWindows = ((gstrBsAgent.indexOf('win') != -1) || (gstrBsAgent.indexOf('16bit') != -1)); +var gbBsSunOS = (gstrBsAgent.indexOf("sunos") != -1); var gbBsIE3Before = ((gbBsIE) && (gnBsVer <= 2)); var gbBsNS3Before = ((gbBsNS) && (gnBsVer <= 3)); @@ -36,30 +42,108 @@ var gbBsIE302 = ((gbBsIE) && (gnBsVer == 2) && (gstrBsAgent.indexOf("3.02") != var gbBsNS4 = ((gbBsNS) && (gnBsVer >= 4)); var gbBsNS6 = ((gbBsNS) && (gnBsVer >= 5)); +var gbBsNS7 = false; var gbBsIE4 = ((gbBsIE) && (gnBsVer >= 4)); var gbBsIE5 = false; var gbBsIE55 = false; -gbBsIE = (navigator.appName.indexOf("Microsoft") != -1); +var gbBsOpera6 = false; +var gbBsOpera7 = false; -if (parseInt(navigator.appVersion) >= 4) { - gbBsIE4 = (navigator.appName.indexOf("Microsoft") != -1); +var gbBsKonqueror3 = false; - if (gbBsIE4) { - var nPos = gstrBsAgent.indexOf("msie"); - var strIEversion = gstrBsAgent.substring(nPos + 5); - var nVersion = parseFloat(strIEversion); - if (nVersion >= 5) - gbBsIE5 = true; - if (nVersion >= 5.5) - gbBsIE55 = true; + + +gbBsIE = (navigator.appName.indexOf("Microsoft") != -1) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari;; +if (gbBsIE) +{ + if (parseInt(navigator.appVersion) >= 4) { + gbBsIE4 = true; + if (gbBsIE4) { + var nPos = gstrBsAgent.indexOf("msie"); + var strIEversion = gstrBsAgent.substring(nPos + 5); + var nVersion = parseFloat(strIEversion); + if (nVersion >= 5) + gbBsIE5 = true; + if (nVersion >= 5.5) + gbBsIE55 = true; + } + } +} +if (gbBsNS6) +{ + var nPos=gstrBsAgent.indexOf("gecko"); + if(nPos!=-1) + { + var nPos2=gstrBsAgent.indexOf("/", nPos); + if(nPos2!=-1) + { + var nVersion=parseFloat(gstrBsAgent.substring(nPos2+1)); + if (nVersion>=20020823) + gbBsNS7=true; + } + } +} +if (gbBsOpera) +{ + var nPos = gstrBsAgent.indexOf("opera"); + if(nPos!=-1) + { + var nVersion = parseFloat(gstrBsAgent.substring(nPos+6)); + if (nVersion >= 6) + { + gbBsOpera6=true; + if (nVersion >=7) + gbBsOpera7=true; + } + } +} +if (gbBsKonqueror) +{ + var nPos = gstrBsAgent.indexOf("konqueror"); + if(nPos!=-1) + { + var nVersion = parseFloat(gstrBsAgent.substring(nPos+10)); + if (nVersion >= 3) + { + gbBsKonqueror3=true; + } } } -var gbBsMac = (gstrBsAgent.indexOf('mac') != -1); -var gbBsWindows = ((gstrBsAgent.indexOf('win') != -1) || (gstrBsAgent.indexOf('16bit') != -1)); -var gbBsOp3 = (gstrBsAgent.indexOf('opera') != -1); +function insertAdjacentHTML(obj, where, htmlStr) +{ + if (gbBsIE || gbBsOpera7) + { + obj.insertAdjacentHTML(where, htmlStr); + } + else if (gbBsNS6 || gbBsSafari) + { + var r = obj.ownerDocument.createRange(); + r.setStartBefore(obj); + var parsedHTML = r.createContextualFragment(htmlStr); + + switch (where){ + case 'beforeBegin': + obj.parentNode.insertBefore(parsedHTML,obj); + break; + case 'afterBegin': + obj.insertBefore(parsedHTML,obj.firstChild); + break; + case 'beforeEnd': + obj.appendChild(parsedHTML); + break; + case 'afterEnd': + if (obj.nextSibling){ + obj.parentNode.insertBefore(parsedHTML,obj.nextSibling); + } else { + obj.parentNode.appendChild(parsedHTML); + } + break; + } + } +} // Utilities functions. function BsscHasExtJs() @@ -108,7 +192,6 @@ function BsscRegisterOnMouseOut(funcHandler) gBsOnMouseOuts[nLength] = funcHandler; } - function BsGeneralOnLoad() { if (!gbBsIE4 && !gbBsNS4) @@ -153,18 +236,14 @@ function BSSCOnUnload() { if (!BsscHasExtJs()) return; for (var nElement = gBsOnUnLoads.length - 1; nElement >= 0; nElement--) - { gBsOnUnLoads[nElement](); - } } function BSSCOnMouseOver() { if (!BsscHasExtJs()) return; for (var nElement = gBsOnMouseOvers.length - 1; nElement >= 0; nElement--) - { gBsOnMouseOvers[nElement](); - } } function BSSCOnMouseOut() @@ -177,7 +256,6 @@ function BSSCOnMouseOut() } // End of invocation of the event handle functions. - // Add the GereralOnLoad to the onload array. if (typeof(BsscRegisterOnLoad) != "undefined") { @@ -195,10 +273,10 @@ function BsHHActivateComponents() { if( HH_ActiveX && (HH_ChmFilename != "") && ((self == top) || (self == top.frames[0]))) { - var objBody = document.all.tags("BODY")[0]; + var objBody = getElementsByTag(document,"BODY")[0]; if( typeof(objBody) == "object" ) { - objBody.insertAdjacentHTML("beforeEnd", ''); + insertAdjacentHTML(objBody, "beforeEnd", ''); if (HHComponentActivator.object) HHComponentActivator.Activate(HH_ChmFilename, HH_WindowName, HH_GlossaryFont, HH_Glossary, HH_Avenue); } @@ -235,17 +313,14 @@ function _WritePopupMenuLayer() { if (!g_bIsPopupMenuInit) { - if (gbBsNS4) { + if (gbBsNS4&&!gbBsNS6) { //Do not try to write ininle styles for NS! NS can not handle it and will not stop downloading the html page... - if (gbBsNS6) - document.write(""); - else document.write("
"); } else{ document.write(""); - if (gbBsIE4) { + if (!(gbBsNS4&&!gbBsNS6)) { document.write(" - - + - - - - - - -

Extrusion

@@ -122,11 +95,11 @@ else

1. From the Modification menu choose the Extrusion item or click button in the toolbar. The following dialog box - shall appear:

+ will appear:

 

-

+

 

 

@@ -157,7 +130,6 @@ else

 

- @@ -171,7 +143,11 @@ else

 

-

 

+

 See + Also a sample TUI Script of an Extrusion + operation.  

+ +

 

- diff --git a/doc/salome/gui/SMESH/extrusion_along_a_path.htm b/doc/salome/gui/SMESH/extrusion_along_a_path.htm new file mode 100755 index 000000000..1ae2b7b8b --- /dev/null +++ b/doc/salome/gui/SMESH/extrusion_along_a_path.htm @@ -0,0 +1,191 @@ + + + + + +Extrusion along a path + + + + + + + + + + + +

Extrusion along a path

+ +

In principle, Extrusion along a path works in the same way as Extrusion, + the main difference is that we define not a vector, but a path of extrusion + which must be a meshed edge or wire. To get an idea of how this algorithm + works, let's see the left image, where we have a 1D circle edge and  a + 2D hexagon to be extruded along this path (in the picture they are angular + because we show the wireframe of the mesh). And now let's see the right + image, showing the result of the operation.  

+ +

 

+ +
+++ + + + +
+

+

+ +

 

+ +

     

+ +

 

+ +

To use Extrusion along a path:

+ +

1. From the Modification + menu choose the Extrusion along + a path item or click button in the toolbar. The + following dialog box will appear:

+ +

 

+ +

+ +

 

+ +

2. In the dialog box you should  

+ + + +

 

+ +

3. There are two optional parameters, which + can be very useful.

+ + + +

4. Click the Apply + or OK button.

+ +

 

+ +

 See + Also a sample TUI Script of an Extrusion + along a Path operation.  

+ +

 

+ +

 

+ + + + diff --git a/doc/salome/gui/SMESH/files/1d_meshing_algorithm.htm b/doc/salome/gui/SMESH/files/1d_meshing_algorithm.htm deleted file mode 100755 index 51d954a9f..000000000 --- a/doc/salome/gui/SMESH/files/1d_meshing_algorithm.htm +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - -1D meshing algorithm - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Wire discretization

- -

This algorithm is used for meshing of 1D entities of - geometrical objects - edges. -

- -

 

- -

To apply the Wire discretization meshing algorithm:

- -

 

- -

In - the Create Algorithms dialog box - select this algorithm and click Create.

- - - - - diff --git a/doc/salome/gui/SMESH/files/2d_(quadrangle)_meshing_algorithm.htm b/doc/salome/gui/SMESH/files/2d_(quadrangle)_meshing_algorithm.htm deleted file mode 100755 index 4c605aadc..000000000 --- a/doc/salome/gui/SMESH/files/2d_(quadrangle)_meshing_algorithm.htm +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - -2D (Quadrangle) meshing algorithm - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Quadrangle meshing algorithm

- -

This algorithm is used for meshing of 2D entities of - geometrical objects - faces. -

- -

 

- -

To apply the Quadrangle meshing algorithm:

- -

 

- -

In - the Create Algorithms dialog box - select this algorithm and click Create.

- - - - - diff --git a/doc/salome/gui/SMESH/files/2d_meshing_algorithm.htm b/doc/salome/gui/SMESH/files/2d_meshing_algorithm.htm deleted file mode 100755 index d7fe96efe..000000000 --- a/doc/salome/gui/SMESH/files/2d_meshing_algorithm.htm +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - -2D meshing algorithm - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Triangle (Mefisto) meshing algorithm

- -

This algorithm is used for meshing of 2D entities of - geometrical objects - faces. -

- -

 

- -

To apply the Triangle meshing algorithm:

- -

 

- -

In - the Create Algorithms dialog box - select this algorithm and click Create.

- - - - - diff --git a/doc/salome/gui/SMESH/files/3d_meshing_algorithm.htm b/doc/salome/gui/SMESH/files/3d_meshing_algorithm.htm deleted file mode 100755 index dc0851a19..000000000 --- a/doc/salome/gui/SMESH/files/3d_meshing_algorithm.htm +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - -3D meshing algorithm - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Hexahedron meshing algorithm

- -

This algorithm is used for meshing of 3D entities of - geometrical objects - volume objects. -

- -

 

- -

To apply the Hexahedron meshing algorithm:

- -

 

- -

In - the Create Algorithms dialog box - select this algorithm and click Create.

- - - - - diff --git a/doc/salome/gui/SMESH/files/about_hypotheses.htm b/doc/salome/gui/SMESH/files/about_hypotheses.htm index 4777bbd4c..b584001a9 100755 --- a/doc/salome/gui/SMESH/files/about_hypotheses.htm +++ b/doc/salome/gui/SMESH/files/about_hypotheses.htm @@ -2,31 +2,11 @@ - - - - - About hypotheses - - - - - - - - - - - - - - - - - - - - + - - - - - - -

About hypotheses

@@ -125,74 +93,94 @@ else when applying different hypotheses with different parameters you can preset the quantity of meshing elements which will compose your mesh. So, it will be possible to generate a rough or a more refined mesh or submesh. - In SMESH there are the following - basic hypotheses:

+

 

+

In MESH there are the following + Basic Hypotheses (to introduce them, you operate numerical values):

+ -
    +
+

 

-

 

+

There also exist some Additional + Hypotheses

-

The choice of a hypothesis depends on:

+
    + + +

 

+

The choice of a hypothesis depends on:

+

 

@@ -270,5 +242,4 @@ if (window.writeIntopicBar) //--> - diff --git a/doc/salome/gui/SMESH/files/about_meshing_algorithms.htm b/doc/salome/gui/SMESH/files/about_meshing_algorithms.htm index 6024897f7..ecc8de1c2 100755 --- a/doc/salome/gui/SMESH/files/about_meshing_algorithms.htm +++ b/doc/salome/gui/SMESH/files/about_meshing_algorithms.htm @@ -2,31 +2,11 @@ - - - - - About meshing algorithms - - - - - - - - - - - - - - - - - - + - + - - - - - - - -

About meshing algorithms

+

Defining meshing algorithms

-

The SMESH module contains a set of meshing algorithms, - which are used for meshing of all kinds of entities (1D, 2D, 3D) composing - geometrical objects. They are as follows:

+

The MESH module contains a set of meshing algorithms, + which are used for meshing entities (1D, 2D, 3D) composing geometrical + objects. They are as follows:

 

@@ -125,8 +123,7 @@ else
  • Wire discretization - meshing algorithm

  • + class=kadov-p>

    Wire Discretization meshing algorithm

    @@ -143,16 +140,31 @@ else

     

    + +++ + + + +
    +

    +

    + +

     

    + +

     

    +

     

    -

    To - apply a meshing algorithm

    - -

    In the main menu select Hypotheses - > Create Algorithms

    + ++-

    The following menu will appear:

    + + + +
    +

    +

     

    -

    +

    To apply a meshing algorithm:

    -

     

    +

    Select this algorithm in the Create Mesh dialog box.

    -

    Select one of the menu items and click Create. - The created algorithms shall appear in the Object Browser under the Algorithms folder:

    +

     

    -

     

    +

    See Also + a sample TUI Script of a Define + Meshing Algorithm operation.  

    -

    - -

     

    +

     

    - diff --git a/doc/salome/gui/SMESH/files/about_modification_of_meshes.htm b/doc/salome/gui/SMESH/files/about_modification_of_meshes.htm deleted file mode 100755 index a942834fa..000000000 --- a/doc/salome/gui/SMESH/files/about_modification_of_meshes.htm +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - -About modification of meshes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    About modification of meshes

    - -

     

    - - - - - diff --git a/doc/salome/gui/SMESH/files/about_quality_controls.htm b/doc/salome/gui/SMESH/files/about_quality_controls.htm index 839e3de7e..f52da280f 100755 --- a/doc/salome/gui/SMESH/files/about_quality_controls.htm +++ b/doc/salome/gui/SMESH/files/about_quality_controls.htm @@ -2,31 +2,11 @@ - - - - - About quality controls - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    About quality controls

    Mesh - quality control in SMESH is destined for visual control of the - generated mesh.

    + quality control
    in MESH is destined for visual control of the generated + mesh.

    Application of a definite quality control consists of usage of the corresponding algorithm, which calculates a value @@ -116,33 +89,75 @@ else

     

    -

    In SMESH you have at your disposal the - following mesh quality controls:

    +

    There are 1D, 2D and 3D quality controls. +

    + +

      

    + +

    1D mesh quality controls:

     

    + + +

     

    + +

    2D mesh quality controls:

    + +

     

    + + + +

     

    + +

    3D mesh quality controls:

    + +

     

    + + + +

     

    + - diff --git a/doc/salome/gui/SMESH/files/adding_nodes_and_elements.htm b/doc/salome/gui/SMESH/files/adding_nodes_and_elements.htm index faf7a9867..420454e40 100755 --- a/doc/salome/gui/SMESH/files/adding_nodes_and_elements.htm +++ b/doc/salome/gui/SMESH/files/adding_nodes_and_elements.htm @@ -2,31 +2,11 @@ - - - - - Adding nodes and elements - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Adding nodes and elements

    @@ -119,17 +93,17 @@ else

     

    @@ -156,12 +130,20 @@ else

     

    From this submenu select the type of element - which you would like to add to your mesh. The corresponding dialog box - shall appear.

    + which you would like to add to your mesh.

    + +

     

    + +

      See + Also sample TUI Scripts of  Adding + Nodes and Elements operations. +  

    + +

     

    -

    Adding nodes

    +

    Adding nodes

    -

    +

         

     

    @@ -172,15 +154,11 @@ else

     

    -

    - -

     

    - -

    Adding edges

    +

    Adding edges

     

    -

    +

          

     

    @@ -191,15 +169,11 @@ else

     

    -

    - -

     

    - -

    Adding triangles

    +

    Adding triangles

     

    -

    +

            

     

    @@ -211,13 +185,9 @@ else

     

    -

    - -

     

    - -

    Adding quadrangles

    +

    Adding quadrangles

    -

    +

            

    In this dialog box specify the nodes which will form your quadrangle by selecting them in the 3D viewer with pressed @@ -227,13 +197,20 @@ else

     

    -

    +

    Adding polygons

    + +

              

    + +

    In this dialog box specify the nodes which + will form your polygon by selecting them in the 3D viewer with pressed + Shift button and click the Apply or + OK button.

     

    -

    Adding tetrahedrons

    +

    Adding tetrahedrons

    -

    +

     

    @@ -247,9 +224,9 @@ else

    -

    Adding hexahedrons

    +

    Adding hexahedrons

    -

    +

     

    @@ -265,6 +242,45 @@ else

    +

     

    + +

    Adding polyhedrons

    + +

            

    + +

     

    + +

    There are two different ways to add polyhedral + volumes.

    + +

    If you select Node + as Elements Type you will specify + the nodes which will form the faces of your polyhedron by selecting the + nodes in the 3D viewer with pressed Shift button and clicking the Add button to add the face in the list + of Faces by Nodes, which will form your polyhedron. Note, that it could + be very useful to toggle Polyhedron Preview checkbox to see the results + of your selection.

    + +

    The second way is somewhat simpler, however, + there are cases when it does not provide you with the necessary level + of precision. If you select Face + as Elements Type, you will be + able to select the faces  which + will form your polyhedron in the 3D viewer with pressed Shift button. + If you've managed to

    + +

    obtain the necessary result, click the Apply or OK + button. Your hexahedron will be + created.

    + +

     

    + +

     

    + +

     

    + - diff --git a/doc/salome/gui/SMESH/files/area_of_elements.htm b/doc/salome/gui/SMESH/files/area_of_elements.htm index d832bffb0..d92aa5ef3 100755 --- a/doc/salome/gui/SMESH/files/area_of_elements.htm +++ b/doc/salome/gui/SMESH/files/area_of_elements.htm @@ -2,31 +2,11 @@ - - - - - Area of elements - - - - - - - - - - - - - - - - - - + - + - - - - - - - -

    Area of elements

    +

    Area

    -

    Area of elements mesh - quality control is based on the algorithm of area calculation of  meshing +

    Area mesh quality + control is based on the algorithm of area calculation of  meshing elements . It can be applied to meshes consisting of 2D meshing elements with 3 and 4 nodes (triangles and quadrangles).    

    @@ -117,18 +102,24 @@ else

     

    -

    2. Choose Quality - Controls > Area or click button. Your mesh will - be displayed in the viewer with its elements colored according to the - applied mesh quality control criterion:

    +

    2. Choose Controls + > Area or click button. Your mesh will be displayed + in the viewer with its elements colored according to the applied mesh + quality control criterion:

     

     

    -

    +

    -

     

    +

     

    + +

    See Also + a sample TUI Script of an Area + quality control operation.  

    + +

     

     

    @@ -139,5 +130,4 @@ if (window.writeIntopicBar) //--> - diff --git a/doc/salome/gui/SMESH/files/arithmetic_1d.htm b/doc/salome/gui/SMESH/files/arithmetic_1d.htm index 36ad79aa6..ead4f03b7 100755 --- a/doc/salome/gui/SMESH/files/arithmetic_1d.htm +++ b/doc/salome/gui/SMESH/files/arithmetic_1d.htm @@ -2,31 +2,11 @@ - - - - - Arithmetic 1D - - - - - - - - - - - - - - - - - - - - + - - - - - - - -

    Arithmetic 1D hypothesis

    +

    1D Meshing Hypotheses

    + +

    Arithmetic 1D hypothesis

    + +

    Arithmetic 1D hypothesis allows + to split edges into segments with a length that changes in arithmetic + progression (Lk = Lk-1 + d) beginning from a given starting length and + up to a given end length.

    + +

     

    + +

         

    + +

     

    -

    Arithmetic 1D - - hypothesis for the Regular 1D algorithm. It allows to split edges into - segments with a length that changes in arithmetic progression (Lk = Lk-1 - + d) beginning from a given starting length and up to a given end length.

    +

    See Also + a sample TUI Script of a Defining + Arithmetic 1D hypothesis operation.  

    + +

    Deflection 1D hypothesis

    + +

    Deflection ID hypothesis can + be applied for meshing curvilinear edges composing your geometrical object. + It uses only one parameter: the value of deflection.  

    + +

    A geometrical edge is divided into equal segments. The maximum distance + between a point on the edge within a segment and the line connecting the + ends of the segment should not exceed the specified value of deflection + . Then mesh nodes are constructed at end segment locations and 1D mesh + elements are constructed on segments.

     

    -

    Similar to Start and End Length.

    +

          

     

    -

    To define the Arithmetic 1D hypothesis:

    +

    See Also + a sample TUI Script of a Defining + Deflection 1D hypothesis operation.  

    -

     

    +

     

    -

    Select this hypothesis in the - Create Hypotheses dialog box - click Create. The following dialog - box will appear:

    +

    -

     

    +

    Average Length hypothesis

    -

    +

    Average Length hypothesis can + be applied for meshing of edges composing your geometrical object. Definition + of this hypothesis consists of setting the length + of segments, which will split these edges. The points on the edges generated + by these segments will represent nodes of your mesh. Later these nodes + will be used for meshing of the faces abutting to these edges.

    -

     

    +

     

    + +

           

    + +

     

    + +

    See Also + a sample TUI Script of a Defining + Average Length hypothesis operation.  

    + +

     

    -

    In this dialog box you can set:

    +

    -

     

    +

    Number of segments hypothesis

    - +

    Number of segments hypothesis + can be applied for meshing of edges composing your geometrical object. + Definition of this hypothesis consists of setting the number + of segments, which will split these edges. In other words your edges will + be split into a definite number of segments with approximately the same + length. The points on the edges generated by these segments will represent + nodes of your mesh. Later these nodes will be used for meshing of the + faces abutting to these edges.

    + +

     

    + +

    You can set the type of distribution for this + hypothesis in the Hypothesis Construction + dialog bog :

    + +

     

    + +

    Equidistant + Distribution - all segments will have the same length

    + +

             

    + +

     

    + +

    Scale Distribution - each + next segment differs from the previous according to the formula: + Ai+1 = Ai + * k, where k is + Scale Factor

    + +

    \

    + +

     

    + +

    Distribution with Table Density - you + input a number of pairs t - F(t) and + the program computes the formula, which will rule the change of length + of segments.

    + +

     

    + +

    + +

     

    + +

    Distribution with Analytic Density - you input the formula, which will rule the + change of length of segments

    + +

    + +

    See Also + a sample TUI Script of a Defining + Number of Segments hypothesis operation.  

    + +

     

    + +

    Start and End Length hypothesis.

    + +

    Start and End Length hypothesis + allows to divide a geometrical edge into segments so that the first and + the last segments have a specified length. The length of each but the + first segment differs from length of the previous one by a constant factor. + Then mesh nodes are constructed at segment ends location and 1D mesh elements + are constructed on them.

    + +

     

    + +

          

    + +

     

    + +

    See Also + a sample TUI Script of a Defining + Start and End Length  hypothesis + operation.  

    + +

     

    - diff --git a/doc/salome/gui/SMESH/files/aspect_ratio.htm b/doc/salome/gui/SMESH/files/aspect_ratio.htm index 1e1117fd0..a605ab961 100755 --- a/doc/salome/gui/SMESH/files/aspect_ratio.htm +++ b/doc/salome/gui/SMESH/files/aspect_ratio.htm @@ -2,31 +2,11 @@ - - - - - Aspect Ratio - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Aspect Ratio

    @@ -165,14 +138,22 @@ else

     

    -

    2. Choose Quality - Controls > Aspect Ratio or click button in the - toolbar. Your mesh will be displayed in the viewer with its elements colored - according to the applied mesh quality control criterion:

    +

    2. Choose Controls + > Aspect Ratio or click button in the toolbar. + Your mesh will be displayed in the viewer with its elements colored according + to the applied mesh quality control criterion:

     

    -

    +

    + +

     

    + +

    See Also + a sample TUI Script of an Aspect + Ratio quality control operation.  

    + +

     

    - diff --git a/doc/salome/gui/SMESH/files/changing_orientation_of_elements.htm b/doc/salome/gui/SMESH/files/changing_orientation_of_elements.htm index f51e87294..fa7317e1d 100755 --- a/doc/salome/gui/SMESH/files/changing_orientation_of_elements.htm +++ b/doc/salome/gui/SMESH/files/changing_orientation_of_elements.htm @@ -2,31 +2,11 @@ - - - - - Changing orientation of elements - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Changing orientation of elements

    @@ -110,7 +83,7 @@ else

    To change orientation of elements:

    -

     

    +

     

    1. Display a mesh or a submesh in the 3D viewer.

    @@ -124,7 +97,11 @@ else

     

    -

    +

     

    + +

    + +

     

     

    @@ -168,5 +145,4 @@ if (window.writeIntopicBar) //--> - diff --git a/doc/salome/gui/SMESH/files/computing_meshes.htm b/doc/salome/gui/SMESH/files/computing_meshes.htm deleted file mode 100755 index a700eb285..000000000 --- a/doc/salome/gui/SMESH/files/computing_meshes.htm +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - - - -Computing meshes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Computing meshes

    - -

    The final step in generation of your mesh is its computation.

    - -

     

    - -

    To compute a mesh:

    - -

     

    - -

    1. Select your mesh in the Object - Browser.

    - -

     

    - -

    2. From the Mesh - menu select Compute or - click button of the toolbar.

    - - - - - diff --git a/doc/salome/gui/SMESH/files/connectivity.htm b/doc/salome/gui/SMESH/files/connectivity.htm deleted file mode 100755 index fcc85986a..000000000 --- a/doc/salome/gui/SMESH/files/connectivity.htm +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - -Connectivity - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Connectivity

    - -

    Type topic text here.

    - - - - - diff --git a/doc/salome/gui/SMESH/files/constructing_groups_of_specific_elements.htm b/doc/salome/gui/SMESH/files/constructing_groups_of_specific_elements.htm index 6ee21947a..f87833a00 100755 --- a/doc/salome/gui/SMESH/files/constructing_groups_of_specific_elements.htm +++ b/doc/salome/gui/SMESH/files/constructing_groups_of_specific_elements.htm @@ -2,31 +2,11 @@ - - - - - Constructing groups of specific elements - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Constructing groups of specific elements

    -

    In SMESH you can easily construct groups of specific elements (nodes, +

    In MESH you can easily construct groups of specific elements (nodes, edges or faces) which will be taken from a definite submesh.

     

    @@ -112,7 +85,7 @@ else and choose the Construct Group item or select your submesh in the Object Browser and in the Mesh menu chose the Construct Group - item. SMESH will construct several groups consisting of elements + item. MESH will construct several groups consisting of elements of the definite type: nodes, edges or faces

    - diff --git a/doc/salome/gui/SMESH/files/constructing_meshes.htm b/doc/salome/gui/SMESH/files/constructing_meshes.htm index e4a680d66..112bb76eb 100755 --- a/doc/salome/gui/SMESH/files/constructing_meshes.htm +++ b/doc/salome/gui/SMESH/files/constructing_meshes.htm @@ -2,31 +2,11 @@ - - - - - Constructing meshes - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Constructing meshes

    @@ -125,40 +104,54 @@ else
  • Selecting a geometrical object for meshing

  • -
  • Applying one or several - previously hypotheses and meshing - algorithms which will be used at computation of this mesh.

  • +
  • Applying meshing + algorithms and hypotheses which + will be used at computation of this mesh.

  •  

    To construct a mesh:

    -

     

    - -

    In the Mesh - menu select Global Hyp. or +

    1. In the Mesh + menu select Create Mesh or click button in the toolbar. The following dialog box will appear:

     

    -

    +

     

    -

    In the Object Browser the structure of the - new mesh will be displayed as follows:

    +

    2. For example, you need to mesh a 3d object. +

    -

     

    +

    First, type the name for your mesh in the + "Name" box, by default, it is "Mesh_1". Then select + the object you wish to mesh in the Object Browser and click + the "Add" button.

    -

    +

    Now you can define 1d Algorithm and 1d Hypotheses, + which will be applied to the edges of your object. (Note that any object + has edges, even if their existence is not apparent, for example, a sphere + has 4 edges). Click the   button to add a hypothesis. Click the button + to define values for the current hypothesis. The use of additional hypotheses + is optional (i.e. you may leave "None" in this box).   

     

    -

    It contains:

    +

    Proceed in the same way with 2d and 3d Algorithms + and Hypotheses, note that the choice of hypotheses depends on the algorithm. + There must be one Algorithm and one or several Hypotheses for each dimension + of your object, otherwise you will not get any mesh at all. Of course, + if you wish to mesh a face, which is a 2d object, you don't need to define + 3d Algorithm and Hypotheses.

    -

     

    +

    In the Object + Browser the structure of the new mesh will be displayed as follows:

    + +

    It contains:

    +

     

    + +

    3. Now, when everything is ready, select + your mesh in the Object Browser. +  From + the Mesh menu select Compute or click button of the toolbar.

    + +

    If you've done everything right, you'll obtain + something like this.

    + +

    Consider trying a sample script for construction + of a mesh from our TUI Scripts + section.

    + +

     

    + +

     

    + - diff --git a/doc/salome/gui/SMESH/files/constructing_submeshes.htm b/doc/salome/gui/SMESH/files/constructing_submeshes.htm index 820365840..e09d47b80 100755 --- a/doc/salome/gui/SMESH/files/constructing_submeshes.htm +++ b/doc/salome/gui/SMESH/files/constructing_submeshes.htm @@ -2,31 +2,11 @@ - - - - - Constructing submeshes - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Constructing submeshes

    @@ -146,7 +119,7 @@ else

     

    -

    +

     

    @@ -157,7 +130,7 @@ else

     

    -

    +

     

    @@ -183,7 +156,11 @@ else

     

    -

     

    +

    See Also + a sample TUI Script of a Construct + Submesh operation.  

    + +

     

    - diff --git a/doc/salome/gui/SMESH/files/creating_groups.htm b/doc/salome/gui/SMESH/files/creating_groups.htm index b5ea84892..b6912effc 100755 --- a/doc/salome/gui/SMESH/files/creating_groups.htm +++ b/doc/salome/gui/SMESH/files/creating_groups.htm @@ -2,31 +2,11 @@ - - - - - Creating groups - - - - - - - - - - - - - - - - - - + - + - - - - - - -

    Creating groups

    In - SMESH you can create groups of elements of different types and having - definite properties.

    + MESH you can create groups of elements of different types and having definite + properties.

     

    @@ -124,9 +111,9 @@ else

     

    -

     

    +

     

    -

     

    +

     

    This dialog box contains the following fields which should be filled:

    @@ -179,14 +166,14 @@ else

     

    -

    +

     

    In this dialog box you should enter the name of the geometrical object (you can enter the name manually or select your geometrical object in the Objet Browser or in the 3D viewer) from which - the elements will be taken. And after confirmation of the operation SMESH + the elements will be taken. And after confirmation of the operation MESH will create a new group consisting of geometrical elements of the previously defined type.

    @@ -203,8 +190,9 @@ else element or elements from the list click the Remove button. The Sort button allows to sort the list of elements IDs. The Set - filter button allows to apply a definite filter to selection - of the elements of your group.

    + filter button allows to apply a definite filter to selection of + the elements of your group. See more about filters on the Selection + filter library page

  • Select from set of fields allows to @@ -216,8 +204,20 @@ else

     

    2. Click the OK - button to confirm creation of your group or Cancel to quit this dialog box.

    + button to confirm creation of your group or Cancel + to quit this dialog box.

    + +

     

    + +

    See Also + a sample TUI Script of a Create + Group operation.  

    + +

     

    + +

    + +

     

    - diff --git a/doc/salome/gui/SMESH/files/cutting_quadrangles.htm b/doc/salome/gui/SMESH/files/cutting_quadrangles.htm index 8e2220693..d9b1e31e6 100755 --- a/doc/salome/gui/SMESH/files/cutting_quadrangles.htm +++ b/doc/salome/gui/SMESH/files/cutting_quadrangles.htm @@ -2,31 +2,11 @@ - - - - - Cutting quadrangles - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Cutting quadrangles

    @@ -135,8 +109,6 @@ else

    1. Display a mesh or a submesh in the 3D viewer.

    -

     

    -

    2. In the Modification menu select the Cutting of quadrangles item or click button in the toolbar. The following @@ -144,7 +116,7 @@ else

     

    -

    +

     

    @@ -157,9 +129,9 @@ else button and the ID of this quadrangle will be added to the list. To remove a selected element or elements from the list click the Remove button. The Sort - button allows to sort the list of IDs. The Set - filter button allows to apply a definite filter to selection of - quadrangles.

  • + button allows to sort the list of IDs. The Filter button allows to apply a definite + filter to selection of quadrangles.

  • Apply to all radio button allows to @@ -171,8 +143,13 @@ else to specify the opposite corners which will be connected by the cutting edge.

  • +
  • Preview +

  • +
  • Preview

  • + style="font-weight: bold;">Criterion menu allows to apply the operation + only to those object which meet the chosen criterion (from the list of + Quality Controls, i.e. Skew, Warping, Minimum Angle, etc.)

  • Select from set of fields allows to @@ -186,11 +163,8 @@ else or OK button to confirm the operation.

    -

     

    - -

     

    +

     

    - @@ -202,7 +176,13 @@ else

    -

     

    +

     

    + +

      See + Also a sample TUI Script of a Cutting + Quadrangles operation.  

    + +

     

    - diff --git a/doc/salome/gui/SMESH/files/deflection_1d.htm b/doc/salome/gui/SMESH/files/deflection_1d.htm deleted file mode 100755 index 50612ac08..000000000 --- a/doc/salome/gui/SMESH/files/deflection_1d.htm +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - - - -Local Length hypothesis - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Average Length hypothesis

    - -

    Average Length hypothesis - can be applied for meshing of edges composing your geometrical object. - Definition of this hypothesis consists of setting the length - of segments, which will split these edges. The points on the edges generated - by these segments will represent nodes of your mesh. Later these nodes - will be used for meshing of the faces abutting to these edges.

    - -

     

    - -

    - -

     

    - -

    To define the Average Length hypothesis:

    - -

     

    - -

    Select this hypothesis in the - Create Hypotheses dialog box - click Create. The following dialog - box will appear:

    - -

     

    - -

    - -

     

    - -

    In this dialog box you can set:

    - -

     

    - - - -

     

    - - - - - diff --git a/doc/salome/gui/SMESH/files/diagonal_iversion_of_elements.htm b/doc/salome/gui/SMESH/files/diagonal_iversion_of_elements.htm index e736e199e..871430041 100755 --- a/doc/salome/gui/SMESH/files/diagonal_iversion_of_elements.htm +++ b/doc/salome/gui/SMESH/files/diagonal_iversion_of_elements.htm @@ -2,31 +2,11 @@ - - - - - Diagonal iversion of elements - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Diagonal inversion of elements

    -

     In SMESH +

     In MESH you can inverse the diagonal (edge) of a pseudo-quadrangle formed by two neighboring triangles with one common edge.

    @@ -124,7 +97,7 @@ else

     

    -

    +

     

    @@ -142,7 +115,6 @@ else

     

    - @@ -154,6 +126,14 @@ else

    +

     

    + +

      See + Also a sample TUI Script of a Diagonal + Inversion of Elements operation.  

    + +

     

    + - diff --git a/doc/salome/gui/SMESH/files/displacing_nodes.htm b/doc/salome/gui/SMESH/files/displacing_nodes.htm index 79e32e4b5..f90a4085c 100755 --- a/doc/salome/gui/SMESH/files/displacing_nodes.htm +++ b/doc/salome/gui/SMESH/files/displacing_nodes.htm @@ -2,31 +2,11 @@ - - - - - Displacing nodes - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Moving nodes

    -

    In SMESH you can change the location of any node of your mesh. In this +

    In MESH you can change the location of any node of your mesh. In this case all adjacent elements (edges) will be also transformed right after the displaced node.

    @@ -137,7 +112,7 @@ else

     

    -

    +

     

    @@ -159,23 +134,26 @@ else

     

    - -+- - - + + +
    -

    -

    +

    +

    -

     

    +

     

    -

     

    +

      See + Also a sample TUI Script of a Moving + Nodes operation.  

    + +

     

    -

     

    +

     

    - diff --git a/doc/salome/gui/SMESH/files/displaying_elements_numbers.htm b/doc/salome/gui/SMESH/files/displaying_elements_numbers.htm deleted file mode 100755 index 8cc308b5b..000000000 --- a/doc/salome/gui/SMESH/files/displaying_elements_numbers.htm +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - - - -Displaying elements numbers - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Displaying elements numbers

    - -

    In SMESH you can display the ID numbers of all meshing elements composing - your mesh in the viewer.

    - -

     

    - -

    To display ID numbers of elements:

    - -

     

    - -

    1. Display your mesh in the viewer

    - -

     

    - -

    2. Right-click on the mesh in the 3D viewer - and from the associated pop-up menu choose Numbering - > Display Elements #.

    - -

     

    - -

    It will look like as follows:

    - -

     

    - -

    - -

     

    - -

     

    - - - - - diff --git a/doc/salome/gui/SMESH/files/displaying_nodes_numbers.htm b/doc/salome/gui/SMESH/files/displaying_nodes_numbers.htm index 292f99a30..4f450b7dd 100755 --- a/doc/salome/gui/SMESH/files/displaying_nodes_numbers.htm +++ b/doc/salome/gui/SMESH/files/displaying_nodes_numbers.htm @@ -2,31 +2,11 @@ - - - - - Displaying nodes numbers - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Displaying nodes numbers

    -

    In SMESH you can display the ID numbers of all nodes of your mesh in +

    In MESH you can display the ID numbers of all nodes of your mesh in the viewer.

     

    @@ -135,12 +109,41 @@ else

     

    -

    +

    + +

     

    + +

    Displaying elements numbers

    + +

    In MESH you can display the ID numbers of all meshing elements composing + your mesh in the viewer.

    + +

     

    + +

    To display ID numbers of elements:

    + +

     

    + +

    1. Display your mesh in the viewer

    + +

     

    + +

    2. Right-click on the mesh in the 3D viewer + and from the associated pop-up menu choose Numbering + > Display Elements #.

     

    +

    It will look like as follows:

    + +

     

    + +

    +

     

    +

     

    + - diff --git a/doc/salome/gui/SMESH/files/editing_groups.htm b/doc/salome/gui/SMESH/files/editing_groups.htm index eee766b72..505cdd9b5 100755 --- a/doc/salome/gui/SMESH/files/editing_groups.htm +++ b/doc/salome/gui/SMESH/files/editing_groups.htm @@ -2,31 +2,11 @@ - - - - - Editing groups - - - - - - - - - - - - - - - - - - + - + - - - - - - -

    Editing groups

    @@ -113,7 +98,7 @@ else

     

    -

    +

     

    @@ -125,8 +110,16 @@ else

     

    2. Click the OK - or  Apply - button to confirm modification of the group.

    + or  Apply + button to confirm modification of the group.

    + +

     

    + +

    See Also + a sample TUI Script of an Edit + Group operation.  

    + +

     

    - diff --git a/doc/salome/gui/SMESH/files/editing_hypotheses.htm b/doc/salome/gui/SMESH/files/editing_hypotheses.htm deleted file mode 100755 index a0d30a3f6..000000000 --- a/doc/salome/gui/SMESH/files/editing_hypotheses.htm +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - - -Editing hypotheses - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Editing hypotheses and algorithms

    - -

    In SMESH you can rename created - and already applied hypotheses and algorithms and edit - the input data of the created and already applied hypotheses.

    - -

     

    - -

    To rename a hypothesis or algorithm:

    - -

     

    - -

    1. Select the required hypothesis or algorithm - in the Object Browser and right-click on it. From the associated popup - menu select the Rename item, the - following dialog box will appear:

    - -

     

    - -

    - -

     

    - -

    2. In this dialog box enter a new name for - your hypothesis or algorithm and click the OK - button.

    - -

     

    - -

    To edit the input data of a hypothesis:

    - -

     

    - -

    1. Select the required hypothesis  in - the Object Browser and right-click on it. From the associated popup menu - select the Edit item and in the - appeared dialog box (it will differ depending on the type of the edited - hypothesis) enter a new input value for your hypothesis.

    - -

     

    - -

    2. Click the OK - button to confirm your changes.

    - - - - - diff --git a/doc/salome/gui/SMESH/files/importing_and_exporting_meshes.htm b/doc/salome/gui/SMESH/files/importing_and_exporting_meshes.htm index 618bc80be..6b3ecf015 100755 --- a/doc/salome/gui/SMESH/files/importing_and_exporting_meshes.htm +++ b/doc/salome/gui/SMESH/files/importing_and_exporting_meshes.htm @@ -2,31 +2,11 @@ - - - - - Importing and exporting meshes - - - - - - - - - - - - - - - - - - + - + - - - - - - -

    Importing and exporting meshes

    -

    In SMESH there is a functionality allowing importation/exportation +

    In MESH there is a functionality allowing importation/exportation of meshes from MED, UNV format files.

    @@ -119,7 +106,11 @@ else File dialog box find the file for importation.

    3. Click the OK - button.

    + button.

    + +

     

    + +

     

    @@ -127,18 +118,30 @@ else

     

    -

    1. From the File +

    1. Select the object you wish to export.

    + +

    2. From the File menu choose the Export item, from its sub-menu select the format (MED, UNV) of the file which will contain your exported mesh..

    -

    2. In the standard Search +

    3. In the standard Search File select a location for the exported file and enter its name.

    -

    3. Click the OK +

    4. Click the OK button.

    +

     

    + +

    + +

     

    + +

    See Also + a sample TUI Script of an Export + Mesh operation.  

    + - diff --git a/doc/salome/gui/SMESH/files/introduction_to_smesh.htm b/doc/salome/gui/SMESH/files/introduction_to_smesh.htm index eb44da016..4bdc32545 100755 --- a/doc/salome/gui/SMESH/files/introduction_to_smesh.htm +++ b/doc/salome/gui/SMESH/files/introduction_to_smesh.htm @@ -2,31 +2,11 @@ - - - - - Introduction to SMESH - - - - - - - - - - - - - - - - - - - - + - - - - - - - -

    Introduction to SMESH

    +

    Introduction to MESH

    -

    SMESH module of +

    MESH module of SALOME is destined for:

     

    @@ -113,7 +87,7 @@ else
  • import and export of meshes in MED format,

  • meshing geometrical models previously created - or imported by the GEOM component. SMESH module allows to apply 1D, 2D, + or imported by the GEOM component. MESH module allows to apply 1D, 2D, 3D meshing algorithms and a set of hypotheses:

    • @@ -143,9 +117,11 @@ else criteria -

    -

     

    +

    + +

     

    -

    for edges:

    +

    for edges:

     

    @@ -163,7 +139,7 @@ else

     

    -

    for faces:

    +

    for faces:

     

    @@ -171,7 +147,13 @@ else
      -
    • Area of elements

    • +
    • Area

    • + +
    • Free edges

    • + +
    • Borders at multi-connection 2D

    • + +
    • Length 2D

    • Minimum angle

    • @@ -179,9 +161,23 @@ else
    • Aspect Ratio

    • -
    • Warping

    • +
    • Warping

    • + +
    • Skew

    • +
    + + +

     

    + +

    for solids:

    + +

     

    + +
      + +
        -
      • Skew angle

      • +
      • Aspect ratio 3D

    @@ -196,5 +192,4 @@ if (window.writeIntopicBar) //--> - diff --git a/doc/salome/gui/SMESH/files/length_from_edges.htm b/doc/salome/gui/SMESH/files/length_from_edges.htm deleted file mode 100755 index 148ecd023..000000000 --- a/doc/salome/gui/SMESH/files/length_from_edges.htm +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - -Length from edges - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Length from edges (2D hypothesis for Triangulator) hypothesis

    - -

    Length from edges - hypothesis builds 1D mesh segments having a length calculated as an average - edge length for a given wire.

    - -

     

    - -

    This hypothesis has no parameters.

    - -

     

    - -

     

    - -

    To apply the Length from edges hypothesis:

    - -

     

    - -

    Select this hypotheses in the - Create Hypotheses dialog box - click Create.

    - -

     

    - -

     

    - - - - - diff --git a/doc/salome/gui/SMESH/files/length_of_edges.htm b/doc/salome/gui/SMESH/files/length_of_edges.htm index 70acb620a..4238a5cf4 100755 --- a/doc/salome/gui/SMESH/files/length_of_edges.htm +++ b/doc/salome/gui/SMESH/files/length_of_edges.htm @@ -2,31 +2,11 @@ - - - - - Length of edges - - - - - - - - - - - - - - - - - - + - + - - - - - - - -

    Length of edges

    +

    Length 2D

    This quality control criterion consists of calculation of length of the edges combining the meshing elements (triangles and quadrangles) @@ -108,7 +93,7 @@ else

       

    -

    To apply the Length of edges quality criterion to your mesh:

    +

    To apply the Length 2D quality criterion to your mesh:

     

    @@ -116,14 +101,22 @@ else

     

    -

    2. Choose Quality - Controls > Length or click button in the toolbar. - Your mesh will be displayed in the viewer with its elements colored according +

    2. Choose Controls + > Length 2D or click button in the toolbar. Your + mesh will be displayed in the viewer with its elements colored according to the applied mesh quality control criterion:

     

    -

    +

    + +

     

    + +

    See Also + a sample TUI Script of a  Length + 2D quality control operation.  

    + +

     

     

    @@ -136,5 +129,4 @@ if (window.writeIntopicBar) //--> - diff --git a/doc/salome/gui/SMESH/files/local_length_hypothesis.htm b/doc/salome/gui/SMESH/files/local_length_hypothesis.htm deleted file mode 100755 index a53261d03..000000000 --- a/doc/salome/gui/SMESH/files/local_length_hypothesis.htm +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - - - -Local Length hypothesis - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Average Length hypothesis

    - -

    Average Length hypothesis - can be applied for meshing of edges composing your geometrical object. - Definition of this hypothesis consists of setting the length - of segments, which will split these edges. The points on the edges generated - by these segments will represent nodes of your mesh. Later these nodes - will be used for meshing of the faces abutting to these edges.

    - -

     

    - -

    - -

     

    - -

    To define the Average Length hypothesis:

    - -

     

    - -

    Select this hypotheses in the - Create Hypotheses dialog box - click Create. The following dialog - box will appear:

    - -

     

    - -

    - -

     

    - -

    In this dialog box you can set:

    - -

     

    - -
      - -
    • Name - of your Average Length hypothesis

    • - -
    • Length - of segments which will split the edges of your geometrical object

    • -
    - -

     

    - - - - - diff --git a/doc/salome/gui/SMESH/files/max._element_area_hypothesis.htm b/doc/salome/gui/SMESH/files/max._element_area_hypothesis.htm index ef7a55ebf..e329aab17 100755 --- a/doc/salome/gui/SMESH/files/max._element_area_hypothesis.htm +++ b/doc/salome/gui/SMESH/files/max._element_area_hypothesis.htm @@ -2,31 +2,11 @@ - - - - - Length from edges - - - - - - - - - - - - - - - - - - + - + - - - - - - - -

    Length from edges (2D hypothesis for Triangulator) hypothesis

    +

    Max Element Area hypothesis

    -

    Length from edges - hypothesis builds 1D mesh segments having a length calculated as an average - edge length for a given wire.

    +

    Max + Element Area hypothesis is applied for meshing of 2D faces composing + your geometrical object. Definition of this hypothesis consists of setting + the maximum area of meshing elements + (depending on the chosen meshing algorithm it can be triangles + or quadrangles), which will compose + the mesh of these 2D faces.

     

    -

    This hypothesis has no parameters.

    - -

     

    - -

     

    +

    -

    To apply the Length from edges hypothesis:

    - -

     

    +

     

    -

    Select this hypothesis in the - Create Hypotheses dialog box - click Create.

    +

    See Also + a sample TUI Script of a Maximum + Element Area hypothesis operation.  

    -

     

    +

     

    -

     

    +

    - diff --git a/doc/salome/gui/SMESH/files/max._element_volume_hypothsis.htm b/doc/salome/gui/SMESH/files/max._element_volume_hypothsis.htm index 7eb80ee6a..08e40aa0a 100755 --- a/doc/salome/gui/SMESH/files/max._element_volume_hypothsis.htm +++ b/doc/salome/gui/SMESH/files/max._element_volume_hypothsis.htm @@ -2,31 +2,11 @@ - - - - - Non conform mesh allowed hypothesis - - - - - - - - - - - - - - - - - - + - + - - - - - - - -

    Non conform mesh allowed hypothesis

    - -

    Non Conform mesh allowed - hypothesis allows to generate non-conform meshes (that is, meshes having - some edges ending on an edge or face of adjacent elements).

    +

    Max Element Volume hypothesis

    -

     

    +

    Max + Element Area hypothesis is applied for meshing of 3D objects composing + your geometrical object. Definition of this hypothesis consists of setting + the maximum volume of 3D meshing + elements (depending on the chosen meshing algorithm it can be hexahedrons + or tetrahedrons), which + will compose the mesh of these 3D objects.

    -

    This hypothesis has no parameters.

    +

     

    -

     

    +

    -

    To apply this hypothesis:

    +

     

    -

     

    +

    See Also + a sample TUI Script of a Maximum + Element Volume hypothesis operation.  

    -

    Select this hypothesis s in the - Create Hypotheses dialog box - click Create.

    +

     

    - diff --git a/doc/salome/gui/SMESH/files/merging_nodes.htm b/doc/salome/gui/SMESH/files/merging_nodes.htm index e324b053f..fd010796e 100755 --- a/doc/salome/gui/SMESH/files/merging_nodes.htm +++ b/doc/salome/gui/SMESH/files/merging_nodes.htm @@ -2,31 +2,11 @@ - - - - - Merging nodes - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Merging nodes

    @@ -118,13 +93,29 @@ else

     

    -

    +

     

    This dialog box allows to create groups of coincident nodes and to merge them.

    +

     

    + +

                

    + +

     

    + +

     

    + +

     

    + +

      See + Also a sample TUI Script of a Merging + Nodes operation.  

    + +

     

    + - diff --git a/doc/salome/gui/SMESH/files/minimum_angle.htm b/doc/salome/gui/SMESH/files/minimum_angle.htm index 7a88843cf..b63188d79 100755 --- a/doc/salome/gui/SMESH/files/minimum_angle.htm +++ b/doc/salome/gui/SMESH/files/minimum_angle.htm @@ -2,31 +2,11 @@ - - - - - Minimum angle - - - - - - - - - - - - - - - - - - + - + - - - - - - -

    Minimum angle

    @@ -117,17 +102,23 @@ else

     

    -

    2. Choose Quality - Controls > Minimum angle or click button. Your - mesh will be displayed in the viewer with its elements colored according - to the applied mesh quality control criterion:

    +

    2. Choose Controls + > Minimum angle or click button. Your mesh will + be displayed in the viewer with its elements colored according to the + applied mesh quality control criterion:

     

    -

    +

     

    +

    See Also + a sample TUI Script of a Minimum + Angle quality control operation.  

    + +

     

    + - diff --git a/doc/salome/gui/SMESH/files/non_conform_mesh_allowed_hypothesis.htm b/doc/salome/gui/SMESH/files/non_conform_mesh_allowed_hypothesis.htm index baecc1235..4704610d0 100755 --- a/doc/salome/gui/SMESH/files/non_conform_mesh_allowed_hypothesis.htm +++ b/doc/salome/gui/SMESH/files/non_conform_mesh_allowed_hypothesis.htm @@ -2,31 +2,11 @@ - - - - - Non conform mesh allowed hypothesis - - - - - - - - - - - - - - - - - - + - + - - - - - - - -

    Non conform mesh allowed hypothesis

    +

    Additional Hypotheses

    -

    Non Conform mesh allowed - hypothesis allows to generate non-conform meshes (that is, meshes having - some edges ending on an edge or face of adjacent elements).

    +

    Additional Hypotheses can be + applied as a supplement to the main hypotheses, introducing additional + concepts to mesh creation.

     

    -

    This hypothesis has no parameters.

    +

    To define an Additional Hypothesis + simply select it in Create Mesh + menu. These hypotheses are actually changes in the rules of mesh creation + and as such don't possess adjustable values.

    + +

     

    + +

    Non Conform mesh allowed hypothesis

    + +

    Non Conform mesh allowed hypothesis + allows to generate non-conform meshes (that is, meshes having some edges + ending on an edge or face of adjacent elements).

    + +

     

    + +

    Propagation of 1D Hypothesis on opposite edges

    + +

    Propagation + of 1D Hypothesis on opposite edges allows to propagate a set hypothesis + onto an opposite edge. If a local hypothesis and propagation are set on + one of edges of a quadrangular face, the opposite edge will have the same + hypothesis, unless another hypothesis has been locally set on such opposite + edge.

    + +

     

    + +

    See Also + a sample TUI Script of a Propagation + hypothesis operation.  

     

    -

    To apply this hypothesis:

    +

    Length from edges hypothesis

    + +

    Length from edges hypothesis + builds 1D mesh segments having a length calculated as an average edge + length for a given wire.

    -

     

    +

     

    -

    Select this hypothesis s in the - Create Hypotheses dialog box - click Create.

    +

    See Also + a sample TUI Script of a Length + from Edges hypothesis operation.  

    + +

     

    + +

     

    - diff --git a/doc/salome/gui/SMESH/files/number_of_segments_hypothesis.htm b/doc/salome/gui/SMESH/files/number_of_segments_hypothesis.htm deleted file mode 100755 index aeceb759d..000000000 --- a/doc/salome/gui/SMESH/files/number_of_segments_hypothesis.htm +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - - - -Number of segments hypothesis - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Number of segments hypothesis

    - -

    Number of segments hypothesis - can be applied for meshing of edges composing your geometrical object. - Definition of this hypothesis consists of setting the number - of segments, which will split these edges. In other words your edges will - be split into a definite number of segments with approximately the same - length. The points on the edges generated by these segments will represent - nodes of your mesh. Later these nodes will be used for meshing of the - faces abutting to these edges.

    - -

     

    - -

    - -

    To define the Number of segments hypothesis:

    - -

     

    - -

    From the Hypotheses - menu select Nb. Segments and - click Create. The following dialog - box will appear:

    - -

     

    - -

    - -

     

    - -

    In this dialog box you can set:

    - -

     

    - -
      - -
    • Name - of your Local Length hypothesis

    • - -
    • Segments: the number - of segments which will split the edges of your geometrical object

    • -
    - -

     

    - - - - - diff --git a/doc/salome/gui/SMESH/files/propagation_of_1d_hypothesis_on_opposite_edges.htm b/doc/salome/gui/SMESH/files/propagation_of_1d_hypothesis_on_opposite_edges.htm deleted file mode 100755 index ae5c97782..000000000 --- a/doc/salome/gui/SMESH/files/propagation_of_1d_hypothesis_on_opposite_edges.htm +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - -Propagation of 1D Hypothesis on opposite edges - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Propagation of 1D Hypothesis on opposite edges

    - -

    Propagation of 1D Hypothesis - on opposite edges allows to propagate a set hypothesis onto an - opposite edge. If a local hypothesis and propagation are set on one of - edges of a quadrangular face, the opposite edge will have the same hypothesis, - unless another hypothesis has been locally set on such opposite edge.

    - -

     

    - -

    To apply this hypothesis:

    - -

     

    - -

    Select this hypothesis s in the - Create Hypotheses dialog box - click Create.

    - - - - - diff --git a/doc/salome/gui/SMESH/files/reassigning_hypotheses_and_algorithms.htm b/doc/salome/gui/SMESH/files/reassigning_hypotheses_and_algorithms.htm index 51938ab6a..088b1bf43 100755 --- a/doc/salome/gui/SMESH/files/reassigning_hypotheses_and_algorithms.htm +++ b/doc/salome/gui/SMESH/files/reassigning_hypotheses_and_algorithms.htm @@ -2,31 +2,11 @@ - - - - - Reassigning hypotheses and algorithms - - - - - - - - - - - - - - - - - - - - + - - - - - - - -

    Reassigning hypotheses and algorithms

    +

    Editing Meshes

    After you have created a mesh or submesh with definite applied hypotheses and algorithms you can edit your mesh by assigning new hypotheses and algorithms or unassigning - the applied hypotheses and algorithms.

    +
    the applied hypotheses and algorithms. The editing proceeds in + the same way as Mesh Creation. +

     

    -

    To assign or unassign algorithms and hypotheses:

    +

    + +

    You can also change values for the current hypothesis by clicking the + button.

    -

     

    +

     

    -

    1. In the Mesh - menu select the Edit - Hypothesis, the following dialog box will appear:

    +

    See how a mesh constructed on one and the same geometrical object changes + if we apply different algorithms to it.

     

    -

    +

     

    -

     

    +

     

    -

    This dialog box contains the following fields: -

    +

    + +

     

    + +

     

    - - -

     

    - -

    2. Double-click on the definite algorithm - or hypothesis to move it from the Available - column into the Used column - and vice versa.  Thus - you will be able to apply new hypotheses and algorithms to your mesh or - unassign the applied hypotheses - and algorithms.

    - -

     

    - -

    3. Confirm your changes by clicking the OK button.

    - -

     

    - -

    After modification of applied algorithms you - should recompute your mesh once again.

    - -

     

    - -

    You can also unassign an - applied algorithm or hypothesis by right-clicking on it in the Object - Browser and choosing from the associated popup menu the Unassign - Algorithm or Unassign Hypothesis - item.

    +

    See Also + a sample TUI Script of an Edit + Mesh operation.  

    + +

     

    + +

     

    + +

     

    - diff --git a/doc/salome/gui/SMESH/files/removing_nodes_and_elements.htm b/doc/salome/gui/SMESH/files/removing_nodes_and_elements.htm index c8b506969..2a5b82210 100755 --- a/doc/salome/gui/SMESH/files/removing_nodes_and_elements.htm +++ b/doc/salome/gui/SMESH/files/removing_nodes_and_elements.htm @@ -2,31 +2,11 @@ - - - - - Removing nodes and elements - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Removing nodes and elements

    @@ -144,7 +122,7 @@ else

     

    -

    +

     

    @@ -165,16 +143,15 @@ else

     

    - -+- - - + + +
    -

    -

    +

    +

     

    @@ -199,7 +176,7 @@ else

     

    -

    +

     

    @@ -215,22 +192,25 @@ else

     

    - - --+
    ++- - - + + +
    -

    -

    +

    +

     

     

    +

      See + Also a sample TUI Script of a Removing + Nodes and Elements operation.  

    +

     

    - diff --git a/doc/salome/gui/SMESH/files/renumbering_nodes_and_elements.htm b/doc/salome/gui/SMESH/files/renumbering_nodes_and_elements.htm index 6bf37d0fb..49b0b0339 100755 --- a/doc/salome/gui/SMESH/files/renumbering_nodes_and_elements.htm +++ b/doc/salome/gui/SMESH/files/renumbering_nodes_and_elements.htm @@ -2,31 +2,11 @@ - - - - - Renumbering nodes and elements - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Renumbering nodes and elements

    @@ -119,9 +91,7 @@ else

     

    -

     

    - -

    +

     

    @@ -151,9 +121,7 @@ else

     

    -

     

    - -

    +

     

    @@ -169,7 +137,12 @@ else

     

    -

     

    +

      See + Also a sample TUI Script of a Renumbering + Nodes and Elements operation. +  

    + +

     

     

    @@ -180,5 +153,4 @@ if (window.writeIntopicBar) //--> - diff --git a/doc/salome/gui/SMESH/files/rotation.htm b/doc/salome/gui/SMESH/files/rotation.htm index 7ec631e22..ea4fcd6f8 100755 --- a/doc/salome/gui/SMESH/files/rotation.htm +++ b/doc/salome/gui/SMESH/files/rotation.htm @@ -2,31 +2,11 @@ - - - - - Rotation - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Rotation

    @@ -119,7 +94,7 @@ else

     

    -

    +

     

    @@ -138,7 +113,19 @@ else

     

    Create a - copy radio button allows to copy the rotated object.

    + copy
    radio button allows to copy the rotated object.

    + +

     

    + +

      See + Also a sample TUI Script of a Rotation + operation.  

    + +

     

    + +

      

    + +

     

    - diff --git a/doc/salome/gui/SMESH/files/running_smesh_module.htm b/doc/salome/gui/SMESH/files/running_smesh_module.htm index 430218edd..735b385ff 100755 --- a/doc/salome/gui/SMESH/files/running_smesh_module.htm +++ b/doc/salome/gui/SMESH/files/running_smesh_module.htm @@ -2,31 +2,11 @@ - - - - - Running SMESH module - - - - - - - - - - - - - - - - - - - - + - - - - - - - -

    Running SMESH module

    - -

    To start SMESH module in SALOME:

    +

    Running MESH module

    -

     

    +

    To start MESH module in SALOME click icon in the + bottom toolbar or select MESH +  from the + Choose box:                      

    -
      - -
    1. Run - SALOME

    2. - -
    3. Create - a new study by clicking icon in the main toolbar. The - following SALOME standard window will appear:  

    4. -
    +

     

    -

     

    +

    The desktop of the SALOME + platform will be updated with additional toolbars and menus related to + the MESH component .

    -

                            

    +

     

    -

     

    +

    -

    Before launching the SMESH module, you should set the VTK - viewer as default viewer for creation of a new study window. In SMESH - you can generate and work with meshes only in VTK viewer.

    - -

          

    - -

        3. - In the bottom toolbar click icon or  from - the bottom Choose box

    - -

                           

    - -

                select - SMESH.

    - -

     

    - -

     

    - -

    The initial desktop of - the SALOME platform will be updated with some additional toolbars and - menus related to the SMESH component - . It will look like as follows:

    - -

     

    - -

     

    - -

    - -

     

    +

     

    - diff --git a/doc/salome/gui/SMESH/files/scalar_bar_properties.htm b/doc/salome/gui/SMESH/files/scalar_bar_properties.htm deleted file mode 100755 index 2e301a78f..000000000 --- a/doc/salome/gui/SMESH/files/scalar_bar_properties.htm +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - -Scalar Bar properties - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Scalar Bar properties

    - -

    Type topic text here.

    - - - - - diff --git a/doc/salome/gui/SMESH/files/sewing_meshes.htm b/doc/salome/gui/SMESH/files/sewing_meshes.htm index e27d967c7..c281f9e76 100755 --- a/doc/salome/gui/SMESH/files/sewing_meshes.htm +++ b/doc/salome/gui/SMESH/files/sewing_meshes.htm @@ -2,31 +2,11 @@ - - - - - Sewing meshes - - - - - - - - - - - - - - - - - - + - + - - - - - - -

    Sewing meshes

    @@ -139,23 +123,11 @@ else menu choose the Transformation item and  from its sub-menu select the Sewing item. - The following dialog box shall appear:

    - -

     

    - -

    - -

     

    +

    -

    2. In the upper part of this dialog box check - one of the radio buttons corresponding to the type of sewing operation - you would like to perform:

    - -

     

    - -

    - -

     

    +

    2. Check in the dialog box one of the radio + buttons corresponding to the type of sewing operation you would like to + perform.

    3. Fill the other fields available in the dialog box

    @@ -164,9 +136,7 @@ else or Apply button to perform the operation of sewing.

    -

     

    - -

    Sew free borders

    +

    Sew free borders

    This functionality allows you to unite two free borders of a 2D mesh.

    @@ -223,13 +193,22 @@ else

     

    -

    +

     

    -

    Sew conform free borders

    +

      See + Also a sample TUI Script of a Sew + Free Borders operation.  

    -

    This functionality can be used to unite two free borders of a 2D mesh.

    +

     

    + +

     

    + +

    Sew conform free borders

    + +

    This functionality can be used to unite two free borders of a 2D mesh. +

     

    @@ -240,8 +219,6 @@ else

     

    -

    -

    The algorithm is following: counting nodes starting at the first ones, the n-th node of the first border is merged with the n-th node of the other border, until the end of either of borders. Nodes of the first border @@ -249,13 +226,31 @@ else

    For sewing conform free borders you should define three points on the first border and two points on the second one. User can select these nodes - in 3D viewer or define node by its id.

    + in 3D viewer or define node by its id.

     

     

    -

    Sew border to side

    +

     

    + +

     

    + +

     

    + +

     

    + +

     

    + +

      See + Also a sample TUI Script of a Sew + Conform Free Borders operation.  

    + +

     

    + +

     

    + +

    Sew border to side

    "Sew border to side" is intended to sew a free border to a mesh surface.

    @@ -268,7 +263,7 @@ else

     

    -

    +

     

    The algorithm is following.

    @@ -282,17 +277,22 @@ else and two points on the side. User can select these nodes in 3D viewer or define node by its id.

    -

     

    - -

    Sew side elements

    +

    -

     

    +

      See + Also a sample TUI Script of a Sew + Border to Side operation.  

     

    -

    +

     

    + +

    Sew side elements

    -

    This operation is intended to unite two mesh surfaces.

    +

    This operation is intended to unite two mesh + surfaces.

    + +

     

    Surfaces may be defined by either 2d or 3d elements. The number of given elements of the sides must be the same. The sets of given elements must @@ -304,10 +304,12 @@ else

    Two corresponding nodes on each side must be specified. They must belong to one element and must be located on an element set boundary.

    +

     

    +

    Sewing algorithm finds and merges the corresponding nodes starting from the specified ones.

    -

     

    +

    @@ -317,6 +319,14 @@ else

     

    +

    See Also a sample TUI Script + of a Sew Side Elements + operation.  

    + +

     

    + +

     

    + - diff --git a/doc/salome/gui/SMESH/files/shading.htm b/doc/salome/gui/SMESH/files/shading.htm deleted file mode 100755 index 2d937e4de..000000000 --- a/doc/salome/gui/SMESH/files/shading.htm +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - -Shading - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    - - - - - diff --git a/doc/salome/gui/SMESH/files/shrink.htm b/doc/salome/gui/SMESH/files/shrink.htm deleted file mode 100755 index 53386bb7e..000000000 --- a/doc/salome/gui/SMESH/files/shrink.htm +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - -Shrink - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    - - - - - diff --git a/doc/salome/gui/SMESH/files/skew.htm b/doc/salome/gui/SMESH/files/skew.htm index 24198ba15..f6280e38a 100755 --- a/doc/salome/gui/SMESH/files/skew.htm +++ b/doc/salome/gui/SMESH/files/skew.htm @@ -2,31 +2,11 @@ - - - - - Skew - - - - - - - - - - - - - - - - - - - - + - - - - - - - -

    Skew angle

    +

    Skew

    -

    Skew angle mesh - quality criterion reflects the angle between the lines that join opposite - sides of the element. SKEW  is +

    Skew mesh quality + criterion reflects the angle between the lines that join opposite sides + of the element. SKEW  is a maximum value of all skew angles.

    This mesh quality criterion @@ -130,7 +105,7 @@ else

     

    -

    To apply the Skew angle quality criterion to your mesh:

    +

    To apply the Skew quality criterion to your mesh:

     

    @@ -138,14 +113,22 @@ else

     

    -

    2. Choose Quality - Controls > Skew or click button of the toolbar. - Your mesh will be displayed in the viewer with its elements colored according - to the applied mesh quality control criterion:

    +

    2. Choose Controls + > Skew or click button of the toolbar. Your mesh + will be displayed in the viewer with its elements colored according to + the applied mesh quality control criterion:

     

    -

    +

    + +

     

    + +

    See Also + a sample TUI Script of a Skew + quality control operation.  

    + +

     

    - diff --git a/doc/salome/gui/SMESH/files/smoothing.htm b/doc/salome/gui/SMESH/files/smoothing.htm index 8d87e630d..6cab53dbd 100755 --- a/doc/salome/gui/SMESH/files/smoothing.htm +++ b/doc/salome/gui/SMESH/files/smoothing.htm @@ -2,31 +2,11 @@ - - - - - Smoothing - - - - - - - - - - - - - - - - - - - - + - - - - - - -

    Smoothing

    @@ -114,28 +89,19 @@ else

    To apply smoothing to the elements of your mesh:

    -

     

    +

     

    1. Display a mesh or a submesh in the 3D viewer.

    -

     

    -

    2. In the Modification menu select the Smoothing item - or click button in the toolbar. The following dialog box - will appear:

    + or click button in the toolbar. The dialog + box contains the following fields which should be specified:

     

    -

    - -

     

    - -

    This dialog box contains the following fields - which should be specified:

    - -

     

    +

           

    +

     

    +