mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-29 19:00:36 +05:00
65 lines
2.8 KiB
Plaintext
65 lines
2.8 KiB
Plaintext
/*!
|
|
|
|
\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>
|
|
|
|
To create a curvilinear face from several edges you need to define the
|
|
following parameters:
|
|
\n <b>Input Contours</b> - 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 <b>Maximum Degree</b> 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 <b>Number of Iterations</b> - 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 <b>Method</b> - Kind of method to perform filling operation
|
|
<ol>
|
|
<li>Default - the standard behaviour.</li>
|
|
<li>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.</li>
|
|
<li>Auto-correct edges orientation - curves orientation is changed to
|
|
minimize the sum of distances between ends points of edges.</li>
|
|
</ol>
|
|
|
|
<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>
|
|
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 <b>TUI Command:</b> <em>geompy.MakeFilling(Contours, MinDegree, MaxDegree, Tol2D, Tol3D, NbIter)</em><br>
|
|
<b>Arguments:</b> List/compound of edges/wires + 7 Parameters
|
|
(Min. degree, Max. degree, 2D tolerance, 3D tolerance, Number of
|
|
iterations, Method, Approximation).
|
|
\n <b>Advanced options:</b> \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.
|
|
|
|
<b>Example:</b>
|
|
|
|
\image html filling_compoundsn.png "Initial edges"
|
|
|
|
\image html fillingsn.png "Resulting surface"
|
|
|
|
Sample <b>TUI Scripts</b> provide you with useful examples of creation of
|
|
\ref tui_creation_filling "Complex Geometric Objects".
|
|
|
|
*/
|