weldx.transformations.cs_manager.CoordinateSystemManager.create_cs_from_xyz¶
-
CoordinateSystemManager.create_cs_from_xyz(coordinate_system_name, reference_system_name, vec_x, vec_y, vec_z, coordinates=None, time=None, lsc_child_in_parent=True)¶ Create a coordinate system and add it to the coordinate system manager.
This function uses the
from_xyzmethod of theLocalCoordinateSystemclass.- Parameters
coordinate_system_name (
str) – Name of the new coordinate system.reference_system_name (
str) – Name of the parent system. This must have been already added.vec_x – Vector defining the x-axis
vec_y – Vector defining the y-axis
vec_z – Vector defining the z-axis
coordinates (
Union[DataArray,ndarray,List,None]) – Coordinates of the origin.time (
Optional[DatetimeIndex]) – Time data for time dependent coordinate systems.lsc_child_in_parent (
bool) – If set toTrue, the passedLocalCoordinateSysteminstance describes the new system orientation towards is parent. IfFalse, it describes how the parent system is positioned in its new child system.