Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Faster Python bindings for Assimp.

Project description

PyPI version Build Status Documentation Status

Faster (than PyAssimp) Python bindings for Assimp, Cython-based, BSD3 license.

It uses the same naming as the original library, so examples from the official docs can be used directly (minus C sintaxis).


Example usage:

from assimpcy import aiImportFile, aiPostProcessSteps as pp
flags = pp.aiProcess_JoinIdenticalVertices | pp.aiProcess_Triangulate
scene = aiImportFile('mymodel.3ds', flags)
print('Vertex {} = {}'.format(v, scene.mMeshes[0].mVertices[0]))

Matrices, quaternions and vectors are returned as Numpy arrays.

It has been tested with: * Python 2.7 * Python 3.4 +


Requirements:

  • Assimp >= 3.1.1
  • Numpy >= 1.9.2

Installation:

The easiest way is:

pip install assimpcy

If that does not work for you, please check Installation for instructions.

Missing:

  • Cameras
  • Lights
  • Export functionality

Those might be added in the future.

Documentation

Read The Docs


And what about the name? Well, cyassimp was already taken :smirk:.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
AssimpCy-1.1.1.tar.gz (194.2 kB) Copy SHA256 hash SHA256 Source None Feb 4, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page