A 3d prototyping framework written in C