3 \page use_existing_page Use Edges/Faces to be Created Manually
5 The algorithms <b>Use Edges to be Created Manually</b> and
6 <b>Use Faces to be Created Manually</b> allow creating a 1D or a 2D mesh
7 in a python script (using <em>AddNode, AddEdge</em>
8 and <em>AddFace</em> commands) and then using such sub-meshes in the
9 construction of a 2D or a 3D mesh.
11 For example, you want to use standard algorithms to generate 1D and 3D
12 meshes and to create 2D mesh by your python code. For this, you
14 <li> create a mesh object, assign a 1D algorithm,</li>
15 <li> invoke \b Compute command, which computes a 1D mesh,</li>
16 <li> assign <b>Use Faces to be Created Manually</b> and a 3D algorithm,</li>
17 <li> run your python code, which creates a 2D mesh,</li>
18 <li> invoke \b Compute command, which computes a 3D mesh.</li>
21 \warning <b>Use Edges to be Created Manually</b> and <b>Use Faces to
22 be Created Manually</b> algorithms should be assigned _before_
23 mesh generation by the Python code.
25 Consider trying a sample script demonstrating the usage of
26 \ref tui_use_existing_faces "Use Faces to be Created Manually"
27 algorithm for construction of a 2D mesh using Python commands.
29 \image html use_existing_face_sample_mesh.png
30 <em> Mesh computed by \ref tui_use_existing_faces "the sample script"
31 shown in a Shrink mode.</em>