Skip to main content

A fast and user-friendly library built on top of Autodesk Maya's OpenMaya library.

Project description

AL_omx

License PyPi PythonVersion

AL_omx is an open-source library that provides a thin wrapper around Maya OM2 which makes it easy to manipulate nodes, attributes and connections while retaining the API's performance:

QuickStart

Install AL_omx using mayapy -m pip install AL_omx, or by adding the root directory to sys.path. The url for PyPi package is here.

For more information on the installation, check out here.

The requirements of AL_omx:

Python Maya
3.7+ 2022+

Syntax

AL_omx uses object-oriented syntax:

    from AL import omx

    transform, locator = omx.createDagNode(
        "locator", nodeName="myLocShape", returnAllCreated=True
    )
    omx.createDGNode("time", nodeName="myTime")
    persp = omx.XNode("persp")
    perspShape = omx.XNode("perspShape")

    persp.visibility.setLocked(True)
    transform.t.set([2.0, 2.0, 2.0])
    print(f"locator worldMatrix: {transform.wm[0].get()}")
    locator.overrideEnabled.set(True)
    locator.overrideColor.set(14)

    persp.r.connectTo(transform.r)
    transform.sx.connectFrom(omx.XNode("time1").outTime)
    transform.r.disconnectFromSource()

    # ctrl+Z/shift+Z to undo & redo

Documentation

The full document source is available in the docs folder, you can generate the document yourself using sphinx, check out here for how to do it.

The full online documentation can be found at https://animallogic.github.io/AL_omx/

Here are some convenient entries:

Contribution & Feedback

For how to contribute to AL_omx, check out here. If you have any issues or feature suggestions, please feel free to submit a ticket in GitHub Issues.

Update on Project Governance and Contributions

As of May 11 2026, the AL_omx project is updating its contribution process.

What is Changing?

Retirement of Formal CLAs: We no longer require contributors to sign and email a PDF of the Individual or Corporate Contributor License Agreement. By submitting a contribution to this project, you represent that you are entitled to grant the relevant licenses for your contribution. All contributions are now governed strictly by the Apache License, Version 2.0 included in this repository. If you or your corporation have already signed a CLA for the AL_omx project, those agreements remain on file as a historical record of the intellectual property permissions granted for previous versions of the software.

Project details


Download files

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

Source Distribution

al_omx-1.1.0.tar.gz (313.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

al_omx-1.1.0-py3-none-any.whl (80.7 kB view details)

Uploaded Python 3

File details

Details for the file al_omx-1.1.0.tar.gz.

File metadata

  • Download URL: al_omx-1.1.0.tar.gz
  • Upload date:
  • Size: 313.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for al_omx-1.1.0.tar.gz
Algorithm Hash digest
SHA256 2f1d5d500ea424ec4cde79cde1ee28f0e2a90f728c4391f42ca67390389d182b
MD5 c0e4c0e5c10a3bc7f75552b5239d04d0
BLAKE2b-256 95f1eb832b690e1d843330ac05409f72c82eb38dc5d0c8448149b403b41b0507

See more details on using hashes here.

File details

Details for the file al_omx-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: al_omx-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 80.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for al_omx-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c93a4229e6d06325c9a4cb1a07394651f33fcceca9fc4fcd900db908c6d7447
MD5 dbc9d8ecb860969b25141d08b0d5025b
BLAKE2b-256 5a1b7d24295cac37b060f3ff253161ff4d9139a256756ed329520bda4825a7e9

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