To create a Point in the Main Menu select New Entity - > Basic - > Point
There are three algorithms to create a Point in the 3D space.
Each time the Result of the operation will be a GEOM_Object (vertex).
Firstly, we can define a point by and setting its X, Y and Z Coordinates.
TUI Command : geompy.MakeVertex(X, Y, Z)
Arguments: Name (Vertex_n by default) + X, Y and Z coordinates of the point.
Secondly, we can define a point by a Reference to another point and the shift of the coordinates of the new point regarding the coordinates of the old one.
TUI Command : geompy.MakeVertexWithRef(Reference, X, Y, Z)
Arguments: Name + 1 reference point + 3 coordinates defining the position of this point regarding the reference one
Finally, we can define a point by an Edge and a Parameter indicating its position on the Edge. For example, 0.5 means that the point is located in the middle of the edge.
TUI Command : geompy.MakeVertexOnCurve(Edge, Parameter)
Arguments: Name + 1 edge + 1 Parameter defining the position of the point on the given edge.
Example:
Our TUI Scripts provide you with useful examples of creation of Basic Geometric Objects.