Skip to main content

NURBS 2D/3D curve and surface evaluation library in native Python

Project description

DOI RTD TRAVISCI APPVEYOR LANDSCAPEIO WAFFLEIO

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

NURBS-Python consists of the following modules and components:

  • Core library
  • Multi module
  • Exchange module
  • Visualization component
  • Shapes component

Core Library

The core library 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 altering 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

Starting from version 3.2, NURBS-Python provides abstract Curve and Surface base classes in geomdl.Abstract module.

Multi Module

NURBS-Python provides container-like classes for working with multiple curves and surfaces in geomdl.Multi module. Please see the documentation for details.

Exchange Module

NURBS-Python can export Surface types in OBJ and STL format using geomdl.exchange module. This module contains 2 major functions:

  • save_obj for saving surfaces as .obj files
  • save_stl for saving surfaces as .stl files in ascii or binary format (default is binary)

Visualization Component

NURBS-Python comes with an experimental visualization module, geomdl.visualization, for plotting generated 2D/3D curves and surfaces directly.

Shapes Component

Starting from NURBS-Python v3.1, a new experimental module geomdl.shapes is shipped with the NURBS-Python package. The aim of this component is providing an easy way to generate the most common curves and surfaces, such as circles and cylinders.

License

NURBS-Python is licensed under The MIT License.

Project details


Release history Release notifications

History Node

3.7.8

History Node

3.7.7

History Node

3.7.6

History Node

3.7.5

History Node

3.7.4

History Node

3.7.3

History Node

3.7.2

History Node

3.7.1

History Node

3.7.0

History Node

3.6.8

History Node

3.6.7

History Node

3.6.6

History Node

3.6.5

History Node

3.6.4

History Node

3.6.3

History Node

3.6.2

History Node

3.6.1

History Node

3.6.0

History Node

3.5.3

History Node

3.5.2

History Node

3.5.1

History Node

3.5.0

History Node

3.4.7

History Node

3.4.6

History Node

3.4.5

History Node

3.4.4

History Node

3.4.3

History Node

3.4.2

History Node

3.4.1

History Node

3.4.0

This version
History Node

3.3.2

History Node

3.3.1

History Node

3.3.0

History Node

3.2.2

History Node

3.2.1

History Node

3.2.0

History Node

3.1.4

History Node

3.1.3

History Node

3.1.2

History Node

3.1.1

History Node

3.1.0

History Node

3.0.21

History Node

3.0.20

History Node

3.0.19

History Node

3.0.18

History Node

3.0.17

History Node

3.0.16

History Node

3.0.15

History Node

3.0.14

History Node

3.0.13

History Node

3.0.12

History Node

3.0.11

History Node

3.0.10

History Node

3.0.9

History Node

3.0.8

History Node

3.0.7

History Node

3.0.6

History Node

3.0.5

History Node

3.0.4

History Node

3.0.3

History Node

3.0.2

History Node

3.0.1

History Node

3.0.0

History Node

2.3.9

History Node

2.3.8

History Node

2.3.7

History Node

2.3.6

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
NURBS_Python-3.3.2-py2.py3-none-any.whl (49.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Feb 14, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page