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 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 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.
Metadata
Release files for transforms3d 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| transforms3d-0.4.2.tar.gz | 1.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| transforms3d-0.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.7 MB
Release files / transforms3d-0.4.2.tar.gz
| Download URL | transforms3d-0.4.2.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8b5df30eaedbee556e81c6938e55aab5365894e47d0a17615d7db7fd2393680
|
|
BLAKE2b-256 checksum How to use checksums |
d51e626c2d87c29a35fadc8de5624f4302e1ee56cff380d282d62cb3780e6620
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.8
|
Release files / transforms3d-0.4.2-py3-none-any.whl
| Download URL | transforms3d-0.4.2-py3-none-any.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c70399d9e9473ecc23311fd947f727f7c69ed0b063244828c383aa1aefa5941
|
|
BLAKE2b-256 checksum How to use checksums |
617af38385f1b2d5f54221baf1db3d6371dc6eef8041d95abff39576c694e9d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.8
|