Ejemplo n.º 1
0
 public Micro1PrinterProfile()
 {
     ProfileName      = "Micro";
     ProductConstants = new ProductProfile(9220U, 1003U, 32768U, 35, AVRChipData.ATxmega32C4, new Dictionary <char, FirmwareDetails>()
     {
         {
             'M',
             new FirmwareDetails(2016040401U, 562425535U, "M3D.Spooling.Embedded_Firmware.m3dfirmware-encrypt000001.hex")
         }
     });
     Scripts = new Micro1ScriptsProfile();
     PrinterSizeConstants  = new Micro1PrinterSizeProfile();
     PreprocessorConstants = new PrinterPreprocessorProfile(new IPreprocessor[4]
     {
         new GCodeInitializationPreprocessor(),
         new BondingPreprocessor(),
         new BedCompensationPreprocessor(),
         new BackLashPreprocessor()
     });
     FirstRunConstants = new FirstRunProfile(new IFirstRunUpdater[6]
     {
         new FirstRunUpdateResetOffsets(),
         new FirstRunUpdateSetBatchto500mA(),
         new FirstRunUpdateDefaultFan(),
         new FirstRunUpdateFanValues(),
         new FirstRunUpdateSetBacklash1500(),
         new FirstRunUpdateSetSpeedLimits()
     });
     SpeedLimitConstants  = new SpeedLimitProfile(4800f, 120f, 1500f, 4800f, 120f, 1500f, 60f, 30f, 60f, 600f, 60f, 102f, 720f, 60f, 360f, 4800f, 900f, 1500f);
     TemperatureConstants = new TemperatureProfile(150, 285);
     EEPROMConstants      = new MicroEEPROMConstants();
     VirtualCodes         = new MicroVirtualCodes();
     AccessoriesConstants = new AccessoriesProfile(false, 0, 0, false, false, 350, 300, 3000, 320, 2500);
     OptionsConstants     = new SpoolerOptionsProfile();
 }
Ejemplo n.º 2
0
 public MicroPlusPrinterProfile()
 {
     ProfileName      = "Micro+";
     ProductConstants = new ProductProfile(41503U, 1155U, 104448U, 139, STMChipData.STM32F070CB, new Dictionary <char, FirmwareDetails>()
     {
         {
             'M',
             new FirmwareDetails(2017121801U, 3451098045U, "M3D.Spooling.Embedded_Firmware.m3dfirmware-encrypt00M30x.hex")
         }
     });
     Scripts = new MicroPlusScriptsProfile();
     PrinterSizeConstants  = new Micro1PrinterSizeProfile();
     PreprocessorConstants = new PrinterPreprocessorProfile(new IPreprocessor[3]
     {
         new GCodeInitializationPreprocessor(),
         new BondingPreprocessor(),
         new BedCompensationPreprocessor()
     });
     FirstRunConstants          = new FirstRunProfile(new IFirstRunUpdater[0]);
     SpeedLimitConstants        = new SpeedLimitProfile(4800f, 120f, 1500f, 4800f, 120f, 1500f, 120f, 30f, 120f, 600f, 60f, 102f, 720f, 60f, 360f, 4800f, 1800f, 7200f);
     TemperatureConstants       = new TemperatureProfile(150, 285);
     EEPROMConstants            = new MicroPlusEEPROMConstants();
     VirtualCodes               = new MicroPlusVirtualCodes();
     SupportedFeaturesConstants = new SupportedFeaturesProfile(new Dictionary <string, int>()
     {
         {
             "Single Point Bed Height Calibration",
             0
         },
         {
             "Multi Point Automatic Bed Calibration",
             1
         },
         {
             "Power Outage Recovery",
             2
         },
         {
             "Untethered Printing",
             3
         }
     });
     AccessoriesConstants = new AccessoriesProfile(false, 0, 0, true, false, 350, 300, 3000, 320, 2500);
     OptionsConstants     = new SpoolerOptionsProfile
     {
         CheckGantryClips            = true,
         VerifyGantryNonZeroValues   = false,
         HomeAndSetTempOnCalibration = true,
         G92WorksOnAllAxes           = true
     };
 }