diff --git a/doc/salome/GEOM/add_point_on_edge.htm b/doc/salome/GEOM/add_point_on_edge.htm deleted file mode 100755 index 2134b248d..000000000 --- a/doc/salome/GEOM/add_point_on_edge.htm +++ /dev/null @@ -1,165 +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.
- -- -
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: - Name + 1 Edge + 1 value setting the position of the point according to - one of the selected modes
- -- -
Dialog - Box:
- -- - - -
- -
Example:
- -- -
- -
- -
Our - TUI Scripts provide you with useful - examples of the use of Repairing - Operations.
- -- - - - diff --git a/doc/salome/GEOM/arc.htm b/doc/salome/GEOM/arc.htm deleted file mode 100755 index 7d62f043c..000000000 --- a/doc/salome/GEOM/arc.htm +++ /dev/null @@ -1,135 +0,0 @@ - - - - - -
To create an Arc in the Main - Menu select New Entity - > - Basic - > Arc
- -- -
You can define - an Arc by by three - Points that lie on it. 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.
- -The - Result of the operation will be a - GEOM_Object (edge).
- -- -
TUI Command: - geompy.MakeArc(Point1, Point2, Point3)
- -Arguments: - Name + 3 vertices.
- -- - - -
- -
Example:
- -- - - -
- -
Our TUI Scripts provide you with useful examples - of creation of Basic Geometric - Objects.
- -- - - - diff --git a/doc/salome/GEOM/archimede.htm b/doc/salome/GEOM/archimede.htm deleted file mode 100755 index bc1c43e8b..000000000 --- a/doc/salome/GEOM/archimede.htm +++ /dev/null @@ -1,135 +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/GEOM/basic_geometrical_objects.htm b/doc/salome/GEOM/basic_geometrical_objects.htm deleted file mode 100755 index 6e38ea76f..000000000 --- a/doc/salome/GEOM/basic_geometrical_objects.htm +++ /dev/null @@ -1,656 +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 on two points
- -vxy = - geompy.MakeVector(px, py)
- -- -
# create a line with a point and a vector
- -line1 = geompy.MakeLine(pz, - vxy)
- -- -
#create a line on 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 vector on two points
- -vxy = - geompy.MakeVector(px, py)
- -- -
# create circle with point, vector and radius
- -circle1 = geompy.MakeCircle(pz, - vxy, 30)
- -- -
#create circle on three points
- -circle2 = geompy.MakeCircleThreePnt(p0, - px, py)
- -- -
# add objects in 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 vector on two points
- -vector = - geompy.MakeVector(p0, p50)
- -- -
# create ellipse with point, vector and radiuses
- -ellipse = geompy.MakeEllipse(p50, - vector, 50, 25)
- -- -
# add objects in study
- -id_vector = - geompy.addToStudy(vector, "Vector")
- -id_ellipse = geompy.addToStudy(ellipse,"Ellipse")
- -- -
# display normal vector and ellipse
- -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 polyline on list of points
- -polyline = geompy.MakePolyline([p0, - p1, p2, p3, p4])
- -- -
# create bezier on list of points
- -bezier = geompy.MakeBezier([p0, - p1, p2, p3, p4])
- -- -
#create interpolation curve on list of points
- -interpol = geompy.MakeInterpol([p0, - p1, p2, p3, p4])
- -- -
# add objects in 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 points and 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 vector on two points
- -vector1 = geompy.MakeVector(p1, - p2)
- -- -
# create vector with the given components
- -vector2 = geompy.MakeVectorDXDYDZ(30, - 30, 100)
- -- -
# add objects in 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 points and 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 vector with the given components
- -vector = geompy.MakeVectorDXDYDZ(100., - 100., 100.)
- -- -
# create vector with two points
- -vector_arc = geompy.MakeVector(p2, - p5)
- -- -
# create arc with three points
- -arc = geompy.MakeArc(p2, - p4, p5)
- -- -
# create wire
- -wire = geompy.MakeWire([vector_arc, - arc])
- -- -
# create face
- -isPlanarWanted = 1
- -face = geompy.MakeFace(wire, - isPlanarWanted)
- -trimsize = 1000.
- -- -
# create plane with point, vector and trimsize
- -plane1 = geompy.MakePlane(p1, - vector, trimsize)
- -- -
# create plane with three points and trimsize
- -plane2 = geompy.MakePlaneThreePnt(p1, - p2, p3, trimsize)
- -- -
# create plane with given face
- -plane3 = geompy.MakePlaneFace(face, - trimsize)
- -- -
# add objects in 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 points and 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/GEOM/basic_operations.htm b/doc/salome/GEOM/basic_operations.htm deleted file mode 100755 index afe039963..000000000 --- a/doc/salome/GEOM/basic_operations.htm +++ /dev/null @@ -1,242 +0,0 @@ - - - - - -import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertex and vector
- -p0 = - geompy.MakeVertex( 0., - 0., - 0.)
- -p200 = geompy.MakeVertex(200., - 200., 200.)
- -pz = - geompy.MakeVertex( 0., - 0., - 100.)
- -- -
# create vector
- -vxyz = geompy.MakeVectorDXDYDZ(100., - 100., 100.)
- -- -
# create box with two points
- -box = geompy.MakeBoxTwoPnt(p0, - p200)
- -- -
# create 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 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 partition objects and 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 vertex and vector
- -p0 = - geompy.MakeVertex( 0., - 0., - 0.)
- -p200 = geompy.MakeVertex(200., - 200., 200.)
- -- -
# create box with two points
- -box = geompy.MakeBoxTwoPnt(p0, - p200)
- -- -
# perform an Archimede operation on the given shape with given parameters
- -weight = - 1000000.
- -waterdensity = 1.
- -meshingdeflection - = 0.01
- -archimede = - geompy.Archimede(box, weight, waterdensity, meshingdeflection)
- -- -
# add objects in study
- -id_box = geompy.addToStudy(box,"Box")
- -id_archimede = geompy.addToStudy(archimede,"Archimede")
- -- -
# display box and 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/GEOM/blocks.htm b/doc/salome/GEOM/blocks.htm deleted file mode 100755 index f3b20495e..000000000 --- a/doc/salome/GEOM/blocks.htm +++ /dev/null @@ -1,116 +0,0 @@ - - - - - -
- -
- -
- -
To use these options:
- -- -
In the main menu select Blocks - submenu.
- -- -
- -
- -
- -
- -
- -
- - - - diff --git a/doc/salome/GEOM/blocks_operations.htm b/doc/salome/GEOM/blocks_operations.htm deleted file mode 100755 index 6cff43bd2..000000000 --- a/doc/salome/GEOM/blocks_operations.htm +++ /dev/null @@ -1,258 +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.LocalOp.GetSubShapeIndex(box, - top_face)
- -yz_face_ind = geompy.LocalOp.GetSubShapeIndex(box, - yz_face)
- -xz_face_ind = geompy.LocalOp.GetSubShapeIndex(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 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 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 box and sphere
- -box = geompy.MakeBoxDXDYDZ(200, - 200, 200)
- -sphere = geompy.MakeSphereR(100)
- -- -
# make compound
- -compound = geompy.MakeCompound([box, - sphere])
- -- -
# get all the blocks, contained in the given compound
- -make_block_explode - = geompy.MakeBlockExplode(compound, 1, 1)
- -- -
# add objects in study
- -id_compound = geompy.addToStudy(compound, - "Compound")
- -id_make_block_explode - = geompy.addToStudy(make_block_explode[0], "MakeBlockExplode")
- -- -
# display results
- -gg.createAndDisplayGO(id_compound)
- -gg.createAndDisplayGO(id_make_block_explode)
- -gg.setDisplayMode(id_make_block_explode,1) -
- -- -
import geompy
- -import salome
- -- -
# create box and sphere
- -box = geompy.MakeBoxDXDYDZ(200, - 200, 200)
- -- -
# check and improve
- -check_box = geompy.CheckAndImprove(box)
- -- -
# build all possible propagation groups
- -listChains = geompy.Propagate(check_box)
- -- -
# add objects in study
- -geompy.addToStudy(check_box, - "Box")
- -for chain in listChains:
- -geompy.addToStudyInFather(check_box, - chain, "propagation chain")
- -salome.sg.updateObjBrowser(1) -
- -- - - - diff --git a/doc/salome/GEOM/boolean_operations.htm b/doc/salome/GEOM/boolean_operations.htm deleted file mode 100755 index 86dc17fa8..000000000 --- a/doc/salome/GEOM/boolean_operations.htm +++ /dev/null @@ -1,348 +0,0 @@ - - - - - -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertex and vector
- -p1 = geompy.MakeVertex(25, - 55, 0)
- -p2 = geompy.MakeVertex( - 0, 0, 0)
- -v = geompy.MakeVector(p1, - p2)
- -- -
# create cylinder
- -height = 35
- -radius1 = 20
- -cylinder = geompy.MakeCylinder(p1, - v, radius1, height)
- -- -
# create sphere
- -sphere = geompy.MakeSphereR(40)
- -- -
# make fuse
- -fuse = geompy.MakeFuse(cylinder, - sphere)
- -- -
# add objects in 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 vertex and vector
- -p1 = geompy.MakeVertex(25, - 55, 0)
- -p2 = geompy.MakeVertex( - 0, 0, 0)
- -v = geompy.MakeVector(p1, - p2)
- -- -
# create cylinder
- -height = 35
- -radius1 = 20
- -cylinder = geompy.MakeCylinder(p1, - v, radius1, height)
- -- -
# create sphere
- -sphere = geompy.MakeSphereR(40)
- -- -
# make common
- -common = geompy.MakeCommon(cylinder, - sphere)
- -- -
# add objects in study
- -id_common = geompy.addToStudy(common, - "Common")
- -- -
# display results
- -gg.createAndDisplayGO(id_common)
- -gg.setDisplayMode(id_common,1) -
- -- -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertex and vector
- -p1 = geompy.MakeVertex(25, - 55, 0)
- -p2 = geompy.MakeVertex( - 0, 0, 0)
- -v = geompy.MakeVector(p1, - p2)
- -- -
# create cylinder
- -height = 35
- -radius1 = 20
- -cylinder = geompy.MakeCylinder(p1, - v, radius1, height)
- -- -
# create sphere
- -sphere = geompy.MakeSphereR(40)
- -- -
# make cut
- -cut = geompy.MakeCut(cylinder, - sphere)
- -- -
# add objects in study
- -id_cut = geompy.addToStudy(cut, - "Cut")
- -- -
# display results
- -gg.createAndDisplayGO(id_cut)
- -gg.setDisplayMode(id_cut,1) -
- -- -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertex and vector
- -p1 = geompy.MakeVertex(25, - 55, 0)
- -p2 = geompy.MakeVertex( - 0, 0, 0)
- -v = geompy.MakeVector(p1, - p2)
- -- -
# create cylinder
- -height = 35
- -radius1 = 20
- -cylinder = geompy.MakeCylinder(p1, - v, radius1, height)
- -- -
# create sphere
- -sphere = geompy.MakeSphereR(40)
- -- -
# make section
- -section = geompy.MakeSection(cylinder, - sphere)
- -- -
# add objects in study
- -id_section = geompy.addToStudy(section, - "Section")
- -- -
# display results
- -gg.createAndDisplayGO(id_section)
- -gg.setDisplayMode(id_section,1) -
- -- - - - diff --git a/doc/salome/GEOM/box.htm b/doc/salome/GEOM/box.htm deleted file mode 100755 index 74feb2e36..000000000 --- a/doc/salome/GEOM/box.htm +++ /dev/null @@ -1,172 +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), and with edges, 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! The 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/GEOM/building_by_blocks.htm b/doc/salome/GEOM/building_by_blocks.htm deleted file mode 100755 index 246c6f436..000000000 --- a/doc/salome/GEOM/building_by_blocks.htm +++ /dev/null @@ -1,330 +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 quadrangle face from four edges
- -qface1 = geompy.MakeQuad(edge1, - edge2, edge3, edge4)
- -- -
# create quadrangle face on two edges
- -qface2 = geompy.MakeQuad2Edges(edge1, - edge3)
- -- -
# create quadrangle with specified corners
- -qface3 = geompy.MakeQuad4Vertices(p1, - p2, p3, p4)
- -- -
# add objects in 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 vertices, edges and 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
- -p1 = geompy.MakeVertex( - 0., 0., - 0.)
- -p2 = geompy.MakeVertex(150., - 30., 0.)
- -p3 = geompy.MakeVertex( - 0., 120., - 50.)
- -p4 = geompy.MakeVertex( - 0., 40., - 70.)
- -p5 = geompy.MakeVertex(100., - 20., 45.)
- -p6 = geompy.MakeVertex( - 0., 70., - 40.)
- -p7 = geompy.MakeVertex( - 70., 70., 70.)
- -p8 = geompy.MakeVertex( - 70.,-15., 70.)
- -p9 = geompy.MakeVertex( - 0., 0., - 40.)
- -p10 = geompy.MakeVertex( - 0., 70., - 0.)
- -p11 = geompy.MakeVertex( - 70., 70., 0.)
- -p12 = geompy.MakeVertex( - 70., -15., 0.)
- -p13 = geompy.MakeVertex( - 0., 0., - 0.)
- -- -
# create faces
- -qface1 = geompy.MakeQuad4Vertices(p1, - p2, p3, p4)
- -qface2 = geompy.MakeQuad4Vertices(p1, - p2, p5, p4)
- -qface3 = geompy.MakeQuad4Vertices(p13, - p12, p11, p10)
- -qface4 = geompy.MakeQuad4Vertices(p9, - p8, p7, p6)
- -qface5 = geompy.MakeQuad4Vertices(p13, - p9, p6, p10)
- -qface6 = geompy.MakeQuad4Vertices(p13, - p9, p8, p12)
- -qface7 = geompy.MakeQuad4Vertices(p12, - p8, p7, p11)
- -qface8 = geompy.MakeQuad4Vertices(p11, - p7, p6, p10)
- -- -
# create hexahedral solid between two given faces
- -solid1 = geompy.MakeHexa2Faces(qface1, - qface2)
- -- -
# create hexahedral solids, bounded by the six given faces
- -solid2 = geompy.MakeHexa(qface3, - qface4, qface5, qface6, qface7, qface8)
- -- -
# add objects in study
- -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/GEOM/chamfer.htm b/doc/salome/GEOM/chamfer.htm deleted file mode 100755 index 4ad8cfcbe..000000000 --- a/doc/salome/GEOM/chamfer.htm +++ /dev/null @@ -1,192 +0,0 @@ - - - - - -
To produce - a Fillet in the Main Menu select - Operations - > Transformation - > - Fillet
- -- -
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 necessary edges in the object browser - or 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 in the object browser - or in the viewer and define the Dimension - of the Chamfer.
- -TUI Command: - 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.
- -- -
- -
- -
Our TUI Scripts - provide you with useful examples of the use of Transformation - Operations.
- -- -
- -
- -
- -
- - - - diff --git a/doc/salome/GEOM/changing_display_parameters.htm b/doc/salome/GEOM/changing_display_parameters.htm deleted file mode 100755 index c2ed2dffe..000000000 --- a/doc/salome/GEOM/changing_display_parameters.htm +++ /dev/null @@ -1,176 +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)
- -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) -
- -- -
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/GEOM/changing_displaying_parameters.htm b/doc/salome/GEOM/changing_displaying_parameters.htm deleted file mode 100755 index 42ab05be2..000000000 --- a/doc/salome/GEOM/changing_displaying_parameters.htm +++ /dev/null @@ -1,256 +0,0 @@ - - - - - -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.
- -- -
- - - -
- -
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:
- -- -
- -
- - - -
- -
Description: - Changes the number of isolines displayed within a shape.
- -- -
Arguments: - 2 values (number of isolines).
- -- -
Dialog Box:
- -- - - -
- -
Example:
- -- -
- -
- -
Our TUI Scripts provide you with useful examples - of Changing Displaying Parameters. -
- -- - - - diff --git a/doc/salome/GEOM/check_free_boundaries.htm b/doc/salome/GEOM/check_free_boundaries.htm deleted file mode 100755 index d5da15b92..000000000 --- a/doc/salome/GEOM/check_free_boundaries.htm +++ /dev/null @@ -1,154 +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
- -- -
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:
- -- -
- -
- -
Our - TUI Scripts provide you with useful - examples of the use of Repairing - Operations.
- -- - - - diff --git a/doc/salome/GEOM/check_free_faces.htm b/doc/salome/GEOM/check_free_faces.htm deleted file mode 100755 index 68757732c..000000000 --- a/doc/salome/GEOM/check_free_faces.htm +++ /dev/null @@ -1,148 +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.
- -- -
Result: GEOM_Object. - Returns a list of IDs of all free faces, contained in the shape.
- -TUI Command : GetFreeFacesIDs(Shape), where - Shape is a shape to be checked.
- -Arguments: - Shape
- -- -
- - - -
- -
Examples:
- -- -
- -
- -
Our - TUI Scripts provide you with useful - examples of the use of Repairing - Operations.
- -- - - - diff --git a/doc/salome/GEOM/circle.htm b/doc/salome/GEOM/circle.htm deleted file mode 100755 index 22ad198ca..000000000 --- a/doc/salome/GEOM/circle.htm +++ /dev/null @@ -1,150 +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/GEOM/close_contour.htm b/doc/salome/GEOM/close_contour.htm deleted file mode 100755 index 3dd603fc4..000000000 --- a/doc/salome/GEOM/close_contour.htm +++ /dev/null @@ -1,149 +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.
- -- -
Result: 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)
- -- -
Dialog Box:
- -- - - -
- -
Our - TUI Scripts provide you with useful - examples of the use of Repairing - Operations.
- -- - - - diff --git a/doc/salome/GEOM/common.htm b/doc/salome/GEOM/common.htm deleted file mode 100755 index 1e07126a1..000000000 --- a/doc/salome/GEOM/common.htm +++ /dev/null @@ -1,141 +0,0 @@ - - - - - -
To produce - a Common 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/GEOM/complex_objects.htm b/doc/salome/GEOM/complex_objects.htm deleted file mode 100755 index 00e9e0437..000000000 --- a/doc/salome/GEOM/complex_objects.htm +++ /dev/null @@ -1,484 +0,0 @@ - - - - - -
import geompy
- -import salome
- -gg = salome.ImportComponentGUI("GEOM")
- -- -
# create vertex and 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 vector with the given components
- -vector = geompy.MakeVectorDXDYDZ(50., - 50., 50.)
- -- -
#create vectors with 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 with 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 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 vertex and vector
- -p1 = geompy.MakeVertex( - 10., 10., - 10.)
- -p2 = geompy.MakeVertex( - 15., 15., - 50.)
- -p3 = geompy.MakeVertex( - 40., 40., - 0.)
- -- -
#create vectors with two points
- -vector1 = geompy.MakeVector(p1, - p2)
- -vector2 = geompy.MakeVector(p1, - p3)
- -- -
# create vector with the given components
- -vector3 = geompy.MakeVectorDXDYDZ(-20., - -20., 100.)
- -- -
# create wire
- -wire = geompy.MakeWire([vector1, - vector2])
- -- -
# create revolution
- -revolution = geompy.MakeRevolution(wire, - vector3, 2.3)
- -- -
# add objects in study
- -id_vector3 = - geompy.addToStudy(vector3,"Axis")
- -id_wire = - geompy.addToStudy(wire,"Wire")
- -id_revolution = geompy.addToStudy(revolution,"Revolution")
- -- -
# display vector, wire and 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 vertex and vector
- -p1 = geompy.MakeVertex( - -30., -30., - 50.)
- -p2 = geompy.MakeVertex( - -60., -60., - 30.)
- -p3 = geompy.MakeVertex( - -30., -30., - 10.)
- -- -
# create arc with 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 filling
- -filling = geompy.MakeFilling(compound, - mindeg, maxdeg, tol3d, tol2d, nbiter)
- -- -
# add objects in study
- -id_compound = geompy.addToStudy(compound,"Compound")
- -id_filling = geompy.addToStudy(filling,"Filling")
- -- -
# display compound and 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 vector on two points
- -vxy = geompy.MakeVector(px, - py)
- -- -
# create arc with three points
- -arc = geompy.MakeArc(py, - pz, px)
- -- -
# create wire
- -wire = geompy.MakeWire([vxy, - arc])
- -- -
# create edge
- -edge = geompy.MakeEdge(p0, - pxyz)
- -- -
# create pipe
- -pipe = geompy.MakePipe(wire, - edge)
- -- -
# add objects in study
- -id_wire = geompy.addToStudy(wire,"Wire")
- -id_edge = geompy.addToStudy(edge,"Edge")
- -id_pipe = geompy.addToStudy(pipe,"Pipe")
- -- -
# display wire, edge (path) and pipe
- -gg.createAndDisplayGO(id_wire)
- -gg.createAndDisplayGO(id_edge)
- -gg.createAndDisplayGO(id_pipe)
- -gg.setDisplayMode(id_pipe,1) -
- - - - diff --git a/doc/salome/GEOM/compound.htm b/doc/salome/GEOM/compound.htm deleted file mode 100755 index 2649dacef..000000000 --- a/doc/salome/GEOM/compound.htm +++ /dev/null @@ -1,133 +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/GEOM/cone.htm b/doc/salome/GEOM/cone.htm deleted file mode 100755 index 08858fe3f..000000000 --- a/doc/salome/GEOM/cone.htm +++ /dev/null @@ -1,169 +0,0 @@ - - - - - -
To create a Cone - in the Main Menu select New Entity - > Primitives - > Cone
- -- -
There are two algorithms for creation of a Torus. -
- -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 centre 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/GEOM/cshdat_robohelp.htm b/doc/salome/GEOM/cshdat_robohelp.htm deleted file mode 100755 index afb68b6ee..000000000 --- a/doc/salome/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 the three possible - types of curves: Polyline, Besier or B-spline (Interpolated) curve.
- -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/GEOM/cut.htm b/doc/salome/GEOM/cut.htm deleted file mode 100755 index 5828dfcd3..000000000 --- a/doc/salome/GEOM/cut.htm +++ /dev/null @@ -1,137 +0,0 @@ - - - - - -
To produce - a Cut 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/GEOM/cylinder.htm b/doc/salome/GEOM/cylinder.htm deleted file mode 100755 index 087d2d73d..000000000 --- a/doc/salome/GEOM/cylinder.htm +++ /dev/null @@ -1,160 +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/GEOM/default.css b/doc/salome/GEOM/default.css deleted file mode 100755 index de2e5d955..000000000 --- a/doc/salome/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/GEOM/default_ns.css b/doc/salome/GEOM/default_ns.css deleted file mode 100755 index 3eeb3c496..000000000 --- a/doc/salome/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/GEOM/edge.htm b/doc/salome/GEOM/edge.htm deleted file mode 100755 index 184e5ba47..000000000 --- a/doc/salome/GEOM/edge.htm +++ /dev/null @@ -1,130 +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/GEOM/ehelp.xml b/doc/salome/GEOM/ehelp.xml deleted file mode 100755 index 190aa2369..000000000 --- a/doc/salome/GEOM/ehelp.xml +++ /dev/null @@ -1,10 +0,0 @@ - - -