Skip to content
/ PyPCS Public

Python library to compute several kind of parametric curves and surfaces.

Notifications You must be signed in to change notification settings

asanf/PyPCS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPCS

Python framework that computes several kind of parametric curves and surfaces.

About

This framework has been developed as part of my bachelor's degree thesis work. It uses NumPy and Matplotlib. The framework contains code to compute:

     | Curve  | Surface  

----------|--------|----------- Bézier | Yes | Yes
Natural Spline | Yes | No Hermite Spline | Yes | No Cardinal Spline | Yes | No B-Spline | Yes | Yes NURBS | Yes | Yes

It is also possible to perform curve and surface fitting using NURBS.

Usage

To create a curve, you have to provide a list of control points (or the name of a file that contains them) and the number of points of the curve you want to compute. For example, for a Bézier curve

    curve = Bezier([(0, 5), (5, 8), (10, 8), (15, 3)], 200)
    curve.calculate()

About

Python library to compute several kind of parametric curves and surfaces.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages