Skip to main content

Functions for 3D coordinate transformations

Project description

https://travis-ci.org/matthew-brett/transforms3d.svg?branch=master https://coveralls.io/repos/matthew-brett/transforms3d/badge.png?branch=master

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 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.

travis-ci kindly tests the code automatically under Python 2.6, 2.7, 3.2, 3.3 and 3.4.

We depend on numpy >= 1.5. You could probably 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

transforms3d-0.3.zip (76.0 kB view details)

Uploaded Source

transforms3d-0.3.tar.gz (62.8 kB view details)

Uploaded Source

File details

Details for the file transforms3d-0.3.zip.

File metadata

  • Download URL: transforms3d-0.3.zip
  • Upload date:
  • Size: 76.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for transforms3d-0.3.zip
Algorithm Hash digest
SHA256 330357a2ccf4d4f0653ce49a2407dc5a880abccc4439fc66cdbb828357a0db5a
MD5 12ab65f899566f49e7c4278d9ca57a26
BLAKE2b-256 0073b6f2686483266e524788274a600813fe6a94685707497a8dbf571669b2ce

See more details on using hashes here.

File details

Details for the file transforms3d-0.3.tar.gz.

File metadata

  • Download URL: transforms3d-0.3.tar.gz
  • Upload date:
  • Size: 62.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for transforms3d-0.3.tar.gz
Algorithm Hash digest
SHA256 5da59b3267767881c4ce5347402824108bd4bf2e4d79dabe135b4e556c8fe1c4
MD5 ab75db856772bf01c85b5ee39332af48
BLAKE2b-256 2d31c124e38835e4049fc843a66af6ea2551bb1d6af558f3d31c5c34659ca00f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page