/*!
\page create_filling_page Filling Surface with Edges
To generate a \b Filling in the Main Menu select New Entity - > Generation - > Filling
To create a curvilinear face from several edges you need to define the
following parameters:
\n Input Contours - the list of edges/wires to use for creation
of the surface. You can select either several edges/wires or a
compound of them. To prepare for the filling, each input wire
is converted into a single BSpline curve by concatenating its edges.
List of edges/wires must contain more than one edge.
\n \b Minimum and Maximum Degree of equation of the resulting
BSpline or Besier curves describing the surface.
\n \b Tolerance for \b 2D and for \b 3D - minimum distance between the
created surface and the input contours.
\n Number of Iterations - defines the maximum number of iterations. The
iterations are repeated until the required tolerance is reached. So, a
greater number of iterations allows producing a better surface.
\n Method - Kind of method to perform filling operation
- Default - the standard behaviour.
- Use edges orientation - the edges orientation is used: if an edge is
reversed, the curve from this edge is reversed before being used by the filling
algorithm.
- Auto-correct edges orientation - curves orientation is changed to
minimize the sum of distances between ends points of edges.
Approximation - if checked, BSpline curves are generated in
the process of surface construction (using
GeomAPI_PointsToBSplineSurface functionality). By default the surface
is created using Besier curves. The usage of Approximation
slows the algorithm, but allows building the surface for complex cases.
\n The \b Result of the operation will be a GEOM_Object (face).
\n TUI Command: geompy.MakeFilling(Contours, MinDegree, MaxDegree, Tol2D, Tol3D, NbIter)
Arguments: List/compound of edges/wires + 7 Parameters
(Min. degree, Max. degree, 2D tolerance, 3D tolerance, Number of
iterations, Method, Approximation).
\n Advanced options: \ref preview_anchor "Preview"
\image html filling.png
\note This dialog supports navigation through the selectable objects (in OCC 3D viewer only):
- Scroll mouse wheel with pressed \em Ctrl key or press \em "S", \em "P" keys when input focus is
in the viewer to navigate between selectable objects.
- Press left mouse button to select an appropriate object to the dialog box.
.
For more details, please refer to the \em "Functionality common for OCC and VTK viewers" chapter
of the GUI module's documentation.
Example:
\image html filling_compoundsn.png "Initial edges"
\image html fillingsn.png "Resulting surface"
Sample TUI Scripts provide you with useful examples of creation of
\ref tui_creation_filling "Complex Geometric Objects".
*/