Move and rotate 3D points

Move a list of 3D points by dx, dy, dz, then rotate them about the origin. Paste from Excel, CSV or FEA node lists.

Saves your input in a cookie in this browser only, for 180 days. The server never reads it. Cookie policy
Points

Excel columns, 1.5, -2.2, 3.7, 1.5 -2.2 3.7, [1.5, -2.2, 3.7], 4e2 and decimal commas (1,5;-2,2;3,7 or 1,5 -2,2 3,7) all work. A fourth leading value (node number) is kept as the label.

1. Move by d
dx
dy
dz
2. Rotate about the origin
about X°
about Y°
about Z°

Rotations about the fixed world axes through the origin (0, 0, 0), first X, then Y, then Z, so R = Rz·Ry·Rx. A positive angle is counter-clockwise looking from the positive end of the axis toward the origin (right-hand rule). Final point P″ = R · (P + d).

Results
Rotation matrix R = Rz·Ry·Rx
Step by step · first point

About this tool

Transforms a list of 3D points, for example the nodes of an FEA mesh, survey points or a borehole layout: every point P is first moved by d = (dx, dy, dz) and the moved point is then rotated about the origin (0, 0, 0), so the final point is P'' = R · (P + d).

The rotations are about the fixed world axes, first about X, then Y, then Z, so R = Rz·Ry·Rx. A positive angle turns counter-clockwise looking from the positive end of the axis toward the origin (right-hand rule). The page shows R and a step-by-step check of the first point, where |P'| = |P''| because a rotation keeps distances to the origin.

Points can be pasted as Excel columns, comma, semicolon or space separated lines, with brackets, decimal commas or exponents; a fourth leading value is kept as the point label (node number). Lines that cannot be read are listed with their line numbers. Results are rounded to 10 decimals. All rows, only the final points, or a single point or row can be copied, and all rows downloaded, with a decimal point or comma and a tab, semicolon, comma or space delimiter.

Is the point moved first or rotated first?

Moved first, then rotated about the origin: P'' = R · (P + d). To rotate about another point C, move by −C here, then move the result by +C.

In which order are the three rotations applied?

About the fixed X axis first, then Y, then Z (R = Rz·Ry·Rx), each counter-clockwise for a positive angle when looking from the positive end of the axis toward the origin.

Related tools

Free to use, no sign-up. Results are for checking and preliminary design; verify them for your project. Questions or ideas: [email protected].