mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-08 07:40:35 +05:00
52 lines
1.9 KiB
Plaintext
52 lines
1.9 KiB
Plaintext
/*!
|
|
|
|
\page create_face_page Face
|
|
|
|
To create a \b Face in the <b>Main Menu</b> select <b>New Entity - >
|
|
Build - > Face</b>
|
|
|
|
\n There are two algorithms to create a \b Face.
|
|
\n Each time the \b Result of the operation will be a GEOM_Object
|
|
(face).
|
|
|
|
\n Firstly, to create a \b Face you need to select input shape(s). The list of
|
|
input shapes can include shapes of type \b Edge or \b Wire.
|
|
\n The edges and wires do not necessarily have to be closed, the
|
|
algorithm automatically builds a wire of maximum length from all
|
|
given edges and wires. If it founds multiple closed wires, it can
|
|
build a face with holes or some separate faces, depending on the
|
|
placement of the wires. If some resulting wires remain open, they will
|
|
be added in the resulting compound "as is".
|
|
\n Check <b>Try to create a planar face</b> to create a planar
|
|
face or nothing if it is impossible.
|
|
\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.
|
|
|
|
\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 Secondly, it is possible to create a face based on another face's surface and bounded by a wire.
|
|
|
|
\n The \b Result will be a \b GEOM_Object (FACE).
|
|
|
|
\n <b>TUI Command:</b> <em>geompy.MakeFaceFromSurface(theFace, theWire)</em>
|
|
\n <b>Arguments:</b> Name + 1 face + 1 wire.
|
|
|
|
\image html neo-obj4_2.png
|
|
|
|
\n <b>Example:</b>
|
|
|
|
\image html facesn1.png
|
|
|
|
\image html facesn2.png
|
|
|
|
\image html facesn3.png "Examples of faces"
|
|
|
|
Our <b>TUI Scripts</b> provide you with useful examples of creation of
|
|
\ref tui_creation_face "Advanced Geometric Objects".
|
|
|
|
*/
|