manpagez: man pages & more
info gmsh
 Home | html | info | man
 [ << ] [ < ] [ Up ] [ > ] [ >> ] [Top] [Contents] [Index] [ ? ]

### 5.1.6 Transformations

Geometrical transformations can be applied to elementary entities, or to copies of elementary entities (using the `Duplicata` command: see below). The syntax of the transformation commands is:

transform:

`Dilate { { expression-list }, expression } { transform-list }`

Scales all elementary entities in transform-list by a factor expression. The expression-list should contain three expressions giving the X, Y and Z direction of the homothetic transformation.

`Rotate { { expression-list }, { expression-list }, expression } { transform-list }`

Rotates all elementary entities in transform-list by an angle of expression radians. The first expression-list should contain three expressions giving the X, Y and Z direction of the rotation axis; the second expression-list should contain three expressions giving the X, Y and Z components of any point on this axis.

`Symmetry { expression-list } { transform-list }`

Transforms all elementary entities symmetrically to a plane. The expression-list should contain four expressions giving the coefficients of the plane’s equation.

`Translate { expression-list } { transform-list }`

Translates all elementary entities in transform-list. The expression-list should contain three expressions giving the X, Y and Z components of the translation vector.

`Boundary { transform-list }`

(Not a transformation per-se.) Returns the boundary of the elementary entities in transform-list.

`CombinedBoundary { transform-list }`

(Not a transformation per-se.) Returns the boundary of the elementary entities, combined as if a single entity, in transform-list. Useful to compute the boundary of a complex part.

with

```transform-list:
Point | Line | Surface | Volume { expression-list }; … |
Duplicata { Point | Line | Surface | Volume { expression-list }; … } |
transform
```

 [ << ] [ < ] [ Up ] [ > ] [ >> ] [Top] [Contents] [Index] [ ? ]

This document was generated on February 9, 2014 using texi2html 5.0.

```© manpagez.com 2000-2019
Individual documents may contain additional copyright information.
```