knurled_tri-spinner_code-fixes

Updated 02/17/17:

Beta code here:
https://github.com/dannen/3d-spinner

current:
removed the debuging code
refactored the code (again)
added ROTATION to the outer rings
reduced the size of the cylinders that make the holes in the outer rings
removed a lot of unnecessary code

older:
Redid the math to better support spinners of 3 to 7 bearings.
Added color to better show the different functions.
Expanded fudge_factor to other loops in the code.
Added more comments to better explain variables, loops, math, etc.
Added debug function to print out variables in openscad. 1 = on, 0 = off.

An edit of the scad code from:

http://www.thingiverse.com/thing:1871997

I added a "fudge_factor" variable to the object to clean up the model in the scad viewer.

I've also updated the knurled surface library code to remove the deprecated function assign and parameter 'triangles' in the polygon function.
This should make the knurled module up to date with the current (12/2016) scad library.

http://www.thingiverse.com/thing:32122

The code has also been refactored to my preferred coding style.

Edited in Atom with the language-openscad plugin.

https://atom.io/

https://atom.io/packages/language-openscad