← Back to Engineering Tools
Geometry · Released

Coordinate Transformation

Rotate, translate, and mirror X/Y coordinates. Essential for programing parts on rotated fixtures, finding coordinates after a datum shift, or calculating mirror-image pockets.

Transformed coordinates
#Original XOriginal Y→ New X→ New Y

Transformation formulas

Rotation (counterclockwise by θ): X' = X·cos θ − Y·sin θ; Y' = X·sin θ + Y·cos θ

Translation: X' = X + tx; Y' = Y + ty

Mirror: mirror across X → Y' = −Y; mirror across Y → X' = −X

Order of operations: mirror → rotate → translate. This matches how G68 (coordinate rotation) and G52 (local offset) work on most CNC controls.