geom/doc/salome/gui/GEOM/input/creating_squareface.doc

44 lines
1.7 KiB
Plaintext
Raw Normal View History

2009-02-13 17:16:39 +05:00
/*!
2012-08-09 13:58:02 +06:00
\page create_squareface_page Rectangle
2009-02-13 17:16:39 +05:00
2012-08-09 13:58:02 +06:00
A primitive called \b Rectangle is a rectangular face of certain dimensions and orientation
2009-02-13 17:16:39 +05:00
To create a \b Rectangle in the <b>Main Menu</b> select <b>New Entity - >
2012-08-09 13:58:02 +06:00
Primitives - > Rectangle</b>
2009-02-13 17:16:39 +05:00
2012-08-09 13:58:02 +06:00
\n There are 2 algorithms to create a \b Rectangle in the 3D space.
2009-02-13 17:16:39 +05:00
\n The \b Result of each operation will be a GEOM_Object (Face).
2012-08-09 13:58:02 +06:00
\n Firstly, you can create a \b Rectangle at the origin
2009-02-13 17:16:39 +05:00
of coordinates defining its boundaries by the height and the width and its axis by the orientation
radio buttons (OXY, OYZ or OZX).This
2012-08-09 13:58:02 +06:00
means that the \b Rectangle will lie in "OXY", "OYZ" or "OZX" plane correspondingly.
2009-02-13 17:16:39 +05:00
\n <b>TUI Command:</b> <em>geompy.MakeFaceHW(Height, Width, Orientation)</em>
\n <b>Arguments:</b> Name + 3 values (Dimensions at origin: height, width and
2009-02-13 17:16:39 +05:00
orientation).
\image html face1.png
2012-08-09 13:58:02 +06:00
\n Secondly, you can define a \b Rectangle by the height and the width sizes and an \b Edge defining the normal to the center of the face.
2009-02-13 17:16:39 +05:00
\n <b>TUI Command:</b> <em>geompy.MakeFaceObjHW(Vector, Height, Width)</em>
\n <b>Arguments:</b> Name + 1 Vector (normal to the center) + 2 doubles (to
describe a face sizes).
2012-08-09 13:58:02 +06:00
\n It is also possible to create a \b Rectangle from another selected face. For this, switch the <b>Object Type</b> button
2009-02-13 17:16:39 +05:00
to \b Face, then select a face object and set the values of
Height and Width for the new face. The created face will lie in the plane of the selected face.
\n <b>TUI Command:</b> <em>geompy.MakeFaceObjHW(Face, Height, Width)</em>
\n <b>Arguments:</b> Name + 1 Face + 2 parameters (to describe a face sizes).
\image html face2.png
<b>Example:</b>
2012-08-09 13:58:02 +06:00
\image html faces.png "Rectangle"
2009-02-13 17:16:39 +05:00
Our <b>TUI Scripts</b> provide you with useful examples of creating
2012-08-09 13:58:02 +06:00
\ref tui_creation_squareface "Primitives".
2009-02-13 17:16:39 +05:00
*/