New settings
new setData method to support clipDistance
Refactored writeGCode: clip algorithm