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