Assembly.transformed

Assembly.transformed(T)

Transform a copy of this assembly by the given transformation matrix.

Parameters:
TTransformation

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)