Made unit tests for slicing a cube

Got the code passing the tests.
This commit is contained in:
Lars Brubaker 2015-02-17 19:16:10 -08:00
parent 2ce5b6ee75
commit 804da8967e
7 changed files with 146 additions and 4 deletions

View file

@ -318,7 +318,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
#if false
Mesh loadedMesh = StlProcessing.Load(fileToSlice);
SliceLayers layers = new SliceLayers();
layers.GetAllLayers(loadedMesh, .2, .2);
layers.GetPerimetersForAllLayers(loadedMesh, .2, .2);
layers.DumpSegmentsToGcode("test.gcode");
#endif