From: maintenance team Date: Fri, 26 Oct 2007 13:23:38 +0000 (+0000) Subject: Update for bugs 16549,13902,16572,16559 and updates for current status of Salome 3X X-Git-Tag: V3_2_9rc1~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1e0356e25230658e783dabed8c3d96f221deb1bd;p=modules%2Fgeom.git Update for bugs 16549,13902,16572,16559 and updates for current status of Salome 3X --- diff --git a/doc/salome/gui/GEOM/arc.htm b/doc/salome/gui/GEOM/arc.htm index 50b685ae8..f48d4b86e 100755 --- a/doc/salome/gui/GEOM/arc.htm +++ b/doc/salome/gui/GEOM/arc.htm @@ -253,8 +253,8 @@ if (window.writeIntopicBar)

 

Our TUI Scripts provide you with useful examples - of creation of Basic Geometric - Objects.

+ of creation of Basic + Geometric Objects.

 

diff --git a/doc/salome/gui/GEOM/archimede.htm b/doc/salome/gui/GEOM/archimede.htm index ac3616f4d..351d6f654 100755 --- a/doc/salome/gui/GEOM/archimede.htm +++ b/doc/salome/gui/GEOM/archimede.htm @@ -88,8 +88,6 @@ if (window.writeIntopicBar) 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).

@@ -97,7 +95,8 @@ if (window.writeIntopicBar)

 

The - Result will be any GEOM_Object.

+ Result will be a GEOM_Object + (Face).

TUI Command: geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection), diff --git a/doc/salome/gui/GEOM/basic_geometrical_objects.htm b/doc/salome/gui/GEOM/basic_geometrical_objects.htm index b25b5cb41..f12e9082f 100755 --- a/doc/salome/gui/GEOM/basic_geometrical_objects.htm +++ b/doc/salome/gui/GEOM/basic_geometrical_objects.htm @@ -87,75 +87,25 @@ if (window.writeIntopicBar)

 

-

# create vertices

+

# create vertex

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

+

# add object 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

+

# display vertex

gg.createAndDisplayGO(id_p0)

-

gg.createAndDisplayGO(id_p100)

- -

gg.createAndDisplayGO(id_Arc)

- -

gg.createAndDisplayGO(id_p_on_arc) -

-

 

Creation of a Line

@@ -362,6 +312,87 @@ if (window.writeIntopicBar)

 

+

Creation of an 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 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) +

+ +

 

+

Creation of a Curve

import geompy

diff --git a/doc/salome/gui/GEOM/circle.htm b/doc/salome/gui/GEOM/circle.htm index 41bc118a8..5fb5c5848 100755 --- a/doc/salome/gui/GEOM/circle.htm +++ b/doc/salome/gui/GEOM/circle.htm @@ -20,7 +20,9 @@ p.whs3 { font-size:12pt; font-weight:bold; } p.whs4 { font-size:12pt; margin-left:40px; } img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; } img_whs6 { border:none; width:312px; height:359px; float:none; border-style:none; } -img_whs7 { border:none; width:348px; height:321px; float:none; border-style:none; } +p.whs7 { font-size:12pt; font-weight:normal; } +img_whs8 { border:none; width:400px; height:359px; float:none; } +img_whs9 { border:none; width:348px; height:321px; float:none; border-style:none; } --> -

Multi Translation

+

  Multi Translation

To produce a Multi Translation in the Main @@ -115,8 +115,8 @@ if (window.writeIntopicBar)

 

To produce a Simple - Multi Translation (in one direction) you need to indicate a Shape to be translated, a Vector + Multi Translation (in one direction) you need to indicate an Object to be translated, a Vector of translation, a Step of translation and a Number of Times the shape must be moved.

@@ -125,10 +125,12 @@ if (window.writeIntopicBar) geompy.MakeMultiTranslation1D(Shape, Dir, Step, NbTimes)

-

Arguments: +

Arguments: Name + 1 shape + 1 vector (for direction) + 1 step value + 1 value (repetition).

+

 

+

 

@@ -141,11 +143,11 @@ if (window.writeIntopicBar) Double Multi Translation (in two directions) you need to indicate a Shape to be translated and a Vector of translation, a Step to be translated, and, for both axes, a Vector + of translation, a Step of translation and a Number - of Times the shape must be moved - along each axis.

+ of Times
the shape must be moved.

 

diff --git a/doc/salome/gui/GEOM/newentity_blocks.htm b/doc/salome/gui/GEOM/newentity_blocks.htm index bd0b02887..d63a6d6a5 100755 --- a/doc/salome/gui/GEOM/newentity_blocks.htm +++ b/doc/salome/gui/GEOM/newentity_blocks.htm @@ -43,17 +43,26 @@ img_whs26 { border:none; width:312px; height:464px; float:none; border-style:non td.whs27 { width:49.761%; padding-right:10px; padding-left:10px; border-left-style:none; border-right-style:none; border-bottom-style:none; } td.whs28 { width:50.239%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; } p.whs29 { font-size:12pt; font-weight:bold; } -p.whs30 { font-size:12pt; font-weight:bold; margin-left:0px; } -img_whs31 { border:none; width:300px; height:234px; float:none; border-style:none; } -img_whs32 { border:none; width:251px; height:234px; border-style:none; } -p.whs33 { font-size:12pt; margin-left:40px; } +table.whs30 { x-cell-content-align:top; border-spacing:0px; width:63.614%; } +col.whs31 { width:48.756%; } +col.whs32 { width:51.244%; } +td.whs33 { width:48.756%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; border-top-style:none; } +img_whs34 { border:none; width:300px; height:234px; float:none; border-style:none; } +td.whs35 { width:51.244%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-top-style:none; border-right-style:none; } +p.whs36 { margin-left:0px; font-size:12pt; font-weight:bold; } +img_whs37 { border:none; width:251px; height:234px; border-style:none; } +td.whs38 { width:48.756%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-bottom-style:none; } +p.whs39 { font-style:italic; } +td.whs40 { width:51.244%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; } +p.whs41 { font-size:12pt; font-weight:bold; margin-left:0px; } --> + + + + + + + + + + +

CC 3D Viewer

+ +

OCC (Open CasCade) 3D viewer + has been developed on the basis of Open CASCADE Technology. This is the + default viewer for Geometry Module, providing good representation of construction + and transformation of geometrical objects. Only this viewer allows to + work with groups and sub-shapes. This viewer can also work in Mesh module, + however, it doesn't allow to visualize meshes.

+ +

 

+ +

The functions of OCC viewer are available via its Viewer Toolbar. Buttons + marked with small downward triangles have extended functionality which + can be accessed by locking on them with left mouse button.  

+ +

 

+ +

+ +

 

+ + + + + +

+ +

 

+ +

By default the rotation point is located + in the Center of the bounding box of an object.

+ +

 

+ +

+ +

 

+ +

Unchecking Use + Bounding Box Center box allows you to define the coordinates of + the rotation point manually.

+ +

 

+ +

Set to Origin + button restores the default rotation point coordinates.

+ +

Select Point + from View button allows to select the rotation point in the 3D + Viewer

+ +

 

+ + + +

 

+ +

+ +

 

+ + + +

 

+ + + + diff --git a/doc/salome/gui/GEOM/offset_surface.htm b/doc/salome/gui/GEOM/offset_surface.htm index a051068ff..deef03245 100755 --- a/doc/salome/gui/GEOM/offset_surface.htm +++ b/doc/salome/gui/GEOM/offset_surface.htm @@ -114,11 +114,11 @@ if (window.writeIntopicBar)

TUI Command: geompy.MakeOffset(Shape, - Offset), where Shape is a shape which has to be an offset, Offset + Offset), where Shape is a shape(s) which has to be an offset, Offset is a value of the offset.

Arguments: Name + Object (face, shell, solid, compound) + style="font-size: 12pt;">Name + Object (face(s), shell(s) or solid(s)) + Offset value

 

diff --git a/doc/salome/gui/GEOM/pics/angle.png b/doc/salome/gui/GEOM/pics/angle.png new file mode 100755 index 000000000..fbe753880 Binary files /dev/null and b/doc/salome/gui/GEOM/pics/angle.png differ diff --git a/doc/salome/gui/GEOM/pics/circle3.png b/doc/salome/gui/GEOM/pics/circle3.png new file mode 100755 index 000000000..39aa5b1ba Binary files /dev/null and b/doc/salome/gui/GEOM/pics/circle3.png differ diff --git a/doc/salome/gui/GEOM/pics/distance.png b/doc/salome/gui/GEOM/pics/distance.png index 7466fc424..141ec8e5a 100755 Binary files a/doc/salome/gui/GEOM/pics/distance.png and b/doc/salome/gui/GEOM/pics/distance.png differ diff --git a/doc/salome/gui/GEOM/pipe_creation.htm b/doc/salome/gui/GEOM/pipe_creation.htm index 11b959395..8c1238055 100755 --- a/doc/salome/gui/GEOM/pipe_creation.htm +++ b/doc/salome/gui/GEOM/pipe_creation.htm @@ -15,11 +15,18 @@ if (navigator.appName !="Netscape") -

Pipe Construction

+

Extrusion along + a path

To generate - a Pipe + Extrusion along a path in the Main Menu select New Entity - > Generation  - - > Extrusion along a path

+ > Extrusion along a path
or click + button in the + toolbar.

+ +

 

+ +

 

To create an extruded Pipe shape, you need to define the Base Object (vertex, edge, wire, face or shell)(vertex, edge, planar wire, face or shell), which will be extruded and the Path Object (edge, - face or shell) along which the Base Object will be extruded.

+ style="font-weight: bold;">Path Object (edge + or wire) along which the Base Object will be extruded.

-

The +

The Result of the operation will be a - GEOM_Object (edge, face, solid or compsolid).

+ GEOM_Object (edge, face or shell, solid or compsolid).

-

 

+

 

-

TUI Command: +

TUI Command: geompy.MakePipe(baseShape, pathShape)

-

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.

+

Arguments: + Name + 1 shape (vertex, edge, planar wire, face or shell) serving as base + object + 1 shape (edge or wire) for definition of the path.

-

 

+

 

-

+

Example:

-

 

+

 

-

Example:

+ ++-

 

+ + + +
+

+

-

 

+

 

+ +

 

-

 

+

 

-

Our TUI Scripts provide you with useful examples +

Our TUI Scripts provide you with useful examples of creation of Complex Geometric Objects.

 

-

 

+

 

-

 

+