mirror#
- Modeler3D.mirror(assignment, origin, vector, duplicate=False, is_3d_comp=False, duplicate_assignment=True)[source]#
Mirror a selection.
- Parameters:
- assignment
str
,int
,or
Object3d
Name or ID of the object.
- origin
int
orfloat
List of the
[x, y, z]
coordinates or theApplication.Position
object 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.Position
object for the vector.- duplicate_assignmentbool,
optional
Whether to duplicate selection assignments. The default is
True
.
- assignment
- Returns:
References
>>> oEditor.Mirror >>> oEditor.DuplicateMirror