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

86 lines
2.8 KiB
Plaintext
Raw Normal View History

2009-02-13 17:16:39 +05:00
/*!
\page create_3dsketcher_page 3D Sketcher
2012-10-08 17:16:36 +06:00
3D Sketcher allows creating a closed or unclosed 3D wire, made of
consequent straight segments.
2009-02-13 17:16:39 +05:00
2012-12-13 14:40:36 +06:00
<b>Example:</b>
\image html 3dsketch4.png
2012-08-09 13:58:02 +06:00
To create a 3D Sketch, select in the main menu <em>New Entity -> Basic -> 3D Sketch</em>.
2009-02-13 17:16:39 +05:00
2012-12-13 14:40:36 +06:00
\image html 3dsketch_dlg.png
2009-02-13 17:16:39 +05:00
2012-12-13 14:40:36 +06:00
The first point of a sketch can be defined by \b Absolute coordinates X, Y and Z.
2012-10-08 17:16:36 +06:00
When the first point is defined, it is possible to add straight segments.
2012-12-13 14:40:36 +06:00
Each segment will start at the end point of the previous segment or at the
first point of the sketch, if there are no validated segments.
2012-10-08 17:16:36 +06:00
The way of segment construction can be selected by the <b>Coordinates Type</b>
2012-08-09 13:58:02 +06:00
radio buttons.
2012-12-13 14:40:36 +06:00
To validate a segment and to proceed with the definition of the next
one, click <b>Apply</b> button. \b Undo and \b Redo buttons,
2012-10-08 17:16:36 +06:00
respectively, remove or restore the last segment in the wire.
2012-08-09 13:58:02 +06:00
\n <b>"Sketch Validation"</b> button applies the wire, built by the
user, "as is".
\n <b>"Sketch Closure"</b> closes the Sketch by a straight line from
the start to the end point and applies it.
2012-12-13 14:40:36 +06:00
A segment can be defined by:
- <b>Cartesian coordinates</b> of its second end, which can be either:
- \b Absolute coordinates X, Y and Z, or
- \b Relative coordinates DX, DY and DZ with
respect to the previous applied point,
- <b>Angular coordinates</b> of its second end specified by:
<ul>
<li> the \b Length of the segment and an \b Angle in the chosen plane (OXY for example) in \b Relative mode.
The angle is then relative to a local coordinate system with the last point of the sketch as origin. </li>
\image html 3dsketch_angle_rel.png
<li> the \b Radius (i.e. the distance from the origin) and an \b Angle in the chosen plane in \b Absolute mode </li>
\image html 3dsketch_angle_abs.png
In both angular modes you can additionally specify the following:
<li> the second \b Angle (latitude) </li>
\image html 3dsketch_2angles_rel.png
or
<li> the \b Height </li>
\image html 3dsketch_angle_height_rel.png
2009-02-13 17:16:39 +05:00
2012-12-13 14:40:36 +06:00
</ul>
2009-02-13 17:16:39 +05:00
2012-10-08 17:16:36 +06:00
<b>TUI Command:</b> <em>geompy.Make3DSketcher( [ PointsList ] )</em>
This algorithm creates a wire from the list of real values, which
define absolute XYZ coordinates of points. The Result of the operation
will be a \b GEOM_Object.
\note To make a closed wire using this TUI command, the first and the
last point should have the same coordinates.
\n Another way to create the 3D Sketcher in TUI is using Sketcher3D
interface.
2013-05-29 22:28:10 +06:00
2012-10-08 17:16:36 +06:00
<b>TUI Command:</b> <em>sk = geompy.Sketcher3D()</em>
2013-05-29 22:28:10 +06:00
2012-10-08 17:16:36 +06:00
Returns an instance of Sketcher3D interface <i>sk</i>.
2013-05-29 22:28:10 +06:00
2012-10-08 17:16:36 +06:00
Use the below examples and see the \ref gsketcher.Sketcher3D "Sketcher3D"
interface documentation for more information.
2009-02-13 17:16:39 +05:00
Our <b>TUI Scripts</b> provide you with useful examples of the use of
\ref tui_3dsketcher_page "3D Sketcher".
*/