add_arrange_move#
- MCADComponent.add_arrange_move(vector: Sequence[str | int | float] = ('0mm', '0mm', '0mm')) Arrange#
Add a translation transformation to the component.
Register a translation operation to be applied to this component during assembly. Translations are applied in the order they are added and are relative to the component’s target coordinate system.
- Parameters:
- Returns:
ArrangeThe created translation transformation object.
Examples
Move a component 5mm in the X direction:
>>> comp.add_arrange_move(vector=("5mm", "0mm", "0mm"))