Skip to main content

Python classes to create 3D surface objects rendered in Matplotlib

Project description

S3Dlib

Python classes to create 3D surface objects rendered in Matplotlib

Detailed documentation and examples are provided at s3dlib.org


A 3D surface object is a collection of faces with vertices ordered using the 'right hand rule' to designate the 'outer' surface normals. All surface faces are joined with a minimum of one adjacent face. Adjacent faces share two common vertices.

The surface object geomentry and color are controlled through various object methods in the 'Surface3DCollection' base class. Surface instantiation is performed using the four subclasses that have predefined surface topologies in native coordinates. Base class objects may be created by addition of subclass objects to form a single 'composite' surface.

Objects are added to the mpl_toolkits.mplot3d.Art3d using the Axis3d.add_collection3d() method.

Included is a module containing functions to create custom Matplotlib color maps.

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

s3dlib-1.0.0.tar.gz (27.7 kB view hashes)

Uploaded Source

Built Distribution

s3dlib-1.0.0-py3-none-any.whl (29.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page