Version: 6.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
Vector

To create a Vector in the Main Menu select New Entity - > Basic - > Vector


There are 2 algorithms to create a Vector in the 3D space.
The Result of each operation will be a GEOM_Object (edge).


Firstly, you can define a Vector by its Start and End Points.
TUI Command: geompy.MakeVector(Point1, Point2)
Arguments: Name + 2 vertices.

vector1.png


Secondly, you can define a Vector starting in the Origin of coordinates by its End Point.
TUI Command: geompy.MakeVectorDXDYDZ(DX, DY, DZ)
Arguments: Name + 3 values

vector2.png

Example:

image34.png
A vector by two points and a vector from the origin of coordinates

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

Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS