Skip to main content

Tool to create discrete b-splines with surface properties

Project description

========= PySplines

Python / Sympy implementation of Uniform rational B-splines.

The supposed usage of the PySplines is CAD-style parameter-based shape generation for meshes and shape optimization.

The package focuses on:

  • Easy generation of B-splines with given control points and degree,
  • Access to the surface properties in analytical and numerical forms (normals, curvature, displacement fields)
  • Smoothness of the curve and uniformity of the points distribution along the curve
  • Fast access to the surface properties, especially when they are called multiple times

Sphinx documentation available here: http://petrkungurtsev.me/PySplines__.

.. __: http://petrkungurtsev.me/PySplines

Demos

Please refer to the demo folder for some use cases.

Installation

With pip:

.. code-block:: rst

python -m pip install pysplines

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

pysplines-0.3.0.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distribution

pysplines-0.3.0-py3-none-any.whl (15.7 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