Salome HOME
Do not disallow edition, otherwise we can't expand group items (e.g. vertices) when...
[modules/hexablock.git] / doc / tui_asso_vertex_to_geom.rst
1 :tocdepth: 3
2
3 .. _tuiassovertex2:
4
5 ========================================
6 TUI: Definition of point of the geometry
7 ========================================
8
9 Firt you need to define the Geom point you want to associate your vertex to.
10
11
12 Define a point by its coordinates::
13
14     geom_object_vertex = geompy.MakeVertex(X, Y, Z)
15
16 Define a point by reference::
17
18     geom_object_vertex = geompy.MakeVertexWithRef(Reference, X,Y,Z)
19
20 Define a point by an Edge and a Parameter::
21
22     geom_object_vertex = geompy.MakeVertexOnCurve(Edge,Parameter)
23
24 Define a point by an Edge and a Length::
25
26     geom_object_vertex = geompy.MakeVertexOnCurveByLength(Edge,Length,StartPoint=None)
27
28 Define a point by an Edge and Coordinates::
29
30     geom_object_vertex = geompy.MakeVertexOnCurveByCoord(Edge,X,Y,Z)
31
32 Define a point by intersection of two Lines or Wires (or a Wire and a Line)::
33
34     geom_object_vertex = geompy.MakePointOnLinesIntersection(myLine1,myWire1)
35
36 Define a point by its position (U-V parameters) on a face::
37
38         geom_object_vertex = geompy.MakeVertexOnSurface(myFace,myUParameter,myVParameter)
39         
40 Define a point by its position (Coordinates) on a face::
41
42         geom_object_vertex = geompy.MakeVertexOnSurface(myFace,X,Y,Z)
43         
44         
45 GUI: :ref:`guiassovertex`