2008-03-07 12:45:34 +05:00
|
|
|
/*!
|
|
|
|
|
|
|
|
\page sewing_operation_page Sewing
|
|
|
|
|
2014-10-09 20:34:57 +06:00
|
|
|
\b Sewing operation allows uniting several faces (possibly contained
|
2015-05-25 14:45:48 +05:00
|
|
|
in a shell, solid or compound) into one shell. Geometrically
|
2014-10-09 20:34:57 +06:00
|
|
|
coincident (within a specified tolerance) edges (or parts of edges) of
|
|
|
|
different faces are replaced by one edge thus producing a shell of
|
|
|
|
faces with shared boundaries.<p>
|
|
|
|
This operation is similar to <b>New Entity - > Build - > Shell</b>
|
|
|
|
operation, the difference is that with \b Sewing you can specify the
|
2015-05-25 14:45:48 +05:00
|
|
|
tolerance and get a non-manifold result. <p>
|
|
|
|
The possibility to create a non-manifold shell can be used e.g. to create a
|
2014-10-09 20:34:57 +06:00
|
|
|
shell forming several closed domains and then to create several solids
|
|
|
|
with shared boundaries from this shell.
|
|
|
|
|
2015-05-25 14:45:48 +05:00
|
|
|
\note Geometrically coincident faces (or parts of faces) will not be
|
2014-10-09 20:34:57 +06:00
|
|
|
replaced by one face during \b Sewing.
|
|
|
|
|
2013-12-18 20:23:59 +06:00
|
|
|
To produce a \b Sewing operation in the <b>Main Menu</b> select <b>Repair - > Sewing</b>.
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2014-10-09 20:34:57 +06:00
|
|
|
The \b Result will be a \b GEOM_Object (shell).
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2013-12-18 20:23:59 +06:00
|
|
|
\image html repair6.png
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2013-12-18 20:23:59 +06:00
|
|
|
In this dialog:
|
|
|
|
- Click on the "Arrow" button and select in the Object Browser or in the viewer one or more \b Shapes (faces or shells) to be sewn.
|
|
|
|
- Activate <b>Allow Non Manifold </b> check-box to produce non-manifold sewing, if required.
|
|
|
|
- Define precision for sewing in \b Tolerance field.
|
|
|
|
- Activate <b> Detect Free boundaries</b> button to display the number of free boundaries in the shape:
|
|
|
|
\image html neo-detect2.png
|
|
|
|
- Click \b Apply or <b>Apply and Close</b> button.
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2013-12-18 20:23:59 +06:00
|
|
|
This operation can be also launched using a <b>TUI Command:</b>
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2013-12-18 20:23:59 +06:00
|
|
|
<em>geompy.MakeSewing(ListOfShape, Precision, AllowNonManifold=False),</em>
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2013-12-18 20:23:59 +06:00
|
|
|
where \em ListOfShape is a list of faces or shells to be sewn, \em Precision is a
|
|
|
|
precision for sewing, \em AllowNonManifold is a flag that allows non-manifold sewing.
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2013-12-18 20:23:59 +06:00
|
|
|
<b>Example:</b>
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2012-08-09 13:58:02 +06:00
|
|
|
\image html image112.png "The initial faces"
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2012-08-09 13:58:02 +06:00
|
|
|
\image html image113.png "The sewn faces"
|
2008-03-07 12:45:34 +05:00
|
|
|
|
|
|
|
Our <b>TUI Scripts</b> provide you with useful examples of the use of
|
|
|
|
\ref tui_sewing "Repairing Operations".
|
|
|
|
|
|
|
|
*/
|