COMMAND ${PYTHON_EXECUTABLE} ${f} -o tmp/geomBuilder.py ${CMAKE_SOURCE_DIR}/src/GEOM_SWIG/geomBuilder.py
COMMAND ${PYTHON_EXECUTABLE} ${f} -o tmp/gsketcher.py ${CMAKE_SOURCE_DIR}/src/GEOM_SWIG/gsketcher.py
COMMAND ${PYTHON_EXECUTABLE} ${f} -o tmp/geomtools.py ${CMAKE_SOURCE_DIR}/src/GEOM_PY/geomtools.py
++ COMMAND ${PYTHON_EXECUTABLE} ${f} -o tmp/sketcher.py ${CMAKE_SOURCE_DIR}/src/GEOM_PY/sketcher.py
COMMAND ${PYTHON_EXECUTABLE} ${f} -o tmp/structelem.py ${CMAKE_SOURCE_DIR}/src/GEOM_PY/structelem/__init__.py
COMMAND ${PYTHON_EXECUTABLE} ${f} -o tmp/parts.py ${CMAKE_SOURCE_DIR}/src/GEOM_PY/structelem/parts.py
COMMAND ${PYTHON_EXECUTABLE} ${f} -o tmp/orientation.py ${CMAKE_SOURCE_DIR}/src/GEOM_PY/structelem/orientation.py
<EM> Vmaj' = (Vn * Vmaj) * Vn</em>, where \em Vn is a normal vector and
\em Vmaj is an original vector of the major axis.
- \n <b>TUI Command (no major axis):</b> <em>geompy.MakeEllipse(Point, Vector, RadiusMajor, RadiusMinor)</em>
-\n <b>TUI Command (with the major axis):</b> <em>geompy.MakeEllipse(Point, Vector, RadiusMajor, RadiusMinor)</em>
++\n <b>TUI Command (without the major axis):</b> <em>geompy.MakeEllipse(Point, Vector, RadiusMajor, RadiusMinor)</em>
\n <b>Arguments:</b> Name + 1 vertex (for the center) + 1 edge (for
the direction) + 1 X Radius + 1 Y Radius.
- \n <b>TUI Command (use major axis):</b><em>geompy.MakeEllipseVec(Point, Vector, RadiusMajor, RadiusMinor, VectorMajor)</em>
-\n <b>TUI Command (without the major axis):</b> <em>geompy.MakeEllipseVec(Point, Vector, RadiusMajor, RadiusMinor, VectorMajor)</em>
++\n <b>TUI Command (with the major axis):</b> <em>geompy.MakeEllipseVec(Point, Vector, RadiusMajor, RadiusMinor, VectorMajor)</em>
\n <b>Arguments:</b> Name + 1 vertex (for the center) + 1 edge (for
the normal direction) + 1 X Radius + 1 Y Radius + 1 edge (for the
- major axis direction)
+ major axis direction).
\image html ellipse.png
\page create_sketcher_page 2D Sketcher
- The 2D Sketcher allows you to draw 2D shapes on a working plane. You
- can create sketches of two types:
+ The 2D Sketcher allows drawing arbitrary 2D shapes.
- <ul>
- <li> \b Profile made of connected curves of 2 types: <b>line segments</b> and \b arcs.
+ To create a <b>2D Sketch</b> select in the main menu <b>New Entity -> Basic -> 2D Sketch</b>.
- \b or
-
- <li> \b Rectangle
- </ul>
-
- The \b Result is a \b Wire
-
- \n <b>Example:</b>
-
- \image html sketch_example.png
-
- To create a <b> 2D Sketch</b>:
+ \image html sketcher_dlg.png
- <ol>
- <li>In the main menu select <b>New Entity -> Basic -> 2D Sketch</b> or click on \image html sketch.png </li>
-\n At first it is necessary to define the reference coordinate system, where the sketch will be created:
++At first it is necessary to define the reference coordinate system, where the sketch will be created:
+ - The XOY plane of the <b>Global coordinate system</b> is suggested by default (if no plane or planar face is selected when <b>2D Sketcher</b> is activated).
+ - If any Local Coordinate Systems have been created in the study earlier, they can be selected as a reference coordinate system in the corresponding list box.
+ - The \b Arrow button allows selecting a \b plane or a <b>planar face</b> in the viewer or in the object browser as the reference coordinate system for the sketch. The start point will be set in the \b geometric \b center of the face.
+ - <b>Restore</b> button orientates the viewer correspondingly to the chosen working plane and fits the scene to show all objects.
- <li> Select the \b plane or the <b>planar face</b> on which to create the sketch.
- \note By default the sketch is created on the XOY plane of the global coordinate system.
- If Local Coordinate Systems have been created in the study they appear
- in the combo-box and can be selected as a reference coordinate system.</li>
-\n It is possible to create sketches of two types:
++It is possible to create sketches of two types:
+ - \b Profiles made of <b>line segments</b> and \b arcs, or
+ - \b Rectangles.
- <li> Choose a \b segment or an \b arc element to start a \b profile or choose \b rectangle to draw a rectangle.
+ <h2>Creation of a Profile by straight segments</h2>
- \n If you draw a \b profile:
+ - Choose \b segment radio button to start a \b profile.
+
- <li> Select a start point. By default the start point of the curve is located at the point of
- origin of the reference coordinate system.</li>
+ - Define the start point. By default the start point of the curve is located at the origin of the reference coordinate system. A point in 2D Sketcher can be defined in one of three ways:
- - By \b Absolute coordinates. Select \b Absolute radio button in \b Points group, input \b X and \b Y values and click \b Apply button.
-
- \image html 2dsketch1.png
- <li> Create curve portions and click on \b Apply after each step.</li>
- - By \b Relative coordinates. Select \b Relative radio button in \b Points group, input \b DX and \b DY values and click \b Apply button.
-
- \image html 2dsketch2.png
++ - By \b Absolute coordinates. Select \b Absolute radio button in \b Points group, input \b X and \b Y values and click \b Apply button:
++ \image html 2dsketch1.png
++
++ - By \b Relative coordinates. Select \b Relative radio button in \b Points group, input \b DX and \b DY values and click \b Apply button.
++ \image html 2dsketch2.png
- <li> Select either \b Close or <b>Sketch Closure</b> if you want to close the profile before closing the window.</li>
- </ol>
- - By \b Selection of an existing point. Select \b Selection radio button in \b Points group, select a point in the viewer or in the object browser and click \b Apply button.
-
- \image html 2dsketch3.png
++ - By \b Selection of an existing point. Select \b Selection radio button in \b Points group, select a point in the viewer or in the object browser and click \b Apply button.
++ \image html 2dsketch3.png
- \n To create a \b Segment:
+ - Define the next point. Together these two points form the first segment of the sketch.
- <ol>
- <li> In the <b>Element Type</b> part of the dialog box select:
-\n Alternatively to the definition by \b Points it is possible to define segments by \b Direction and \Distance.
++Alternatively to the definition by \b Points it is possible to define segments by \b Direction and \b Distance.
+
+ - The \b Direction can be:
- - Defined by an \b Angle to the previous segment.
-
- \image html 2dsketch4.png
-
- - \b Perpendicular to the previous segment (i.e. the Angle is 90 degrees).
-
- \image html 2dsketch5.png
-
- - \b Tangent (collinear) to the previous segment (i.e. the Angle is 0 degrees).
- \image html line_icon.png </li>
- \image html 2dsketch6.png
-
- - Defined by <b>VX-VY</b> vector coordinates.
-
- \image html 2dsketch7.png
++ - Defined by an \b Angle to the previous segment.
++ \image html 2dsketch4.png
++
++ - \b Perpendicular to the previous segment (i.e. the Angle is 90 degrees).
++ \image html 2dsketch5.png
++
++ - \b Tangent (collinear) to the previous segment (i.e. the Angle is 0 degrees).
++ \image html 2dsketch6.png
++
++ - Defined by <b>VX-VY</b> vector coordinates.
++ \image html 2dsketch7.png
+
+ - The \b Distance can be defined:
- - By the absolute segment \b Length or
- - By \b DX - the length of segment projection on X-axis.
- - By \b DY - the length of segment projection on Y-axis.
+
- <li> You can define the segment by either its <b>end point</b> or \b direction and \b length. The direction is defined relatively to the tangent at the last point of the sketch. It can be:
- <ul>
- <li> Tangent (collinear to the tangent at the last point)</li>
- <li> Perpendicular</li>
- <li> Defined by an angle</li>
- <li> Defined by a vector (Vx, Vy)</li>
- </ul>
++ - By the absolute segment \b Length
++ - By \b DX - the length of segment projection on X-axis.
++ - By \b DY - the length of segment projection on Y-axis.
+
+ - Proceed with creation of the sketch segments and click \b Apply after each step. The drawn segments will be displayed in the viewer.
+ - Use \b Undo and \b Redo buttons to cancel an erroneously applied segment or to restore it.
+ - To finalize, click <b>"Close"</b> button to apply the created wire "as is".
+ - Alternatively, click <b>"Sketch Closure"</b> to close the Sketch by a straight line
+ from the last created segment to the start point and apply it.
- </li>
+ <h2>Creation of a Profile by ark segments </h2>
- </ol>
-
- \n To create an \b Arc:
+ If an \b ark radio button is chosen, \b Point or \b Direction define the location of the next point of the sketch, but this point and the previous one are connected by an ark segment.
- <ol>
- <li> In the <b>Element Type</b> part of the dialog box select \image html arc_icon.png </li>
+ \image html 2dsketch10.png "Ark segments"
+
+ - By default, <b>None (Tangential)</b> radio button is selected as <b>Additional Parameter</b>, and the arc is \b tangential to the end of the sketch, which means that it is created on two points as a half-circle with radius equal to a half of the distance between these points.
- <li> You can define the segment by either its <b>end point</b> or \b direction \b radius and \b angle. </li>
+ \image html 2dsketch12.png
- <ul>
- <li>In case of an end point the arc can be built in three different ways:</li>
- <ul>
- <li>From the end point only. The arc is \b tangential to the end of the sketch.</li>
- <li>From the end point and a \b radius. (The radius must be greater than half of the distance between the last point and the end point of the arc).</li>
- <li>From the \b center of the circle and the end point. The constraint on the center is first taken into account.
- The destination point is only used to define the angle of the arc and won't lie on the arc in the general case.</li>
- </ul>
-
- <li>The direction is defined relatively to the tangent at the last point of the sketch. It can be:</li>
-
- <ul>
- <li>Tangent (colinear to the tangent at the last point)</li><
- <li>Perpendicular</li>
- <li>Defined by an angle</li>
- <li>Defined by a vector (Vx, Vy)</li>
- </ul>
- </ul>
-
- </ol>
+ - \b Radius radio-button allows creating a more limited arc segment by defining a custom ark radius, which must be greater than half of the distance between the last point and the end point of the arc.
+
+ \image html 2dsketch8.png
- \note For the first segment or arc of the sketch the reference direction is the X direction of the reference coordinate system.
+ - Finally, \b Center radio-button allows explicitly defining the center of the circle. If an arc segment cannot be built on the defined points, a warning is shown.
+
+ \image html 2dsketch9.png
+
+ <h2>Creation of a Rectangle profile</h2>
- \n <b>Dialog Box:</b>
+ \n To draw a \b rectangle, select a \b rectangle radio button.
- \image html sketcher_dlg.png
+ \image html sketcher_dlg2.png
- \n <b>Arguments:</b>
- <ol>
- <li>Coordinate system (Existing Local CS or Global CS can be selected)</li>
- <li>A plane or a planar face to define a new Local Coordinate System
- <li>Element type (segment, arc or rectangle).</li>
- <li>Destination type (point or direction).</li>
- <li>Destination point by means of:</li>
- <ul>
- <li>absolute coordinates X,Y;</li>
- <li>relative coordinates DX, DY (with respect to the current point);</li>
- <li>selection of an existing point.</li>
- </ul>
- <li>Destination direction by means of:</li>
- <ul>
- <li>angle between the new segment and the previous one;</li>
- <li>perpendicular to the previous segment (same as previous, but the angle
- is predefined and is equal to 90 degrees);</li>
- <li>tangent to the previous segment;</li>
- <li>vector components DX, DY.</li>
- </ul>
- <li>Parameters of an element (for segment : length or target X or Y coordinate value, for arc : radius, angle or center coordinates).</li>
- </ol>
-
- \b Buttons:
-
- <b>"Restore"</b> button orientates the viewer correspondingly to the chosen working plane and fits the scene to show all its objects.
- \n <b>"Close"</b> button applies the wire, only the red part will be built.
- \n <b>"Sketch Closure"</b> will close the Sketch by a straight line
- from the last red part and apply it.
-
- \n To draw a \b rectangle:
-
- <ol>
- <li> In the <b>Element Type</b> part of the dialog box select \image html rectangle_icon.png </li>
-
- <li> Draw a rectangle with the mouse directly in the view or fill in the coordinates of two opposite vertices of the rectangle.</li>
- <li> <b>Apply and Close</b> </li>
- </ol>
-
- \n <b>Dialog Box:</b>
+ Draw a rectangle with the mouse directly in the view or input the coordinates of its two opposite vertices in the dialog.
- \image html sketcher_dlg2.png
+ <h2>TUI Commands</h2>
- \n <b>Arguments:</b>
- <ol>
- <li>Coordinate system (Existing Local CS or Global CS can be selected)</li>
- <li>A plane or a planar face to define a new Local Coordinate System
- <li>Element type (segment, arc or rectangle).</li>
- <li>The X,Y coordinates of two opposite vertices of the rectangle</li>
- </ol>
-\n <em>geompy.MakeSketcherOnPlane(Command, WorkingPlane)</em>
++<em>geompy.MakeSketcherOnPlane(Command, WorkingPlane)</em>
+ This algorithm creates a sketcher (wire or face), following the textual description, passed through the <i>Command</i> argument. The edges of the resulting wire or face will be arcs of circles and/or linear segments.
- \n <b>TUI Command:</b> <em>geompy.MakeSketcherOnPlane(Command, WorkingPlane)</em>
- \n This algorithm creates a sketcher (wire or face), following the
- textual description, passed through the Command argument. The edges of
- the resulting wire or face will be arcs of circles and/or linear
- segments.
- \n \em Command is a string, defining the sketcher by the coordinates of
- points in the current LCS.
- \n <em>WorkingPlane</em> can be a Local CS, a plane, or a planar face.
+ - \em Command is a string, defining the sketcher by the coordinates of points in the current LCS.
+ - <em>WorkingPlane</em> can be a Local CS, a plane, or a planar face.
- \n Another way to create the 2D Sketcher in TUI is using Sketcher2D
- interface.
-\n Another way to create the 2D Sketcher in TUI is using Sketcher2D interface.
++Another way to create the 2D Sketcher in TUI is using Sketcher2D interface.
- <b>TUI Command:</b> <em>sk = geompy.Sketcher2D()</em>
-\n <em>sk = geompy.Sketcher2D()</em> - returns an instance of Sketcher2D interface <i>sk</i>.
++<em>sk = geompy.Sketcher2D()</em> - returns an instance of Sketcher2D interface <i>sk</i>.
- Returns an instance of Sketcher2D interface <i>sk</i>.
+ \image html sketch_example.png
- Use the below examples and see the \ref gsketcher.Sketcher2D "Sketcher2D"
- interface documentation for more information.
+ See the \ref gsketcher.Sketcher2D "Sketcher2D" interface documentation for more information.
Our <b>TUI Scripts</b> provide you with useful examples of the use of
\ref tui_sketcher_page "2D Sketcher".
To create a <b> Smoothing Surface</b> in the <b>Main Menu</b> select <b>New Entity - >
Advanced - > SmoothingSurface </b>
- To create a surface it is necessary to specify the \b Name of the surface, the list of \b Points
- from which it is approximated and some plate approximation parameters such as: <b>Max nbr of
- Bezier pieces</b>, <b>Max BSpline surface degree</b> and <b>3D tolerance of initial approximation</b>.
- And then press "Apply" or "Apply & Close" button.
+ \image html smoothingsurface_dlg.png
- <b>Advanced options:</b> \ref preview_anchor "Preview"
+ In this dialog you can specify the following parameters:
+ - \b Name of the surface;
+ - the list of \b Points or compounds of points, from which it is approximated;
+ - <b>Max nbr of Bezier pieces</b> in the resulting surface;
+ - <b>Max BSpline surface degree</b> of the resulting BSpline surface;
-- <b>Max plate criterion value</b>, which is computed as <em> max(0.0001,10*error), </em> where error is a 3D tolerance of the surface.
++- <b>3D tolerance of initial approximation</b>
+
- \note The dialog accepts compounds of points as well as single nodes.
++\note <b>3D tolerance of initial approximation</b> represents a tolerance of
++initial plate surface approximation. If this parameter is equal to 0 (default),
++its value is automatically computed as <em> max(0.0001, 10*error)</em>,
++where <em>error</em> is a 3D tolerance of the surface representing a maximal
++distance between computed plate surface and given points.
++
++<b>Advanced options:</b> \ref preview_anchor "Preview"
- The result of the operation will be a GEOM_Object(Surface).
+ Press "Apply" or "Apply & Close" button to get the resulting <em>GEOM_Object(Surface)</em>.
<b>TUI Command:</b> <em>geompy.MakeSmoothingSurface(thelPoints, theNbMax, theDegMax, theDMax)</em>, where:
- - \em thelPoints list of points. Compounds of points are accepted as well
- - \em theNbMax maximum number of Bezier pieces in the resulting surface
- - \em theDegMax maximum degree of the resulting BSpline surface
+ - \em thelPoints is a list of points or compounds of points;
+ - \em theNbMax maximum number of Bezier pieces in the resulting surface;
+ - \em theDegMax maximum degree;
-- \em theDMax specifies maximum value of <em> GeomPlate_PlateG0Criterion </em>.
+- \em theDMax specifies 3D tolerance of initial approximation
- \note <b>3D tolerance of initial approximation</b> represents a tolerance of
- initial plate surface approximation. If this parameter is equal to 0 (default
- value) it is computed. In this case an error of initial plate surface
- computation is used as the approximation tolerance. This error represents a
- maximal distance between computed plate surface and given points.
-
- \image html smoothingsurface_dlg.png
-
Example:
\image html smoothingsurface.png
\page get_non_blocks_page Get Non Blocks
-A non-block solid is a solid that does not have 6 faces, or has 6 faces, but some of them are not quadrangular).
+
+ This operation retrieves all non-block solids and non-quadrangular faces from the selected shape.
+
++A non-block solid is a solid that does not have 6 faces, or has 6 faces, but some of them are not quadrangular.
+
\image html measures2.png
- This operation retrieves all non block solids and faces from the given
- shape in two groups: solids and faces separately.
+ \b Preview option shows non block solids and faces in the viewer.
- Two or less groups are published in the Object
- Browser under the processed object. An error is raised if
- no bad sub-shapes (solids and faces) have been found.
+ Press \b Apply or <b>Apply and Close</b> button to publish non block solids and faces in the Object
+ Browser under the processed object. Solids and faces are published separately in two groups.
+
+ If no bad sub-shapes have been found, the corresponding warning is shown.
+
+ \image html measures2a.png
\n <b>TUI Command:</b>
- <em>geompy.GetNonBlocks(Compound).</em> Returns a tuple of two
- GEOM_Objects. The first object is a group of all non block solids
- (not having 6 faces, or having 6 faces, but some of them
- are not quadrangular). The second object is a group of all non
- quadrangular faces.
+ <em>geompy.GetNonBlocks(Compound).</em> Returns a tuple of two GEOM_Objects.
+
++The first object is a group of all non block solids; the second object is a group of all non
++quadrangular faces.
+
See also a \ref tui_get_non_blocks_page "TUI example".
*/
\page manipulate_object Manipulate GEOM object in the study (module geomtools)
- The usage of the geomtools module can be appreciated with this set
- of instructions:
++The Python module <a href="geompy_doc/group__geomtools.html">geomtools</a> provides
++utility functions to handle %GEOM items in SALOME study:
++- add or remove a shape;
++- display or erase a shape in the viewer;
++- completely delete a shape (undisplay, unpublish, and destroy it);
++- manage the selection in the object browser
++
+ The usage of <em>geomtools</em> module can be tested with the following set of instructions:
\code
from salome.geom.geomtools import TEST_createAndDeleteShape
\endcode
This test executes the following procedure:
-
- - Create, publish, and display a cylinder
- - Create, publish, and display a sphere
- - Create a box, publish it in a folder "boxset", and display it with a
- "pink" color.
+ - Create, publish, and display a cylinder;
+ - Create, publish, and display a sphere;
+ - Create a box, publish it in a folder <em>boxset</em>, and display it in <em>pink</em> color.
- Erase the sphere from the viewer (the sphere still exists in the study)
- - Delete the cylinder (the cylinder is no longer displayed and does
- not exist any more, neither in the study nor the GEOM componet.
-
- At the end of the execution of this test, you should have in the
- SALOME session:
+ - Delete the cylinder. It is no longer displayed and does not exist any more in the study or in the GEOM component.
- - the box, in a dedicated folder of the study, and displayed in the
- viewer
- - the sphere, in the standard place of the study, and not displayed
+ At outcome of the test execution, the following objects appear in the SALOME session:
-- the box located in a dedicated study folder and displayed in the viewer;
-- the sphere in the standard place of the study, and not displayed.
++- The box located in a dedicated study folder and displayed in the viewer;
++- The sphere in the standard place of the study, and not displayed.
*/
The %GEOM python package essentially contains:
- - \subpage geompy_page "Python Interface geomBuilder.py" to perform the following functions:
- - Creating geometrical objects
- - Importing/exporting geometrical objects
- - Transforming geometrical objects
- - Using measurement tools
- - Field on Geometry
- - Utility functions to handle %GEOM items in Salome study (geomtools.py).
- See example - \subpage manipulate_object "Manipulate GEOM object in the study".
- - add a shape to a study, remove from the study
- - display a shape in a viewer, erase the shape from the viewers
- - completly delete a shape (undisplay, unpublish, and destroy the shape)
- - helper functions to manage the selection in the object browser
- - Wrapping functions to help the usage of %GEOM tools:
- - a sketcher module to create sketches from the python API (gsketcher.py)
- - \subpage struct_elem_visualisation "The visualization of structural elements": a function to create
- geometrical 3D representations of mechanical models called
- "structural elements" (package \ref structelem.py "structelem")
-
- The functions are distributed in the python package salome.geom.
- The specification of the programming interface of this package
- is detailled in the part \subpage api_documentation "Documentation of the programming interface (API)"
- of this documentation.
-
-
- \note The main package salome contains other sub-packages that are
-- Python Interface \subpage geompy_page "geomBuilder.py" to import/export, create and transform geometrical objects and use measurement tools;
-- Utility functions <em>geomtools.py</em> to handle %GEOM items in Salome study:
++- Python Interface \subpage geompy_page "geomBuilder.py" to import/export,
++ create and transform geometrical objects, manage fields, use measurement tools;
++
++- Utility functions within Python module \subpage manipulate_object "geomtools.py"
++ to handle %GEOM items in SALOME study:
+ - add or remove a shape;
+ - display or erase a shape in the viewer;
+ - completely delete a shape (undisplay, unpublish, and destroy it);
- - manage the selection in the object browser
- See for example how to \subpage manipulate_object "Manipulate a GEOM object in the study".
-- Wrapping functions for %GEOM tools:
- - sketcher module to create sketches from the python API (gsketcher.py)
-- \subpage struct_elem_visualisation "Visualization of structural elements" function to create
- geometrical 3D representations of mechanical models called
- "structural elements" (package \ref structelem.py "structelem")
++ - manage the selection in the object browser.
++
++- \subpage pythonutils_page "Wrapping functions" for %GEOM tools
++
++- Python package \subpage struct_elem_visualisation "structelem" that provides
++ functions to create geometrical 3D representations of mechanical models called
++ "structural elements"
+
+ The functions are distributed in the python package <em>salome.geom.</em>
+ Its documentation is mainly generated from the code of source python files.
-<b>salome.geom</b> – Package containing the %GEOM python utilities:
-- <a href="geompy_doc/group__geomtools.html">geomtools</a>
-- <a href="geompy_doc/group__sketcher.html">sketcher</a>
-- <a href="geompy_doc/group__structelem.html">structelem</a>
+
+ \note The main package <em>salome</em> contains other sub-packages that are
distributed with the other SALOME modules. For example, the KERNEL
module provides the python package salome.kernel and SMESH the
package salome.smesh.
--- /dev/null
--- /dev/null
++/*!
++
++\page pythonutils_page Auxiliary Python API of Geometry module
++
++Python API of Geometry module includes some additional packages:
++
++- Sketcher module <a href="geompy_doc/group__sketcher.html">gsketcher.py</a> to create 2D / 3D sketches
++
++- Simplified sketcher module <a href="geompy_doc/group__simplesketcher.html">sketcher.py</a> (deprecated)
++
++*/
\page struct_elem_visualisation Visualization of structural elements (package structelem)
- The usage of the visualization of structural elements can be
- appreciated with this set of instructions:
++The Python package <a href="geompy_doc/group__structelem.html">structelem</a> contains functions
++to create geometrical 3D representations of mechanical models called "structural elements".
++
+ The visualization of structural elements can be tested with the following set of instructions:
\code
from salome.geom.structelem import TEST_StructuralElement
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
++
++## \defgroup simplesketcher sketcher - Simplified sketcher API
++# \{
++# \details
++# This module provides simplified access to the 2D sketcher functionality of Geometry module.
++#
++# \note This module is deprecated, refer to \ref gsketcher for more details
++# \}
++
"""
This module provides the user with a simple python API to realize
various sketches from the GEOM text user interface.
geompyEnable = False
pass
++##
++# \ingroup simplesketcher
class Sketcher:
__sketch = None
# Author : Julia DOROVSKIKH, Open CASCADE S.A.S.
# Module : GEOM_SWIG
--## @defgroup sketcher sketcher - Wrapper to help the creation of simple sketches
++## @defgroup sketcher gsketcher - Wrapper to help the creation of simple sketches
# @{
# @details
# This module provides the user with a simple python API