Skip to content

Numpy bindings for opcode collision detection library

License

Notifications You must be signed in to change notification settings

cpbotha/pyopcode

 
 

Repository files navigation

Build status Build status

pyOPCODE

Numpy bindings for the OPCODE collision detection library.

Currently, this only wraps the functionality to perform efficient triangle-triangle collisions between two rigid triangle meshes, using AABB trees.

  • Mesh(vertices, triangles) -> Mesh instance
  • Collision(Mesh_0, Mesh_1) -> Collision instance
  • Collision.query(affine4x4_0, affine4x4_1) -> ndarray, [n_collisions, 2], int

Support for wrapping the raytracing/picking code is planned as well.

In general; the hard part in making this package is getting the code to compile. Given that is does that, extending the interface should generally by simple.

Currently supported platforms are windows, linux, on both python 2.7 and 3.5

About

Numpy bindings for opcode collision detection library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 87.4%
  • C 7.8%
  • Objective-C 2.5%
  • Python 1.9%
  • Batchfile 0.2%
  • CMake 0.1%
  • Shell 0.1%