Local Coordinate System

To create a Local Coordinate System in the Main Menu select New Entity - > Basic - > Local Coordinate System

There are three algorithms to choose from.

 

Firstly, you can define the values of X, Y, and Z coordinates of origin and the directions of X and Y axes directly in the menu.

TUI command: geompy.MakeMarker(OX, OY, OZ, XDX, XDY, XDZ, YDX, YDY, YDZ), where OX, OY, OZ are coordinates of the origin of LCS, XDX, XDY, XDZ is a vector of OX  direction of the LCS and YDX, YDY, YDZ is a a vector of OY direction of the LCS.

Arguments: Name + Coordinates of origin, X axis direction, Y axis direction.

 

 

Secondly, you can simply select a point in the object browser or 3D viewer, in this case the coordinates of origin are automatically filled in with the coordinates of the selected point and X and Y axes direction will be parallel to the X and Y direction of the Global CS.  

Arguments: Name + reference object.

 

 

The last algorithm also presumes that you select a point in the object browser or 3D viewer, but in this case you define X and Y axes direction yourselves.

Arguments: Name + 1 point of origin + X axis direction, Y axis direction.

 

 

Press «OK» or «Apply» button to create an LCS at the location with the specified coordinates. The new object is shown in the Object Browser and in 3D viewer.

 

Example: