Mark Stock


Stickkit is a command-line tool for manipulating segmented vector geometry in 2D or 3D space. It is a single ANSI C file and requires no special libraries to build on most machines. It fills a gap that I found in command-line geometry processing software: a tool designed specifically for segmented geometries (graphs and networks).

Note that similar software is available for three-dimesional triangle meshes: first my own Rocktools, and also the very powerful tool Meshlab---a GUI triangle mesh manipulation tool that can read and write a number of formats, plus perform a large variety of smoothing and simplification operations.


The current version of Stickkit is 0.5. You can download it here: stickkit.c. On a Linux or OSX system, build it with:
cc -O2 -std=c99 -o stickkit stickkit.c -lm
or, to cross-compile for Windows on Linux, use:
/usr/local/bin/i386-mingw32-gcc -O2 -o stickkit.exe stickkit.c -lm


Stickkit can do a few interesting things:


Comparison of levels of coarsening;
stickkit trace2.seg -coarsen 0.1 -vtk > trace2_0p1.vtk;
stickkit trace2.seg -coarsen 0.01 -vtk > trace2_0p01.vtk
Comparison of roughened and unroughened geometries, colored by radius;
stickkit trace2.seg -coarsen 0.01 -roughen 1.0 -vtk > rough1p0.vtk
Geometry from DLA-ND program, converted to VTK;
stickkit outputp_0100.rad -vtk > outputp_0100.vtk
Triangle mesh edges created with vort3d, the vortex sheet motion software from my dissertation research;
Triangle mesh edges split into dots for laser subsurface etching output;
stickkit run02_freg056.seg -coarsen 0.006818 -dots > run02_freg056_d.pla

Future plans

Future versions of Stickkit may include the following:

Please e-mail me if you'd like to see some particular feature in Stickkit, or if you use it to make something creative.