mirror#
- Modeler3D.mirror(assignment, origin, vector, duplicate=False, is_3d_comp=False, duplicate_assignment=True)#
Mirror a selection.
- Parameters:
- assignment
str,int,orObject3d Name or ID of the object.
- origin
intorfloat List of the
[x, y, z]coordinates or theApplication.Positionobject for the selection.- duplicatebool,
optional Whether if duplicate the object before mirror or not. Default is
False.- is_3d_compbool,
optional Whether the component is 3D. The default is
False. IfTrue, the method tries to return the duplicated list of 3D components.- vector
list List of the
[x1, y1, z1]coordinates or theApplication.Positionobject for the vector.- duplicate_assignmentbool,
optional Whether to duplicate selection assignments. The default is
True.
- assignment
- Returns:
References
>>> oEditor.Mirror >>> oEditor.DuplicateMirror