View on GitHub

PyInventor

3D Graphics in Python with Open Inventor

inventor

module inventor - Open Inventor 3D Toolkit

This module provides capabilities to work with Inventor scene objects. It

Furthermore this module creates Python classes for all registered engines and nodes dynamically, thereby enabling access to scene object fields via class attributes.

Functions:

implements the following classes:

classes(...)

Returns all class names registered as Inventor scene objects.

Args:

Returns:

create_classes(...)

Creates Python classes for all registered Inventor scene objects.

create_object(...)

Creates a scene object instance for a given type, scene object name or existing native pointer.

Args:

Returns:

pick(...)

Performs an intersection test of a ray with objects in a scene.

Args:

Returns:

process_queues(...)

Processes inventor timer and delay queues.

Args:

read(...)

Reads a scene graph from string or file.

Args:

Returns:

render_buffer(...)

Renders a scene into an offscreen buffer using the inventor SoOffscreenRenderer class. Note that this class creates a private, none-shared OpenGL context. If you are using a GUI framework such as Qt then it is better to do the offscreen rendering with classes like QtOpenGL.QGLFramebufferObject because the application controls the setup of the OpenGL context.

Args:

Returns:

render_image(...)

Same as render_buffer() only that the returned buffer is wrapped in an Image object of the Python Imaging Library (PIL).

Args:

Returns:

search(...)

Searches for children in a scene with given name or type.

Args:

Returns:

write(...)

Writes scene graph to file or string.

Args:

Returns: