NURBS 2D/3D curve and surface evaluation library in native Python
Project description
Description
NURBS-Python provides Non-Uniform Rational B-Spline (NURBS) surface and 2D/3D curve data structures and computation algorithms in native Python. The library is fully object-oriented and does not depend on any external libraries.
Features
The package contains 4 modules:
geomdl.BSpline contains Non-Uniform B-Spline (NUBS) evaluation and storage functionality
geomdl.NURBS contains Non-Uniform Rational B-Spline (NURBS) evaluation and storage functionality
geomdl.CPGen contains simple control points grid generation algorithms
geomdl.utilities contains helper functions for generating and manipulating knot vectors and control points
geomdl.BSpline and geomdl.NURBS modules contain 3 classes for geometric evaluation:
Curve for evaluating 3D curves
Curve2D for evaluating 2D curves
Surface for evaluating surfaces
geomdl.CPGen module contains 2 classes for grid generation:
Grid for generating inputs for geomdl.BSpline.Surface class
GridWeighted for generating inputs for geomdl.NURBS.Surface class
Examples
Please see the Examples repository for more details and example scripts on how to use NURBS-Python.
Visualization
NURBS-Python comes with an experimental visualization module, geomdl.visualization, for plotting the generated 2D/3D curves and surfaces directly.
Shapes
Starting from NURBS-Python v3.1, a new experimental module geomdl.shapes is shipped with the package. The aim of this module is providing an easy way to generate the most common curves and surfaces, such as circles and cylinders.
Further Reading
Github repository: https://github.com/orbingol/NURBS-Python
Documentation: http://nurbs-python.rtfd.org/
License
NURBS-Python is licensed under The MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file NURBS_Python-3.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: NURBS_Python-3.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 46.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 988716bbb6fd5e446c36372ff423def1a992a97274cc8b639eade9a6a95f2ee8 |
|
MD5 | 5502e6351e3261aec32b2b5d60ffeed9 |
|
BLAKE2b-256 | 46a6af14aad9c8dba87a3061e99310362b28444a7d0898b20c6e3124068288f4 |