diff --git a/adm_local/unix/config_files/check_GEOM.m4 b/adm_local/unix/config_files/check_GEOM.m4 index c4ce644f7..1c4b2df93 100644 --- a/adm_local/unix/config_files/check_GEOM.m4 +++ b/adm_local/unix/config_files/check_GEOM.m4 @@ -38,7 +38,7 @@ if test "x$GEOM_DIR" == "x" ; then # fi -if test -f ${GEOM_DIR}/bin/salome/libGEOM_Swig.py ; then +if test -f ${GEOM_DIR}/bin/salome/geompy.py ; then Geom_ok=yes AC_MSG_RESULT(Using Geom module distribution in ${GEOM_DIR}) diff --git a/build_configure b/build_configure index 31a83d234..27672f14d 100755 --- a/build_configure +++ b/build_configure @@ -14,6 +14,7 @@ ORIG_DIR=`pwd` CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"` +GEOM_WITH_GUI="yes" ######################################################################## # Test if the KERNEL_ROOT_DIR is set correctly @@ -28,31 +29,51 @@ fi # echo "failed : KERNEL_SRC variable is not correct !" # exit #fi + +for option +do + case $option in + -with-ihm | --with-ihm) + GEOM_WITH_GUI="yes" + break;; + -without-ihm | --without-ihm | -with-ihm=no | --with-ihm=no) + GEOM_WITH_GUI="no" + break;; + esac +done + ######################################################################## # Test if the GUI_ROOT_DIR is set correctly -if test ! -d "${GUI_ROOT_DIR}"; then - echo "failed : GUI_ROOT_DIR variable is not correct !" - exit +if test ${GEOM_WITH_GUI} = yes; then + if test ! -d "${GUI_ROOT_DIR}"; then + echo "failed : GUI_ROOT_DIR variable is not correct !" + exit + fi fi cd ${CONF_DIR} ABS_CONF_DIR=`pwd` +####################################################################### +# Update configure.ac script: to set NETGENPLUGIN_WITH_GUI variable +sed -e s/GEOM_WITH_GUI=[a-z]*/GEOM_WITH_GUI=${GEOM_WITH_GUI}/g configure.ac > configure.tmp +mv -f configure.tmp configure.ac + mkdir -p salome_adm/unix/config_files -cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files/* salome_adm/unix/config_files -cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/pythonbe.py salome_adm/unix +#cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files/* salome_adm/unix/config_files +#cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/pythonbe.py salome_adm/unix cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/SALOMEconfig.h.in salome_adm/unix -cp -f ${GUI_ROOT_DIR}/adm_local/unix/config_files/* salome_adm/unix/config_files +#cp -f ${GUI_ROOT_DIR}/adm_local/unix/config_files/* salome_adm/unix/config_files # remove KERNEL deprecated configure files -for deprecated in ac_cc_warnings.m4 ac_cxx_partial_specialization.m4 \ - check_mico.m4 config.guess ltmain.sh ac_cxx_bool.m4 ltconfig ac_cxx_typename.m4 \ - check_pthreads.m4 config.sub libtool.m4 ac_cxx_mutable.m4 missing - do - rm -f salome_adm/unix/config_files/${deprecated} - done +#for deprecated in ac_cc_warnings.m4 ac_cxx_partial_specialization.m4 \ +# check_mico.m4 config.guess ltmain.sh ac_cxx_bool.m4 ltconfig ac_cxx_typename.m4 \ +# check_pthreads.m4 config.sub libtool.m4 ac_cxx_mutable.m4 missing +# do +# rm -f salome_adm/unix/config_files/${deprecated} +# done # ____________________________________________________________________ @@ -64,7 +85,14 @@ for deprecated in ac_cc_warnings.m4 ac_cxx_partial_specialization.m4 \ # autom4te.cache (directory) echo "====================================================== aclocal" -aclocal -I adm_local/unix/config_files -I salome_adm/unix/config_files || exit 1 +if test ${GEOM_WITH_GUI} = yes; then + aclocal -I adm_local/unix/config_files \ + -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \ + -I ${GUI_ROOT_DIR}/adm_local/unix/config_files || exit 1 +else + aclocal -I adm_local/unix/config_files \ + -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files || exit 1 +fi # ____________________________________________________________________ # libtoolize creates some configuration files (ltmain.sh, diff --git a/configure.ac b/configure.ac index e0e12f097..f119c8cdb 100644 --- a/configure.ac +++ b/configure.ac @@ -213,29 +213,56 @@ corba=make_$ORB CORBA=adm_local/unix/$corba fi -echo -echo --------------------------------------------- -echo testing openGL -echo --------------------------------------------- -echo -CHECK_OPENGL +GEOM_WITH_GUI=yes -echo -echo --------------------------------------------- -echo testing QT -echo --------------------------------------------- -echo +AM_CONDITIONAL(GEOM_ENABLE_GUI, [test "${GEOM_WITH_GUI}" = "yes"]) -CHECK_QT +if test "${GEOM_WITH_GUI}" = "yes"; then + echo + echo --------------------------------------------- + echo testing openGL + echo --------------------------------------------- + echo -echo -echo --------------------------------------------- -echo testing VTK -echo --------------------------------------------- -echo + CHECK_OPENGL -CHECK_VTK + echo + echo --------------------------------------------- + echo testing QT + echo --------------------------------------------- + echo + + CHECK_QT + + echo + echo --------------------------------------------- + echo testing VTK + echo --------------------------------------------- + echo + + CHECK_VTK + + echo + echo --------------------------------------------- + echo Testing GUI + echo --------------------------------------------- + echo + + CHECK_SALOME_GUI + + echo + echo --------------------------------------------- + echo Testing full GUI + echo --------------------------------------------- + echo + + CHECK_CORBA_IN_GUI + if test "x${CORBA_IN_GUI}" != "xyes"; then + echo "failed : For configure GEOM module necessary full GUI !" + exit + fi +fi echo echo --------------------------------------------- @@ -271,40 +298,12 @@ CHECK_HTML_GENERATORS echo echo --------------------------------------------- -echo Testing GUI -echo --------------------------------------------- -echo - -CHECK_SALOME_GUI - -echo -echo --------------------------------------------- -echo Testing full GUI -echo --------------------------------------------- -echo - -CHECK_CORBA_IN_GUI -if test "x${CORBA_IN_GUI}" != "xyes"; then - echo "failed : For configure GEOM module necessary full GUI !" - exit -fi - -echo -echo --------------------------------------------- -echo Testing SALOME KERNEL module +echo Testing Kernel echo --------------------------------------------- echo CHECK_KERNEL -echo -echo --------------------------------------------- -echo Testing SALOME GUI module -echo --------------------------------------------- -echo - -CHECK_SALOME_GUI - echo echo --------------------------------------------- echo Summary @@ -312,7 +311,13 @@ echo --------------------------------------------- echo echo Configure + +if test "${GEOM_WITH_GUI}" = "yes"; then variables="cc_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok omniORB_ok boost_ok occ_ok doxygen_ok graphviz_ok Kernel_ok SalomeGUI_ok" +fi +if test "${GEOM_WITH_GUI}" = "no"; then +variables="cc_ok lex_yacc_ok python_ok swig_ok threads_ok hdf5_ok omniORB_ok boost_ok occ_ok doxygen_ok graphviz_ok Kernel_ok" +fi for var in $variables do @@ -362,6 +367,8 @@ AC_OUTPUT([ \ ./doc/Makefile \ ./doc/salome/Makefile \ ./doc/salome/gui/Makefile \ + ./doc/salome/gui/GEOM/doxyfile \ + ./doc/salome/gui/GEOM/doxyfile_py \ ./doc/salome/tui/Makefile \ ./doc/salome/tui/GEOM/doxyfile \ ./doc/salome/tui/GEOM/sources/static/tree.js \ @@ -387,6 +394,7 @@ AC_OUTPUT([ \ ./src/GEOM_I/Makefile \ ./src/GEOM_I_Superv/Makefile \ ./src/GEOM_SWIG/Makefile \ + ./src/GEOM_SWIG_WITHIHM/Makefile \ ./src/GenerationGUI/Makefile \ ./src/GroupGUI/Makefile \ ./src/IGESExport/Makefile \ diff --git a/doc/salome/gui/GEOM/add_point_on_edge.htm b/doc/salome/gui/GEOM/add_point_on_edge.htm deleted file mode 100755 index 6d969d30a..000000000 --- a/doc/salome/gui/GEOM/add_point_on_edge.htm +++ /dev/null @@ -1,166 +0,0 @@ - - - - -
-To Add Point on Edge in the Main Menu select - Repair - > Add Point on Edge.
- -- -
This operation splits an edge in two in accordance - with the specified mode (by length or by parameter) and a value specifying - the position of the point on edge (for example val =0.5; mode = Length). - This operation is available in OCC Viewer - only.
- -- -
The Result will - be a GEOM_Object.
- -- -
TUI Command : - geompy.DivideEdge(Shape, EdgeID, - Value, IsByParameter), where Shape is a shape which contains an - edge to be divided, EdgeID is the ID of the edge to be divided, if it - = -1, then Shape is an edge, Value is a paramter on the edge or a length. - IsByParameter if it is True then Value is the edge parameter in the range - [0:1] otherwise it is a length of the edge in the range [0:1]
- -- -
Arguments: - Name + 1 Edge + 1 value setting the position of the point according to - one of the selected modes
- -- - - -
- -
Example:
- -- -
- -
- -
Our - TUI Scripts provide you with useful - examples of the use of Repairing - Operations.
- -- - - - diff --git a/doc/salome/gui/GEOM/arc.htm b/doc/salome/gui/GEOM/arc.htm deleted file mode 100755 index cdf4570ad..000000000 --- a/doc/salome/gui/GEOM/arc.htm +++ /dev/null @@ -1,268 +0,0 @@ - - - - - -
To create an Arc in the Main - Menu select New Entity - > - Basic - > Arc
- -- -
There are 2 algorithms to create an Arc - in the 3D space.
- -The Result - of each operation will be a GEOM_Object - (edge).
- -- -
Firstly, - you can define an Arc by - three - Points that lie on it, where - Point1 - is the starting point, Point2 - is a middle point of the arc and Point3 - is the ending point of the arc.
- -TUI - Command: geompy.MakeArc(Point1, - Point2, Point3)
- -Arguments: - Name + 3 vertices.
- -- - - -
- -
Secondly, - you can define an Arc by Center, Start and End - points. The arc is built from the Start - point to the End point. The radius - of the arc is defined by the distance between the Center - point and the Start point. The - End point defines the angle of - the arc. If the distance between the Center - point and the End point is not - equal to the radius, the arc will be built anyway.
- -Reverse - radio button allows to change the direction of the arc.
- -TUI Command: - geompy.MakeArcCenter(Center Point, Start - Point, End Point, boolean Sense)
- -Arguments: Name + 3 vertices + Boolean.
- -- - - -
- -
Example:
- -- -
- Arc by three points lying on it. |
-
- Arc by Start, End and Center. |
-
-
|
-
- Reversed arc. | ||||||
- | -- | -
-
-
|
-- |
- -
Our TUI Scripts provide you with useful examples - of creation of Basic Geometric - Objects.
- -- - - - diff --git a/doc/salome/gui/GEOM/archimede.htm b/doc/salome/gui/GEOM/archimede.htm deleted file mode 100755 index 238672ecb..000000000 --- a/doc/salome/gui/GEOM/archimede.htm +++ /dev/null @@ -1,140 +0,0 @@ - - - - - -
To produce - an Archimede operation in the - Main Menu select Operations - > Archimede
- -- -
This - operation creates a plane corresponding to the modeled water-line of the - object plunged into the water (in Z direction).
- -- -
The - Result will be any GEOM_Object.
- -TUI Command: - geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection), - where Shape is a shape to put into the water, Weight is a weight of the - shape, WaterDensity is - density of water, MeshingDeflection is a deflection of the mesh, using - to compute the section.
- -Arguments: - Name + 1 shape + - 3 values (Weight, Water Density & Meshing Deflection).
- -- - - -
- -
Example:
- -- -
- -
- -
Our TUI Scripts provide you with useful examples - of the use of Basic Operations. -
- -- - - - diff --git a/doc/salome/gui/GEOM/basic_geometrical_objects.htm b/doc/salome/gui/GEOM/basic_geometrical_objects.htm deleted file mode 100755 index 3b5e35b60..000000000 --- a/doc/salome/gui/GEOM/basic_geometrical_objects.htm +++ /dev/null @@ -1,661 +0,0 @@ - - - - - -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertices
- -p0 = geompy.MakeVertex(0., - 0., 0.)
- -p100 = geompy.MakeVertexWithRef(p0, - 100., 100., 100.)
- -px = geompy.MakeVertex(100., - 0., 0.)
- -py = geompy.MakeVertex(0., - 100., 0.)
- -pz = geompy.MakeVertex(0., - 0., 100.)
- -- -
# create a curve and a vertex on it
- -Arc = geompy.MakeArc(py, - pz, px)
- -p_on_arc = geompy.MakeVertexOnCurve(Arc, - 0.25)
- -- -
# add objects in the study
- -id_p0 = - geompy.addToStudy(p0, "Vertex - 0")
- -id_p100 = - geompy.addToStudy(p100, "Vertex 100")
- -id_px = - geompy.addToStudy(px, "Vertex - X")
- -id_py = - geompy.addToStudy(py, "Vertex - Y")
- -id_pz = - geompy.addToStudy(pz, "Vertex - Z")
- -id_Arc = - geompy.addToStudy(Arc, "Arc")
- -id_p_on_arc = geompy.addToStudy(p_on_arc, - "Vertex on Arc")
- -- -
# display vertices
- -gg.createAndDisplayGO(id_p0)
- -gg.createAndDisplayGO(id_p100)
- -gg.createAndDisplayGO(id_Arc)
- -gg.createAndDisplayGO(id_p_on_arc) -
- -- -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertices
- -p0 = geompy.MakeVertex(0., - 0., 0.)
- -p100 = geompy.MakeVertexWithRef(p0, - 100., 100., 100.)
- -px = geompy.MakeVertex(100., - 0. , 0. - )
- -py = geompy.MakeVertex(0. - , 100., - 0. )
- -pz = geompy.MakeVertex(0. - , 0. , - 100.)
- -- -
# create a vector from two points
- -vxy = - geompy.MakeVector(px, py)
- -- -
# create a line from a point and a vector
- -line1 = geompy.MakeLine(pz, - vxy)
- -- -
#create a line from two points
- -line2 = geompy.MakeLineTwoPnt(p0, - p100)
- -- -
# add objects in the study
- -id_vxy = - geompy.addToStudy(vxy, "Vector")
- -id_line1 = - geompy.addToStudy(line1,"Line1")
- -id_line2 = - geompy.addToStudy(line2,"Line2")
- -- -
# display lines
- -gg.createAndDisplayGO(id_vxy)
- -gg.createAndDisplayGO(id_line1)
- -gg.createAndDisplayGO(id_line2) -
- -- -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertices
- -p0 = geompy.MakeVertex(0., - 0., 0.)
- -px = geompy.MakeVertex(100., - 0. , 0. - )
- -py = geompy.MakeVertex(0. - , 100., - 0. )
- -pz = geompy.MakeVertex(0. - , 0. , - 100.)
- -- -
# create a vector on two points
- -vxy = - geompy.MakeVector(px, py)
- -- -
# create a circle from a point, a vector and a radius
- -circle1 = geompy.MakeCircle(pz, - vxy, 30)
- -- -
#create a circle from three points
- -circle2 = geompy.MakeCircleThreePnt(p0, - px, py)
- -- -
# add objects in the study
- -id_vxy = - geompy.addToStudy(vxy, "Vector")
- -id_circle1 = - geompy.addToStudy(circle1,"Circle1")
- -id_circle2 = - geompy.addToStudy(circle2,"Circle2")
- -- -
# display circles
- -gg.createAndDisplayGO(id_vxy)
- -gg.createAndDisplayGO(id_circle1)
- -gg.createAndDisplayGO(id_circle2) -
- -- -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertices
- -p0 = geompy.MakeVertex(0., - 0., 0.)
- -p50 = geompy.MakeVertex(50., - 50., 50.)
- -- -
# create a vector from two points
- -vector = - geompy.MakeVector(p0, p50)
- -- -
# create an ellipse from a point, a vector and radiuses
- -ellipse = geompy.MakeEllipse(p50, - vector, 50, 25)
- -- -
# add objects in the study
- -id_vector = - geompy.addToStudy(vector, "Vector")
- -id_ellipse = geompy.addToStudy(ellipse,"Ellipse")
- -- -
# display the ellipse and its normal vector
- -gg.createAndDisplayGO(id_vector)
- -gg.createAndDisplayGO(id_ellipse) -
- -- -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertices
- -p0 = geompy.MakeVertex(0. - , 0. , - 0. )
- -p1 = geompy.MakeVertex(50. - , 100., 200.)
- -p2 = geompy.MakeVertex(150., - 50., 100.)
- -p3 = geompy.MakeVertex(100., - 150., 170.)
- -p4 = geompy.MakeVertex(200., - 200., 150.)
- -- -
# create a polyline from a list of points
- -polyline = geompy.MakePolyline([p0, - p1, p2, p3, p4])
- -- -
# create a bezier curve from a list of points
- -bezier = geompy.MakeBezier([p0, - p1, p2, p3, p4])
- -- -
#create a b-spline curve from a list of points
- -interpol = geompy.MakeInterpol([p0, - p1, p2, p3, p4])
- -- -
# add objects in the study
- -id_p0 = - geompy.addToStudy(p0, "Point1")
- -id_p1 = - geompy.addToStudy(p1, "Point2")
- -id_p2 = - geompy.addToStudy(p2, "Point3")
- -id_p3 = - geompy.addToStudy(p3, "Point4")
- -id_p4 = - geompy.addToStudy(p4, "Point5")
- -id_polyline = geompy.addToStudy(polyline, - "Polyline")
- -id_bezier = - geompy.addToStudy(bezier, "Bezier")
- -id_interpol = geompy.addToStudy(interpol, - "Interpol")
- -- -
# display the points and the curves
- -gg.createAndDisplayGO(id_p0)
- -gg.createAndDisplayGO(id_p1)
- -gg.createAndDisplayGO(id_p2)
- -gg.createAndDisplayGO(id_p3)
- -gg.createAndDisplayGO(id_p4)
- -gg.createAndDisplayGO(id_polyline)
- -gg.createAndDisplayGO(id_bezier)
- -gg.createAndDisplayGO(id_interpol) -
- -- -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertices
- -p1 = geompy.MakeVertex(10., - 50., 20.)
- -p2 = geompy.MakeVertex(70., - 70., 70.)
- -- -
# create a vector from two points
- -vector1 = geompy.MakeVector(p1, - p2)
- -- -
# create a vector from the given components
- -vector2 = geompy.MakeVectorDXDYDZ(30, - 30, 100)
- -- -
# add objects in the study
- -id_p1 = - geompy.addToStudy(p1, "Point1")
- -id_p2 = - geompy.addToStudy(p2, "Point2")
- -id_vector1 = geompy.addToStudy(vector1,"Vector1")
- -id_vector2 = geompy.addToStudy(vector2,"Vector2")
- -- -
# display the points and the vectors
- -gg.createAndDisplayGO(id_p1)
- -gg.createAndDisplayGO(id_p2)
- -gg.createAndDisplayGO(id_vector1)
- -gg.createAndDisplayGO(id_vector2) -
- -- -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertices
- -p1 = geompy.MakeVertex( - 0., 0., - 100.)
- -p2 = geompy.MakeVertex(100., - 0., - 0.)
- -p3 = geompy.MakeVertex(200., - 200., 200.)
- -p4 = geompy.MakeVertex(100., - 100., 0.)
- -p5 = geompy.MakeVertex(0. - , 100., - 0.)
- -- -
# create a vector from the given components
- -vector = geompy.MakeVectorDXDYDZ(100., - 100., 100.)
- -- -
# create a vector from two points
- -vector_arc = geompy.MakeVector(p2, - p5)
- -- -
# create an arc from three points
- -arc = geompy.MakeArc(p2, - p4, p5)
- -- -
# create a wire
- -wire = geompy.MakeWire([vector_arc, - arc])
- -- -
# create a face
- -isPlanarWanted = 1
- -face = geompy.MakeFace(wire, - isPlanarWanted)
- -trimsize = 1000.
- -- -
# create a plane from a point, a vector and a trimsize
- -plane1 = geompy.MakePlane(p1, - vector, trimsize)
- -- -
# create a plane from three points and a trimsize
- -plane2 = geompy.MakePlaneThreePnt(p1, - p2, p3, trimsize)
- -- -
# create a plane from the given face
- -plane3 = geompy.MakePlaneFace(face, - trimsize)
- -- -
# add objects in the study
- -id_face = - geompy.addToStudy(face, "Face")
- -id_plane1 = geompy.addToStudy(plane1,"Plane1")
- -id_plane2 = geompy.addToStudy(plane2,"Plane2")
- -id_plane3 = geompy.addToStudy(plane3,"Plane3")
- -- -
# display the points and the vectors
- -gg.createAndDisplayGO(id_face)
- -gg.createAndDisplayGO(id_plane1)
- -gg.createAndDisplayGO(id_plane2)
- -gg.createAndDisplayGO(id_plane3)
- -gg.setDisplayMode(id_plane1,1)
- -gg.setTransparency(id_plane1,0.5)
- -gg.setDisplayMode(id_plane2,1)
- -gg.setTransparency(id_plane2,0.5)
- -gg.setDisplayMode(id_plane3,1)
- -gg.setTransparency(id_plane3,0.5) -
- - - - diff --git a/doc/salome/gui/GEOM/basic_operations.htm b/doc/salome/gui/GEOM/basic_operations.htm deleted file mode 100755 index 49bd3918d..000000000 --- a/doc/salome/gui/GEOM/basic_operations.htm +++ /dev/null @@ -1,248 +0,0 @@ - - - - - -import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create a vertex and a vector
- -p0 = - geompy.MakeVertex( 0., - 0., - 0.)
- -p200 = geompy.MakeVertex(200., - 200., 200.)
- -pz = - geompy.MakeVertex( 0., - 0., - 100.)
- -- -
# create a vector
- -vxyz = geompy.MakeVectorDXDYDZ(100., - 100., 100.)
- -- -
# create a box from two points
- -box = geompy.MakeBoxTwoPnt(p0, - p200)
- -- -
# create a plane
- -trimsize = - 500.
- -plane = geompy.MakePlane(pz, - vxyz, trimsize)
- -- -
# create partition objects
- -partition1 = geompy.MakePartition([box], - [plane])
- -partition2 = geompy.Partition([box], - [plane])
- -partition3 = geompy.MakeHalfPartition(box, - plane)
- -- -
# add objects in the study
- -id_box = geompy.addToStudy(box,"Box")
- -id_plane = geompy.addToStudy(plane,"Plane")
- -id_partition1 = geompy.addToStudy(partition1,"MakePartition")
- -id_partition2 = geompy.addToStudy(partition2,"Partition")
- -id_partition3 = geompy.addToStudy(partition3,"MakeHalfPartition")
- -- -
# display the partition objects and the plane
- -gg.createAndDisplayGO(id_box)
- -gg.setDisplayMode(id_box,1)
- -gg.createAndDisplayGO(id_plane)
- -gg.setDisplayMode(id_plane,1)
- -gg.createAndDisplayGO(id_partition1)
- -gg.createAndDisplayGO(id_partition2)
- -gg.createAndDisplayGO(id_partition3) -
- -import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create a vertex and a vector
- -p0 = - geompy.MakeVertex( 0., - 0., - 0.)
- -p200 = geompy.MakeVertex(200., - 200., 200.)
- -- -
# create a box from two points
- -box = geompy.MakeBoxTwoPnt(p0, - p200)
- -- -
# perform an Archimede operation on the selected shape with selected - parameters
- -weight = - 1000000.
- -waterdensity = 1.
- -meshingdeflection - = 0.01
- -archimede = - geompy.Archimede(box, weight, waterdensity, meshingdeflection)
- -- -
# add objects in the study
- -id_box = geompy.addToStudy(box,"Box")
- -id_archimede = geompy.addToStudy(archimede,"Archimede")
- -- -
# display the box and the result of Archimede operation
- -gg.createAndDisplayGO(id_box)
- -gg.setDisplayMode(id_box,1)
- -gg.createAndDisplayGO(id_archimede)
- -gg.setDisplayMode(id_archimede,1) -
- -- - - - diff --git a/doc/salome/gui/GEOM/blocks_operations.htm b/doc/salome/gui/GEOM/blocks_operations.htm deleted file mode 100755 index f3068888d..000000000 --- a/doc/salome/gui/GEOM/blocks_operations.htm +++ /dev/null @@ -1,288 +0,0 @@ - - - - - -
import - geompy
- -import salome
- -- -
gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertices
- -p_25_25_50 = geompy.MakeVertex(25., - 25., 50.)
- -p_50_25_25 = geompy.MakeVertex(50., - 25., 25.)
- -p_25_50_25 = geompy.MakeVertex(25., - 50., 25.)
- -- -
box = geompy.MakeBoxDXDYDZ(50, - 50, 50)
- -- -
top_face = geompy.GetFaceNearPoint(box, - p_25_25_50)
- -yz_face = geompy.GetFaceNearPoint(box, - p_50_25_25)
- -xz_face = geompy.GetFaceNearPoint(box, - p_25_50_25)
- -- -
top_face_ind = geompy.GetSubShapeID(box, - top_face)
- -yz_face_ind = geompy.GetSubShapeID(box, - yz_face)
- -xz_face_ind = geompy.GetSubShapeID(box, - xz_face)
- -- -
# Multi-transformate - block and glue the result
- -box_tr1 = geompy.MakeMultiTransformation1D(box, - yz_face_ind, top_face_ind, 3)
- -box_tr2 = geompy.MakeMultiTransformation2D(box, - xz_face_ind, yz_face_ind, 3, top_face_ind, 0, 2)
- -- -
# add objects in the - study
- -id_box = geompy.addToStudy(box, - "Box")
- -id_box_tr1 = geompy.addToStudy(box_tr1, - "Multi-transformed Block 1D")
- -id_box_tr2 = geompy.addToStudy(box_tr2, - "Multi-transformed Block 2D")
- -- -
# display the results
- -gg.createAndDisplayGO(id_box)
- -gg.setDisplayMode(id_box,1)
- -gg.createAndDisplayGO(id_box_tr1)
- -gg.createAndDisplayGO(id_box_tr2) -
- -- -
import geompy
- -import salome
- -- -
gg = salome.ImportComponentGUI("GEOM")
- -- -
# create a box and a - sphere
- -box = geompy.MakeBoxDXDYDZ(200, - 200, 200)
- -sphere = geompy.MakeSphereR(100)
- -- -
# make a compound
- -compound = geompy.MakeCompound([box, - sphere])
- -- -
# get all the blocks - of the given compound, by criteria: min_nb_faces <= nb. of faces <= - max_nb_faces
- -min_nb_faces = 6
- -max_nb_faces = 6
- -make_block_explode - = geompy.MakeBlockExplode(compound, min_nb_faces, max_nb_faces)
- -- -
# add objects in the - study
- -id_compound = geompy.addToStudy(compound, - "Compound")
- -id_make_block_explode - = geompy.addToStudyInFather(compound, make_block_explode[0], "MakeBlockExplode")
- -- -
# display the results
- -gg.createAndDisplayGO(id_compound)
- -gg.createAndDisplayGO(id_make_block_explode)
- -gg.setDisplayMode(id_make_block_explode,1) -
- -- -
import geompy
- -import salome
- -- -
# create a box
- -box = geompy.MakeBoxDXDYDZ(200, - 200, 200)
- -- -
# build all possible - propagation groups
- -listChains = geompy.Propagate(check_box)
- -- -
# add objects in the - study
- -geompy.addToStudy(check_box, - "Box")
- -ii = 1
- -for chain in listChains:
- -geompy.addToStudyInFather(check_box, - chain, "propagation chain " + `ii`)
- -ii - = ii + 1
- -pass
- -- -
salome.sg.updateObjBrowser(1) -
- - - - diff --git a/doc/salome/gui/GEOM/boolean_operations.htm b/doc/salome/gui/GEOM/boolean_operations.htm deleted file mode 100755 index b0410a81e..000000000 --- a/doc/salome/gui/GEOM/boolean_operations.htm +++ /dev/null @@ -1,353 +0,0 @@ - - - - - -import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create a vertex and a vector
- -p1 = geompy.MakeVertex(25, - 55, 0)
- -p2 = geompy.MakeVertex( - 0, 0, 0)
- -v = geompy.MakeVector(p1, - p2)
- -- -
# create a cylinder
- -height = 35
- -radius1 = 20
- -cylinder = geompy.MakeCylinder(p1, - v, radius1, height)
- -- -
# create a sphere
- -sphere = geompy.MakeSphereR(40)
- -- -
# fuse
- -fuse = geompy.MakeFuse(cylinder, - sphere)
- -- -
# add objects in the study
- -id_cylinder = geompy.addToStudy(cylinder, - "Cylinder")
- -id_sphere = geompy.addToStudy(sphere, - "Sphere")
- -id_fuse = geompy.addToStudy(fuse, - "Fuse")
- -- -
# display results
- -gg.createAndDisplayGO(id_cylinder)
- -gg.setDisplayMode(id_cylinder,1)
- -gg.createAndDisplayGO(id_sphere)
- -gg.setDisplayMode(id_sphere,1)
- -gg.createAndDisplayGO(id_fuse)
- -gg.setDisplayMode(id_fuse,1) -
- -- -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create a vertex and a vector
- -p1 = geompy.MakeVertex(25, - 55, 0)
- -p2 = geompy.MakeVertex( - 0, 0, 0)
- -v = geompy.MakeVector(p1, - p2)
- -- -
# create a cylinder
- -height = 35
- -radius1 = 20
- -cylinder = geompy.MakeCylinder(p1, - v, radius1, height)
- -- -
# create a sphere
- -sphere = geompy.MakeSphereR(40)
- -- -
# make common
- -common = geompy.MakeCommon(cylinder, - sphere)
- -- -
# add objects in the study
- -id_common = geompy.addToStudy(common, - "Common")
- -- -
# display the results
- -gg.createAndDisplayGO(id_common)
- -gg.setDisplayMode(id_common,1) -
- -- -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create a vertex and a vector
- -p1 = geompy.MakeVertex(25, - 55, 0)
- -p2 = geompy.MakeVertex( - 0, 0, 0)
- -v = geompy.MakeVector(p1, - p2)
- -- -
# create a cylinder
- -height = 35
- -radius1 = 20
- -cylinder = geompy.MakeCylinder(p1, - v, radius1, height)
- -- -
# create a sphere
- -sphere = geompy.MakeSphereR(40)
- -- -
#cut
- -cut = geompy.MakeCut(cylinder, - sphere)
- -- -
# add objects in the study
- -id_cut = geompy.addToStudy(cut, - "Cut")
- -- -
# display the results
- -gg.createAndDisplayGO(id_cut)
- -gg.setDisplayMode(id_cut,1) -
- -- -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create a vertex and a vector
- -p1 = geompy.MakeVertex(25, - 55, 0)
- -p2 = geompy.MakeVertex( - 0, 0, 0)
- -v = geompy.MakeVector(p1, - p2)
- -- -
# create a cylinder
- -height = 35
- -radius1 = 20
- -cylinder = geompy.MakeCylinder(p1, - v, radius1, height)
- -- -
# create a sphere
- -sphere = geompy.MakeSphereR(40)
- -- -
# make a section
- -section = geompy.MakeSection(cylinder, - sphere)
- -- -
# add objects in the study
- -id_section = geompy.addToStudy(section, - "Section")
- -- -
# display the results
- -gg.createAndDisplayGO(id_section)
- -gg.setDisplayMode(id_section,1) -
- -- - - - diff --git a/doc/salome/gui/GEOM/box.htm b/doc/salome/gui/GEOM/box.htm deleted file mode 100755 index 491c86028..000000000 --- a/doc/salome/gui/GEOM/box.htm +++ /dev/null @@ -1,178 +0,0 @@ - - - - - -
To create a Box - in the Main Menu select New Entity - > Primitives - > Box
- -- -
There are 2 algorithms for creation of a Box. -
- -The - Result of each operation will be a - GEOM_Object (SOLID).
- -- -
Firstly, you can define a Box - by two specified Vertices (its - opposite corners). The edges of the box will be parallel to the coordinate - axes.
- -TUI Command - : geompy.MakeBoxTwoPnt(Point1, - Point2)
- -Arguments: Name - + 2 vertices (opposite corners of the box).
- -- -
- -
- -
Secondly, - you can define a Box by specified dimensions along the coordinate - axes and with edges, parallel to them. The - center of the box will be at point (DX/2, DY/2, DZ/2).
- -TUI Command - : geompy.MakeBoxDXDYDZ(DX, - DY, DZ)
- -Arguments: Name - + 3 values (dimensions at origin).
- -- -
- -
NB! There is - a third way to create a Box, which is currently accessible only via TUI commands.
- -You - can define a Box by the coordinates - of two Vertices (in this way - you don't need to create them in advance).
- -TUI Command: - geompy.MakeBox(x1,y1,z1,x2,y2,z2) -
- -Arguments: Name - + X, Y and Z coordinates of both points. - -- -
Example:
- - - -- -
Our TUI Scripts - provide you with useful examples of creation of Primitives. -
- -- - - - diff --git a/doc/salome/gui/GEOM/building_by_blocks.htm b/doc/salome/gui/GEOM/building_by_blocks.htm deleted file mode 100755 index 7a80374ee..000000000 --- a/doc/salome/gui/GEOM/building_by_blocks.htm +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertices
- -p1 = geompy.MakeVertex( - 0., 0., - 0.)
- -p2 = geompy.MakeVertex(150., - 30., 0.)
- -p3 = geompy.MakeVertex( - 0., 120., - 50.)
- -p4 = geompy.MakeVertex( - 0., 40., - 70.)
- -- -
# create edges
- -edge1 = geompy.MakeEdge(p1, - p2)
- -edge2 = geompy.MakeEdge(p2, - p3)
- -edge3 = geompy.MakeEdge(p3, - p4)
- -edge4 = geompy.MakeEdge(p4, - p1)
- -- -
# create a quadrangle face from four edges
- -qface1 = geompy.MakeQuad(edge1, - edge2, edge3, edge4)
- -- -
# create a quadrangle face from two edges
- -qface2 = geompy.MakeQuad2Edges(edge1, - edge3)
- -- -
# create a quadrangle from four points in its corners
- -qface3 = geompy.MakeQuad4Vertices(p1, - p2, p3, p4)
- -- -
# add objects in the study
- -id_p1 = geompy.addToStudy(p1,"Point1")
- -id_p2 = geompy.addToStudy(p2,"Point2")
- -id_p3 = geompy.addToStudy(p3,"Point3")
- -id_p4 = geompy.addToStudy(p4,"Point4")
- -id_edge1 = geompy.addToStudy(edge1,"Edge1")
- -id_edge2 = geompy.addToStudy(edge2,"Edge2")
- -id_edge3 = geompy.addToStudy(edge3,"Edge3")
- -id_edge4 = geompy.addToStudy(edge4,"Edge4")
- -id_qface1 = geompy.addToStudy(qface1,"Qface1")
- -id_qface2 = geompy.addToStudy(qface2,"Qface2")
- -id_qface3 = geompy.addToStudy(qface3,"Qface3")
- -- -
# display the vertices, the edges and the quadrangle faces
- -gg.createAndDisplayGO(id_p1)
- -gg.createAndDisplayGO(id_p2)
- -gg.createAndDisplayGO(id_p3)
- -gg.createAndDisplayGO(id_p4)
- -gg.createAndDisplayGO(id_edge1)
- -gg.createAndDisplayGO(id_edge2)
- -gg.createAndDisplayGO(id_edge3)
- -gg.createAndDisplayGO(id_edge4)
- -gg.createAndDisplayGO(id_qface1)
- -gg.setDisplayMode(id_qface1,1)
- -gg.createAndDisplayGO(id_qface2)
- -gg.setDisplayMode(id_qface2,1)
- -gg.createAndDisplayGO(id_qface3)
- -gg.setDisplayMode(id_qface3,1) -
- -import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertices
- -p0 = - geompy.MakeVertex( 0., - 0., - 0.)
- -p1 = - geompy.MakeVertex( 0., - 0., - 40.)
- -p2 = - geompy.MakeVertex( 70., -15., 0.)
- -p3 = - geompy.MakeVertex( 70., -15., 70.)
- -- -
p4 = - geompy.MakeVertex( 0., - 70., 0.)
- -p5 = - geompy.MakeVertex( 0., - 70., 40.)
- -p6 = - geompy.MakeVertex( 70., 70., - 0.)
- -p7 = - geompy.MakeVertex( 70., 70., - 70.)
- -- -
p8 = - geompy.MakeVertex( 0., - -50., 0.)
- -p9 = - geompy.MakeVertex( 0., - -50., 40.)
- -p10 = geompy.MakeVertex( - 70., -35., 0.)
- -p11 = geompy.MakeVertex( - 70., -35., 70.)
- -- -
# create faces
- -qface1 = geompy.MakeQuad4Vertices(p0, - p1, p2, p3)
- -qface2 = geompy.MakeQuad4Vertices(p4, - p5, p6, p7)
- -qface3 = geompy.MakeQuad4Vertices(p0, - p1, p4, p5)
- -qface4 = geompy.MakeQuad4Vertices(p2, - p3, p6, p7)
- -qface5 = geompy.MakeQuad4Vertices(p0, - p2, p4, p6)
- -qface6 = geompy.MakeQuad4Vertices(p1, - p3, p5, p7)
- -- -
qface7 = geompy.MakeQuad4Vertices(p8, - p9, p10, p11)
- -- -
# create a hexahedral - solid between two given faces
- -solid1 = geompy.MakeHexa2Faces(qface1, - qface7)
- -- -
# create a hexahedral - solid, bounded by six given faces
- -solid2 = geompy.MakeHexa(qface1, - qface2, qface3, qface4, qface5, qface6)
- -- -
# add objects in the - study
- -geompy.addToStudy(qface1,"qface1")
- -geompy.addToStudy(qface2,"qface2")
- -geompy.addToStudy(qface3,"qface3")
- -geompy.addToStudy(qface4,"qface4")
- -geompy.addToStudy(qface5,"qface5")
- -geompy.addToStudy(qface6,"qface6")
- -geompy.addToStudy(qface7,"qface7")
- -- -
id_solid1 = geompy.addToStudy(solid1,"Solid1")
- -id_solid2 = geompy.addToStudy(solid2,"Solid2")
- -- -
# display solids
- -gg.createAndDisplayGO(id_solid1)
- -gg.setDisplayMode(id_solid1, - 1)
- -gg.createAndDisplayGO(id_solid2)
- -gg.setDisplayMode(id_solid2, - 1)
- - - - diff --git a/doc/salome/gui/GEOM/chamfer.htm b/doc/salome/gui/GEOM/chamfer.htm deleted file mode 100755 index 34174349c..000000000 --- a/doc/salome/gui/GEOM/chamfer.htm +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -To produce - a Chamfer in the Main Menu select - Operations - > Transformation - > - Chamfer
- -- -
This operation allows you to make chamfer - of the edges of a Shape.
- -The Result will - be a GEOM_Object.
- -- -
To create - chamfer on all edges of the given shape, you need to define the Main Object to create a chamfer on and - the Dimension (radius) of the - chamfer.
- -TUI Command: - geompy.MakeChamferAll(Shape, D) -
- -Arguments: Name - + 1 SHAPE + 1 value (Chamfer dimension).
- -- -
- -
- -
To create chamfer on the specified edges of - the given shape, you - need to define the Main Object - to create a fillet on, select the two faces to which belongs the necessary common edge in the viewer and define - the Dimension of the Chamfer.
- -TUI Command: - geompy.MakeChamferEdge(Shape, D1, - D2, Face1, Face2), where Shape is a shape to create a chamfer on, - D1 is a chamfer size along Face1, D2 is a chamfer size along Face2, Face1 - and Face2 are indices of faces in Shape.
- -- -
- -
- -
To create chamfer on the specified faces of - the given shape, you - need to define the Main Object - to create a fillet on, select the necessary faces the OCC Viewer and define - the Dimension of the Chamfer.
- -TUI Command: - geompy.MakeChamferFaces(Shape, D1, - D2, ListOfFaceID), where Shape is a shape to create chamfer on, - D1 is a chamfer size along a face from ListOfFaceID, - D2 is a - chamfer size along two faces connected to the edge to which the chamfer - is applied, ListOfFaceID is a list of indices of faces in Shape.
- -- -
- -
- -
Our TUI Scripts - provide you with useful examples of the use of Transformation - Operations.
- -- -
- -
- -
- -
- - - - diff --git a/doc/salome/gui/GEOM/change_orientation.htm b/doc/salome/gui/GEOM/change_orientation.htm deleted file mode 100755 index a6ae12d4d..000000000 --- a/doc/salome/gui/GEOM/change_orientation.htm +++ /dev/null @@ -1,155 +0,0 @@ - - - - - -
To Change Orientation in the Main Menu - select Repair - > Change Orientation.
- -This operation reverses the normals of faces - composing the selected shell.
- -- -
TUI Command : geompy.ChangeOrientation(shape)
- -Arguments: Name + 1 shape (shell)
- -Uncheck - Create a copy checkbox if you don't - wish to leave the initial object in the project (Result name field will be locked).
- -- - - -
- -
Example: -
- -- -
- | -- |
- Inward orientation. |
-
- Outward orientation |
- -
- -
- - - - diff --git a/doc/salome/gui/GEOM/changing_display_parameters.htm b/doc/salome/gui/GEOM/changing_display_parameters.htm deleted file mode 100755 index 604eea0ab..000000000 --- a/doc/salome/gui/GEOM/changing_display_parameters.htm +++ /dev/null @@ -1,183 +0,0 @@ - - - - - -
import - salome
- -import geompy
- -box = geompy.MakeBox(0,0,0, - 50,50,50)
- -- -
sphere = geompy.MakeSphere(50,50,50, - 30)
- -fuse = geompy.MakeBoolean(box,sphere,3)
- -fuse_id = geompy.addToStudy(fuse,"Fuse")
- -- -
gg = salome.ImportComponentGUI("GEOM")
- -gg.createAndDisplayGO(fuse_id)
- -gg.setDisplayMode(fuse_id,1) -
- -- -
import salome
- -import geompy
- -box = geompy.MakeBox(0,0,0, - 50,50,50)
- -- -
sphere = geompy.MakeSphere(50,50,50, - 30)
- -fuse = geompy.MakeBoolean(box,sphere,3)
- -fuse_id = geompy.addToStudy(fuse,"Fuse")
- -- -
gg = salome.ImportComponentGUI("GEOM")
- -gg.createAndDisplayGO(fuse_id)
- -gg.setDisplayMode(fuse_id,1)
- -gg.setColor(fuse_id,218,165,31) -
- -- -
- -
import salome
- -import geompy
- -- -
box = geompy.MakeBox(0,0,0, - 50,50,50)
- -sphere = geompy.MakeSphere(50,50,50, - 30)
- -- -
fuse = geompy.MakeBoolean(box,sphere,3)
- -fuse_id = geompy.addToStudy(fuse,"Fuse")
- -- -
gg = salome.ImportComponentGUI("GEOM")
- -gg.createAndDisplayGO(fuse_id)
- -gg.setDisplayMode(fuse_id,1)
- -gg.setColor(fuse_id,218,165,31)
- -gg.setTransparency(fuse_id,0.5) -
- - - - diff --git a/doc/salome/gui/GEOM/check_free_boundaries.htm b/doc/salome/gui/GEOM/check_free_boundaries.htm deleted file mode 100755 index b6e127486..000000000 --- a/doc/salome/gui/GEOM/check_free_boundaries.htm +++ /dev/null @@ -1,150 +0,0 @@ - - - - - -To Check Free Boundaries in the Main Menu - select Repair - > Check Free Boundaries.
- -- -
This operation detects wires and edges that - correspond to the shape's boundary, and highlights it
- -- -
The - Result will be a GEOM_Object.
- -- -
TUI Command : (NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape), - where Shape is a shape to be checked, NoError is false if an error occurred - while checking free boundaries, ClosedWires is a list of closed free boundary - wires, OpenWires is a list of open free boundary wires.
- -- - - -
- -
Example:
- -- -
- -
- -
Our - TUI Scripts provide you with useful - examples of the use of Repairing - Operations.
- -- - - - diff --git a/doc/salome/gui/GEOM/check_free_faces.htm b/doc/salome/gui/GEOM/check_free_faces.htm deleted file mode 100755 index b704b6b75..000000000 --- a/doc/salome/gui/GEOM/check_free_faces.htm +++ /dev/null @@ -1,150 +0,0 @@ - - - - - -
To Check Free Faces in the Main Menu select - Repair - > Check Free Faces.
- -This operation retrieves all free faces from - a given shape. A free face is a face not shared between two shells of - the shape.
- -- -
The - Result will be a GEOM_Object - (a list of IDs of all free faces, containing in the shape).
- -TUI Command : - GetFreeFacesIDs(Shape), where Shape is a shape to be checked.
- -- - - -
- -
Examples:
- -- -
- -
- -
Our - TUI Scripts provide you with useful - examples of the use of Repairing - Operations.
- -- - - - diff --git a/doc/salome/gui/GEOM/circle.htm b/doc/salome/gui/GEOM/circle.htm deleted file mode 100755 index 96568f5e0..000000000 --- a/doc/salome/gui/GEOM/circle.htm +++ /dev/null @@ -1,156 +0,0 @@ - - - - - -
To create a Circle - in the Main Menu select New Entity - > Basic - > Circle
- -- -
There - are 2 algorithms to create a Circle in - the 3D space.
- -The - Result of each operation will be a - GEOM_Object (edge).
- -- -
Firstly, - you can define a Circle by a Center Point, a - Vector giving the circle’s - normal and a Radius.
- -TUI Command: - geompy.MakeCircle(Point, Vector, Radius)
- -Arguments: - Name + 1 vertex (for the center) - + 1 edge (for the direction) + Radius.
- -- -
- -
- -
Secondly, - you can define a Circle by three - Points that lie on it.
- -TUI - Command: geompy.MakeCircleThreePnt(Point1, - Point2, Point3)
- -Arguments: - Name + 3 points which will form - the circle.
- -- -
- -
- -
- -
- -
Our TUI Scripts provide you with useful examples - of creation of Basic - Geometric Objects.
- -- - - - diff --git a/doc/salome/gui/GEOM/close_contour.htm b/doc/salome/gui/GEOM/close_contour.htm deleted file mode 100755 index e8accf8a6..000000000 --- a/doc/salome/gui/GEOM/close_contour.htm +++ /dev/null @@ -1,153 +0,0 @@ - - - - - -
To produce - a Close Contour operation in the - Main Menu select Repair - > Close - Contour.
- -- -
This operation closes an open contour and modifies - the underlying face (if needed) in accordance with user specified mode:
- -By common vertex – a - vertex is created between the end points of the contour and its tolerance - is increased to a value of the gap between the ends of the contour;
By new edge – a new edge - is inserted between the end points of the contour.
This operation is available in OCC - Viewer only.
- -- -
The Result will - be a GEOM_Object.
- -- -
TUI Command: - geompy.CloseContour(Shape, Wires, - IsCommonVertex), where Shape is a shape to be processed, Wires - is a list of edges or wires ID’s which has to be closed within the shape - (if the list contains only one element = -1, the shape itself is considered - as a wire), IsCommonVertex - if this parameter is True a closure has to be done by creation of a common - vertex, otherwise an edge is added between the end vertices.
- -- -
Arguments: Name + 1 shape + contour (Wire, - or a set of Edges) + mode of closure (by vertex or by edge)
- -- - - -
- -
Our - TUI Scripts provide you with useful - examples of the use of Repairing - Operations.
- -- - - - diff --git a/doc/salome/gui/GEOM/color.htm b/doc/salome/gui/GEOM/color.htm deleted file mode 100755 index 9732c7c03..000000000 --- a/doc/salome/gui/GEOM/color.htm +++ /dev/null @@ -1,111 +0,0 @@ - - - - - -
You can change the filling color of your object in the standard Select Color menu accessible by right-clicking - on an object and selecting Color - in the pop-up menu box.
- -- -
TUI - Command: gg.setColor(ID, Short, Short, Short)
- -- - - -
- -
Our TUI Scripts provide you with useful examples - of Changing Display - Parameters.
- -- - - - diff --git a/doc/salome/gui/GEOM/common.htm b/doc/salome/gui/GEOM/common.htm deleted file mode 100755 index 25b4226c7..000000000 --- a/doc/salome/gui/GEOM/common.htm +++ /dev/null @@ -1,147 +0,0 @@ - - - - - -
To produce - a Common operation in the Main - Menu select Operations - > Boolean - - > Common
- -- -
This - operation cuts the common part of two shapes and transforms - it into an independent geometrical object.
- -- -
The - Result will be a GEOM_Object - (COMPOUND).
- -TUI Command: - geompy.MakeCommon(s1, - s2)
- -Arguments: - Name + 2 shapes.
- -- - - -
- -
Example:
- -- -
- -
Our TUI Scripts provide you with useful examples - of the use of Boolean Operations. -
- -- - - - diff --git a/doc/salome/gui/GEOM/complex_objects.htm b/doc/salome/gui/GEOM/complex_objects.htm deleted file mode 100755 index 72c395e02..000000000 --- a/doc/salome/gui/GEOM/complex_objects.htm +++ /dev/null @@ -1,489 +0,0 @@ - - - - - -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create a vertex and a vector
- -p1 = geompy.MakeVertex( - 0., - 0., - 0.)
- -p2 = geompy.MakeVertex( - 100., 0., - 0.)
- -p3 = geompy.MakeVertex( - 100., 100., 0.)
- -p4 = geompy.MakeVertex( - 0., - 100., 0.)
- -p5 = geompy.MakeVertex( - 0., - 0., - 60.)
- -p6 = geompy.MakeVertex(-100., - 0., - 0.)
- -p7 = geompy.MakeVertex(-100.,-100., - 0.)
- -p8 = geompy.MakeVertex( - 0.,-100., - 0.)
- -- -
# create a vector from the given components
- -vector = geompy.MakeVectorDXDYDZ(50., - 50., 50.)
- -- -
#create vectors from two points
- -vector1_arc1 = geompy.MakeVector(p1, - p2)
- -vector2_arc1 = geompy.MakeVector(p1, - p4)
- -vector1_arc2 = geompy.MakeVector(p1, - p6)
- -vector2_arc2 = geompy.MakeVector(p1, - p8)
- -- -
# create arcs from three points
- -arc1 = geompy.MakeArc(p2, - p3, p4)
- -arc2 = geompy.MakeArc(p6, - p7, p8)
- -- -
# create wires
- -wire1 = geompy.MakeWire([vector1_arc1, - arc1, vector2_arc1])
- -wire2 = geompy.MakeWire([vector1_arc2, - arc2, vector2_arc2])
- -- -
# create faces
- -isPlanarWanted = 1
- -face1 = geompy.MakeFace(wire1, - isPlanarWanted)
- -face2 = geompy.MakeFace(wire2, - isPlanarWanted)
- -- -
# create prisms
- -prism1 = geompy.MakePrism(face2, - p1, p5)
- -prism2 = geompy.MakePrismVecH(face1, - vector, 50)
- -- -
# add objects in the study
- -id_face1 = - geompy.addToStudy(face1,"Face1")
- -id_face2 = - geompy.addToStudy(face2,"Face2")
- -id_prism1 = geompy.addToStudy(prism1,"Prism1")
- -id_prism2 = geompy.addToStudy(prism2,"Prism2")
- -- -
# display cylinders
- -gg.createAndDisplayGO(id_face1)
- -gg.setDisplayMode(id_face1,1)
- -gg.createAndDisplayGO(id_face2)
- -gg.setDisplayMode(id_face2,1)
- -gg.createAndDisplayGO(id_prism1)
- -gg.setDisplayMode(id_prism1,1)
- -gg.createAndDisplayGO(id_prism2)
- -gg.setDisplayMode(id_prism2,1) -
- -import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create a vertex and a vector
- -p1 = geompy.MakeVertex( - 10., 10., - 10.)
- -p2 = geompy.MakeVertex( - 15., 15., - 50.)
- -p3 = geompy.MakeVertex( - 40., 40., - 0.)
- -- -
#create vectors from two points
- -vector1 = geompy.MakeVector(p1, - p2)
- -vector2 = geompy.MakeVector(p1, - p3)
- -- -
# create a vector from the given components
- -vector3 = geompy.MakeVectorDXDYDZ(-20., - -20., 100.)
- -- -
# create a wire
- -wire = geompy.MakeWire([vector1, - vector2])
- -- -
# create a revolution
- -revolution = geompy.MakeRevolution(wire, - vector3, 2.3)
- -- -
# add objects in the study
- -id_vector3 = - geompy.addToStudy(vector3,"Axis")
- -id_wire = - geompy.addToStudy(wire,"Wire")
- -id_revolution = geompy.addToStudy(revolution,"Revolution")
- -- -
# display the vector, the wire and the revolution
- -gg.createAndDisplayGO(id_vector3)
- -gg.createAndDisplayGO(id_wire)
- -gg.createAndDisplayGO(id_revolution)
- -gg.setDisplayMode(id_revolution,1) -
- -import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -mindeg = 2
- -maxdeg = 5
- -tol3d = - 0.0001
- -tol2d = - 0.0001
- -nbiter = 5
- -- -
# create a vertex and a vector
- -p1 = geompy.MakeVertex( - -30., -30., - 50.)
- -p2 = geompy.MakeVertex( - -60., -60., - 30.)
- -p3 = geompy.MakeVertex( - -30., -30., - 10.)
- -- -
# create an arc from three points
- -arc = geompy.MakeArc(p1, - p2, p3)
- -ShapeListCompound - = []
- -i = 0
- -while i <= 3 :
- -S - = geompy.MakeTranslation(arc, i * 50., 0., 0.)
- -ShapeListCompound.append(S)
- -i - = i + 1
- -compound = geompy.MakeCompound(ShapeListCompound)
- -- -
# create a filling
- -filling = geompy.MakeFilling(compound, - mindeg, maxdeg, tol3d, tol2d, nbiter)
- -- -
# add objects in the study
- -id_compound = geompy.addToStudy(compound,"Compound")
- -id_filling = geompy.addToStudy(filling,"Filling")
- -- -
# display the compound and the filling
- -gg.createAndDisplayGO(id_compound)
- -gg.createAndDisplayGO(id_filling)
- -gg.setDisplayMode(id_filling,1) -
- -- -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertices
- -p0 = - geompy.MakeVertex(0. , - 0. , 0. - )
- -px = - geompy.MakeVertex(100., 0. , - 0. )
- -py = - geompy.MakeVertex(0. , - 100., 0. )
- -pz = - geompy.MakeVertex(0. , - 0. , 100.)
- -pxyz = geompy.MakeVertex(100., - 100., 100.)
- -- -
# create a vector from two points
- -vxy = geompy.MakeVector(px, - py)
- -- -
# create an arc from three points
- -arc = geompy.MakeArc(py, - pz, px)
- -- -
# create a wire
- -wire = geompy.MakeWire([vxy, - arc])
- -- -
# create an edge
- -edge = geompy.MakeEdge(p0, - pxyz)
- -- -
# create a pipe
- -pipe = geompy.MakePipe(wire, - edge)
- -- -
# add objects in the study
- -id_wire = geompy.addToStudy(wire,"Wire")
- -id_edge = geompy.addToStudy(edge,"Edge")
- -id_pipe = geompy.addToStudy(pipe,"Pipe")
- -- -
# display the wire, the edge (path) and the pipe
- -gg.createAndDisplayGO(id_wire)
- -gg.createAndDisplayGO(id_edge)
- -gg.createAndDisplayGO(id_pipe)
- -gg.setDisplayMode(id_pipe,1) -
- - - - diff --git a/doc/salome/gui/GEOM/compound.htm b/doc/salome/gui/GEOM/compound.htm deleted file mode 100755 index 11465b4c7..000000000 --- a/doc/salome/gui/GEOM/compound.htm +++ /dev/null @@ -1,138 +0,0 @@ - - - - - -To create - a Compound in the Main Menu select - New Entity - > Build - > Compound.
- -- -
You can create a compound from a list of shells. -
- -The - Result will be a GEOM_Object - (COMPOUND).
- -- -
TUI Command: - geompy.MakeCompound(ListOfShape)
- -Arguments: - Name + List of shapes.
- -- - - -
- -
Example:
- -- - - -
- -
Our TUI Scripts provide you with useful examples - of creation of Advanced Geometric - Objects.
- -- -
- -
- -
- - - - diff --git a/doc/salome/gui/GEOM/cone.htm b/doc/salome/gui/GEOM/cone.htm deleted file mode 100755 index 8e0fec793..000000000 --- a/doc/salome/gui/GEOM/cone.htm +++ /dev/null @@ -1,166 +0,0 @@ - - - - - -
To create a Cone - in the Main Menu select New Entity - > Primitives - > Cone
- -- -
There are two algorithms for creation of a Cone. -
- -The - Result of each operation will be a - GEOM_Object (SOLID).
- -- -
Firstly, you can define a Cone - by the Base Point (the central - point of the cone base), the Axis, - the Height and the first and the - second Radiuses.
- -TUI Command: geompy.MakeCone(Point, - Axis, Radius1, Radius2)
- -Arguments: - Name + 1 vertex - + 1 vector (for direction) + 3 values (Radius of the base part, radius - of the upper part, height).
- -- - - -
- -
Secondly, you can define a Cone - with the center at the origin of coordinates by its Height - and Radiuses. The Axis - of the Cone will be collinear - to the OZ axis of the coordinate system.
- -TUI Command: geompy.MakeConeR1R2H(Radius1, - Radius2, Height)
- -Arguments: Name - + 3 values (Radius of the base part, radius of the upper part, height).
- - - -- -
Note: If both radiuses are non-zero, - the Cone will be truncated. If - the radiuses are equal, a Cylinder - will be created instead.
- -- -
Example:
- -- - - -
- -
Our TUI Scripts provide you with useful examples - of creation of Primitives.
- -- - - - diff --git a/doc/salome/gui/GEOM/cshdat_robohelp.htm b/doc/salome/gui/GEOM/cshdat_robohelp.htm deleted file mode 100755 index 6ac8b7890..000000000 --- a/doc/salome/gui/GEOM/cshdat_robohelp.htm +++ /dev/null @@ -1,258 +0,0 @@ - - -
To create a Curve in the Main Menu select New - Entity - > Basic - > Curve
- -- -
There are three algorithms to create - a Curve in the 3D space. Each time you define it by - a list of Points through which the curve passes. The three Curve Construction menu choices correspond to three possible types - of curves: Polyline, Besier or B-spline (Interpolated).
- -The Result of - each operation will be a GEOM_Object (edge).
- -- -
TUI Commands: -
- -geompy.MakePolyline(ListOfShapes)
geompy.MakeBezier(ListOfShapes)
geompy.MakeInterpol(ListOfShapes)
ListOfShape is a list of points through which - the curve passes.
- -Arguments: - Name + at least 2 points which will serve as nodes on the curve.
- -- -
- -
- -
Examples:
- -- -
Polyline - Bezier - B-Spline
- -- -
- -
Our TUI Scripts provide you with useful examples - of creation of Basic - Geometric Objects.
- -- -
- - - - diff --git a/doc/salome/gui/GEOM/cut.htm b/doc/salome/gui/GEOM/cut.htm deleted file mode 100755 index ea377fa9f..000000000 --- a/doc/salome/gui/GEOM/cut.htm +++ /dev/null @@ -1,144 +0,0 @@ - - - - - -
To produce - a Cut operation in the Main Menu - select Operations - > Boolean - > - Cut
- -- -
This operation cuts a shape with another - one.
- -The - Result will be a GEOM_Object - (COMPOUND).
- -Arguments: - Name + 2 shapes.
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- -
- -
Our TUI Scripts provide you with useful examples - of the use of Boolean Operations. -
- -- - - - diff --git a/doc/salome/gui/GEOM/cylinder.htm b/doc/salome/gui/GEOM/cylinder.htm deleted file mode 100755 index d2b7695f4..000000000 --- a/doc/salome/gui/GEOM/cylinder.htm +++ /dev/null @@ -1,168 +0,0 @@ - - - - - -
To create a Cylinder - in the Main Menu select New Entity - > Primitives - > Cylinder
- -- -
There are 2 algorithms for creation of a Cylinder. -
- -The - Result of each operation will be a - GEOM_Object (SOLID).
- -- -
Firstly, you can define a Cylinder - by the Base Point (the central - point of the cylinder base), the Vector - (the axis of the cylinder), and its dimensions: the Radius and the Height.
- -TUI Command: geompy.MakeCylinder(Point, - Axis, Radius, Height),
- -Arguments: - Name - + 1 vertex + 1 vector + 2 values (Dimensions: radius and height).
- -- -
- -
Secondly, you can define a - Cylinder by the given radius - and the height at the - origin of coordinate system. The axis of the cylinder will be collinear - to the OZ axis of the coordinate system.
- -TUI Command: geompy.MakeCylinderRH(Radius, - Height)
- -Arguments: Name + 2 values - (Dimensions at origin: radius and height).
- -- - - -
- -
Example:
- -- - - -
- -
Our TUI Scripts provide you with useful examples - of creation of Primitives.
- -- - - - diff --git a/doc/salome/gui/GEOM/default.css b/doc/salome/gui/GEOM/default.css deleted file mode 100755 index 1f8d6d772..000000000 --- a/doc/salome/gui/GEOM/default.css +++ /dev/null @@ -1,101 +0,0 @@ -BODY { - background-color:#ffffff; - font-family:"Times New Roman" , serif; } -H1 { - font-weight:bold; - font-size:24.0pt; } -LI.kadov-H1 { - font-weight:bold; - font-size:24.0pt; } -H2 { - font-weight:bold; - font-size:18.0pt; } -LI.kadov-H2 { - font-weight:bold; - font-size:18.0pt; } -H3 { - font-weight:bold; - font-size:14.0pt; } -LI.kadov-H3 { - font-weight:bold; - font-size:14.0pt; } -H4 { - font-weight:bold; - font-size:12.0pt; } -LI.kadov-H4 { - font-weight:bold; - font-size:12.0pt; } -H5 { - font-weight:bold; - font-size:10.0pt; } -LI.kadov-H5 { - font-weight:bold; - font-size:10.0pt; } -H6 { - font-weight:bold; - font-size:8.0pt; } -LI.kadov-H6 { - font-weight:bold; - font-size:8.0pt; } -P { - font-size:12.0pt; - margin-top:0pt; - margin-bottom:0pt; } -LI.kadov-P { - font-size:12.0pt; } -A.expandspot { - color:#008000; - cursor:hand; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -SPAN.expandtext { - font-style:italic; - font-weight:normal; - color:#ff0000; } -A.dropspot { - cursor:hand; - color:#008000; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -A.glossterm { - color:#800000; - cursor:hand; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -SPAN.glosstext { - font-style:italic; - font-weight:normal; - color:#0000ff; } -OL { - margin-top:0px; - margin-bottom:0px; } -UL { - margin-top:0px; - margin-bottom:0px; } -A:active { } -A:hover { - x-text-underline:Off; - text-decoration:none; } -A:link { - x-text-underline:Off; - text-decoration:none; } -A:visited { - x-text-underline:Off; - text-decoration:none; } -P.TODO { - font-weight:normal; - font-style:italic; - font-family:"Arial Black" , sans-serif; } -LI.kadov-P-CTODO { - font-weight:normal; - font-style:italic; - font-family:"Arial Black" , sans-serif; } diff --git a/doc/salome/gui/GEOM/default_ns.css b/doc/salome/gui/GEOM/default_ns.css deleted file mode 100755 index 46e8b0018..000000000 --- a/doc/salome/gui/GEOM/default_ns.css +++ /dev/null @@ -1,118 +0,0 @@ -BODY { - background-color:#ffffff; - font-family:"Times New Roman" , serif; } -H1 { - font-weight:bold; - font-size:24.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H1 { - font-weight:bold; - font-size:24.0pt; } -H2 { - font-weight:bold; - font-size:18.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H2 { - font-weight:bold; - font-size:18.0pt; } -H3 { - font-weight:bold; - font-size:14.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H3 { - font-weight:bold; - font-size:14.0pt; } -H4 { - font-weight:bold; - font-size:12.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H4 { - font-weight:bold; - font-size:12.0pt; } -H5 { - font-weight:bold; - font-size:10.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H5 { - font-weight:bold; - font-size:10.0pt; } -H6 { - font-weight:bold; - font-size:8.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H6 { - font-weight:bold; - font-size:8.0pt; } -P { - font-size:12.0pt; - margin-top:1pt; - margin-bottom:1pt; - font-family:"Times New Roman" , serif; } -LI.kadov-P { - font-size:12.0pt; } -A.expandspot { - color:#008000; - cursor:hand; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -SPAN.expandtext { - font-style:italic; - font-weight:normal; - color:#ff0000; } -A.dropspot { - cursor:hand; - color:#008000; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -A.glossterm { - color:#800000; - cursor:hand; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -SPAN.glosstext { - font-style:italic; - font-weight:normal; - color:#0000ff; } -OL { - margin-top:0px; - margin-bottom:0px; - font-family:"Times New Roman" , serif; } -UL { - margin-top:0px; - margin-bottom:0px; - font-family:"Times New Roman" , serif; } -A:active { } -A:hover { - x-text-underline:Off; - text-decoration:none; } -A:link { - x-text-underline:Off; - text-decoration:none; } -A:visited { - x-text-underline:Off; - text-decoration:none; } -P.TODO { - font-weight:normal; - font-style:italic; - font-family:"Arial Black" , sans-serif; } -LI.kadov-P-CTODO { - font-weight:normal; - font-style:italic; - font-family:"Arial Black" , sans-serif; } -ol ol { - margin-top:1px; } -ol ul { - margin-top:1px; } -ul ul { - margin-top:1px; } -ul ol { - margin-top:1px; } diff --git a/doc/salome/gui/GEOM/doxyfile.in b/doc/salome/gui/GEOM/doxyfile.in new file mode 100755 index 000000000..75b0c99aa --- /dev/null +++ b/doc/salome/gui/GEOM/doxyfile.in @@ -0,0 +1,49 @@ +#--------------------------------------------------------------------------- +# 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 = *.doc +IMAGE_PATH = @srcdir@/images + +#--------------------------------------------------------------------------- +#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 +#--------------------------------------------------------------------------- +TAGFILES = geompy_doc.tag=./geompy_doc \ No newline at end of file diff --git a/doc/salome/gui/GEOM/doxyfile_py.in b/doc/salome/gui/GEOM/doxyfile_py.in new file mode 100755 index 000000000..41a0b2fc4 --- /dev/null +++ b/doc/salome/gui/GEOM/doxyfile_py.in @@ -0,0 +1,137 @@ +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- +PROJECT_NAME = "Geometry Module Reference Manual v.@VERSION@" +OUTPUT_DIRECTORY = ./ +CREATE_SUBDIRS = NO +OUTPUT_LANGUAGE = English +USE_WINDOWS_ENCODING = NO +BRIEF_MEMBER_DESC = YES +REPEAT_BRIEF = NO +ALWAYS_DETAILED_SEC = YES +INLINE_INHERITED_MEMB = YES +FULL_PATH_NAMES = NO +SHORT_NAMES = NO +JAVADOC_AUTOBRIEF = YES +MULTILINE_CPP_IS_BRIEF = NO +DETAILS_AT_TOP = NO +INHERIT_DOCS = YES +SEPARATE_MEMBER_PAGES = NO +TAB_SIZE = 5 +OPTIMIZE_OUTPUT_FOR_C = YES +OPTIMIZE_OUTPUT_JAVA = YES +BUILTIN_STL_SUPPORT = NO +DISTRIBUTE_GROUP_DOC = NO +SUBGROUPING = YES + +#--------------------------------------------------------------------------- +# Build related options +#--------------------------------------------------------------------------- +EXTRACT_ALL = YES +EXTRACT_PRIVATE = YES +EXTRACT_STATIC = YES +EXTRACT_LOCAL_CLASSES = YES +EXTRACT_LOCAL_METHODS = NO +HIDE_UNDOC_MEMBERS = NO +HIDE_UNDOC_CLASSES = NO +HIDE_FRIEND_COMPOUNDS = NO +HIDE_IN_BODY_DOCS = NO +INTERNAL_DOCS = YES +CASE_SENSE_NAMES = YES +HIDE_SCOPE_NAMES = NO +SHOW_INCLUDE_FILES = YES +INLINE_INFO = YES +SORT_MEMBER_DOCS = NO +SORT_BRIEF_DOCS = NO +SORT_BY_SCOPE_NAME = NO +GENERATE_TODOLIST = YES +GENERATE_TESTLIST = YES +GENERATE_BUGLIST = YES +GENERATE_DEPRECATEDLIST= YES +MAX_INITIALIZER_LINES = 25 +SHOW_USED_FILES = NO +SHOW_DIRECTORIES = NO + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- +SOURCE_BROWSER = NO +INLINE_SOURCES = NO +STRIP_CODE_COMMENTS = YES +REFERENCED_BY_RELATION = NO +REFERENCES_RELATION = YES +USE_HTAGS = NO +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- +QUIET = NO +WARNINGS = YES +WARN_IF_UNDOCUMENTED = YES +WARN_IF_DOC_ERROR = YES +WARN_NO_PARAMDOC = NO +EXCLUDE_SYMLINKS = NO +EXAMPLE_RECURSIVE = NO + +#--------------------------------------------------------------------------- +#Input related options +#--------------------------------------------------------------------------- +INPUT = @top_srcdir@/src/GEOM_SWIG +FILE_PATTERNS = geompyDC.py +IMAGE_PATH = @srcdir@/images +RECURSIVE = NO + +#--------------------------------------------------------------------------- +#HTML related options +#--------------------------------------------------------------------------- +GENERATE_HTML = YES +HTML_OUTPUT = ./geompy_doc +HTML_HEADER = @srcdir@/static/header.html +HTML_FOOTER = @srcdir@/static/footer.html +#HTML_STYLESHEET = @srcdir@/static/doxygen.css +TOC_EXPAND = YES +DISABLE_INDEX = YES +GENERATE_TREEVIEW = NO + +#--------------------------------------------------------------------------- +#LaTeX related option +#--------------------------------------------------------------------------- +GENERATE_LATEX = NO + +#--------------------------------------------------------------------------- +#RTF related options +#--------------------------------------------------------------------------- +GENERATE_RTF = NO + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- +CLASS_DIAGRAMS = YES +HIDE_UNDOC_RELATIONS = NO +HAVE_DOT = YES +CLASS_GRAPH = YES +COLLABORATION_GRAPH = NO +GROUP_GRAPHS = NO +UML_LOOK = NO +TEMPLATE_RELATIONS = YES +INCLUDE_GRAPH = YES +INCLUDED_BY_GRAPH = NO +CALL_GRAPH = NO +GRAPHICAL_HIERARCHY = YES +DIRECTORY_GRAPH = YES +DOT_IMAGE_FORMAT = jpg +DOT_PATH = +DOTFILE_DIRS = +MAX_DOT_GRAPH_WIDTH = 1024 +MAX_DOT_GRAPH_HEIGHT = 1200 +MAX_DOT_GRAPH_DEPTH = 0 +DOT_TRANSPARENT = NO +DOT_MULTI_TARGETS = NO +GENERATE_LEGEND = NO +DOT_CLEANUP = YES + +#--------------------------------------------------------------------------- +#External reference options +#--------------------------------------------------------------------------- +GENERATE_TAGFILE = geompy_doc.tag diff --git a/doc/salome/gui/GEOM/edge.htm b/doc/salome/gui/GEOM/edge.htm deleted file mode 100755 index 75696858f..000000000 --- a/doc/salome/gui/GEOM/edge.htm +++ /dev/null @@ -1,135 +0,0 @@ - - - - - -
To - create an Edge in the Main - Menu select New Entity - > - Build - > Edge
- -- -
You can create an Edge - from two points (Point1 and Point2), being the first and the last - vertices of the edge.
- -The - Result will - be a GEOM_Object (EDGE).
- -TUI Command: - geompy.MakeEdge(Vertex1, Vertex2), - where Vertex1 and Vertex2 are correspondingly the first and the last vertex - of the edge.
- -Arguments: - Name + 2 vertices.
- -- - - -
- -
Example:
- -- - - -
- -
Our TUI Scripts provide you with useful examples - of creation of Advanced Geometric - Objects.
- -- - - - diff --git a/doc/salome/gui/GEOM/ehelp.xml b/doc/salome/gui/GEOM/ehelp.xml deleted file mode 100755 index 5fbcc543d..000000000 --- a/doc/salome/gui/GEOM/ehelp.xml +++ /dev/null @@ -1,10 +0,0 @@ - - -