Please enable JavaScript to view this site.

GeoDict User Guide 2025

Rotation

You can perform a three-dimensional rotation of the structure using the Rotation command. Enter values for the Phi, Theta, and Psi Euler rotation angles, or enter a single angle to rotate about one axis. This feature is useful when a structure is not aligned with its inherent axis.

ProcessGeo_Rotation_DialogDefault

For the Rotation Mode select either Euler Angles or Rotate around X, Y, or Z Axis.

The Euler rotation angles are applied following the order Phi → Theta → Psi.

For Rotate around X, Y, or Z Axis enter the angle for the rotation about X, Y, or Z.

ImageProcessing_Rotation_RotateAroundAxis

When you check Automatic Rotation, the entered parameters for the rotation angles are ignored and become inactive. Instead, the Euler rotation angles are calculated automatically based on principal component analysis for the structure. From the pull-down menu for Automation Mode select Volume or Plane. For Volume the algorithm tries to align the structure to all three coordinate axes. For Plane only two major axes are aligned. Aligning only to two major axes can minimize unwanted rotations inside a planar structure.

Checking Automatic Rotation causes the entered parameters for the rotation angles to become inactive and ignored. Instead, the Euler rotation angles are automatically calculated based on principal component analysis of the structure. From the Automation Mode pull-down menu, select Volume or Plane. For Volume, the algorithm tries to align the structure to all three coordinate axes. For Plane, only two major axes are aligned. Aligning to only two major axes can minimize unwanted rotations inside a planar structure.

Alternatively, you can use the Suggest buttons to suggest values for rotation first. This functionality uses the same calculation as Automatic Rotation, and the two modes, Volume and Plane, are also available. Click one of these options to obtain suggested values for Phi, Theta, and Psi.

To compute the alignment to either two or all three major axes for the suggestion or automatic rotation, you have to select which materials should be taken into account for this.

You can select either the complete structure (All Solid Materials), an individual material (Chosen Material), or a choice of Material IDs can be made (Chosen Material IDs).

For your convenience, all Material IDs which denote solids and porous solids are shown at the bottom of the panel.

Note-Info

Note! The following two options only have an effect when no analytic (GAD) data is available.

Arbitrary rotations can cause the structure to no longer fit within the original domain. Set the Outside Handling to Enlarge to automatically change the domain size so that the rotated structure fits completely within the domain again. Choosing None will leave the domain at its original size and the rotated structure may be truncated.

ProcessGeo_Rotation_OutsideHandling

In both cases, new voxels are created during the rotation that were not part of the original domain. Under Undecided Material ID select the Material ID to be assigned to the yet undecided voxels.

ProcessGeo_Rotation_UndecidedMaterialID

Examples

First, a structure model is obtained without rotation. To obtain a structure that has been rotated 90° around the Y-axis, the following Euler angles are used:

  • 90° around Z-axis (fixed) + 90° around new X-axis (fixed) + -90° around new Z-axis (fixed)

To rotate it around the Y-axis by 180°, these Euler angles are chosen:

  • 90° around Z-axis (fixed) + 180° around new X-axis (fixed) + -90° around new Z-axis (fixed)

Of course, these two rotations can be obtained more easily by selecting Rotate around Y-Axis for Rotation Mode, but the example helps to understand the Euler angles. Since they can rotate the 3D structure in any direction, they are more powerful when the structure needs to be rotated about more than one axis.

The example below shows, how the domain is enlarged and filled with the new Material ID for the undecided voxels.

©2026 created by Math2Market GmbH / Imprint / Privacy Policy