RigidTransform
Perform a rigid transform (translation and rotation) of 3D geometry objects. You can use this feature to position and orient geometry objects by matching a coordinate system (work plane) with another coordinate system (work plane) and then optionally performing a rotation and translation in the work plane’s coordinate system.
Syntax
model.component(<ctag>).geom(<tag>).create(<ftag>,"RigidTransform");
model.component(<ctag>).geom(<tag>).feature(<ftag>).selection(property);
model.component(<ctag>).geom(<tag>).feature(<ftag>).set(property,<value>);
model.component(<ctag>).geom(<tag>).feature(<ftag>).getType(property);
model.component(<ctag>).geom(<tag>).feature(<ftag>).setAttribute(attribute,<value>);
model.component(<ctag>).geom(<tag>).feature(<ftag>).getAttribute(attribute);
Description
Use model.component(<ctag>).geom(<tag>).create(<ftag>,"RigidTransform") to make a rigid transform of 3D geometry objects.
Use model.component(<ctag>).geom(<tag>).feature(<ftag>).selection("input") to select the objects for which to perform a rigid transform. The default selection is empty.
The following properties are available:
Axis vector, used if axistype is cartesian.
Rotation axis. Vector has length 3 if axistype is cartesian, and length 2 if axistype is spherical. Alias for ax2 and ax3.
x | y | z | cartesian | spherical
none | custom | integer between 1 and the number of colors in the current theme
The color to use. Active when color is set to custom.
Edge selection. Used when specify is set to edge.
Intrinsic Z-X-Z Euler angles α, β, and γ, used if specify is set to eulerang.
on | off
on | off
all | obj | dom | bnd | edg | pnt | off
Show selections, if selresult is on, in physics, materials, and so on. obj is not available in a component’s geometry. dom, bnd, and edg are not available in all features.
axis | eulerang | edge
xyplane | work plane feature tag
Work Plane feature that defines the coordinate system. The default, xyplane, is the global Cartesian coordinate system.
xyplane | work plane feature tag
this | Part Instance feature tag
For information about the selresult and contributeto properties, see Selections of Geometric Entities.
The following attributes are available:
Table 3-148: Valid attributes
on | off | inherit
Designate the resulting objects as construction geometry. Use inherit to set the construction geometry attribute only if all input objects are construction geometry.
See Also
Mirror, Move, Copy, Scale, Rotate