3 \page remove_extra_edges_operation_page Remove Extra Edges
5 \n To <b>Remove extra edges</b> in the <b>Main Menu</b> select
6 <b>Repair - > Remove extra edges</b>.
7 \n This operation removes all seam and degenerated edges from a given
8 shape. Its main purpose is healing of solids and compounds to obtain
9 hexahedral solids and compounds of hexahedral solids.
10 However, there is an option to unite all faces, sharing one
11 surface, which allows obaining not only hexahedral solids.
13 \n <b>TUI Command:</b> <em>geompy.RemoveExtraEdges(theShape,theOptimumNbFaces)</em>,
14 where <em>theShape</em> is a compound or a single solid
15 and <em>theOptimumNbFaces</em> is an integer parameter, that regulates,
16 whether the faces, sharing a common surface, should be united.
17 \n <b>Arguments:</b> Name + one shape + a flag.
18 \n <b>Advanced option:</b>
19 \ref restore_presentation_parameters_page "Set presentation parameters and subshapes from arguments".
21 \image html remove_extra_edges.png
25 \image html remove_extra_edges1.png
26 <center><em>Shape with extra edges</em></center>
28 \image html remove_extra_edges2.png
29 <center><em>Improved shape</em></center>
31 Our <b>TUI Scripts</b> provide you with useful examples of the
32 \ref swig_RemoveExtraEdges "Remove Extra Edges" functionality usage.