X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fgui%2FGEOM%2Fcomplex_objects.htm;h=1486576b6280d341e21be659b4af800cfd213296;hb=c6a0df686bae87821d7acf929b4bb8f4ae3b1d78;hp=00e9e04375af74c9a9572f440fe1d77d7f839815;hpb=3e9d56c09b4bb1f34cf25c95613ef7e12890a8cd;p=modules%2Fgeom.git diff --git a/doc/salome/gui/GEOM/complex_objects.htm b/doc/salome/gui/GEOM/complex_objects.htm index 00e9e0437..1486576b6 100755 --- a/doc/salome/gui/GEOM/complex_objects.htm +++ b/doc/salome/gui/GEOM/complex_objects.htm @@ -33,43 +33,48 @@ onerror = null; - -
+ +-
# create vertex and vector
+# create a vertex and a vector
p1 = geompy.MakeVertex( 0., @@ -118,14 +123,14 @@ else
-
# create vector with the given components
+# create a vector from the given components
vector = geompy.MakeVectorDXDYDZ(50., 50., 50.)
-
#create vectors with two points
+#create vectors from two points
vector1_arc1 = geompy.MakeVector(p1, p2)
@@ -141,7 +146,7 @@ else-
# create arcs with three points
+# create arcs from three points
arc1 = geompy.MakeArc(p2, p3, p4)
@@ -183,7 +188,7 @@ else-
# add objects in study
+# add objects in the study
id_face1 = geompy.addToStudy(face1,"Face1")
@@ -226,7 +231,7 @@ else-
# create vertex and vector
+# create a vertex and a vector
p1 = geompy.MakeVertex( 10., 10., @@ -242,7 +247,7 @@ else
-
#create vectors with two points
+#create vectors from two points
vector1 = geompy.MakeVector(p1, p2)
@@ -252,28 +257,28 @@ else-
# create vector with the given components
+# create a vector from the given components
vector3 = geompy.MakeVectorDXDYDZ(-20., -20., 100.)
-
# create wire
+# create a wire
wire = geompy.MakeWire([vector1, vector2])
-
# create revolution
+# create a revolution
revolution = geompy.MakeRevolution(wire, vector3, 2.3)
-
# add objects in study
+# add objects in the study
id_vector3 = geompy.addToStudy(vector3,"Axis")
@@ -285,7 +290,7 @@ else-
# display vector, wire and revolution
+# display the vector, the wire and the revolution
gg.createAndDisplayGO(id_vector3)
@@ -318,7 +323,7 @@ else-
# create vertex and vector
+# create a vertex and a vector
p1 = geompy.MakeVertex( -30., -30., @@ -334,7 +339,7 @@ else
-
# create arc with three points
+# create an arc from three points
arc = geompy.MakeArc(p1, p2, p3)
@@ -358,14 +363,14 @@ else-
# create filling
+# create a filling
filling = geompy.MakeFilling(compound, mindeg, maxdeg, tol3d, tol2d, nbiter)
-
# add objects in study
+# add objects in the study
id_compound = geompy.addToStudy(compound,"Compound")
@@ -373,7 +378,7 @@ else-
# display compound and filling
+# display the compound and the filling
gg.createAndDisplayGO(id_compound)
@@ -418,42 +423,42 @@ else-
# create vector on two points
+# create a vector from two points
vxy = geompy.MakeVector(px, py)
-
# create arc with three points
+# create an arc from three points
arc = geompy.MakeArc(py, pz, px)
-
# create wire
+# create a wire
wire = geompy.MakeWire([vxy, arc])
-
# create edge
+# create an edge
edge = geompy.MakeEdge(p0, pxyz)
-
# create pipe
+# create a pipe
pipe = geompy.MakePipe(wire, edge)
-
# add objects in study
+# add objects in the study
id_wire = geompy.addToStudy(wire,"Wire")
@@ -463,7 +468,7 @@ else-
# display wire, edge (path) and pipe
+# display the wire, the edge (path) and the pipe
gg.createAndDisplayGO(id_wire)