# Principal States Transformation (karamba)

Component Index > Karamba > Utilities > **Principal States Transformation (karamba)**

### Transforms given principal vectors of stresses, moments or in-plane forces to an arbitrary direction.

## Inputs

Name | ID | Description | Type |

**Vec1** | Vec1 | First principal vector | Vector |

**Vec2** | Vec2 | Second principal vector | Vector |

**Normal vector** | N | Vector perpendicular to the plane in which Vec1 and Vec2 lie. | Vector |

**DirX** | DirX | Direction for transforming the principal vectors. Gets projected into the plane spanned by Vec1 and Vec2. | Vector |

## Outputs

Name | ID | Description | Type |

**Value XX** | vXX | Normal value in direction X. | Number |

**Value YY** | vYY | Normal value in direction Y. | Number |

**Value XY** | vXY | Tangent value in direction XY. | Number |