Development/MatterSlice Fundamentals
MatterSlice is a single independent application that MatterControl uses to do its slicing. MatterSlice goes though roughly these steps to turn your file into GCode:
- The command line is processed to know what to do. (main.cs)
- The settings are loaded up. (Settings.cs)
- The STL is loaded (modelFile.cs)
- The FFF processor is run on to do the processing (fffProcessor.cs)
- setTargetFile is called to set the stl to process
- processFile is called to do the processing (this is the start of all the real work)
- finalize is called to finish the save