Salome HOME
updated copyright message
[modules/hexablock.git] / doc / tui_merge_elmts.rst
1 :tocdepth: 3
2
3 .. _tuimergeelements:
4
5 ============== 
6 Merge elements
7 ==============
8
9
10 Merge 2 quadrangles::
11
12     l = doc.mergeQuads(qa, qb, va1, vb1, va2, vb2)
13  
14 where:
15
16 - qa and qb are quadrangles. qa is the target quadrangle.
17 - va1, vb1, va2, vb2 are vertices
18
19 va1 : vertex of the quadrangle qa to merge with the vertex vb1 of the
20 quadrangle qb.
21
22 va2 : vertex of the quadrangle qa to merge with the vertex vb2 of the
23 quadrangle qb.
24
25 va1, vb1, va2, vb2 can be set to `None` if the quadrangles are contiguous.
26
27 Merge 2 edges::
28
29     l = doc.mergeEdges(e1, e2, v1, v2)
30
31 where:
32
33 - e1 and e2 are edges
34 - v1 is the vertex of the edge e1 to merge with the vertex v2 of the edge e2
35
36
37 Merge 2 vertices::
38
39     l = doc.mergeVertices(v1, v2)
40
41 where v1 and v2 are vertices.
42
43 GUI command: :ref:`guimergeelements`