matthew-brett/transforms3d

3 dimensional spatial transformations

Python

509

213 commits

updated Jul 6, 2024

See the code

README

############
Transforms3d
############

Code to convert between various geometric transformations.

* Composing rotations / zooms / shears / translations into affine matrix;
* Decomposing affine matrix into rotations / zooms / shears / translations;
* Conversions between different representations of rotations, including:

  * 3x3 Rotation matrices;
  * Euler angles;
  * quaternions.

We have tried to document the algorithms carefully and write clear code in the
hope that this code can be a teaching reference.  We document the math behind
some of the algorithms using `sympy <http://www.sympy.org>`_ in
``transforms3d/derivations``.  We would be very pleased if y'all would like to
add your own algorithms and derivations - please get a copy of the code from
https://github.com/matthew-brett/transforms3d and get on down,
algorithmically.  Feel free to use the github issue tracker and pull request
system to ask for advice and support.

*************
Documentation
*************

Documentation for latest released version at
http://matthew-brett.github.io/transforms3d

****
Code
****

See https://github.com/matthew-brett/transforms3d

Released under the BSD two-clause license - see the file ``LICENSE`` in the
source distribution.

Much of the code comes from `transformations.py
<http://www.lfd.uci.edu/~gohlke/code/transformations.py.html>`_ by Christoph
Gohlke, also released under the BSD license.

We use Github actions to test the code automatically under Pythons 3.7 through
3.10.

We depend on numpy >= 1.15.  You may be able to make it work on an earlier
numpy if you really needed that.

The latest released version is at https://pypi.python.org/pypi/transforms3d

*******
Support
*******

Please put up issues on the `transforms3d issue tracker
<https://github.com/matthew-brett/transforms3d/issues>`_.

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

matthew-brett/transforms3d

3 dimensional spatial transformations

Python

509

213 commits

updated Jul 6, 2024

See the code

README

############
Transforms3d
############

Code to convert between various geometric transformations.

* Composing rotations / zooms / shears / translations into affine matrix;
* Decomposing affine matrix into rotations / zooms / shears / translations;
* Conversions between different representations of rotations, including:

  * 3x3 Rotation matrices;
  * Euler angles;
  * quaternions.

We have tried to document the algorithms carefully and write clear code in the
hope that this code can be a teaching reference.  We document the math behind
some of the algorithms using `sympy <http://www.sympy.org>`_ in
``transforms3d/derivations``.  We would be very pleased if y'all would like to
add your own algorithms and derivations - please get a copy of the code from
https://github.com/matthew-brett/transforms3d and get on down,
algorithmically.  Feel free to use the github issue tracker and pull request
system to ask for advice and support.

*************
Documentation
*************

Documentation for latest released version at
http://matthew-brett.github.io/transforms3d

****
Code
****

See https://github.com/matthew-brett/transforms3d

Released under the BSD two-clause license - see the file ``LICENSE`` in the
source distribution.

Much of the code comes from `transformations.py
<http://www.lfd.uci.edu/~gohlke/code/transformations.py.html>`_ by Christoph
Gohlke, also released under the BSD license.

We use Github actions to test the code automatically under Pythons 3.7 through
3.10.

We depend on numpy >= 1.15.  You may be able to make it work on an earlier
numpy if you really needed that.

The latest released version is at https://pypi.python.org/pypi/transforms3d

*******
Support
*******

Please put up issues on the `transforms3d issue tracker
<https://github.com/matthew-brett/transforms3d/issues>`_.

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Project health

Overall

3.0/10

Maintained

0/10

Code review

0/10
OpenSSF Scorecard

Latest release

0.4.2 · Jun 20, 2024

Releases this year

0

Significant stargazers

PommesPeter

127 followers · starred Mar 2025

Stone Tao

695 followers · starred Jul 2024

Takashi Ogura

224 followers · starred Aug 2016

Samuel John

64 followers · starred Aug 2017