From 155e9c00842b5e414881bd0b30a31dac4980e5d9 Mon Sep 17 00:00:00 2001
From: mkr
The
Result of the operation will be a
diff --git a/doc/salome/gui/GEOM/basic_geometrical_objects.htm b/doc/salome/gui/GEOM/basic_geometrical_objects.htm
index 0fcc12eb9..5a14fde97 100755
--- a/doc/salome/gui/GEOM/basic_geometrical_objects.htm
+++ b/doc/salome/gui/GEOM/basic_geometrical_objects.htm
@@ -46,7 +46,7 @@ if (window.gbWhTopic)
{
if (window.addTocInfo)
{
- addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nBasic Geometrical Objects");
+ addTocInfo("GEOM module\nTUI Scripts\nCreating Geometric Objects\nBasic Geometrical Objects");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
diff --git a/doc/salome/gui/GEOM/blocks.htm b/doc/salome/gui/GEOM/blocks.htm
deleted file mode 100755
index f3b20495e..000000000
--- a/doc/salome/gui/GEOM/blocks.htm
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
-Building of blocks
-
-
- -
- -
- -
To use these options:
- -- -
In the main menu select Blocks - submenu.
- -- -
- -
- -
- -
- -
- -
- - - - diff --git a/doc/salome/gui/GEOM/box.htm b/doc/salome/gui/GEOM/box.htm index d03a7cf81..c85200771 100755 --- a/doc/salome/gui/GEOM/box.htm +++ b/doc/salome/gui/GEOM/box.htm @@ -56,7 +56,7 @@ if (window.gbWhTopic) { if (window.addTocInfo) { - addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nBox"); + addTocInfo("GEOM module\nCreating geometrical objects\nCreating Primitives\nBox"); addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); } @@ -131,7 +131,7 @@ else
-
NB! The is +
NB! There is a third way to create a Box, which is currently accessible only via TUI commands.
@@ -144,11 +144,10 @@ else geompy.MakeBox(x1,y1,z1,x2,y2,z2) -Arguments: - Name + X, Y and Z coordinates - of both points.
+Arguments: Name + X, Y and Z coordinates + of both points. -+
Example:
diff --git a/doc/salome/gui/GEOM/building_by_blocks.htm b/doc/salome/gui/GEOM/building_by_blocks.htm index 2a37b672d..95bca7cf2 100755 --- a/doc/salome/gui/GEOM/building_by_blocks.htm +++ b/doc/salome/gui/GEOM/building_by_blocks.htm @@ -46,7 +46,7 @@ if (window.gbWhTopic) { if (window.addTocInfo) { - addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nBuilding by Blocks"); + addTocInfo("GEOM module\nTUI Scripts\nCreating Geometric Objects\nBuilding by Blocks"); addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); } diff --git a/doc/salome/gui/GEOM/chamfer.htm b/doc/salome/gui/GEOM/chamfer.htm index 1ca64f645..af89a1c4c 100755 --- a/doc/salome/gui/GEOM/chamfer.htm +++ b/doc/salome/gui/GEOM/chamfer.htm @@ -129,8 +129,10 @@ elseTo create chamfer on the specified edges of the given shape, you need to define the Main Object - to create a fillet on, select the necessary edges in the viewer and define - the Dimension of the Chamfer.
+ 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,
@@ -147,9 +149,8 @@ else
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 two faces to which belongs the necessary
- common edge in the OCC Viewer and define the Dimension
- of the Chamfer.
TUI Command:
geompy.MakeChamferFaces(Shape, D1,
diff --git a/doc/salome/gui/GEOM/changing_display_parameters.htm b/doc/salome/gui/GEOM/changing_display_parameters.htm
index 422a4f784..0fdc2594c 100755
--- a/doc/salome/gui/GEOM/changing_display_parameters.htm
+++ b/doc/salome/gui/GEOM/changing_display_parameters.htm
@@ -46,7 +46,7 @@ if (window.gbWhTopic)
{
if (window.addTocInfo)
{
- addTocInfo("GEOM module\nTUI Scripts\nChanging Display Parameters");
+ addTocInfo("GEOM module\nTUI Scripts\nViewing Geometrical Objects");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
@@ -70,7 +70,7 @@ else
document.location.reload();
//-->
- In GEOM you can set different
- displaying parameters for visualization of geometrical objects in the
- viewer: Isos (in OCC viewer only) To set displaying parameters of a geometrical object: Right-click on this geometrical object in
- the viewer and from the pop-up menu select Properties. This
- option is relevant for viewing 3D objects. Wireframe mode means that Description:
- Set the display mode of the selected shape. TUI
- Command: gg.setDisplayMode(ID, Short) Example: Description:
- Change the color of a shape. TUI Command:
- gg.setColor(ID, Short, Short, Short) Example: Description:
- Change the transparency (between 0 & 1) of a shape. TUI Command:
- gg.setTransparency(ID, Double) Dialog Box: Example: 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). Arguments: Name
+ + 1 vertex + 1 vector (for direction) + 3 values (Radius of the base part,
+ radius of the upper part, height). Changing Display Parameters
+Viewing Geometrical Objects
Changing Display Mode
diff --git a/doc/salome/gui/GEOM/changing_displaying_parameters.htm b/doc/salome/gui/GEOM/changing_displaying_parameters.htm
deleted file mode 100755
index 683769b8c..000000000
--- a/doc/salome/gui/GEOM/changing_displaying_parameters.htm
+++ /dev/null
@@ -1,223 +0,0 @@
-
-
-
-
-
-Changing displaying parameters
-
-
-
-
-
-
TUI Command: geompy.MakeConeR1R2H(Radius1, - Radius2, Height)
+TUI Command: geompy.MakeConeR1R2H(Radius1, + Radius2, Height)
+ +Arguments: Name + + 3 values (Radius of the base part, radius of the upper part, height).
-Arguments: - Name + 3 values - (Radius of the base part, radius of the upper part, height).
+
diff --git a/doc/salome/gui/GEOM/curve.htm b/doc/salome/gui/GEOM/curve.htm index 1fa1a5aae..1178273d5 100755 --- a/doc/salome/gui/GEOM/curve.htm +++ b/doc/salome/gui/GEOM/curve.htm @@ -56,7 +56,7 @@ if (window.gbWhTopic) { if (window.addTocInfo) { - addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nCurve"); + addTocInfo("GEOM module\nCreating geometrical objects\nCreating Basic Geometric Objects\nCurve"); addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); } diff --git a/doc/salome/gui/GEOM/cylinder.htm b/doc/salome/gui/GEOM/cylinder.htm index 087d2d73d..010fb2bef 100755 --- a/doc/salome/gui/GEOM/cylinder.htm +++ b/doc/salome/gui/GEOM/cylinder.htm @@ -63,7 +63,7 @@ if (window.gbWhTopic) { if (window.addTocInfo) { - addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nCylinder"); + addTocInfo("GEOM module\nCreating geometrical objects\nCreating Primitives\nCylinder"); addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); } diff --git a/doc/salome/gui/GEOM/edge.htm b/doc/salome/gui/GEOM/edge.htm index 184e5ba47..fd7cc35d9 100755 --- a/doc/salome/gui/GEOM/edge.htm +++ b/doc/salome/gui/GEOM/edge.htm @@ -50,7 +50,7 @@ if (window.gbWhTopic) { if (window.addTocInfo) { - addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nEdge"); + addTocInfo("GEOM module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nEdge"); addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); } diff --git a/doc/salome/gui/GEOM/ellipse.htm b/doc/salome/gui/GEOM/ellipse.htm index f8b34dad2..3cb106c29 100755 --- a/doc/salome/gui/GEOM/ellipse.htm +++ b/doc/salome/gui/GEOM/ellipse.htm @@ -65,7 +65,7 @@ if (window.gbWhTopic) { if (window.addTocInfo) { - addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nEllipse"); + addTocInfo("GEOM module\nCreating geometrical objects\nCreating Basic Geometric Objects\nEllipse"); addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); } diff --git a/doc/salome/gui/GEOM/explode.htm b/doc/salome/gui/GEOM/explode.htm index 46e1d3560..81b470ae9 100755 --- a/doc/salome/gui/GEOM/explode.htm +++ b/doc/salome/gui/GEOM/explode.htm @@ -66,7 +66,7 @@ if (window.gbWhTopic) { if (window.addTocInfo) { - addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nExplode"); + addTocInfo("GEOM module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nExplode"); addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); } diff --git a/doc/salome/gui/GEOM/extrusion.htm b/doc/salome/gui/GEOM/extrusion.htm index c52507839..a172323a7 100755 --- a/doc/salome/gui/GEOM/extrusion.htm +++ b/doc/salome/gui/GEOM/extrusion.htm @@ -65,7 +65,7 @@ if (window.gbWhTopic) { if (window.addTocInfo) { - addTocInfo("GEOM module\nCreating geometrical objects\nGeneration of Complex Objects\nExtrusion"); + addTocInfo("GEOM module\nCreating geometrical objects\nCreating Complex Objects\nExtrusion"); addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); } @@ -102,7 +102,7 @@ else
To create an Extrusion (Prism) you should define the Base Shape (a basis of the extrusion), the Vector - (a normal of the extrusion) and the Height + (a direction of the extrusion) and the Height of extrusion.
The
diff --git a/doc/salome/gui/GEOM/face.htm b/doc/salome/gui/GEOM/face.htm
index fea622451..15cf3ad30 100755
--- a/doc/salome/gui/GEOM/face.htm
+++ b/doc/salome/gui/GEOM/face.htm
@@ -52,7 +52,7 @@ if (window.gbWhTopic)
{
if (window.addTocInfo)
{
- addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nFace");
+ addTocInfo("GEOM module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nFace");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions.htm
deleted file mode 100755
index 1630c691f..000000000
--- a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions.htm
+++ /dev/null
@@ -1,885 +0,0 @@
-
-
-
-
-
-Creating basic geometrical objects
-
-
In GEOM you can create basic geometrical objects (1D - & 2D elements) such as:
- - - -- -
- -
To create basic geometrical objects:
- -- -
In the main menu select New - Entity > Basic.
- -- - - - - -
- -
Description: - Creates a point.
- -- -
Result: GEOM_Object - (vertex).
- -- -
TUI Command : - geompy.MakeVertex(X, - Y, Z) -
- -geompy.MakeVertexWithRef(Reference, - X, Y, Z)
- -geompy.MakeVertexOnCurve(Edge, Parameter) -
- -- -
Arguments:
- -1st - Constructor: Name + X, Y and Z coordinates of the point.
2nd - Constructor: Name + 1 reference point + 3 coordinates defining - the position of this point regarding the reference one
2nd - Constructor: Name + 1 edge + - 1 Parameter defining the position of the point on the given edge.
- -
Dialog Box:
- -- -
- | -- | -- |
- -
- -
- -
- -
Example:
- -- - - -
- -
- - - -
- -
Description: - Creates a line.
- -- -
Result: GEOM_Object - (edge).
- -- -
TUI Command: - geompy.MakeLine(Point1, Point2), - where Point1 and Point2 are points through which - the line passes.
- -- -
Arguments: - Name + 2 vertices.
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- - - -
- -
- - - -
- -
Description: - Creates a circle.
- -- -
Result: GEOM_Object - (edge).
- -- -
TUI Command: - geompy.MakeCircle(Point, Vector, Radius), - where Point defines the center of the circle, Vector gives the circleÂ’s - normal and Radius is the circleÂ’s radius.
- -- -
Arguments: -
- -1st - Constructor: Name + 1 vertex (for the center) + 1 edge (for the direction) - + Radius.
2nd - Constructor: Name + 3 points which will form the circle.
- -
- -
- -
Dialog Box:
- -- -
- | -- |
- -
- -
- -
- -
Example:
- -- - - -
- - - -
- -
Description: - Creates an ellipse.
- -- -
Result: GEOM_Object - (edge).
- -- -
TUI Command: geompy.MakeEllipse(Point, Vector, RadiusMajor, - RadiusMinor), where Point defines the center of the ellipse, Vector - gives the ellipseÂ’s normal, RadiusMajor and RadiusMinor are - correspondingly a major and minor radiuses of the ellipse.
- -- -
Arguments: - Name + 1 vertex (for the center) + 1 edge (for the direction) + 1 X Radius - + 1 Y Radius.
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- - - -
- -
- - - -
- -
Description: - Creates an arc.
- -- -
Result: GEOM_Object - (edge).
- -- -
TUI Command: - geompy.MakeArc(Point1, Point2, Point3), - where Point1 is the starting point of the arc, Point2 is a middle point - of the arc and Point3 is the ending point of the arc.
- -- -
Arguments: - Name + 3 vertices.
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- - - -
- -
- - - -
- -
Description: - Creates a curve in 3D space.
- -- -
Result: - GEOM_Object (edge).
- -- -
TUI Command: -
- -geompy.MakePolyline(ListOfShapes), - where ListOfShape is a list of points through which the curve passes .
geompy.MakeInterpol(ListOfShapes), - where ListOfShape is a list of points through which the curve passes .
geompy.MakeBezier(ListOfShapes), - where 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.
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- -
Polyline - Bezier - B-Spline
- -- -
- -
- - - -
- -
Description: - Creates a vector.
- -- -
Result: GEOM_Object - (edge).
- -- -
TUI Command: - geompy.MakeVector(Point1, Point2), - where Point1 is the first point of the vector and the Point2 is the last - point of the vector.
- -- -
Arguments :
- -1st - Constructor : Name + 2 vertices.
2nd - Constructor : Name + 3 values (Coordinates of the 2nd vertex. The - first vertex is in the origin).
- -
Dialog Box:
- -- -
- -
- -
Example:
- -- - - -
- - - -
- -
Description: - Creates a plane.
- -- -
Result: GEOM_Object - (face).
- -- -
TUI Command: - geompy.MakePlane(Point, Vector, TrimSize), - where Point is a point through which the - plane passes, Vector gives a normal of the plane and TrimSize is a half - size of a side of quadrangle face, representing the plane.
- -- -
Arguments:
- -1st - Constructor : Name + 1 vertex + 1 vector + - 1 value (to define the size of the plane).
2nd - Constructor : Name + 1 vertex + 3 points (for the direction) + 1 value - (to define the size of the plane).
3rd - Constructor : Name + 1 selection + 1 value (to define the size of - the plane).
- -
Dialog Box:
- -- -
- | -- | -- |
- -
- -
- -
- -
Example:
- -- - - -
- -
- - - -
- -
Description: - Sets the working plane (and the camera position).
- -- -
Arguments: -
- -Name + 1 selection (face - or planar face),
Name + 2 - vectors,
Name + XYZ coordinate - system
- -
- -
Dialog Box:
- -- -
- | -- | -- |
- -
- -
- -
- -
- - - -
- -
Description: - The user - may manually enter values of X, Y, and Z coordinates of origin in the - corresponding fields of the dialog box, or select a point in the object - browser or 3D viewer, in this case coordinates of origin are automatically - filled in with the coordinates of the selected point.
- -The user then specifies components of X and - Y axes direction.
- -Preview of the new LCS (small trihedron located - and oriented according to parameters of LCS) is displayed in the 3D viewer - and updated as soon as the user modifies some parameter.
- -Then the user presses «OK» or «Apply» button - to create an LCS at the location with the specified coordinates. The new - object is shown in the Object Browser and in 3D viewer.
- -- -
- -
TUI command: - geompy.MakeMarker(OX, OY, OZ, XDX, XDY, - XDZ, YDX, YDY, YDZ), where OX, OY, OZ are coordinates of the origin - of LCS, XDX, XDY, XDZ is a vector of OX direction - of the LCS and YDX, YDY, YDZ is a a vector of OY direction of the LCS.
- -- -
- -
Arguments: -
- -1st - Constructor : Name + Coordinates of origin, X axis direction, Y axis - direction
2nd - Constructor : Name + reference object.
3rd - Constructor : Name + 1 point of origin + X axis direction, Y axis - direction.
- -
.
- -- -
Dialog Box:
- -- -
- | -- | -- |
- -
Example:
- -- - - - - - diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_buildgui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_buildgui_functions.htm deleted file mode 100755 index 42c0ee8ea..000000000 --- a/doc/salome/gui/GEOM/files/salome2_sp3_buildgui_functions.htm +++ /dev/null @@ -1,458 +0,0 @@ - - - - - -
In GEOM you can create basic and advanced geometrical objects - (2D & 3D elements) using the following building functions:
- -- - - -
- -
- -
- -
To use Explode:
- -- -
In the main menu select New - Entity > Explode.
- -- - - -
- -
Description: - Returns a list of subshapes (vertices, edges, wires etc.) of the given - shape.
- -- -
Result : - List of GEOM_Objects.
- -- -
TUI Command: -
- -geompy.SubShape(Shape, - ListOfID), where Shape is a shape whose subshape(s) is (are) retrieved, - ListOfID is a list of requested sub shapes IDs. To get a subshape ID use - method GetSubShapeID().
geompy.SubShapeAll(Shape, - TypeOfShape), where Shape is a shape to be exploded on sub shapes - of type TypeOfShape.
- -
Arguments: - 1 SHAPE + 1 type of SubShape.
- -- -
Dialog Box:
- -- - - -
- -
- -
To use building functions:
- -- -
In the main menu select - New Entity > Build - submenu.
- -- - - -
- -
Description: - Creates an edge.
- -- -
Result: 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.
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- - - -
- - - -
- -
Description: - Creates a wire.
- -- -
Result: GEOM_Object - (WIRE).
- -- -
TUI Command : - geompy.MakeWire(ListOfShape), - where ListOfShape is a list of edges and/or wires from which the wire - to be constructed.
- -- -
Arguments: - Name + List of connected wires or edges..
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- - - -
- - - -
- -
Description: - Creates a face.
- -- -
Result: GEOM_Object - (FACE).
- -- -
TUI Command: - geompy.MakeFace(Wire, WantPlanarFace), - where Wire is a wire and if boolean parameter WantPlanarFace is planar - then only a planar face or no face is constructed.
- -- -
Arguments: - Name + 1 wire.
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- - - -
- - - -
- -
Description: - Creates a shell.
- -- -
Result: GEOM_Object - (SHELL).
- -- -
TUI Command: - geompy.MakeShell(ListOfShape), - where ListOfShape is a list of faces and (or) shells from which the shell - is constructed.
- -- -
Arguments: - Name + List of faces having connected edges.
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- - - -
- - - -
- -
Description: - Creates a solid - closed geometrical 3D element.
- -- -
Result: GEOM_Object - (SOLID).
- -- -
TUI Command: - geompy.MakeSolid(ListOfShape), - where ListOfShape is a list of shells from which the solid is constructed.
- -- -
Arguments: - Name + A closed shell or a list of shells.
- -- -
Dialog Box:
- -- - - -
- -
- - - -
- -
Description: - Creates a compound.
- -- -
Result: GEOM_Object - (COMPOUND).
- -- -
TUI Command: - geompy.MakeCompound(ListOfShape), - where ListOfShape is a list of shapes from which the compound is constructed.
- -- -
Arguments: - Name + List of shapes.
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- - - -
- -
- -
- - - - diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions.htm deleted file mode 100755 index ff0ba882b..000000000 --- a/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions.htm +++ /dev/null @@ -1,225 +0,0 @@ - - - - - -
Visualization is available in both viewers, OCC and VTK - . These viewers work independently, i.e. visibility of objects and their - graphic attributes may differ in OCC and VTK viewer. It - is reasonable to use the OCC viewer for GEOM module.
- -- -
Displaying\hiding - different geometrical objects in the viewer is possible using the following - operations:
- -- -
- -
To display\hide one or several objects in the viewer:
- -- -
In the main menu select View - or right-click on the necessary object in the Object Browser and - from the associated pop-up menu choose the required operation.
- -- -
- - - -
- -
Description: - Displays all geometrical objects which have been created or imported in - the current study.
- -- -
TUI - Command: sg.DisplayAll()
- -- -
- - - -
- -
Description: - Erases all shapes displayed in the viewer.
- -- -
TUI - Command: sg.EraseAll()
- -- -
- - - -
- -
Description: - Displays an object in 3D viewer.
- -- -
TUI - Command:
- -- -
- - - -
- -
Description: - Displays only the selected geometrical element.
- -- -
TUI - Command: sg.DisplayOnly(ID)
- -- -
- - - -
- -
Description - : Erases only the selected shape.
- -- -
TUI - Command : sg.EraseOnly(ID)
- -- -
- - - - diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif b/doc/salome/gui/GEOM/files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif deleted file mode 100755 index 4890bda6c1cb65cd1262ceba43e392b484df9506..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 987 zcmZ?wbh9u|6k!ly_|5
Generation operations in GEOM are used to create advanced - geometrical objects (3D elements). They are:
- -- -
- -
To use generation operations:
- -- -
In the main menu select New - Entity > Generation.
- -- -
Description: - Creates an extruded shape.
- -- -
Result: GEOM_Object - (edge, face, solid or compsolid).
- -- -
TUI Command : - geompy.MakePrism(baseShape, Vector, - Height), where baseShape is a basis of the prism, Vector is a normal - of the prism and Height is a height of the prism.
- -- -
Arguments: - Name + 1 shape (vertex, edge, wire, face or shell) serving as base object - + 1 vector (for direction) + 1 value (dimension).
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- -
- -
- - - -
- -
Description: - Creates an extruded shape by revolution.
- -- -
Result: GEOM_Object - (edge, face, solid or compsolid).
- -- -
TUI Command: - geompy.MakeRevolution(Shape, Axis, - Angle), where Shape is a shape to rotate, Axis is the axis of the - revolution and Angle is an angle by which Shape has to be rotated around - Axis.
- -- -
Arguments: - Name + 1 shape (vertex, edge, wire, face or shell) serving as base object - + 1 vector (for direction) + 1 value (angle).
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- -
- -
- - - -
- -
Description: - Creates a curving face using several curves.
- -- -
Result: GEOM_Object - (face).
- -- -
TUI Command: - geompy.MakeFilling(Shape, MinDegree, - MaxDegree, Tol2D, Tol3D, NbIter), where Shape is a shape to fill, - MinDegree and MaxDegree are correspondingly maximal and minimal degree, - Tol2D is a tolerance for 2D and Tol3D is a tolerance for 3D, NbIter is - a number of iterations.
- -- -
Arguments: - Name + 1 List of edges + 5 Parameters (Min. degree, Max. degree, Number - of iterations, 2D tolerance, 3D tolerance).
- -- -
Dialog Box:
- -- - - -
- -
- -
Example:
- -- -
- -
- - - -
- -
Description: - Creates an extruded shape.
- -- -
Result: GEOM_Object - (edge, face, solid or compsolid).
- -- -
TUI Command: - geompy.MakePipe(baseShape, pathShape), - where baseShape is a shape to be extruded, pathShape is a path along which - baseShape is extruded.
- -- -
Arguments: - Name + 1 shape (vertex, edge, wire, face or shell) serving as base object - + 1 shape (edge, face or shell) for definition of the path.
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- -
- -
- - - - diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm index 566fc05e7..75fb010d5 100755 --- a/doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm +++ b/doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm @@ -17,8 +17,8 @@ if (navigator.appName !="Netscape") p.whs1 { font-size:12pt; } img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; } p.whs3 { margin-left:40px; } -img_whs4 { border:none; width:557px; height:274px; float:none; border-style:none; } -img_whs5 { border:none; width:529px; height:272px; float:none; border-style:none; } +img_whs4 { border:none; border-style:none; width:425px; height:269px; float:none; } +img_whs5 { border:none; border-style:none; width:436px; height:269px; float:none; } --> - - - - - - - - - -
In GEOM you can perform - basic operations with geometrical objects aimed at creation of more complex - shapes. These operations are:
- -- -
Blocks
- -
To perform basic operations on geometrical objects:
- -- -
In the main menu select Operations.
- -- -
- - - -
- -
Description: - Builds a shape by intersection.
- -- -
Result: GEOM_Object.
- -- -
TUI Command: - geompy.MakePartition(ListOfShapes, - ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs, - ListOfMaterials), where ListOfShapes is a list of shapes to be - intersected, ListOfTools is a list of shapes to intersect the shapes from - ListOfShapes, ListOfKeepInside is a list of shapes outside which the results - will be deleted, ListOfRemoveInside is a list of shapes inside which the - results will be deleted, Limit is a type of the result shapes, if RemoveWebs - is True the Glue 3D algorithm will be performed on the results, ListOfMaterials - is a list of materials indices for each shape, it makes sense only if - RemoveWebs is True.
- -- -
Arguments: - Up to 4 shapes + reconstruction limit.
- -1st - Constructor: Name + 2 shapes (first shape will be intersected by the - second shape) + reconstruction limit.
2nd - Constructor: Name + 1 shape which will be intersected + 1 cutting - face.
- -
- -
Dialog Box:
- -- -
- -
- - - -
- -
Example:
- -- -
- -
- - - -
- -
Description: - Creates a plane corresponding to the modeled water-line of the object - plunged into the water (in Z direction).
- -- -
Result: 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.
- -- -
GUI Arguments: - Name + 1 shape + - 3 values (Weight, Water Density & Meshing Deflection).
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- -
- -
- -
- - - -
- -
Description: - Make fillets of the edges of a shape.
- -- -
Result: GEOM_Object.
- -- -
TUI Command: - geompy.MakeFillet(Shape, Radius, - ShapeType, ListOfShapeID), where Shape is a shape to create a fillet - on, Radius is a radius of the fillet, ShapeType is a type of shapes to - be processed, ListOfShapeID is a list of subshapeÂ’s Ids to be processed.
- -- -
Arguments:
- -1st - Constructor: Name + 1 shape + 1 value (fillet radius).
2nd - Constructor: Name + 1 shape + 1 Selection of edges + 1 value (Fillet - radius).
3rd - Constructor: Name + 1 shape + 1 Selection of faces + 1 value (Fillet - radius).
- -
Dialog Box:
- -- -
- -
- -
Example:
- -- -
- -
- -
- - - -
- -
Description: - Makes chamfer of the edges of a Shape.
- -- -
Result: GEOM_Object.
- -- -
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.
geompy.MakeChamferFace(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.
- -
Arguments:
- -- -
1st - Constructor : Name + 1 SHAPE + 1 value (Chamfer dimension).
2nd - Constructor : Name + 1 SHAPE + 2 faces + 2 values (Chamfer dimensions).
3rd - Constructor : Name + 1 SHAPE + 1 Selection of faces + 2 values (Chamfer - dimensions).
- -
Dialog Box:
- -- -
- -
- -
Example:
- -- -
- -
- -
- -
- -
- -
- - - -
- -
Description: - Makes several translations of a block (solid) in one - or two directions depending on - the arguments specified by the user.
- -- -
Result: GEOM_Object.
- -- -
TUI Command: -
- -geompy. - MakeMultiTransformation1D(Block, DirFaceID1, DirFaceID2, NbTimes), - where Block is a block to be transformed, DirFaceID1 is an ID of the face - which defines the first direction of transformation, DirFaceID2 is an - ID of the face which defines the second direction of transformation, NbTimes - is a numeber of transformations.
geompy. - MakeMultiTransformation2D(Block, DirFaceID1U, DirFaceID2U, NbTimesU, DirFaceID1V, - DirFaceID2V, NbTimesV), where Block is a block to be transformed, - DirFaceID1U and DirFace1V are IDÂ’s of the faces, which define directions - of the first transformation, DirFaceID1V and DirFaceID2V are IDÂ’s of the - faces which define directions of the second transformation, NbTimesU and - NbTimesV are numbers of transformations.
- -
Arguments:
- -- -
1D - transformation: Name + 1 hexahedral - solid + 1 or 2 faces + 1 integer (number of blocks)
2D - transformation: Name + 1 hexahedral - solid +
2 - faces and 1 integer, or
3 or 4 faces and 2 integers
- -
Dialog Box:
- -- | -- |
- -
Example:
- -- -
- -
- -
- - - -
- -
Description: - Returns blocks of the given compound. The user may define the type blocks - to be extracted by setting the minimum and maximum number of faces in - the target block. By checking the corresponding box the user may also - interactively choose the blocks from a compound .
- -- -
Result: GEOM_Object.
- -- -
TUI Command: - geompy.MakeBlockExplode(Compound, - MinNbFaces, MaxNbFaces), where Compound is a compound to be exploded - into the blocks, MinNbFaces, MaxNbFaces are correspondingly the minimal - and the - maximal number of faces of the resulting blocks.
- -- -
Arguments: 1 compound + 1 integer (min. and max. number - of faces in the block to be extracted).
- -- -
- -
Dialog Box:
- -- - - -
- -
Example:
- -- - - -
- -
- -
- - - -
- -
Description: - Breaks a multitude of edges of a shape into groups (builds all possible - propagation groups).
- -- -
Result: List - of GEOM_Objects. Each Geom Object will contain a group of edges.
- -- -
TUI Command: - geompy.Propagate(Shape), - where Shape is a shape to build propagation groups on.
- -- -
Arguments: 1 Shape.
- -- -
- -
Dialog Box:
- -- - - -
- -
Example:
- -- -
- - - -