Skip to content

Tool to create discrete b-splines for shape optimization

License

Notifications You must be signed in to change notification settings

Corwinpro/PySplines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Demos

Please refer to the demo folder for some use cases.

Installation

With pip:

python -m pip install pysplines

About

Tool to create discrete b-splines for shape optimization

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages