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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file s3dlib-1.0.0.tar.gz.

File metadata

  • Download URL: s3dlib-1.0.0.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.21.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for s3dlib-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a6e77dee9d664d2ed991c05774c255e6c0d75e859759d154a1c64ca1a6dc1efc
MD5 71924d7b65a6701b1a7dc81412c70024
BLAKE2b-256 73a9b997bfc0265bcc11c0c3aa51e4b2e0c527402c044c54517e4c7acea777e1

See more details on using hashes here.

File details

Details for the file s3dlib-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: s3dlib-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.21.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for s3dlib-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 498c94e3252a9ec7ed943ebc8913a47048bef53c952d153517faad3e11bf78f9
MD5 9ccbe1a61b1436214506b6274c1bb6ee
BLAKE2b-256 88e89b9eeabe59c5e6d1d2ac576b43e77903b24f0a6e1c7939908f10d588a410

See more details on using hashes here.

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