My sample code and solutions to some programming exercises for the book "Curves and Surfaces for CAGD" by Gerald Farin
C Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
blender_utils
ccode
chap03
chap04
chap05
chap06
chap07
common
datasets
.gitignore
README.rst

README.rst

About

This is the repository with my experiments and my solutions to programming tasks from the book

Curves and Surfaces for GAGD (Computer Aided Geometric Design) by Gerald Farin, 5th Edition

Websites:

The datasets come from a personal email from G. Farin. I enquired about the datasets since I couldn't find them on the two pages mentioned above anymore. He answered:

I don’t seem to have a whole lot. But here it comes…

Therefore the datasets are likely not complete, but better than nothing. I also extracted the files that are linked on the homepage in allfiles.txt.

Usage

Most of these scripts are expected to be run inside of Blender 2.5 as I use it as a cheap 3D visualization toolkit. You also need to have the numpy library installed and in a way that blender is able to find it. I manually tweak the sys.path variable for this whenever I start blender.

For some scripts I use matplotlib to visualize some stuff where firing up blender didn't really seem useful.

Related Blog Posts

The blog posts are meant as a standalone documentation about what is presented in each file so that the code is also interesting without access to the book. However, the book is much more complete and discusses more than what I am interested in.