diff --git a/build_configure b/build_configure index 27672f14d..91598ae7d 100755 --- a/build_configure +++ b/build_configure @@ -33,10 +33,10 @@ fi for option do case $option in - -with-ihm | --with-ihm) + -with-gui | --with-gui) GEOM_WITH_GUI="yes" break;; - -without-ihm | --without-ihm | -with-ihm=no | --with-ihm=no) + -without-gui | --without-gui | -with-gui=no | --with-gui=no) GEOM_WITH_GUI="no" break;; esac diff --git a/configure.ac b/configure.ac index f119c8cdb..89c723bb7 100644 --- a/configure.ac +++ b/configure.ac @@ -369,6 +369,7 @@ AC_OUTPUT([ \ ./doc/salome/gui/Makefile \ ./doc/salome/gui/GEOM/doxyfile \ ./doc/salome/gui/GEOM/doxyfile_py \ + ./doc/salome/gui/GEOM/doxyfile_tui \ ./doc/salome/tui/Makefile \ ./doc/salome/tui/GEOM/doxyfile \ ./doc/salome/tui/GEOM/sources/static/tree.js \ diff --git a/doc/salome/gui/GEOM/doxyfile.in b/doc/salome/gui/GEOM/doxyfile.in index 75b0c99aa..2aa344fd9 100755 --- a/doc/salome/gui/GEOM/doxyfile.in +++ b/doc/salome/gui/GEOM/doxyfile.in @@ -18,7 +18,9 @@ WARNINGS = YES #--------------------------------------------------------------------------- INPUT = @srcdir@/input FILE_PATTERNS = *.doc +EXCLUDE = IMAGE_PATH = @srcdir@/images +EXAMPLE_PATH = @top_srcdir@/src/GEOM_SWIG #--------------------------------------------------------------------------- #HTML related options @@ -46,4 +48,5 @@ GENERATE_RTF = NO #--------------------------------------------------------------------------- #External reference options #--------------------------------------------------------------------------- -TAGFILES = geompy_doc.tag=./geompy_doc \ No newline at end of file +TAGFILES = geompy_doc.tag=./geompy_doc +ALLEXTERNALS = NO diff --git a/doc/salome/gui/GEOM/doxyfile_py.in b/doc/salome/gui/GEOM/doxyfile_py.in index 88df45eb8..26ae2c4db 100755 --- a/doc/salome/gui/GEOM/doxyfile_py.in +++ b/doc/salome/gui/GEOM/doxyfile_py.in @@ -80,6 +80,7 @@ EXAMPLE_RECURSIVE = NO INPUT = @top_srcdir@/src/GEOM_SWIG FILE_PATTERNS = geompyDC.py IMAGE_PATH = @srcdir@/images +EXAMPLE_PATH = @top_srcdir@/src/GEOM_SWIG RECURSIVE = NO #--------------------------------------------------------------------------- @@ -142,3 +143,4 @@ DOT_CLEANUP = YES #External reference options #--------------------------------------------------------------------------- GENERATE_TAGFILE = geompy_doc.tag +TAGFILES = tui_examples.tag=./.. diff --git a/doc/salome/gui/GEOM/doxyfile_tui.in b/doc/salome/gui/GEOM/doxyfile_tui.in new file mode 100755 index 000000000..90133c080 --- /dev/null +++ b/doc/salome/gui/GEOM/doxyfile_tui.in @@ -0,0 +1,50 @@ +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- +PROJECT_NAME = "Geometry Module Reference Manual v.@VERSION@" +OUTPUT_DIRECTORY = ./ +CREATE_SUBDIRS = NO +OUTPUT_LANGUAGE = English +TAB_SIZE = 5 + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- +QUIET = NO +WARNINGS = YES + +#--------------------------------------------------------------------------- +#Input related options +#--------------------------------------------------------------------------- +INPUT = @srcdir@/input +FILE_PATTERNS = tui_*.doc +IMAGE_PATH = @srcdir@/images +EXAMPLE_PATH = @top_srcdir@/src/GEOM_SWIG + +#--------------------------------------------------------------------------- +#HTML related options +#--------------------------------------------------------------------------- +GENERATE_HTML = YES +HTML_OUTPUT = ./ +HTML_HEADER = @srcdir@/static/header.html +HTML_FOOTER = @srcdir@/static/footer.html +#HTML_STYLESHEET = @srcdir@/static/doxygen.css +TOC_EXPAND = YES +DISABLE_INDEX = NO +GENERATE_TREEVIEW = YES +TREEVIEW_WIDTH = 300 + +#--------------------------------------------------------------------------- +#LaTeX related option +#--------------------------------------------------------------------------- +GENERATE_LATEX = NO + +#--------------------------------------------------------------------------- +#RTF related options +#--------------------------------------------------------------------------- +GENERATE_RTF = NO + +#--------------------------------------------------------------------------- +#External reference options +#--------------------------------------------------------------------------- +GENERATE_TAGFILE = tui_examples.tag diff --git a/doc/salome/gui/GEOM/files/introduction_to_geom.htm b/doc/salome/gui/GEOM/files/introduction_to_geom.htm deleted file mode 100755 index d39bc391f..000000000 --- a/doc/salome/gui/GEOM/files/introduction_to_geom.htm +++ /dev/null @@ -1,143 +0,0 @@ - - - - -
-Geometry module - of SALOME is destined for:
- -- -
Import and export of geometrical models in IGES, - BREP and STEP formats.
Construction and optimization of geometrical models - using a wide range of CAD - functions:
- -
-
|
-- |
- - - - diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif deleted file mode 100755 index 216da7531..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif deleted file mode 100755 index 5ee22f391..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif deleted file mode 100755 index a83d6d108..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif deleted file mode 100755 index 82a696852..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif deleted file mode 100755 index f74b5f036..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif deleted file mode 100755 index 72dd5f5cc..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif deleted file mode 100755 index ed0f4522d..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions.htm deleted file mode 100755 index ff110b02c..000000000 --- a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions.htm +++ /dev/null @@ -1,159 +0,0 @@ - - - - - -
- -
You can use the following - boolean operations for construction of more complex geometrical objects - (2D & 3D elements) :
- -- -
- -
There is a general TUI command covering - all these operations, which can be used alongside with separate commands - for each operation.
- -geompy.MakeBoolean(Shape1, - Shape2, Operation), where Shape1 is the first argument and Shape2 - is the second argument of Boolean operation, Operation is a type of the - Boolean operation (1 – Common, 2 – Cut, 3 – Fuse, 4 – Section).
- -- -
Our TUI - Scripts provide you with useful examples of the use of Boolean - Operations.
- -- - - - diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif b/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif deleted file mode 100755 index 129d17d63..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif b/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif deleted file mode 100755 index 56ec71d40..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif b/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif deleted file mode 100755 index d210eb981..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif b/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif deleted file mode 100755 index 3372d41c4..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif b/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif deleted file mode 100755 index d7adb4c4e..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif b/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif deleted file mode 100755 index 4f7986042..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif b/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif deleted file mode 100755 index 178eb6403..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif b/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif deleted file mode 100755 index 18fa56742..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm deleted file mode 100755 index de5df125d..000000000 --- a/doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm +++ /dev/null @@ -1,146 +0,0 @@ - - - - - -
In Geometry module you - can import and export geometrical objects from/into BREP, IGES, STEP files. The mechanisms of import and export - are implemented via plug-ins, which gives you the opportunity to expand - the range of available formats by adding more plug-ins (for example, CATIA - 5).
- - - -To import geometrical objects from a BREP, IGES, STEP file:
- -- -
From the File - menu choose Import. In - the opening dialog box Import - select the required format of the file for importation and search for - a *.brep, *.iges or *.step file. -
- -- - - -
- -
Select the required file and click Open. Your file will be imported in - the module and its contents (geometrical object) will be displayed in - the Object Browser.
- -- -
- -
To export geometrical objects into a BREP, IGES, STEP file:
- -- -
Select the object you wish to export, then - from the File menu choose Export. In the opening dialog box Export define the required format, - the name and the location of the file for exportation. -
- -- - - -
- -
Click Save - to confirm your exportation.
- - - - diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions.htm deleted file mode 100755 index acb24e686..000000000 --- a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions.htm +++ /dev/null @@ -1,483 +0,0 @@ - - - - - -Measurement tools in GEOM are necessary for getting different - data concerning created or imported geometrical objects. They are:
- -- -
- -
Our TUI Scripts - show how to use Measurement Tools - with TUI - commands.
- -- -
To use measurement tools:
- -- -
In the main menu select Measures - submenu.
- -- -
- - - -
- -
Returns the - coordinates of a point.
- -- -
Result: Point - coordinates (X, Y, Z) in 3D space in the form of Python Tuple.
- -TUI command: - geompy.PointCoordinates(Point), - where Point is a point whose coordinates are inquired.
- -- - - -
- -
- - - -
- -
Returns the properties (Length, Surface & - Volume) for the selected geometrical object.
- -- -
Result: Display - Length, Surface & Volume in the form of Python Tuple.
- -TUI command: - geompy.BasicProperties(Shape), - where Shape is a shape whose properties are inquired.
- -- - - -
- -
- - - -
- -
Calculates and returns the coordinates of the - gravity center for the selected geometrical object.
- -- -
Result: GEOM_Object - (vertex).
- -TUI Command: - geompy.MakeCDG(Shape), where - Shape is the shape for which a center of gravity is computed.
- -- - - -
- -
- -
Inertia -
- -- -
Returns the axis of inertia for the selected - geometrical object.
- -- -
Result: Displays - the matrix and moments of inertia in the form of Python Tuple (I11, I12, - I13,
- -I21, - I22, I23,
- -I31, - I32, I33,
- -Ix, - Iy, Iz).
- -- -
TUI command: - geompy.Inertia(Shape), where - Shape is a shape for which a matrix of inertia and moment of inertia are - returned.
- -- - - -
- -
- - - -
- -
Returns the dimensions of the bounding box - for the selected geometrical object.
- -- -
Result: Displays - the dimensions of the bounding box of a geometrical object in the form - of Python Tuple (Xmin, Xmax, Ymin, Ymax, Zmin, Zmax).
- -TUI command: geompy.BoundingBox(Shape), where Shape is a shape for which a bounding - box is computed.
- -- - - -
- -
- - - -
- -
Returns the minimum distance between two geometrical - objects.
- -- -
TUI command: geompy.MinDistance(Shape1, - Shape2), where Shape1 and Shape2 - are shapes between which the minimal distance computed.
- -- - - -
- -
- - - -
- -
Returns the maximum and the minimum tolerance - for the selected geometrical object.
- -- -
Result: Displays - the tolerance values (FaceMinTol, FaceMaxTol, EgdeMinTol, EgdeMaxTol, - VertexMinTol, VertexMaxTol).
- -TUI command: geompy.Tolerance(Shape), where Shape is a shape for which minimal - and maximal tolerances are returned.
- -- - - -
- -
- -
WhatIs -
- -- -
Displays types and quantities of all elements - composing the selected geometrical object.
- -- -
TUI command: - geompy.WhatIs(Shape), where Shape - is a shape from which a description is returned.
- -- - - -
- -
- -
Check -
- -- -
Checks the topology of the selected geometrical - object and returns True if it is valid. Check - also geometry checkbox allows to test the geometry as well.
- -- -
Result: Boolean.
- -TUI Command: - geompy.(theShape, theIsCheckGeom - = 0), where is shape which is checked for validity.
- -- - - -
- -
- - - -
- -
Checks whether a shape is a compound of glued - blocks. To be considered as a compound of blocks, the given shape must - satisfy the following conditions:
- -Each - element of the compound should be a Block (6 faces and 12 edges);
A - connection between two Blocks should be an entire quadrangle face or an - entire edge;
The - compound should be connected;
Two - quadrangle faces should be glued.
- -
Informs of the following possible errors:
- -not a block,
not glued,
not connected,
extra - or degenerated edge.
- -
Result: Boolean; - highlight in the viewer.
- -TUI Command: - geompy.CheckCompoundOfBlocks(Compound). - Checks if the shape is - a valid compound of blocks. If it is true, then the validity flag is returned, - and encountered errors are printed in the python console.
- -- - - -
- - - - diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif deleted file mode 100755 index 02e4c8ff8..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif deleted file mode 100755 index 1aebb4f08..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif deleted file mode 100755 index f11323ae3..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif deleted file mode 100755 index c429db810..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif deleted file mode 100755 index 1c8dd915f..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif deleted file mode 100755 index 7968c6143..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif deleted file mode 100755 index a2db5a6e1..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif deleted file mode 100755 index 8de970b29..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif b/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif deleted file mode 100755 index 03b8391c3..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif b/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif deleted file mode 100755 index e38dcabd8..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif b/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif deleted file mode 100755 index 7a9aaadb4..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif b/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif deleted file mode 100755 index 716e51b9f..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif b/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif deleted file mode 100755 index 871c6f09b..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif b/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif deleted file mode 100755 index ffdbac7e8..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif b/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif deleted file mode 100755 index 7e683cc04..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif b/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif deleted file mode 100755 index 9aa79cf8c..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif b/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif deleted file mode 100755 index 0f4889b96..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif b/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif deleted file mode 100755 index d4b54ec3c..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif b/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif deleted file mode 100755 index b39eb2034..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif b/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif deleted file mode 100755 index 3917bf3e2..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif b/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif deleted file mode 100755 index 7a140ed93..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif b/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif deleted file mode 100755 index d3fdead87..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif b/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif deleted file mode 100755 index 2059e9d9d..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif b/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif deleted file mode 100755 index 29aaddb0a..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif b/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif deleted file mode 100755 index d55ff89b3..000000000 Binary files a/doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif and /dev/null differ diff --git a/doc/salome/gui/GEOM/geompy_doc/classgeompyDC_1_1geompyDC.html b/doc/salome/gui/GEOM/geompy_doc/classgeompyDC_1_1geompyDC.html deleted file mode 100644 index 60cc4ce43..000000000 --- a/doc/salome/gui/GEOM/geompy_doc/classgeompyDC_1_1geompyDC.html +++ /dev/null @@ -1,9410 +0,0 @@ - - - - - -
Public Member Functions | |
def | __init__ |
def | init_geom |
def | SubShapeName |
Get name for sub-shape aSubObj of shape aMainObj. | |
def | addToStudy |
Publish in study aShape with name aName. | |
def | addToStudyInFather |
Publish in study aShape with name aName as sub-object of previously published aFather. | |
def | MakeVertex |
Create point by three coordinates. | |
def | MakeVertexWithRef |
Create a point, distant from the referenced point on the given distances along the coordinate axes. | |
def | MakeVertexOnCurve |
Create a point, corresponding to the given parameter on the given curve. | |
def | MakeTangentOnCurve |
Create a tangent, corresponding to the given parameter on the given curve. | |
def | MakeVectorDXDYDZ |
Create a vector with the given components. | |
def | MakeVector |
Create a vector between two points. | |
def | MakeLine |
Create a line, passing through the given point and parrallel to the given direction. | |
def | MakeLineTwoPnt |
Create a line, passing through the given points. | |
def | MakePlane |
Create a plane, passing through the given point and normal to the given vector. | |
def | MakePlaneThreePnt |
Create a plane, passing through the three given points. | |
def | MakePlaneFace |
Create a plane, similar to the existing one, but with another size of representing face. | |
def | MakeMarker |
Create a local coordinate system. | |
def | MakeMarkerPntTwoVec |
Create a local coordinate system. | |
def | MakeArc |
Create an arc of circle, passing through three given points. | |
def | MakeArcCenter |
Create an arc of circle from a center and 2 points. | |
def | MakeCircle |
Create a circle with given center, normal vector and radius. | |
def | MakeCircleThreePnt |
Create a circle, passing through three given points. | |
def | MakeEllipse |
Create an ellipse with given center, normal vector and radiuses. | |
def | MakePolyline |
Create a polyline on the set of points. | |
def | MakeBezier |
Create bezier curve on the set of points. | |
def | MakeInterpol |
Create B-Spline curve on the set of points. | |
def | MakeSketcher |
Create a sketcher (wire or face), following the textual description, passed through theCommand argument. | |
def | MakeSketcherOnPlane |
Create a sketcher (wire or face), following the textual description, passed through theCommand argument. | |
def | MakeBox |
Create a box by coordinates of two opposite vertices. | |
def | MakeBoxDXDYDZ |
Create a box with specified dimensions along the coordinate axes and with edges, parallel to the coordinate axes. | |
def | MakeBoxTwoPnt |
Create a box with two specified opposite vertices, and with edges, parallel to the coordinate axes. | |
def | MakeCylinder |
Create a cylinder with given base point, axis, radius and height. | |
def | MakeCylinderRH |
Create a cylinder with given radius and height at the origin of coordinate system. | |
def | MakeSpherePntR |
Create a sphere with given center and radius. | |
def | MakeSphere |
Create a sphere with given center and radius. | |
def | MakeSphereR |
Create a sphere with given radius at the origin of coordinate system. | |
def | MakeCone |
Create a cone with given base point, axis, height and radiuses. | |
def | MakeConeR1R2H |
Create a cone with given height and radiuses at the origin of coordinate system. | |
def | MakeTorus |
Create a torus with given center, normal vector and radiuses. | |
def | MakeTorusRR |
Create a torus with given radiuses at the origin of coordinate system. | |
def | MakePrism |
Create a shape by extrusion of the base shape along a vector, defined by two points. | |
def | MakePrismVecH |
Create a shape by extrusion of the base shape along the vector, i.e. | |
def | MakePipe |
Create a shape by extrusion of the base shape along the path shape. | |
def | MakeRevolution |
Create a shape by revolution of the base shape around the axis on the given angle, i.e. | |
def | MakeThruSections |
Create a shell or solid passing through set of sections.Sections should be wires,edges or vertices. | |
def | MakePipeWithDifferentSections |
Create a shape by extrusion of the profile shape along the path shape. | |
def | MakePipeWithShellSections |
Create a shape by extrusion of the profile shape along the path shape. | |
def | MakeEdge |
Create a linear edge with specified ends. | |
def | MakeWire |
Create a wire from the set of edges and wires. | |
def | MakeFace |
Create a face on the given wire. | |
def | MakeFaceWires |
Create a face on the given wires set. | |
def | MakeFaces |
Shortcut to MakeFaceWires(). | |
def | MakeShell |
Create a shell from the set of faces and shells. | |
def | MakeSolid |
Create a solid, bounded by the given shells. | |
def | MakeCompound |
Create a compound of the given shapes. | |
def | NumberOfFaces |
Gives quantity of faces in the given shape. | |
def | NumberOfEdges |
Gives quantity of edges in the given shape. | |
def | ChangeOrientation |
Reverses an orientation the given shape. | |
def | OrientationChange |
Shortcut to ChangeOrientation(). | |
def | GetFreeFacesIDs |
Retrieve all free faces from the given shape. | |
def | GetSharedShapes |
Get all sub-shapes of theShape1 of the given type, shared with theShape2. | |
def | GetShapesOnPlane |
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the certain way, defined through theState parameter. | |
def | GetShapesOnPlaneIDs |
Works like the above method, but returns list of sub-shapes indices. | |
def | GetShapesOnPlaneWithLocation |
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified plane by the certain way, defined through theState parameter. | |
def | GetShapesOnPlaneWithLocationIDs |
Works like the above method, but returns list of sub-shapes indices. | |
def | GetShapesOnCylinder |
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified cylinder by the certain way, defined through theState parameter. | |
def | GetShapesOnCylinderIDs |
Works like the above method, but returns list of sub-shapes indices. | |
def | GetShapesOnSphere |
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified sphere by the certain way, defined through theState parameter. | |
def | GetShapesOnSphereIDs |
Works like the above method, but returns list of sub-shapes indices. | |
def | GetShapesOnQuadrangle |
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified quadrangle by the certain way, defined through theState parameter. | |
def | GetShapesOnQuadrangleIDs |
Works like the above method, but returns list of sub-shapes indices. | |
def | GetShapesOnBox |
Find in theShape all sub-shapes of type theShapeType, situated relatively the specified theBox by the certain way, defined through theState parameter. | |
def | GetShapesOnBoxIDs |
Works like the above method, but returns list of sub-shapes indices. | |
def | GetInPlace |
Get sub-shape(s) of theShapeWhere, which are coincident with theShapeWhat or could be a part of it. | |
def | GetSame |
Get sub-shape of theShapeWhere, which is equal to theShapeWhat. | |
def | GetSubShape |
Obtain a composite sub-shape of <aShape>, composed from sub-shapes of <aShape>, selected by their unique IDs inside <aShape>. | |
def | GetSubShapeID |
Obtain unique ID of sub-shape <aSubShape> inside <aShape>. | |
def | SubShapeAll |
Explode a shape on subshapes of a given type. | |
def | SubShapeAllIDs |
Explode a shape on subshapes of a given type. | |
def | SubShapeAllSorted |
Explode a shape on subshapes of a given type. | |
def | SubShapeAllSortedIDs |
Explode a shape on subshapes of a given type. | |
def | SubShape |
Obtain a compound of sub-shapes of <aShape>, selected by they indices in list of all sub-shapes of type <aType>. | |
def | SubShapeSorted |
Obtain a compound of sub-shapes of <aShape>, selected by they indices in sorted list of all sub-shapes of type <aType>. | |
def | ProcessShape |
Apply a sequence of Shape Healing operators to the given object. | |
def | SuppressFaces |
Remove faces from the given object (shape). | |
def | MakeSewing |
Sewing of some shapes into single shape. | |
def | Sew |
Sewing of the given object. | |
def | SuppressInternalWires |
Remove internal wires and edges from the given object (face). | |
def | SuppressHoles |
Remove internal closed contours (holes) from the given object. | |
def | CloseContour |
Close an open wire. | |
def | DivideEdge |
Addition of a point to a given edge object. | |
def | ChangeOrientationShell |
Change orientation of the given object. | |
def | ChangeOrientationShellCopy |
Change orientation of the given object. | |
def | GetFreeBoundary |
Get a list of wires (wrapped in GEOM_Object-s), that constitute a free boundary of the given shape. | |
def | MakeCopy |
Create a copy of the given object. | |
def | MakeFilling |
Create a filling from the given compound of contours. | |
def | MakeGlueFaces |
Replace coincident faces in theShape by one face. | |
def | GetGlueFaces |
Find coincident faces in theShape for possible gluing. | |
def | MakeGlueFacesByList |
Replace coincident faces in theShape by one face in compliance with given list of faces. | |
def | MakeBoolean |
Perform one of boolean operations on two given shapes. | |
def | MakeCommon |
Shortcut to MakeBoolean(s1, s2, 1). | |
def | MakeCut |
Shortcut to MakeBoolean(s1, s2, 2). | |
def | MakeFuse |
Shortcut to MakeBoolean(s1, s2, 3). | |
def | MakeSection |
Shortcut to MakeBoolean(s1, s2, 4). | |
def | MakePartition |
Perform partition operation. | |
def | MakePartitionNonSelfIntersectedShape |
Perform partition operation. | |
def | Partition |
Shortcut to MakePartition(). | |
def | MakeHalfPartition |
Perform partition of the Shape with the Plane. | |
def | MakeTranslationTwoPoints |
Translate the given object along the vector, specified by its end points, creating its copy before the translation. | |
def | MakeTranslation |
Translate the given object along the vector, specified by its components, creating its copy before the translation. | |
def | MakeTranslationVector |
Translate the given object along the given vector, creating its copy before the translation. | |
def | MakeRotation |
Rotate the given object around the given axis on the given angle, creating its copy before the rotatation. | |
def | MakeRotationThreePoints |
Rotate given object around vector perpendicular to plane containing three points, creating its copy before the rotatation. | |
def | MakeScaleTransform |
Scale the given object by the factor, creating its copy before the scaling. | |
def | MakeMirrorByPlane |
Create an object, symmetrical to the given one relatively the given plane. | |
def | MakeMirrorByAxis |
Create an object, symmetrical to the given one relatively the given axis. | |
def | MakeMirrorByPoint |
Create an object, symmetrical to the given one relatively the given point. | |
def | MakePosition |
Modify the Location of the given object by LCS, creating its copy before the setting. | |
def | MakeOffset |
Create new object as offset of the given one. | |
def | MakeMultiTranslation1D |
Translate the given object along the given vector a given number times. | |
def | MakeMultiTranslation2D |
Conseqently apply two specified translations to theObject specified number of times. | |
def | MultiRotate1D |
Rotate the given object around the given axis a given number times. | |
def | MultiRotate2D |
Rotate the given object around the given axis on the given angle a given number times and multi-translate each rotation result. | |
def | MakeMultiRotation1D |
The same, as MultiRotate1D(), but axis is given by direction and point. | |
def | MakeMultiRotation2D |
The same, as MultiRotate2D(), but axis is given by direction and point. | |
def | MakeFilletAll |
Perform a fillet on all edges of the given shape. | |
def | MakeFillet |
Perform a fillet on the specified edges/faces of the given shape. | |
def | MakeChamferAll |
Perform a symmetric chamfer on all edges of the given shape. | |
def | MakeChamferEdge |
Perform a chamfer on edges, common to the specified faces, with distance D1 on the Face1. | |
def | MakeChamferFaces |
Perform a chamfer on all edges of the specified faces, with distance D1 on the first specified face (if several for one edge). | |
def | MakeChamfer |
Shortcut to MakeChamferEdge() and MakeChamferFaces(). | |
def | Archimede |
Perform an Archimde operation on the given shape with given parameters. | |
def | PointCoordinates |
Get point coordinates. | |
def | BasicProperties |
Get summarized length of all wires, area of surface and volume of the given shape. | |
def | BoundingBox |
Get parameters of bounding box of the given shape. | |
def | Inertia |
Get inertia matrix and moments of inertia of theShape. | |
def | MinDistance |
Get minimal distance between the given shapes. | |
def | Tolerance |
Get min and max tolerances of sub-shapes of theShape. | |
def | WhatIs |
Obtain description of the given shape (number of sub-shapes of each type). | |
def | MakeCDG |
Get a point, situated at the centre of mass of theShape. | |
def | CheckShape |
Check a topology of the given shape. | |
def | GetPosition |
Get position (LCS) of theShape. | |
def | KindOfShape |
Get kind of theShape. | |
def | Import |
Import a shape from the BREP or IGES or STEP file (depends on given format) with given name. | |
def | ImportBREP |
Shortcut to Import() for BREP format. | |
def | ImportIGES |
Shortcut to Import() for IGES format. | |
def | ImportSTEP |
Shortcut to Import() for STEP format. | |
def | Export |
Export the given shape into a file with given name. | |
def | ExportBREP |
Shortcut to Export() for BREP format. | |
def | ExportIGES |
Shortcut to Export() for IGES format. | |
def | ExportSTEP |
Shortcut to Export() for STEP format. | |
def | MakeQuad |
Create a quadrangle face from four edges. | |
def | MakeQuad2Edges |
Create a quadrangle face on two edges. | |
def | MakeQuad4Vertices |
Create a quadrangle face with specified corners. | |
def | MakeHexa |
Create a hexahedral solid, bounded by the six given faces. | |
def | MakeHexa2Faces |
Create a hexahedral solid between two given faces. | |
def | GetPoint |
Get a vertex, found in the given shape by its coordinates. | |
def | GetEdge |
Get an edge, found in the given shape by two given vertices. | |
def | GetEdgeNearPoint |
Find an edge of the given shape, which has minimal distance to the given point. | |
def | GetFaceByPoints |
Returns a face, found in the given shape by four given corner vertices. | |
def | GetFaceByEdges |
Get a face of block, found in the given shape by two given edges. | |
def | GetOppositeFace |
Find a face, opposite to the given one in the given block. | |
def | GetFaceNearPoint |
Find a face of the given shape, which has minimal distance to the given point. | |
def | GetFaceByNormale |
Find a face of block, whose outside normale has minimal angle with the given vector. | |
def | CheckCompoundOfBlocks |
Check, if the compound of blocks is given. | |
def | RemoveExtraEdges |
Remove all seam and degenerated edges from theShape. | |
def | CheckAndImprove |
Check, if the given shape is a blocks compound. | |
def | MakeBlockExplode |
Get all the blocks, contained in the given compound. | |
def | GetBlockNearPoint |
Find block, containing the given point inside its volume or on boundary. | |
def | GetBlockByParts |
Find block, containing all the elements, passed as the parts, or maximum quantity of them. | |
def | GetBlocksByParts |
Return all blocks, containing all the elements, passed as the parts. | |
def | MakeMultiTransformation1D |
Multi-transformate block and glue the result. | |
def | MakeMultiTransformation2D |
Multi-transformate block and glue the result. | |
def | Propagate |
Build all possible propagation groups. | |
def | CreateGroup |
Creates a new group which will store sub shapes of theMainShape. | |
def | AddObject |
Adds a sub object with ID theSubShapeId to the group. | |
def | RemoveObject |
Removes a sub object with ID theSubShapeId from the group. | |
def | UnionList |
Adds to the group all the given shapes. | |
def | UnionIDs |
Works like the above method, but argument theSubShapes here is a list of sub-shapes indices. | |
def | DifferenceList |
Removes from the group all the given shapes. | |
def | DifferenceIDs |
Works like the above method, but argument theSubShapes here is a list of sub-shapes indices. | |
def | GetObjectIDs |
Returns a list of sub objects ID stored in the group. | |
def | GetType |
Returns a type of sub objects stored in the group. | |
def | GetMainShape |
Returns a main shape associated with the group. | |
def | GetEdgesByLength |
Create group of edges of theShape, whose length is in range [min_length, max_length]. | |
def | SelectEdges |
Create group of edges of selected shape, whose length is in range [min_length, max_length]. | |
def | addPath |
Add Path to load python scripts from. | |
Data Fields | |
myBuilder | |
myStudyId | |
father | |
BasicOp | |
CurvesOp | |
PrimOp | |
ShapesOp | |
HealOp | |
InsertOp | |
BoolOp | |
TrsfOp | |
LocalOp | |
MeasuOp | |
BlocksOp | |
GroupOp | |
myStudy |
def geompyDC.geompyDC.__init__ | -( | -- | self | -) | -- |
- -
def geompyDC.geompyDC.init_geom | -( | -- | self, | -|
- | - | - | theStudy | - |
- | ) | -- |
- -
def geompyDC.geompyDC.SubShapeName | -( | -- | self, | -|
- | - | - | aSubObj, | -|
- | - | - | aMainObj | - |
- | ) | -- |
-Example: see GEOM_TestAll.py -
def geompyDC.geompyDC.addToStudy | -( | -- | self, | -|
- | - | - | aShape, | -|
- | - | - | aName | - |
- | ) | -- |
-Example: see GEOM_TestAll.py -
def geompyDC.geompyDC.addToStudyInFather | -( | -- | self, | -|
- | - | - | aFather, | -|
- | - | - | aShape, | -|
- | - | - | aName | - |
- | ) | -- |
-Example: see GEOM_TestAll.py -
def geompyDC.geompyDC.MakeVertex | -( | -- | self, | -|
- | - | - | theX, | -|
- | - | - | theY, | -|
- | - | - | theZ | - |
- | ) | -- |
-
theX | The X coordinate of the point. | |
theY | The Y coordinate of the point. | |
theZ | The Z coordinate of the point. |
def geompyDC.geompyDC.MakeVertexWithRef | -( | -- | self, | -|
- | - | - | theReference, | -|
- | - | - | theX, | -|
- | - | - | theY, | -|
- | - | - | theZ | - |
- | ) | -- |
-
theReference | The referenced point. | |
theX | Displacement from the referenced point along OX axis. | |
theY | Displacement from the referenced point along OY axis. | |
theZ | Displacement from the referenced point along OZ axis. |
def geompyDC.geompyDC.MakeVertexOnCurve | -( | -- | self, | -|
- | - | - | theRefCurve, | -|
- | - | - | theParameter | - |
- | ) | -- |
-
theRefCurve | The referenced curve. | |
theParameter | Value of parameter on the referenced curve. |
def geompyDC.geompyDC.MakeTangentOnCurve | -( | -- | self, | -|
- | - | - | theRefCurve, | -|
- | - | - | theParameter | - |
- | ) | -- |
-
theRefCurve | The referenced curve. | |
theParameter | Value of parameter on the referenced curve. |
def geompyDC.geompyDC.MakeVectorDXDYDZ | -( | -- | self, | -|
- | - | - | theDX, | -|
- | - | - | theDY, | -|
- | - | - | theDZ | - |
- | ) | -- |
-
theDX | X component of the vector. | |
theDY | Y component of the vector. | |
theDZ | Z component of the vector. |
def geompyDC.geompyDC.MakeVector | -( | -- | self, | -|
- | - | - | thePnt1, | -|
- | - | - | thePnt2 | - |
- | ) | -- |
-
thePnt1 | Start point for the vector. | |
thePnt2 | End point for the vector. |
def geompyDC.geompyDC.MakeLine | -( | -- | self, | -|
- | - | - | thePnt, | -|
- | - | - | theDir | - |
- | ) | -- |
-
thePnt | Point. The resulting line will pass through it. | |
theDir | Direction. The resulting line will be parallel to it. |
def geompyDC.geompyDC.MakeLineTwoPnt | -( | -- | self, | -|
- | - | - | thePnt1, | -|
- | - | - | thePnt2 | - |
- | ) | -- |
-
thePnt1 | First of two points, defining the line. | |
thePnt2 | Second of two points, defining the line. |
def geompyDC.geompyDC.MakePlane | -( | -- | self, | -|
- | - | - | thePnt, | -|
- | - | - | theVec, | -|
- | - | - | theTrimSize | - |
- | ) | -- |
-
thePnt | Point, the plane has to pass through. | |
theVec | Vector, defining the plane normal direction. | |
theTrimSize | Half size of a side of quadrangle face, representing the plane. |
def geompyDC.geompyDC.MakePlaneThreePnt | -( | -- | self, | -|
- | - | - | thePnt1, | -|
- | - | - | thePnt2, | -|
- | - | - | thePnt3, | -|
- | - | - | theTrimSize | - |
- | ) | -- |
-
thePnt1 | First of three points, defining the plane. | |
thePnt2 | Second of three points, defining the plane. | |
thePnt3 | Fird of three points, defining the plane. | |
theTrimSize | Half size of a side of quadrangle face, representing the plane. |
def geompyDC.geompyDC.MakePlaneFace | -( | -- | self, | -|
- | - | - | theFace, | -|
- | - | - | theTrimSize | - |
- | ) | -- |
-
theFace | Referenced plane or LCS(Marker). | |
theTrimSize | New half size of a side of quadrangle face, representing the plane. |
def geompyDC.geompyDC.MakeMarker | -( | -- | self, | -|
- | - | - | OX, | -|
- | - | - | OY, | -|
- | - | - | OZ, | -|
- | - | - | XDX, | -|
- | - | - | XDY, | -|
- | - | - | XDZ, | -|
- | - | - | YDX, | -|
- | - | - | YDY, | -|
- | - | - | YDZ | - |
- | ) | -- |
-
OX,OY,OZ | Three coordinates of coordinate system origin. | |
XDX,XDY,XDZ | Three components of OX direction | |
YDX,YDY,YDZ | Three components of OY direction |
def geompyDC.geompyDC.MakeMarkerPntTwoVec | -( | -- | self, | -|
- | - | - | theOrigin, | -|
- | - | - | theXVec, | -|
- | - | - | theYVec | - |
- | ) | -- |
-
theOrigin | Point of coordinate system origin. | |
theXVec | Vector of X direction | |
theYVec | Vector of Y direction |
def geompyDC.geompyDC.MakeArc | -( | -- | self, | -|
- | - | - | thePnt1, | -|
- | - | - | thePnt2, | -|
- | - | - | thePnt3 | - |
- | ) | -- |
-
thePnt1 | Start point of the arc. | |
thePnt2 | Middle point of the arc. | |
thePnt3 | End point of the arc. |
def geompyDC.geompyDC.MakeArcCenter | -( | -- | self, | -|
- | - | - | thePnt1, | -|
- | - | - | thePnt2, | -|
- | - | - | thePnt3, | -|
- | - | - | theSense | - |
- | ) | -- |
-
thePnt1 | Center of the arc | |
thePnt2 | Start point of the arc. (Gives also the radius of the arc) | |
thePnt3 | End point of the arc (Gives also a direction) |
def geompyDC.geompyDC.MakeCircle | -( | -- | self, | -|
- | - | - | thePnt, | -|
- | - | - | theVec, | -|
- | - | - | theR | - |
- | ) | -- |
-
thePnt | Circle center. | |
theVec | Vector, normal to the plane of the circle. | |
theR | Circle radius. |
def geompyDC.geompyDC.MakeCircleThreePnt | -( | -- | self, | -|
- | - | - | thePnt1, | -|
- | - | - | thePnt2, | -|
- | - | - | thePnt3 | - |
- | ) | -- |
-
thePnt1,thePnt2,thePnt3 | Points, defining the circle. |
def geompyDC.geompyDC.MakeEllipse | -( | -- | self, | -|
- | - | - | thePnt, | -|
- | - | - | theVec, | -|
- | - | - | theRMajor, | -|
- | - | - | theRMinor | - |
- | ) | -- |
-
thePnt | Ellipse center. | |
theVec | Vector, normal to the plane of the ellipse. | |
theRMajor | Major ellipse radius. | |
theRMinor | Minor ellipse radius. |
def geompyDC.geompyDC.MakePolyline | -( | -- | self, | -|
- | - | - | thePoints | - |
- | ) | -- |
-
thePoints | Sequence of points for the polyline. |
def geompyDC.geompyDC.MakeBezier | -( | -- | self, | -|
- | - | - | thePoints | - |
- | ) | -- |
-
thePoints | Sequence of points for the bezier curve. |
def geompyDC.geompyDC.MakeInterpol | -( | -- | self, | -|
- | - | - | thePoints | - |
- | ) | -- |
-
thePoints | Sequence of points for the B-Spline curve. |
def geompyDC.geompyDC.MakeSketcher | -( | -- | self, | -|
- | - | - | theCommand, | -|
- | - | - | theWorkingPlane = [0 | - |
- | ) | -- |
-
- Edges of the resulting wire or face will be arcs of circles and/or linear segments.
- Format of the description string have to be the following:
-"Sketcher[:F x1 y1]:CMD[:CMD[:CMD...]]"
-Where:
-
theCommand | String, defining the sketcher in local coordinates of the working plane. | |
theWorkingPlane | Nine double values, defining origin, OZ and OX directions of the working plane. |
def geompyDC.geompyDC.MakeSketcherOnPlane | -( | -- | self, | -|
- | - | - | theCommand, | -|
- | - | - | theWorkingPlane | - |
- | ) | -- |
-
- For format of the description string see the previous method.
-
theCommand | String, defining the sketcher in local coordinates of the working plane. | |
theWorkingPlane | Planar Face or LCS(Marker) of the working plane. |
def geompyDC.geompyDC.MakeBox | -( | -- | self, | -|
- | - | - | x1, | -|
- | - | - | y1, | -|
- | - | - | z1, | -|
- | - | - | x2, | -|
- | - | - | y2, | -|
- | - | - | z2 | - |
- | ) | -- |
-Example: see GEOM_TestAll.py -
def geompyDC.geompyDC.MakeBoxDXDYDZ | -( | -- | self, | -|
- | - | - | theDX, | -|
- | - | - | theDY, | -|
- | - | - | theDZ | - |
- | ) | -- |
-Center of the box will be at point (DX/2, DY/2, DZ/2).
theDX | Length of Box edges, parallel to OX axis. | |
theDY | Length of Box edges, parallel to OY axis. | |
theDZ | Length of Box edges, parallel to OZ axis. |
def geompyDC.geompyDC.MakeBoxTwoPnt | -( | -- | self, | -|
- | - | - | thePnt1, | -|
- | - | - | thePnt2 | - |
- | ) | -- |
-
thePnt1 | First of two opposite vertices. | |
thePnt2 | Second of two opposite vertices. |
def geompyDC.geompyDC.MakeCylinder | -( | -- | self, | -|
- | - | - | thePnt, | -|
- | - | - | theAxis, | -|
- | - | - | theR, | -|
- | - | - | theH | - |
- | ) | -- |
-
thePnt | Central point of cylinder base. | |
theAxis | Cylinder axis. | |
theR | Cylinder radius. | |
theH | Cylinder height. |
def geompyDC.geompyDC.MakeCylinderRH | -( | -- | self, | -|
- | - | - | theR, | -|
- | - | - | theH | - |
- | ) | -- |
-Axis of the cylinder will be collinear to the OZ axis of the coordinate system.
theR | Cylinder radius. | |
theH | Cylinder height. |
def geompyDC.geompyDC.MakeSpherePntR | -( | -- | self, | -|
- | - | - | thePnt, | -|
- | - | - | theR | - |
- | ) | -- |
-
thePnt | Sphere center. | |
theR | Sphere radius. |
def geompyDC.geompyDC.MakeSphere | -( | -- | self, | -|
- | - | - | x, | -|
- | - | - | y, | -|
- | - | - | z, | -|
- | - | - | theR | - |
- | ) | -- |
-
x,y,z | Coordinates of sphere center. | |
theR | Sphere radius. |
def geompyDC.geompyDC.MakeSphereR | -( | -- | self, | -|
- | - | - | theR | - |
- | ) | -- |
-
theR | Sphere radius. |
def geompyDC.geompyDC.MakeCone | -( | -- | self, | -|
- | - | - | thePnt, | -|
- | - | - | theAxis, | -|
- | - | - | theR1, | -|
- | - | - | theR2, | -|
- | - | - | theH | - |
- | ) | -- |
-
thePnt | Central point of the first cone base. | |
theAxis | Cone axis. | |
theR1 | Radius of the first cone base. | |
theR2 | Radius of the second cone base. |
-If the radiuses are equal, a cylinder will be created instead.
theH | Cone height. |
def geompyDC.geompyDC.MakeConeR1R2H | -( | -- | self, | -|
- | - | - | theR1, | -|
- | - | - | theR2, | -|
- | - | - | theH | - |
- | ) | -- |
-Axis of the cone will be collinear to the OZ axis of the coordinate system.
theR1 | Radius of the first cone base. | |
theR2 | Radius of the second cone base. |
-If the radiuses are equal, a cylinder will be created instead.
theH | Cone height. |
def geompyDC.geompyDC.MakeTorus | -( | -- | self, | -|
- | - | - | thePnt, | -|
- | - | - | theVec, | -|
- | - | - | theRMajor, | -|
- | - | - | theRMinor | - |
- | ) | -- |
-
thePnt | Torus central point. | |
theVec | Torus axis of symmetry. | |
theRMajor | Torus major radius. | |
theRMinor | Torus minor radius. |
def geompyDC.geompyDC.MakeTorusRR | -( | -- | self, | -|
- | - | - | theRMajor, | -|
- | - | - | theRMinor | - |
- | ) | -- |
-
theRMajor | Torus major radius. | |
theRMinor | Torus minor radius. |
def geompyDC.geompyDC.MakePrism | -( | -- | self, | -|
- | - | - | theBase, | -|
- | - | - | thePoint1, | -|
- | - | - | thePoint2 | - |
- | ) | -- |
-
theBase | Base shape to be extruded. | |
thePoint1 | First end of extrusion vector. | |
thePoint2 | Second end of extrusion vector. |
def geompyDC.geompyDC.MakePrismVecH | -( | -- | self, | -|
- | - | - | theBase, | -|
- | - | - | theVec, | -|
- | - | - | theH | - |
- | ) | -- |
-all the space, transfixed by the base shape during its translation along the vector on the given distance.
theBase | Base shape to be extruded. | |
theVec | Direction of extrusion. | |
theH | Prism dimension along theVec. |
def geompyDC.geompyDC.MakePipe | -( | -- | self, | -|
- | - | - | theBase, | -|
- | - | - | thePath | - |
- | ) | -- |
-The path shape can be a wire or an edge.
theBase | Base shape to be extruded. | |
thePath | Path shape to extrude the base shape along it. |
def geompyDC.geompyDC.MakeRevolution | -( | -- | self, | -|
- | - | - | theBase, | -|
- | - | - | theAxis, | -|
- | - | - | theAngle | - |
- | ) | -- |
-all the space, transfixed by the base shape during its rotation around the axis on the given angle.
theBase | Base shape to be rotated. | |
theAxis | Rotation axis. | |
theAngle | Rotation angle in radians. |
def geompyDC.geompyDC.MakeThruSections | -( | -- | self, | -|
- | - | - | theSeqSections, | -|
- | - | - | theModeSolid, | -|
- | - | - | thePreci, | -|
- | - | - | theRuled | - |
- | ) | -- |
-
theSeqSections | - set of specified sections. | |
theModeSolid | - mode defining building solid or shell | |
thePreci | - precision 3D used for smoothing by default 1.e-6 | |
theRuled | - mode defining type of the result surfaces (ruled or smoothed). |
def geompyDC.geompyDC.MakePipeWithDifferentSections | -( | -- | self, | -|
- | - | - | theSeqBases, | -|
- | - | - | theLocations, | -|
- | - | - | thePath, | -|
- | - | - | theWithContact, | -|
- | - | - | theWithCorrection | - |
- | ) | -- |
-The path shape can be a wire or an edge. the several profiles can be specified in the several locations of path.
theSeqBases | - list of Bases shape to be extruded. | |
theLocations | - list of locations on the path corresponding specified list of the Bases shapes. Number of locations should be equal to number of bases or list of locations can be empty. | |
thePath | - Path shape to extrude the base shape along it. | |
theWithContact | - the mode defining that the section is translated to be in contact with the spine. | |
- | WithCorrection - defining that the section is rotated to be orthogonal to the spine tangent in the correspondent point |
def geompyDC.geompyDC.MakePipeWithShellSections | -( | -- | self, | -|
- | - | - | theSeqBases, | -|
- | - | - | theSeqSubBases, | -|
- | - | - | theLocations, | -|
- | - | - | thePath, | -|
- | - | - | theWithContact, | -|
- | - | - | theWithCorrection | - |
- | ) | -- |
-The path shape can be a shell or a face. the several profiles can be specified in the several locations of path.
theSeqBases | - list of Bases shape to be extruded. | |
theSeqSubBases | - list of corresponding subshapes of section shapes. | |
theLocations | - list of locations on the path corresponding specified list of the Bases shapes. Number of locations should be equal to number of bases or list of locations can be empty. | |
thePath | - Path shape to extrude the base shape along it. | |
theWithContact | - the mode defining that the section is translated to be in contact with the spine. | |
- | WithCorrection - defining that the section is rotated to be orthogonal to the spine tangent in the correspondent point |
def geompyDC.geompyDC.MakeEdge | -( | -- | self, | -|
- | - | - | thePnt1, | -|
- | - | - | thePnt2 | - |
- | ) | -- |
-
thePnt1 | Point for the first end of edge. | |
thePnt2 | Point for the second end of edge. |
def geompyDC.geompyDC.MakeWire | -( | -- | self, | -|
- | - | - | theEdgesAndWires | - |
- | ) | -- |
-
theEdgesAndWires | List of edges and/or wires. |
def geompyDC.geompyDC.MakeFace | -( | -- | self, | -|
- | - | - | theWire, | -|
- | - | - | isPlanarWanted | - |
- | ) | -- |
-
theWire | closed Wire or Edge to build the face on. | |
isPlanarWanted | If TRUE, only planar face will be built. If impossible, NULL object will be returned. |
def geompyDC.geompyDC.MakeFaceWires | -( | -- | self, | -|
- | - | - | theWires, | -|
- | - | - | isPlanarWanted | - |
- | ) | -- |
-
theWires | List of closed wires or edges to build the face on. | |
isPlanarWanted | If TRUE, only planar face will be built. If impossible, NULL object will be returned. |
def geompyDC.geompyDC.MakeFaces | -( | -- | self, | -|
- | - | - | theWires, | -|
- | - | - | isPlanarWanted | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.MakeShell | -( | -- | self, | -|
- | - | - | theFacesAndShells | - |
- | ) | -- |
-
theFacesAndShells | List of faces and/or shells. |
def geompyDC.geompyDC.MakeSolid | -( | -- | self, | -|
- | - | - | theShells | - |
- | ) | -- |
-
theShells | Sequence of bounding shells. |
def geompyDC.geompyDC.MakeCompound | -( | -- | self, | -|
- | - | - | theShapes | - |
- | ) | -- |
-
theShapes | List of shapes to put in compound. |
def geompyDC.geompyDC.NumberOfFaces | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-
theShape | Shape to count faces of. |
def geompyDC.geompyDC.NumberOfEdges | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-
theShape | Shape to count edges of. |
def geompyDC.geompyDC.ChangeOrientation | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-
theShape | Shape to be reversed. |
def geompyDC.geompyDC.OrientationChange | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.GetFreeFacesIDs | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-Free face is a face, which is not shared between two shells of the shape.
theShape | Shape to find free faces in. |
def geompyDC.geompyDC.GetSharedShapes | -( | -- | self, | -|
- | - | - | theShape1, | -|
- | - | - | theShape2, | -|
- | - | - | theShapeType | - |
- | ) | -- |
-
theShape1 | Shape to find sub-shapes in. | |
theShape2 | Shape to find shared sub-shapes with. | |
theShapeType | Type of sub-shapes to be retrieved. |
def geompyDC.geompyDC.GetShapesOnPlane | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theShapeType, | -|
- | - | - | theAx1, | -|
- | - | - | theState | - |
- | ) | -- |
-
theShape | Shape to find sub-shapes of. | |
theShapeType | Type of sub-shapes to be retrieved. | |
theAx1 | Vector (or line, or linear edge), specifying normal direction and location of the plane to find shapes on. | |
theState | The state of the subshapes to find. It can be one of ST_ON, ST_OUT, ST_ONOUT, ST_IN, ST_ONIN. |
def geompyDC.geompyDC.GetShapesOnPlaneIDs | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theShapeType, | -|
- | - | - | theAx1, | -|
- | - | - | theState | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.GetShapesOnPlaneWithLocation | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theShapeType, | -|
- | - | - | theAx1, | -|
- | - | - | thePnt, | -|
- | - | - | theState | - |
- | ) | -- |
-
theShape | Shape to find sub-shapes of. | |
theShapeType | Type of sub-shapes to be retrieved. | |
theAx1 | Vector (or line, or linear edge), specifying normal direction of the plane to find shapes on. | |
thePnt | Point specifying location of the plane to find shapes on. | |
theState | The state of the subshapes to find. It can be one of ST_ON, ST_OUT, ST_ONOUT, ST_IN, ST_ONIN. |
def geompyDC.geompyDC.GetShapesOnPlaneWithLocationIDs | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theShapeType, | -|
- | - | - | theAx1, | -|
- | - | - | thePnt, | -|
- | - | - | theState | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.GetShapesOnCylinder | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theShapeType, | -|
- | - | - | theAxis, | -|
- | - | - | theRadius, | -|
- | - | - | theState | - |
- | ) | -- |
-
theShape | Shape to find sub-shapes of. | |
theShapeType | Type of sub-shapes to be retrieved. | |
theAxis | Vector (or line, or linear edge), specifying axis of the cylinder to find shapes on. | |
theRadius | Radius of the cylinder to find shapes on. | |
theState | The state of the subshapes to find. It can be one of ST_ON, ST_OUT, ST_ONOUT, ST_IN, ST_ONIN. |
def geompyDC.geompyDC.GetShapesOnCylinderIDs | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theShapeType, | -|
- | - | - | theAxis, | -|
- | - | - | theRadius, | -|
- | - | - | theState | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.GetShapesOnSphere | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theShapeType, | -|
- | - | - | theCenter, | -|
- | - | - | theRadius, | -|
- | - | - | theState | - |
- | ) | -- |
-
theShape | Shape to find sub-shapes of. | |
theShapeType | Type of sub-shapes to be retrieved. | |
theCenter | Point, specifying center of the sphere to find shapes on. | |
theRadius | Radius of the sphere to find shapes on. | |
theState | The state of the subshapes to find. It can be one of ST_ON, ST_OUT, ST_ONOUT, ST_IN, ST_ONIN. |
def geompyDC.geompyDC.GetShapesOnSphereIDs | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theShapeType, | -|
- | - | - | theCenter, | -|
- | - | - | theRadius, | -|
- | - | - | theState | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.GetShapesOnQuadrangle | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theShapeType, | -|
- | - | - | theTopLeftPoint, | -|
- | - | - | theTopRigthPoint, | -|
- | - | - | theBottomLeftPoint, | -|
- | - | - | theBottomRigthPoint, | -|
- | - | - | theState | - |
- | ) | -- |
-
theShape | Shape to find sub-shapes of. | |
theShapeType | Type of sub-shapes to be retrieved. | |
theTopLeftPoint | Point, specifying top left corner of a quadrangle | |
theTopRigthPoint | Point, specifying top right corner of a quadrangle | |
theBottomLeftPoint | Point, specifying bottom left corner of a quadrangle | |
theBottomRigthPoint | Point, specifying bottom right corner of a quadrangle | |
theState | The state of the subshapes to find. It can be one of ST_ON, ST_OUT, ST_ONOUT, ST_IN, ST_ONIN. |
def geompyDC.geompyDC.GetShapesOnQuadrangleIDs | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theShapeType, | -|
- | - | - | theTopLeftPoint, | -|
- | - | - | theTopRigthPoint, | -|
- | - | - | theBottomLeftPoint, | -|
- | - | - | theBottomRigthPoint, | -|
- | - | - | theState | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.GetShapesOnBox | -( | -- | self, | -|
- | - | - | theBox, | -|
- | - | - | theShape, | -|
- | - | - | theShapeType, | -|
- | - | - | theState | - |
- | ) | -- |
-
theBox | Shape for relative comparing. | |
theShape | Shape to find sub-shapes of. | |
theShapeType | Type of sub-shapes to be retrieved. | |
theState | The state of the subshapes to find. It can be one of ST_ON, ST_OUT, ST_ONOUT, ST_IN, ST_ONIN. |
def geompyDC.geompyDC.GetShapesOnBoxIDs | -( | -- | self, | -|
- | - | - | theBox, | -|
- | - | - | theShape, | -|
- | - | - | theShapeType, | -|
- | - | - | theState | - |
- | ) | -- |
- -
def geompyDC.geompyDC.GetInPlace | -( | -- | self, | -|
- | - | - | theShapeWhere, | -|
- | - | - | theShapeWhat | - |
- | ) | -- |
-
theShapeWhere | Shape to find sub-shapes of. | |
theShapeWhat | Shape, specifying what to find. |
def geompyDC.geompyDC.GetSame | -( | -- | self, | -|
- | - | - | theShapeWhere, | -|
- | - | - | theShapeWhat | - |
- | ) | -- |
-
theShapeWhere | Shape to find sub-shape of. | |
theShapeWhat | Shape, specifying what to find. |
def geompyDC.geompyDC.GetSubShape | -( | -- | self, | -|
- | - | - | aShape, | -|
- | - | - | ListOfID | - |
- | ) | -- |
-Example: see GEOM_TestAll.py -
def geompyDC.geompyDC.GetSubShapeID | -( | -- | self, | -|
- | - | - | aShape, | -|
- | - | - | aSubShape | - |
- | ) | -- |
-Example: see GEOM_TestAll.py -
def geompyDC.geompyDC.SubShapeAll | -( | -- | self, | -|
- | - | - | aShape, | -|
- | - | - | aType | - |
- | ) | -- |
-
theShape | Shape to be exploded. | |
theShapeType | Type of sub-shapes to be retrieved. |
def geompyDC.geompyDC.SubShapeAllIDs | -( | -- | self, | -|
- | - | - | aShape, | -|
- | - | - | aType | - |
- | ) | -- |
-
theShape | Shape to be exploded. | |
theShapeType | Type of sub-shapes to be retrieved. |
def geompyDC.geompyDC.SubShapeAllSorted | -( | -- | self, | -|
- | - | - | aShape, | -|
- | - | - | aType | - |
- | ) | -- |
-Sub-shapes will be sorted by coordinates of their gravity centers.
theShape | Shape to be exploded. | |
theShapeType | Type of sub-shapes to be retrieved. |
def geompyDC.geompyDC.SubShapeAllSortedIDs | -( | -- | self, | -|
- | - | - | aShape, | -|
- | - | - | aType | - |
- | ) | -- |
-Sub-shapes will be sorted by coordinates of their gravity centers.
theShape | Shape to be exploded. | |
theShapeType | Type of sub-shapes to be retrieved. |
def geompyDC.geompyDC.SubShape | -( | -- | self, | -|
- | - | - | aShape, | -|
- | - | - | aType, | -|
- | - | - | ListOfInd | - |
- | ) | -- |
-Each index is in range [1, Nb_Sub-Shapes_Of_Given_Type]
-Example: see GEOM_TestAll.py -
def geompyDC.geompyDC.SubShapeSorted | -( | -- | self, | -|
- | - | - | aShape, | -|
- | - | - | aType, | -|
- | - | - | ListOfInd | - |
- | ) | -- |
-Each index is in range [1, Nb_Sub-Shapes_Of_Given_Type]
-Example: see GEOM_TestAll.py -
def geompyDC.geompyDC.ProcessShape | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theOperators, | -|
- | - | - | theParameters, | -|
- | - | - | theValues | - |
- | ) | -- |
-
theShape | Shape to be processed. | |
theOperators | List of names of operators ("FixShape", "SplitClosedFaces", etc.). | |
theParameters | List of names of parameters ("FixShape.Tolerance3d", "SplitClosedFaces.NbSplitPoints", etc.). | |
theValues | List of values of parameters, in the same order as parameters are listed in theParameters list. |
def geompyDC.geompyDC.SuppressFaces | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theFaces | - |
- | ) | -- |
-
theObject | Shape to be processed. | |
theFaces | Indices of faces to be removed, if EMPTY then the method removes ALL faces of the given object. |
def geompyDC.geompyDC.MakeSewing | -( | -- | self, | -|
- | - | - | ListShape, | -|
- | - | - | theTolerance | - |
- | ) | -- |
-Example: see GEOM_TestHealing.py -
def geompyDC.geompyDC.Sew | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theTolerance | - |
- | ) | -- |
-
theObject | Shape to be processed. | |
theTolerance | Required tolerance value. |
def geompyDC.geompyDC.SuppressInternalWires | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theWires | - |
- | ) | -- |
-
theObject | Shape to be processed. | |
theWires | Indices of wires to be removed, if EMPTY then the method removes ALL internal wires of the given object. |
def geompyDC.geompyDC.SuppressHoles | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theWires | - |
- | ) | -- |
-
theObject | Shape to be processed. | |
theWires | Indices of wires to be removed, if EMPTY then the method removes ALL internal holes of the given object |
def geompyDC.geompyDC.CloseContour | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theWires, | -|
- | - | - | isCommonVertex | - |
- | ) | -- |
-
theObject | Shape to be processed. | |
theWires | Indexes of edge(s) and wire(s) to be closed within theObject's shape, if -1, then theObject itself is a wire. | |
isCommonVertex | If TRUE : closure by creation of a common vertex, If FALS : closure by creation of an edge between ends. |
def geompyDC.geompyDC.DivideEdge | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theEdgeIndex, | -|
- | - | - | theValue, | -|
- | - | - | isByParameter | - |
- | ) | -- |
-
theObject | Shape to be processed. | |
theEdgeIndex | Index of edge to be divided within theObject's shape, if -1, then theObject itself is the edge. | |
theValue | Value of parameter on edge or length parameter, depending on isByParameter. | |
isByParameter | If TRUE : theValue is treated as a curve parameter [0..1], if FALSE : theValue is treated as a length parameter [0..1] |
def geompyDC.geompyDC.ChangeOrientationShell | -( | -- | self, | -|
- | - | - | theObject | - |
- | ) | -- |
-
theObject | Shape to be processed. given shape |
def geompyDC.geompyDC.ChangeOrientationShellCopy | -( | -- | self, | -|
- | - | - | theObject | - |
- | ) | -- |
-
theObject | Shape to be processed. |
def geompyDC.geompyDC.GetFreeBoundary | -( | -- | self, | -|
- | - | - | theObject | - |
- | ) | -- |
-
theObject | Shape to get free boundary of. |
def geompyDC.geompyDC.MakeCopy | -( | -- | self, | -|
- | - | - | theOriginal | - |
- | ) | -- |
-Example: see GEOM_TestAll.py -
def geompyDC.geompyDC.MakeFilling | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theMinDeg, | -|
- | - | - | theMaxDeg, | -|
- | - | - | theTol2D, | -|
- | - | - | theTol3D, | -|
- | - | - | theNbIter | - |
- | ) | -- |
-
theShape | the compound of contours | |
theMinDeg | a minimal degree | |
theMaxDeg | a maximal degree | |
theTol2D | a 2d tolerance | |
theTol3D | a 3d tolerance | |
theNbIter | a number of iteration |
def geompyDC.geompyDC.MakeGlueFaces | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theTolerance | - |
- | ) | -- |
-
theShape | Initial shape. | |
theTolerance | Maximum distance between faces, which can be considered as coincident. |
def geompyDC.geompyDC.GetGlueFaces | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theTolerance | - |
- | ) | -- |
-
theShape | Initial shape. | |
theTolerance | Maximum distance between faces, which can be considered as coincident. |
def geompyDC.geompyDC.MakeGlueFacesByList | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theTolerance, | -|
- | - | - | theFaces | - |
- | ) | -- |
-
theShape | Initial shape. | |
theTolerance | Maximum distance between faces, which can be considered as coincident. | |
theFaces | List of faces for gluing. |
def geompyDC.geompyDC.MakeBoolean | -( | -- | self, | -|
- | - | - | theShape1, | -|
- | - | - | theShape2, | -|
- | - | - | theOperation | - |
- | ) | -- |
-
theShape1 | First argument for boolean operation. | |
theShape2 | Second argument for boolean operation. | |
theOperation | Indicates the operation to be done: 1 - Common, 2 - Cut, 3 - Fuse, 4 - Section. |
def geompyDC.geompyDC.MakeCommon | -( | -- | self, | -|
- | - | - | s1, | -|
- | - | - | s2 | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.MakeCut | -( | -- | self, | -|
- | - | - | s1, | -|
- | - | - | s2 | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.MakeFuse | -( | -- | self, | -|
- | - | - | s1, | -|
- | - | - | s2 | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.MakeSection | -( | -- | self, | -|
- | - | - | s1, | -|
- | - | - | s2 | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.MakePartition | -( | -- | self, | -|
- | - | - | ListShapes, | -|
- | - | - | ListTools = [] , |
- |
- | - | - | ListKeepInside = [] , |
- |
- | - | - | ListRemoveInside = [] , |
- |
- | - | - | Limit = ShapeType["SHAPE"] , |
- |
- | - | - | RemoveWebs = 0 , |
- |
- | - | - | ListMaterials = [] | - |
- | ) | -- |
-
ListShapes | Shapes to be intersected. | |
ListTools | Shapes to intersect theShapes. !!!NOTE: Each compound from ListShapes and ListTools will be exploded in order to avoid possible intersection between shapes from this compound. | |
Limit | Type of resulting shapes (corresponding to TopAbs_ShapeEnum). |
ListKeepInside | Shapes, outside which the results will be deleted. Each shape from theKeepInside must belong to theShapes also. | |
ListRemoveInside | Shapes, inside which the results will be deleted. Each shape from theRemoveInside must belong to theShapes also. | |
RemoveWebs | If TRUE, perform Glue 3D algorithm. | |
ListMaterials | Material indices for each shape. Make sence, only if theRemoveWebs is TRUE. |
def geompyDC.geompyDC.MakePartitionNonSelfIntersectedShape | -( | -- | self, | -|
- | - | - | ListShapes, | -|
- | - | - | ListTools = [] , |
- |
- | - | - | ListKeepInside = [] , |
- |
- | - | - | ListRemoveInside = [] , |
- |
- | - | - | Limit = ShapeType["SHAPE"] , |
- |
- | - | - | RemoveWebs = 0 , |
- |
- | - | - | ListMaterials = [] | - |
- | ) | -- |
-This method may be useful if it is needed to make a partition for compound contains nonintersected shapes. Performance will be better since intersection between shapes from compound is not performed.
-Description of all parameters as in previous method MakePartition()
-!!!NOTE: Passed compounds (via ListShapes or via ListTools) have to consist of nonintersecting shapes.
-
def geompyDC.geompyDC.Partition | -( | -- | self, | -|
- | - | - | ListShapes, | -|
- | - | - | ListTools = [] , |
- |
- | - | - | ListKeepInside = [] , |
- |
- | - | - | ListRemoveInside = [] , |
- |
- | - | - | Limit = ShapeType["SHAPE"] , |
- |
- | - | - | RemoveWebs = 0 , |
- |
- | - | - | ListMaterials = [] | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.MakeHalfPartition | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | thePlane | - |
- | ) | -- |
-
theShape | Shape to be intersected. | |
thePlane | Tool shape, to intersect theShape. |
def geompyDC.geompyDC.MakeTranslationTwoPoints | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | thePoint1, | -|
- | - | - | thePoint2 | - |
- | ) | -- |
-
theObject | The object to be translated. | |
thePoint1 | Start point of translation vector. | |
thePoint2 | End point of translation vector. |
def geompyDC.geompyDC.MakeTranslation | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theDX, | -|
- | - | - | theDY, | -|
- | - | - | theDZ | - |
- | ) | -- |
-
theObject | The object to be translated. | |
theDX,theDY,theDZ | Components of translation vector. |
def geompyDC.geompyDC.MakeTranslationVector | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theVector | - |
- | ) | -- |
-
theObject | The object to be translated. | |
theVector | The translation vector. |
def geompyDC.geompyDC.MakeRotation | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theAxis, | -|
- | - | - | theAngle | - |
- | ) | -- |
-
theObject | The object to be rotated. | |
theAxis | Rotation axis. | |
theAngle | Rotation angle in radians. |
def geompyDC.geompyDC.MakeRotationThreePoints | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theCentPoint, | -|
- | - | - | thePoint1, | -|
- | - | - | thePoint2 | - |
- | ) | -- |
-
theObject | The object to be rotated. | |
theCentPoint | central point - the axis is the vector perpendicular to the plane containing the three points. | |
thePoint1 | and thePoint2 - in a perpendicular plan of the axis. |
def geompyDC.geompyDC.MakeScaleTransform | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | thePoint, | -|
- | - | - | theFactor | - |
- | ) | -- |
-
theObject | The object to be scaled. | |
thePoint | Center point for scaling. | |
theFactor | Scaling factor value. |
def geompyDC.geompyDC.MakeMirrorByPlane | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | thePlane | - |
- | ) | -- |
-
theObject | The object to be mirrored. | |
thePlane | Plane of symmetry. |
def geompyDC.geompyDC.MakeMirrorByAxis | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theAxis | - |
- | ) | -- |
-
theObject | The object to be mirrored. | |
theAxis | Axis of symmetry. |
def geompyDC.geompyDC.MakeMirrorByPoint | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | thePoint | - |
- | ) | -- |
-
theObject | The object to be mirrored. | |
thePoint | Point of symmetry. |
def geompyDC.geompyDC.MakePosition | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theStartLCS, | -|
- | - | - | theEndLCS | - |
- | ) | -- |
-
theObject | The object to be displaced. | |
theStartLCS | Coordinate system to perform displacement from it. If theStartLCS is NULL, displacement will be performed from global CS. If theObject itself is used as theStartLCS, its location will be changed to theEndLCS. | |
theEndLCS | Coordinate system to perform displacement to it. |
def geompyDC.geompyDC.MakeOffset | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theOffset | - |
- | ) | -- |
-
theObject | The base object for the offset. | |
theOffset | Offset value. |
def geompyDC.geompyDC.MakeMultiTranslation1D | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theVector, | -|
- | - | - | theStep, | -|
- | - | - | theNbTimes | - |
- | ) | -- |
-
theObject | The object to be translated. | |
theVector | Direction of the translation. | |
theStep | Distance to translate on. | |
theNbTimes | Quantity of translations to be done. |
def geompyDC.geompyDC.MakeMultiTranslation2D | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theVector1, | -|
- | - | - | theStep1, | -|
- | - | - | theNbTimes1, | -|
- | - | - | theVector2, | -|
- | - | - | theStep2, | -|
- | - | - | theNbTimes2 | - |
- | ) | -- |
-
theObject | The object to be translated. | |
theVector1 | Direction of the first translation. | |
theStep1 | Step of the first translation. | |
theNbTimes1 | Quantity of translations to be done along theVector1. | |
theVector2 | Direction of the second translation. | |
theStep2 | Step of the second translation. | |
theNbTimes2 | Quantity of translations to be done along theVector2. |
def geompyDC.geompyDC.MultiRotate1D | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theAxis, | -|
- | - | - | theNbTimes | - |
- | ) | -- |
-Rotation angle will be 2*PI/theNbTimes.
theObject | The object to be rotated. | |
theAxis | The rotation axis. | |
theNbTimes | Quantity of rotations to be done. |
def geompyDC.geompyDC.MultiRotate2D | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theAxis, | -|
- | - | - | theAngle, | -|
- | - | - | theNbTimes1, | -|
- | - | - | theStep, | -|
- | - | - | theNbTimes2 | - |
- | ) | -- |
-Translation direction passes through center of gravity of rotated shape and its projection on the rotation axis.
theObject | The object to be rotated. | |
theAxis | Rotation axis. | |
theAngle | Rotation angle in graduces. | |
theNbTimes1 | Quantity of rotations to be done. | |
theStep | Translation distance. | |
theNbTimes2 | Quantity of translations to be done. |
def geompyDC.geompyDC.MakeMultiRotation1D | -( | -- | self, | -|
- | - | - | aShape, | -|
- | - | - | aDir, | -|
- | - | - | aPoint, | -|
- | - | - | aNbTimes | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.MakeMultiRotation2D | -( | -- | self, | -|
- | - | - | aShape, | -|
- | - | - | aDir, | -|
- | - | - | aPoint, | -|
- | - | - | anAngle, | -|
- | - | - | nbtimes1, | -|
- | - | - | aStep, | -|
- | - | - | nbtimes2 | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.MakeFilletAll | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theR | - |
- | ) | -- |
-
theShape | Shape, to perform fillet on. | |
theR | Fillet radius. |
def geompyDC.geompyDC.MakeFillet | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theR, | -|
- | - | - | theShapeType, | -|
- | - | - | theListShapes | - |
- | ) | -- |
-
theShape | Shape, to perform fillet on. | |
theR | Fillet radius. | |
theShapeType | Type of shapes in <theListShapes>. | |
theListShapes | Global indices of edges/faces to perform fillet on. |
def geompyDC.geompyDC.MakeChamferAll | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theD | - |
- | ) | -- |
-
theShape | Shape, to perform chamfer on. | |
theD | Chamfer size along each face. |
def geompyDC.geompyDC.MakeChamferEdge | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theD1, | -|
- | - | - | theD2, | -|
- | - | - | theFace1, | -|
- | - | - | theFace2 | - |
- | ) | -- |
-
theShape | Shape, to perform chamfer on. | |
theD1 | Chamfer size along theFace1. | |
theD2 | Chamfer size along theFace2. | |
theFace1,theFace2 | Global indices of two faces of theShape. |
def geompyDC.geompyDC.MakeChamferFaces | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theD1, | -|
- | - | - | theD2, | -|
- | - | - | theFaces | - |
- | ) | -- |
-
theShape | Shape, to perform chamfer on. | |
theD1 | Chamfer size along face from theFaces. If both faces, connected to the edge, are in theFaces, theD1 will be get along face, which is nearer to theFaces beginning. | |
theD2 | Chamfer size along another of two faces, connected to the edge. | |
theFaces | Sequence of global indices of faces of theShape. |
def geompyDC.geompyDC.MakeChamfer | -( | -- | self, | -|
- | - | - | aShape, | -|
- | - | - | d1, | -|
- | - | - | d2, | -|
- | - | - | aShapeType, | -|
- | - | - | ListShape | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.Archimede | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theWeight, | -|
- | - | - | theWaterDensity, | -|
- | - | - | theMeshDeflection | - |
- | ) | -- |
-The object presenting the resulting face is returned.
theShape | Shape to be put in water. | |
theWeight | Weight og the shape. | |
theWaterDensity | Density of the water. | |
theMeshDeflection | Deflection of the mesh, using to compute the section. |
def geompyDC.geompyDC.PointCoordinates | -( | -- | self, | -|
- | - | - | Point | - |
- | ) | -- |
-
def geompyDC.geompyDC.BasicProperties | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-
theShape | Shape to define properties of. |
def geompyDC.geompyDC.BoundingBox | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-
theShape | Shape to obtain bounding box of. |
def geompyDC.geompyDC.Inertia | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-
theShape | Shape to calculate inertia of. |
def geompyDC.geompyDC.MinDistance | -( | -- | self, | -|
- | - | - | theShape1, | -|
- | - | - | theShape2 | - |
- | ) | -- |
-
theShape1,theShape2 | Shapes to find minimal distance between. |
def geompyDC.geompyDC.Tolerance | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-
theShape | Shape, to get tolerances of. |
def geompyDC.geompyDC.WhatIs | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-
theShape | Shape to be described. |
def geompyDC.geompyDC.MakeCDG | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-
theShape | Shape to define centre of mass of. |
def geompyDC.geompyDC.CheckShape | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theIsCheckGeom = 0 | - |
- | ) | -- |
-
theShape | Shape to check validity of. | |
theIsCheckGeom | If FALSE, only the shape's topology will be checked, if TRUE, the shape's geometry will be checked also. |
def geompyDC.geompyDC.GetPosition | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-Origin of the LCS is situated at the shape's center of mass. Axes of the LCS are obtained from shape's location or, if the shape is a planar face, from position of its plane.
-
theShape | Shape to calculate position of. |
def geompyDC.geompyDC.KindOfShape | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-
theShape | Shape to get a kind of. |
-geompy.kind.SHELL geompy.info.CLOSED nb_faces nb_edges nb_vertices geompy.kind.SHELL geompy.info.UNCLOSED nb_faces nb_edges nb_vertices
-geompy.kind.WIRE geompy.info.CLOSED nb_edges nb_vertices geompy.kind.WIRE geompy.info.UNCLOSED nb_edges nb_vertices
-geompy.kind.SPHERE xc yc zc R geompy.kind.CYLINDER xb yb zb dx dy dz R H geompy.kind.BOX xc yc zc ax ay az geompy.kind.ROTATED_BOX xc yc zc zx zy zz xx xy xz ax ay az geompy.kind.TORUS xc yc zc dx dy dz R_1 R_2 geompy.kind.CONE xb yb zb dx dy dz R_1 R_2 H geompy.kind.POLYHEDRON nb_faces nb_edges nb_vertices geompy.kind.SOLID nb_faces nb_edges nb_vertices
-geompy.kind.SPHERE2D xc yc zc R geompy.kind.CYLINDER2D xb yb zb dx dy dz R H geompy.kind.TORUS2D xc yc zc dx dy dz R_1 R_2 geompy.kind.CONE2D xc yc zc dx dy dz R_1 R_2 H geompy.kind.DISK_CIRCLE xc yc zc dx dy dz R geompy.kind.DISK_ELLIPSE xc yc zc dx dy dz R_1 R_2 geompy.kind.POLYGON xo yo zo dx dy dz nb_edges nb_vertices geompy.kind.PLANE xo yo zo dx dy dz geompy.kind.PLANAR xo yo zo dx dy dz nb_edges nb_vertices geompy.kind.FACE nb_edges nb_vertices
-geompy.kind.CIRCLE xc yc zc dx dy dz R geompy.kind.ARC_CIRCLE xc yc zc dx dy dz R x1 y1 z1 x2 y2 z2 geompy.kind.ELLIPSE xc yc zc dx dy dz R_1 R_2 geompy.kind.ARC_ELLIPSE xc yc zc dx dy dz R_1 R_2 x1 y1 z1 x2 y2 z2 geompy.kind.LINE xo yo zo dx dy dz geompy.kind.SEGMENT x1 y1 z1 x2 y2 z2 geompy.kind.EDGE nb_vertices
-geompy.kind.VERTEX x y z
-Example: see GEOM_TestMeasures.py -
def geompyDC.geompyDC.Import | -( | -- | self, | -|
- | - | - | theFileName, | -|
- | - | - | theFormatName | - |
- | ) | -- |
-
theFileName | The file, containing the shape. | |
theFormatName | Specify format for the file reading. Available formats can be obtained with InsertOp.ImportTranslators() method. |
def geompyDC.geompyDC.ImportBREP | -( | -- | self, | -|
- | - | - | theFileName | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.ImportIGES | -( | -- | self, | -|
- | - | - | theFileName | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.ImportSTEP | -( | -- | self, | -|
- | - | - | theFileName | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.Export | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theFileName, | -|
- | - | - | theFormatName | - |
- | ) | -- |
-
theObject | Shape to be stored in the file. | |
theFileName | Name of the file to store the given shape in. | |
theFormatName | Specify format for the shape storage. Available formats can be obtained with InsertOp.ImportTranslators() method. |
def geompyDC.geompyDC.ExportBREP | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theFileName | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.ExportIGES | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theFileName | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.ExportSTEP | -( | -- | self, | -|
- | - | - | theObject, | -|
- | - | - | theFileName | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.MakeQuad | -( | -- | self, | -|
- | - | - | E1, | -|
- | - | - | E2, | -|
- | - | - | E3, | -|
- | - | - | E4 | - |
- | ) | -- |
-Order of Edges is not important. It is not necessary that edges share the same vertex.
E1,E2,E3,E4 | Edges for the face bound. |
def geompyDC.geompyDC.MakeQuad2Edges | -( | -- | self, | -|
- | - | - | E1, | -|
- | - | - | E2 | - |
- | ) | -- |
-The missing edges will be built by creating the shortest ones.
E1,E2 | Two opposite edges for the face. |
def geompyDC.geompyDC.MakeQuad4Vertices | -( | -- | self, | -|
- | - | - | V1, | -|
- | - | - | V2, | -|
- | - | - | V3, | -|
- | - | - | V4 | - |
- | ) | -- |
-The missing edges will be built by creating the shortest ones.
V1,V2,V3,V4 | Corner vertices for the face. |
def geompyDC.geompyDC.MakeHexa | -( | -- | self, | -|
- | - | - | F1, | -|
- | - | - | F2, | -|
- | - | - | F3, | -|
- | - | - | F4, | -|
- | - | - | F5, | -|
- | - | - | F6 | - |
- | ) | -- |
-Order of faces is not important. It is not necessary that Faces share the same edge.
F1,F2,F3,F4,F5,F6 | Faces for the hexahedral solid. |
def geompyDC.geompyDC.MakeHexa2Faces | -( | -- | self, | -|
- | - | - | F1, | -|
- | - | - | F2 | - |
- | ) | -- |
-The missing faces will be built by creating the smallest ones.
F1,F2 | Two opposite faces for the hexahedral solid. |
def geompyDC.geompyDC.GetPoint | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theX, | -|
- | - | - | theY, | -|
- | - | - | theZ, | -|
- | - | - | theEpsilon | - |
- | ) | -- |
-
theShape | Block or a compound of blocks. | |
theX,theY,theZ | Coordinates of the sought vertex. | |
theEpsilon | Maximum allowed distance between the resulting vertex and point with the given coordinates. |
def geompyDC.geompyDC.GetEdge | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | thePoint1, | -|
- | - | - | thePoint2 | - |
- | ) | -- |
-
theShape | Block or a compound of blocks. | |
thePoint1,thePoint2 | Points, close to the ends of the desired edge. |
def geompyDC.geompyDC.GetEdgeNearPoint | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | thePoint | - |
- | ) | -- |
-
theShape | Block or a compound of blocks. | |
thePoint | Point, close to the desired edge. |
def geompyDC.geompyDC.GetFaceByPoints | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | thePoint1, | -|
- | - | - | thePoint2, | -|
- | - | - | thePoint3, | -|
- | - | - | thePoint4 | - |
- | ) | -- |
-
theShape | Block or a compound of blocks. | |
thePoint1-thePoint4 | Points, close to the corners of the desired face. |
def geompyDC.geompyDC.GetFaceByEdges | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | theEdge1, | -|
- | - | - | theEdge2 | - |
- | ) | -- |
-
theShape | Block or a compound of blocks. | |
theEdge1,theEdge2 | Edges, close to the edges of the desired face. |
def geompyDC.geompyDC.GetOppositeFace | -( | -- | self, | -|
- | - | - | theBlock, | -|
- | - | - | theFace | - |
- | ) | -- |
-
theBlock | Must be a hexahedral solid. | |
theFace | Face of theBlock, opposite to the desired face. |
def geompyDC.geompyDC.GetFaceNearPoint | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | thePoint | - |
- | ) | -- |
-
theShape | Block or a compound of blocks. | |
thePoint | Point, close to the desired face. |
def geompyDC.geompyDC.GetFaceByNormale | -( | -- | self, | -|
- | - | - | theBlock, | -|
- | - | - | theVector | - |
- | ) | -- |
-
theShape | Block or a compound of blocks. | |
theVector | Vector, close to the normale of the desired face. |
def geompyDC.geompyDC.CheckCompoundOfBlocks | -( | -- | self, | -|
- | - | - | theCompound | - |
- | ) | -- |
-To be considered as a compound of blocks, the given shape must satisfy the following conditions:
theCompound | The compound to check. |
def geompyDC.geompyDC.RemoveExtraEdges | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-Unite faces and edges, sharing one surface. It means that this faces must have references to one C++ surface object (handle).
theShape | The compound or single solid to remove irregular edges from. |
def geompyDC.geompyDC.CheckAndImprove | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-Fix all detected errors.
theCompound | The compound to check and improve. |
def geompyDC.geompyDC.MakeBlockExplode | -( | -- | self, | -|
- | - | - | theCompound, | -|
- | - | - | theMinNbFaces, | -|
- | - | - | theMaxNbFaces | - |
- | ) | -- |
-
theCompound | The compound to explode. | |
theMinNbFaces | If solid has lower number of faces, it is not a block. | |
theMaxNbFaces | If solid has higher number of faces, it is not a block. |
def geompyDC.geompyDC.GetBlockNearPoint | -( | -- | self, | -|
- | - | - | theCompound, | -|
- | - | - | thePoint | - |
- | ) | -- |
-
theCompound | Compound, to find block in. | |
thePoint | Point, close to the desired block. If the point lays on boundary between some blocks, we return block with nearest center. |
def geompyDC.geompyDC.GetBlockByParts | -( | -- | self, | -|
- | - | - | theCompound, | -|
- | - | - | theParts | - |
- | ) | -- |
-
theCompound | Compound, to find block in. | |
theParts | List of faces and/or edges and/or vertices to be parts of the found block. |
def geompyDC.geompyDC.GetBlocksByParts | -( | -- | self, | -|
- | - | - | theCompound, | -|
- | - | - | theParts | - |
- | ) | -- |
-
theCompound | Compound, to find blocks in. | |
theParts | List of faces and/or edges and/or vertices to be parts of the found blocks. |
def geompyDC.geompyDC.MakeMultiTransformation1D | -( | -- | self, | -|
- | - | - | Block, | -|
- | - | - | DirFace1, | -|
- | - | - | DirFace2, | -|
- | - | - | NbTimes | - |
- | ) | -- |
-Transformation is defined so, as to superpose direction faces.
Block | Hexahedral solid to be multi-transformed. | |
DirFace1 | ID of First direction face. | |
DirFace2 | ID of Second direction face. | |
NbTimes | Quantity of transformations to be done. |
def geompyDC.geompyDC.MakeMultiTransformation2D | -( | -- | self, | -|
- | - | - | Block, | -|
- | - | - | DirFace1U, | -|
- | - | - | DirFace2U, | -|
- | - | - | NbTimesU, | -|
- | - | - | DirFace1V, | -|
- | - | - | DirFace2V, | -|
- | - | - | NbTimesV | - |
- | ) | -- |
-
Block | Hexahedral solid to be multi-transformed. | |
DirFace1U,DirFace2U | IDs of Direction faces for the first transformation. | |
DirFace1V,DirFace2V | IDs of Direction faces for the second transformation. | |
NbTimesU,NbTimesV | Quantity of transformations to be done. |
def geompyDC.geompyDC.Propagate | -( | -- | self, | -|
- | - | - | theShape | - |
- | ) | -- |
-Propagation group is a set of all edges, opposite to one (main) edge of this group directly or through other opposite edges. Notion of Opposite Edge make sence only on quadrangle face.
theShape | Shape to build propagation groups on. |
def geompyDC.geompyDC.CreateGroup | -( | -- | self, | -|
- | - | - | theMainShape, | -|
- | - | - | theShapeType | - |
- | ) | -- |
-
theMainShape | is a GEOM object on which the group is selected | |
theShapeType | defines a shape type of the group |
def geompyDC.geompyDC.AddObject | -( | -- | self, | -|
- | - | - | theGroup, | -|
- | - | - | theSubShapeID | - |
- | ) | -- |
-
theGroup | is a GEOM group to which the new sub shape is added | |
theSubShapeID | is a sub shape ID in the main object. |
def geompyDC.geompyDC.RemoveObject | -( | -- | self, | -|
- | - | - | theGroup, | -|
- | - | - | theSubShapeID | - |
- | ) | -- |
-
theGroup | is a GEOM group from which the new sub shape is removed | |
theSubShapeID | is a sub shape ID in the main object. |
def geompyDC.geompyDC.UnionList | -( | -- | self, | -|
- | - | - | theGroup, | -|
- | - | - | theSubShapes | - |
- | ) | -- |
-No errors, if some shapes are alredy included.
theGroup | is a GEOM group to which the new sub shapes are added. | |
theSubShapes | is a list of sub shapes to be added. |
def geompyDC.geompyDC.UnionIDs | -( | -- | self, | -|
- | - | - | theGroup, | -|
- | - | - | theSubShapes | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.DifferenceList | -( | -- | self, | -|
- | - | - | theGroup, | -|
- | - | - | theSubShapes | - |
- | ) | -- |
-No errors, if some shapes are not included.
theGroup | is a GEOM group from which the sub-shapes are removed. | |
theSubShapes | is a list of sub-shapes to be removed. |
def geompyDC.geompyDC.DifferenceIDs | -( | -- | self, | -|
- | - | - | theGroup, | -|
- | - | - | theSubShapes | - |
- | ) | -- |
-Example: see GEOM_TestOthers.py -
def geompyDC.geompyDC.GetObjectIDs | -( | -- | self, | -|
- | - | - | theGroup | - |
- | ) | -- |
-
theGroup | is a GEOM group for which a list of IDs is requested |
def geompyDC.geompyDC.GetType | -( | -- | self, | -|
- | - | - | theGroup | - |
- | ) | -- |
-
theGroup | is a GEOM group which type is returned. |
def geompyDC.geompyDC.GetMainShape | -( | -- | self, | -|
- | - | - | theGroup | - |
- | ) | -- |
-
theGroup | is a GEOM group for which a main shape object is requested |
def geompyDC.geompyDC.GetEdgesByLength | -( | -- | self, | -|
- | - | - | theShape, | -|
- | - | - | min_length, | -|
- | - | - | max_length, | -|
- | - | - | include_min = 1 , |
- |
- | - | - | include_max = 1 | - |
- | ) | -- |
-If include_min/max == 0, edges with length == min/max_length will not be included in result. -
def geompyDC.geompyDC.SelectEdges | -( | -- | self, | -|
- | - | - | min_length, | -|
- | - | - | max_length, | -|
- | - | - | include_min = 1 , |
- |
- | - | - | include_max = 1 | - |
- | ) | -- |
-If include_min/max == 0, edges with length == min/max_length will not be included in result. -
def geompyDC.geompyDC.addPath | -( | -- | self, | -|
- | - | - | Path | - |
- | ) | -- |
- -
-
geompyDC.geompyDC.myBuilder | -
- -
geompyDC.geompyDC.myStudyId | -
- -
geompyDC.geompyDC.father | -
- -
geompyDC.geompyDC.BasicOp | -
- -
geompyDC.geompyDC.CurvesOp | -
- -
geompyDC.geompyDC.PrimOp | -
- -
geompyDC.geompyDC.ShapesOp | -
- -
geompyDC.geompyDC.HealOp | -
- -
geompyDC.geompyDC.InsertOp | -
- -
geompyDC.geompyDC.BoolOp | -
- -
geompyDC.geompyDC.TrsfOp | -
- -
geompyDC.geompyDC.LocalOp | -
- -
geompyDC.geompyDC.MeasuOp | -
- -
geompyDC.geompyDC.BlocksOp | -
- -
geompyDC.geompyDC.GroupOp | -
- -
geompyDC.geompyDC.myStudy | -
- -
- -
-