a STL model generator for link chain