Made unit tests for slicing a cube
Got the code passing the tests.
This commit is contained in:
parent
2ce5b6ee75
commit
804da8967e
7 changed files with 146 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue