Transform
Transform an imported mesh by specifying a displacement, rotation angle, or scaling factor by adding an attribute to Import.
Syntax
model.component(<ctag>).mesh(<tag>).feature(<ftag>).create(<ftag1>,"Transform");
model.component(<ctag>).mesh(<tag>).feature(<ftag>).feature(<ftag1>).selection(property);
model.component(<ctag>).mesh(<tag>).feature(<ftag>).feature(<ftag1>)
.set(property,<value>);
model.component(<ctag>).mesh(<tag>).feature(<ftag>).feature(<ftag1>).getType(property);
Description
Use model.component(<ctag>).mesh(<tag>).feature(<ftag>).create(<ftag1>,"Transform") to position, rotate, or scale an imported mesh.
The following properties are available:
origin | corner | center | bottom | top
origin | vertex
Select anchor point, if anchor is vertex
x | y | z | cartesian | spherical
Specify cartesian axis. If axistype is cartesian.
Specify theta and phi. If axistype is spherical.
isotropic | anisotropic
Anchor is only valid for the import operations succeeding the first import operation in a meshing sequence.
The displacement offset is applied after the positions have been matched.
The mesh is translated so that the specified position in source is moved to the position to match. After that, any specified rotation or scaling is applied, and, lastly, if an offset is specified, it is added to the translation.
A scaling factor less than 1 gives reduces the size of the geometry; a scale greater than 1 increases the geometry. Enter a negative scale to mirror the mesh. The scale is applied prior to any translation or rotation; the center used is the point specified using the base property.
See Also
Import