CRA_Assembly.transformed
- CRA_Assembly.transformed(T)[source]
Transform a copy of this assembly by the given transformation matrix.
- Parameters
T (Transformation) – The transformation matrix.
- Returns
Assembly – The transformed copy.
Examples
>>> assembly = Assembly.from_json('assembly.json') >>> R = Rotation.from_axis_and_angle([1.0, 0, 0], -pi / 2) >>> transformed = assembly_transformed(assembly, R)