From: smh To use these options: In the main menu select Blocks
+ submenu. Building of blocks
+
+
+
+
+
+
diff --git a/doc/salome/gui/GEOM/files/introduction_to_geom.htm b/doc/salome/gui/GEOM/files/introduction_to_geom.htm index 1b5797f4b..3f411c631 100755 --- a/doc/salome/gui/GEOM/files/introduction_to_geom.htm +++ b/doc/salome/gui/GEOM/files/introduction_to_geom.htm @@ -94,7 +94,7 @@ addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); if (window.setRelStartPage) { - setRelStartPage("../geom.html"); + setRelStartPage("../geom_help.html"); autoSync(0); sendSyncInfo(); diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions.htm index bc3fb8856..fcc095a1f 100755 --- a/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions.htm +++ b/doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions.htm @@ -29,8 +29,8 @@ - - + + @@ -78,14 +78,29 @@ p.whs18 {font-size: 12pt; margin-left: 40px; font-weight: bold;} img_whs19 {border-style: none; border: none; width: 150px; height: 154px;} img_whs20 {border-style: none; border: none; width: 200px; height: 202px;} img_whs21 {border-style: none; border: none; width: 150px; height: 123px;} -img_whs22 {border-style: none; border: none; width: 200px; height: 175px;} -img_whs23 {border-style: none; border: none; width: 150px; height: 128px;} -img_whs24 {border-style: none; border: none; width: 200px; height: 192px;} -p.whs25 {font-size: 12pt; font-weight: bold; color: #000000;} -img_whs26 {border-style: none; border: none; width: 150px; height: 131px;} -img_whs27 {border-style: none; border: none; width: 200px; height: 148px;} -p.whs28 {font-size: 12pt; margin-left: 0px;} -p.whs29 {font-size: 12pt; font-weight: bold; margin-left: 40px;} +p.whs22 {font-size: 14pt;} +img_whs23 {border-style: none; border: none; width: 20px; height: 20px;} +img_whs24 {border-style: none; border: none; width: 200px; height: 194px;} +p.whs25 {font-size: 12pt; font-weight: bold;} +p.whs26 {font-size: 12pt; font-weight: bold; font-style: italic; x-text-underline: off; /*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ } +img_whs27 {border-style: none; border: none; width: 200px; height: 181px; float: none;} +img_whs28 {border-style: none; border: none; width: 175px; height: 181px;} +img_whs29 {border-style: none; border: none; width: 203px; height: 181px;} +img_whs30 {border-style: none; border: none; width: 200px; height: 175px;} +img_whs31 {border-style: none; border: none; width: 150px; height: 128px;} +img_whs32 {border-style: none; border: none; width: 200px; height: 192px;} +p.whs33 {font-size: 12pt; font-weight: bold; color: #000000;} +img_whs34 {border-style: none; border: none; width: 150px; height: 131px;} +p.whs35 {margin-left: 40px; font-size: 12pt;} +img_whs36 {border-style: none; border: none; width: 200px; height: 162px;} +p.whs37 {font-size: 12pt; margin-left: 40px; font-weight: bold; text-indent: -40px;} +img_whs38 {border-style: none; border: none; width: 16px; height: 16px;} +p.whs39 {margin-left: 40px; font-weight: bold; text-indent: -40px; font-size: 14pt;} +p.whs40 {font-weight: bold; text-indent: -40px; font-size: 14pt; margin-left: 80px;} +img_whs41 {border-style: none; border: none; width: 200px; height: 185px;} +p.whs42 {font-weight: bold; margin-left: 80px; text-indent: -80px; font-size: 12pt;} +p.whs43 {font-weight: bold; text-indent: -80px; font-size: 12pt; margin-left: 120px;} +img_whs44 {border-style: none; border: none; width: 200px; height: 219px;} -->
Displaying\hiding different geometrical objects in the viewer - is possible using the following operations:
+Visualization is available in both, OCC and VTK viewers. + 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:
@@ -125,13 +133,16 @@ else href="#DisplayAll">DisplayAll
@@ -141,9 +152,8 @@ else
In the main menu select View - > Display mode or right-click on the necessary object in the - Object Browser and from the associated pop-up menu choose the required - operation.
+ or right-click on the necessary object in the Object Browser and + from the associated pop-up menu choose the required operation.@@ -169,39 +179,56 @@ else
+ + +
+ +
Description: + Erases all shapes displayed in the viewer.
+- + +
+ +
+ + + size=4> Display
-
Description: - Displays only the selected geometrical element.
+Description: + Displays an object in 3D viewer.
TUI - Command: sg.DisplayOnly(ID)
+ Command:
- +
Description: - Erases all shapes displayed in the viewer.
+ Displays only the selected geometrical element.
TUI - Command: sg.EraseAll()
+ Command: sg.DisplayOnly(ID)@@ -209,7 +236,7 @@ else + size=4> Erase
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions.htm index 370347a64..22b819a8f 100755 --- a/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions.htm +++ b/doc/salome/gui/GEOM/files/salome2_sp3_generationgui_functions.htm @@ -29,8 +29,8 @@ - - + + @@ -123,7 +123,7 @@ addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); if (window.setRelStartPage) { - setRelStartPage("../geom.html"); + setRelStartPage("../geom_help.html"); autoSync(0); sendSyncInfo(); @@ -143,13 +143,14 @@ else
@@ -163,20 +164,22 @@ else
-
Description: Creates an extruded shape.
-
Result: GEOM_Shape +
Result: GEOM_Object (edge, face, solid or compsolid).
TUI Command : - geompy.MakePrism(GEOM_Shape, PointStruct, PointStruct)
+ 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.@@ -213,13 +216,16 @@ else
-
Result: GEOM_Shape +
Result: GEOM_Object (edge, face, solid or compsolid).
TUI Command: - geompy.MakeRevolution(GEOM_Shape, AxisStruct, Double)
+ 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.@@ -254,13 +260,17 @@ else
-
Result: GEOM_Shape +
Result: GEOM_Object (face).
TUI Command: - geompy.MakeFilling(GEOM_Shape, Short, Short, Double, Double, Short)
+ 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.@@ -300,13 +310,15 @@ else
-
Result: GEOM_Shape +
Result: GEOM_Object (edge, face, solid or compsolid).
TUI Command: - geompy.MakePipe(GEOM_Shape, GEOM_Shape)
+ geompy.MakePipe(baseShape, pathShape), + where baseShape is a shape to be extruded, pathShape is a path along which + baseShape is extruded.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 8c2a80c2f..8526e53fe 100755 --- a/doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm +++ b/doc/salome/gui/GEOM/files/salome2_sp3_geomtoolsgui_functions.htm @@ -30,8 +30,8 @@ - - + + @@ -101,7 +101,7 @@ addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); if (window.setRelStartPage) { - setRelStartPage("../geom.html"); + setRelStartPage("../geom_help.html"); autoSync(0); sendSyncInfo(); @@ -137,10 +137,16 @@ else
Select the required file and click OK. You file will be imported - into GEOM and its contents (geometrical objects) will be displayed in - the Object Browser. -
+ style="font-weight: bold;">OK. You file will be imported into GEOM + and its contents (geometrical objects) will be displayed in the Object Browser. + ++ +
TUI command: + geompy.Import(FileName, FormatName), + where FileName is a name of file which contains a shape, FormatName is + a string which describes a format of the file.
@@ -160,8 +166,16 @@ else
-
Click OK - to confirm your exportation.
+Click OK + to confirm your exportation.
+ ++ +
TUI command: + geompy.Export(Shape, FileName, FormatName), + where Shape is a shape to be exported, FileName is a name of a file to + which the shape is exported, FormatName is a string which describes the + file format.
diff --git a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions.htm b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions.htm index 58e90c34a..214832d3b 100755 --- a/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions.htm +++ b/doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions.htm @@ -29,8 +29,8 @@ - - + + @@ -64,17 +64,22 @@ A:link { p.whs1 {font-size: 12pt;} img_whs2 {border-style: none; border: none; float: none; width: 30px; height: 30px;} p.whs3 {margin-left: 40px;} -p.whs4 {font-family: 'Times New Roman', serif; font-size: 14pt;} -img_whs5 {border-style: none; width: 20px; height: 20px;} -p.whs6 {font-family: 'Times New Roman', serif; font-size: 12pt;} -img_whs7 {border-style: none; border: none; width: 200px; height: 161px;} -p.whs8 {font-size: 12pt; margin-left: 40px;} -img_whs9 {border-style: none; border: none; width: 200px; height: 190px;} -img_whs10 {border-style: none; border: none; width: 200px; height: 175px;} -img_whs11 {border-style: none; border: none; width: 200px; height: 171px;} -img_whs12 {border-style: none; border: none; width: 200px; height: 151px;} -img_whs13 {border-style: none; border: none; width: 200px; height: 193px;} -img_whs14 {border-style: none; border: none; width: 200px; height: 219px;} +img_whs4 {border-style: none; border: none; width: 21px; height: 19px;} +p.whs5 {font-size: 12pt; margin-left: 40px;} +img_whs6 {border-style: none; border: none; width: 200px; height: 221px;} +p.whs7 {font-family: 'Times New Roman', serif; font-size: 14pt;} +img_whs8 {border-style: none; width: 20px; height: 20px;} +p.whs9 {font-family: 'Times New Roman', serif; font-size: 12pt;} +img_whs10 {border-style: none; border: none; width: 200px; height: 161px;} +img_whs11 {border-style: none; border: none; width: 200px; height: 190px;} +p.whs12 {font-size: 12pt; margin-left: 400px;} +img_whs13 {border-style: none; border: none; width: 200px; height: 175px;} +p.whs14 {font-size: 12pt; font-weight: bold;} +img_whs15 {border-style: none; border: none; width: 200px; height: 171px;} +p.whs16 {font-size: 12pt; font-weight: normal;} +img_whs17 {border-style: none; border: none; width: 200px; height: 151px;} +img_whs18 {border-style: none; border: none; width: 200px; height: 193px;} +img_whs19 {border-style: none; border: none; width: 200px; height: 219px;} --> +
1
SplitAngle + this operator is intended for splitting faces based on conical surfaces, + surfaces of revolution and cylindrical surfaces by angle
+SplitAngle.Angle angle (in radians) defining + size of result segments.
+SplitAngle.MaxTolerance maximal possible + tolerance on result shape
2
SplitClosedFaces + this operator is intended for dividing all closed faces in the shape + according to the number of points.
+SplitClosedFaces.NbSplitPoints number of + points for cutting each closed faces.
3
FixFaceSize + this operator is intended for removing small faces (case of the spot + face and strip face)
+FixFaceSize.Tolerance work tolerance defining + which faces will be removed.
4
DropSmallEdges + this operator is intended for removing small edges or merging with neigbour. +
+DropSmallEdges.Tolerance3d work tolerance + for detection and removing small edges.
5
BsplineRestriction + this operator is intended for re-approximation BSplines curves and surfaces + or conversion of the curves and surfaces to BSplines with specified parameters. +
+BSplineRestriction.SurfaceMode - mode of approximation + of surfaces if restriction is necessary
+BSplineRestriction.Curve3dMode -mode of conversion + of any 3D curve to BSpline and approximation.
+BSplineRestriction.Curve2dMode - mode of conversion + of any 2D curve to BSpline and approximation
+BSplineRestriction.Tolerance3d work tolerance + for definition of the possibility of the approximation of the surfaces + and 3D curves with specified parameters.
+BSplineRestriction.Tolerance2d - work tolerance + for definition of the possibility of the approximation of the 2D curves + with specified parameters.
+BSplineRestriction.Continuity3d desired continuity + of the resultant surfaces and 3D curves.
+BSplineRestriction.Continuity2d desired continuity + of the resultant 2D curves.
+BSplineRestriction.RequiredDegree - required + degree of the resultant BSplines
+BSplineRestriction.RequiredNbSegments - required + maximum number of segments of resultant BSplines.
6
SplitContinuity + this operator is intended for splitting shapes to achieve continuities + of curves and surfaces less than specified ones.
+SplitContinuity.Tolerance3d - 3D tolerance + for correction of geometry.
+SplitContinuity.SurfaceContinuity - required + continuity for surfaces.
+SplitContinuity.CurveContinuity - required + continuity for curves.
7
ToBezier - this + operator is intended for conversion of the curves and surfaces of the + all types into Bezier curves and surfaces.
+ToBezier.SurfaceMode - mode of conversion of + the surfaces.
+ToBezier.Curve3dMode mode for conversion + of the 3D curves.
+ToBezier.Curve2dMode mode for conversion + of the 2D curves.
+ToBezier.MaxTolerance max possible tolerance + on the resultant shape.
8
FixShape this + operator is intended for correction of the invalid shapes
+FixShape.Tolerance3d work tolerance for detection + of the problems and correction of them.
+FixShape.MaxTolerance3d - maximal possible + tolerance of the shape after correction.
9
SameParameter + this operator is intended for fixing edges having not same parameter + 2D and 3D curves.
+SameParameter.Tolerance3d tolerance for detection + and fix problems.
@@ -201,43 +408,57 @@ else
- +
Example:
-+
-
+
Shape before applying Shape Processing (FixShape + operator).
-
+
- +
+ +
The + same shape after applying Shape Processing.
+ +-
+ + +
+ +
+ + + +
Description: - Changes the orientation of the faces of a shape.
+ Suppresses a face of a shape.-
Result: GEOM_Shape.
+Result: GEOM_Object + (ListOfGeomShapes).
TUI Command: - geompy.OrientationChange(GEOM_Shape)
+ geompy.SuppressFaces(Shape, ListOfID), + where Shape is a shape to be processed, ListOfID is a list of faces ID's + to be removed.
Arguments: - 1 shape (face, shell, solid or compsolid) + 1 value (vector length).
+ 1 shape + 1 selection of a face (Local Context).@@ -245,35 +466,56 @@ else
- + + +
+ +
Example:
+
+
- + -
+
-
Description: - Suppresses a face of a shape.
+Description : + 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.
-
Result: GEOM_Shape - (ListOfGeomShapes).
+Result: GEOM_Object.
TUI Command: - geompy.SuppressFaces(GEOM_Shape, ListOfID)
+ geompy.CloseContour(Shape, Wires, + IsCommonVertex), where Shape is a shape to be processed, Wires + is a list of edges or wires IDs 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: - 1 shape + 1 selection of a face (Local Context).
+Arguments: Contour (Wire, + or a set of Edges) + mode of closure (by vertex or by edge)
@@ -281,21 +523,75 @@ else
- +
-
+
-
Example:
+Example:
+ ++ + + +
+ +
Description : + Removes all internal wires or specified internal wires from user specified + faces.
+ ++ +
Result: GEOM_Object.
+ ++ +
TUI Command: + geompy.SuppressInternalWires(Shape, + Wires), where Shape is a shape where wires are to be removed, Wires + is a list of wires IDs to be removed; if the list is empty then all internal + wires are removed.
+ +
-
+
Arguments:
+ +User specified face
User specified internal + wires (lying on this face except for its boundary), or, in case the "Remove + all internal wires" box is checked, all internal wires
+ +
Dialog Box:
+ ++ + + +
+ +
Example:
+ ++ +
+ +
- +
@@ -313,18 +609,15 @@ else
-
Result: GEOM_Shape.
+Result: GEOM_Object.
TUI Command: -
- -geompy.SuppressHole(GEOM_Shape, - ListOfSubShapeID, ListOfSubShapeID, ListOfSubShapeID)
- -geompy.SuppressHolesInFaceOrShell(GEOM_Shape, - ListOfSubShapeID)
+ geompy.SuppressHoles(Shape, + ListOfWireID), where Shape is a + shape where holes must be removed, ListOfWireID is a list of wire sub + shapes IDs. If it is empty, then all holes are removed.@@ -348,17 +641,165 @@ else
-
+
-
+
Example:
-+
+ +
+ +
+ +
+ +
+ + + +
+ +
Description: + Sew several shapes.
+ ++ +
Result: GEOM_Object.
+ ++ +
TUI Command : + geompy.MakeSewing(ListOfShape, Precision), + where ListOfShape is list of shapes to be sewed, Precision is a precision + for sewing.
+ ++ +
Arguments: + 1 or more shapes + 1 value (sew precision).
+ ++ +
Dialog Box:
+ ++ + + +
+ +
Example:
+ ++ +
+ +
+ +
+ +
+ + + +
+ +
Description: + 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).
+ ++ +
Result: 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: + Edge, user-defined point
+ ++ +
Dialog + Box:
+ ++ +
+ +
+ +
Example:
+ ++ +
+ +
+ +
+ + + +
+ +
Description: + Detects wires and edges that correspond to the shape's boundary, and highlights + it
+ ++ +
Result: 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.
+ ++ +
Arguments: + Shape
+ ++ +
Dialog + Box:
+ ++ +
+ +
+ +
Example:
+ ++ +
-
+
-
+
+