This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name = "python" | |
| version = "3.13.1" | |
| authors = ["Guido van Rossum"] | |
| description = "The Python programming language" | |
| private_build_requires = ['uv-0.7.13+<1'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from arnold import * | |
| import GafferArnold | |
| import ctypes | |
| import imath | |
| import Gaffer | |
| def convert_parameters( gaffer_shader, node ): | |
| node_name = AiNodeGetName( node ) | |
| entry = AiNodeGetNodeEntry( node ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from avalon import api | |
| from avalon import io | |
| import alembic.Abc | |
| def get_alembic_paths(filename): | |
| """Return all full hierarchy paths from alembic file""" | |
| # Normalize alembic path | |
| path = os.path.normpath(filename) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import alembic.Abc | |
| from alembic.AbcGeom import IXform | |
| kWrapExisting = alembic.Abc.WrapExistingFlag.kWrapExisting | |
| def get_matrix(obj): | |
| if not IXform.matches(obj.getHeader()): | |
| raise TypeError("Object is not an xform: {0}".format(obj)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import alembic | |
| def any_shapes_in_alembic(filename): | |
| """Return object ids from the Alembic hierarchy | |
| Reads an Alembic archive hierarchy and retrieves the | |
| value from the id properties on the objects. | |
| Arguments: | |
| filename (str): Full path to Alembic archive to read. |