2008-03-07 12:45:34 +05:00
|
|
|
/*!
|
|
|
|
|
|
|
|
\page create_filling_page Filling Surface with Edges
|
|
|
|
|
|
|
|
To generate a \b Filling in the <b>Main Menu</b> select <b>New Entity - > Generation - > Filling</b>
|
|
|
|
|
2010-11-25 17:31:41 +05:00
|
|
|
To create a curvilinear face from several edges you need to define the
|
2009-02-13 17:16:39 +05:00
|
|
|
following parameters:
|
2010-05-14 21:15:28 +06:00
|
|
|
\n <b>Input Compound</b> - the list of edges/wires used for creation
|
2010-11-25 17:31:41 +05:00
|
|
|
of the surface. To prepare for the filling each wire of the compound
|
|
|
|
is converted to an edge created on a BSpline curve built using curves
|
|
|
|
from all edges of the wire.
|
2010-05-14 21:15:28 +06:00
|
|
|
\n \b Minimum and <b>Maximum Degree</b> of equation of the resulting
|
|
|
|
BSpline or Besier curves describing the surface;
|
2009-02-13 17:16:39 +05:00
|
|
|
\n \b Tolerance for \b 2D and for \b 3D - minimum distance between the
|
|
|
|
created surface and the reference edge;
|
2010-11-25 17:31:41 +05:00
|
|
|
\n <b>Number of Iterations</b> - defines the maximum number of iterations. The
|
2010-05-14 21:15:28 +06:00
|
|
|
iterations are repeated until the required tolerance is reached. So, a
|
|
|
|
greater number of iterations allows producing a better surface.
|
|
|
|
\n <b>Method</b> - Kind of method to perform filling operation
|
2012-04-17 21:43:25 +06:00
|
|
|
|
|
|
|
<ol>
|
|
|
|
<li>Default - the standard behaviour.</li>
|
|
|
|
<li>Use edges orientation - the edges orientation is used: if an edge is
|
2010-11-25 17:31:41 +05:00
|
|
|
reversed, the curve from this edge is reversed before being used by the filling
|
2012-04-17 21:43:25 +06:00
|
|
|
algorithm.</li>
|
|
|
|
<li>Auto-correct edges orientation - curves orientation is changed to
|
|
|
|
minimize the sum of distances between ends points of edges.</li>
|
|
|
|
</ol>
|
|
|
|
|
2010-05-14 21:15:28 +06:00
|
|
|
\n <b>Approximation</b> - 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 <b>Approximation</b>
|
2010-11-25 17:31:41 +05:00
|
|
|
slows the algorithm, but allows building the surface for complex cases.
|
2009-02-13 17:16:39 +05:00
|
|
|
|
2008-03-07 12:45:34 +05:00
|
|
|
\n The \b Result of the operation will be a GEOM_Object (face).
|
|
|
|
|
2009-02-13 17:16:39 +05:00
|
|
|
\n <b>TUI Command:</b> <em>geompy.MakeFilling(Edges, MinDegree, MaxDegree, Tol2D, Tol3D, NbIter)</em>
|
2010-05-14 21:15:28 +06:00
|
|
|
\n <b>Arguments:</b> Name + 1 List of edges + 7 Parameters
|
2010-11-25 17:31:41 +05:00
|
|
|
(Min. degree, Max. degree, Number of iterations, 2D tolerance, 3D
|
|
|
|
tolerance, Number of iterations, Method, Approximation).
|
2011-03-25 17:40:33 +05:00
|
|
|
\n <b>Advanced options</b> \ref preview_anchor "Preview"
|
2008-03-07 12:45:34 +05:00
|
|
|
|
|
|
|
\image html filling.png
|
|
|
|
|
|
|
|
<b>Example:</b>
|
|
|
|
|
2009-02-13 17:16:39 +05:00
|
|
|
\image html filling_compoundsn.png "Initial edges"
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2009-02-13 17:16:39 +05:00
|
|
|
\image html fillingsn.png "Resulting surface"
|
2008-03-07 12:45:34 +05:00
|
|
|
|
|
|
|
Our <b>TUI Scripts</b> provide you with useful examples of creation of
|
|
|
|
\ref tui_creation_filling "Complex Geometric Objects".
|
|
|
|
|
|
|
|
*/
|