CRA_Assembly.transform
- CRA_Assembly.transform(T)[source]
Transform this assembly by the given transformation matrix.
- Parameters
T (Transformation) – The transformation matrix.
Notes
The assembly is transformed in place. No copy is made.
Examples
>>> assembly = Assembly.from_json('assembly.json') >>> R = Rotation.from_axis_and_angle([1.0, 0, 0], -pi / 2) >>> assembly_transform(assembly, R)