2008-03-07 12:45:34 +05:00
/*!
\page create_face_page Face
To create a \b Face in the <b>Main Menu</b> select <b>New Entity - >
Build - > Face</b>
\n To create a \b Face you need to select input shape(s). The list of
2014-11-07 14:46:05 +05:00
input shapes can include shapes of any type except vertices; if the shapes are
neither wires nor edges, the algorithm extracts all edges from
2008-03-07 12:45:34 +05:00
the input shapes and works on the obtaineed edges.
\n The edges and wires do not necessarily have to be closed, the
algorithm automatically builds a wire of maximum length from all
2014-11-07 14:46:05 +05:00
given edges and wires. If several closed wires are detected the algorithm tries
to create a face with holes. It is possible only if there is only one wire
that can be interpreted as an outer one; other wires can be considered as
inner ones.
2008-03-07 12:45:34 +05:00
\n Check <b>Try to create a planar face</b> to create a planar
face or nothing if it is impossible.
2012-08-09 13:58:02 +06:00
\note Please note, that the resulting face can have a huge tolerance, if the initial wire has a big deviation from the plane. If the final tolerance exceeds 1e-06, a warning will be shown, but the face will be created and published in the study in a normal way. Using such faces can lead to failures or unpredictable results in most operations.
2008-03-07 12:45:34 +05:00
\n The \b Result will be a \b GEOM_Object (FACE).
\n <b>TUI Command:</b> <em>geompy.MakeFaceWires([list of Shapes], isPlanarWanted)</em>
\n <b>Arguments:</b> Name + 1 wire.
\image html neo-obj4.png
\n <b>Example:</b>
\image html facesn1.png
\image html facesn2.png
2009-02-13 17:16:39 +05:00
\image html facesn3.png "Examples of faces"
2008-03-07 12:45:34 +05:00
Our <b>TUI Scripts</b> provide you with useful examples of creation of
2012-08-09 13:58:02 +06:00
\ref tui_creation_face "Advanced Geometric Objects".
2008-03-07 12:45:34 +05:00
*/