Exemplo 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();
 }
Exemplo n.º 2
0
 public PrinterProfile()
 {
     AccessoriesConstants       = new AccessoriesProfile();
     TemperatureConstants       = new TemperatureProfile();
     PrinterSizeConstants       = new PrinterSizeProfile();
     SpeedLimitConstants        = new SpeedLimitProfile();
     SupportedFeaturesConstants = new SupportedFeaturesProfile();
 }
Exemplo n.º 3
0
 public PrinterProfile(PrinterProfile other)
 {
     AccessoriesConstants       = new AccessoriesProfile(other.AccessoriesConstants);
     TemperatureConstants       = new TemperatureProfile(other.TemperatureConstants);
     PrinterSizeConstants       = new PrinterSizeProfile(other.PrinterSizeConstants);
     SpeedLimitConstants        = new SpeedLimitProfile(other.SpeedLimitConstants);
     SupportedFeaturesConstants = new SupportedFeaturesProfile(other.SupportedFeaturesConstants);
     ProfileName = other.ProfileName;
 }
Exemplo n.º 4
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
     };
 }
Exemplo n.º 5
0
 public SpeedLimitProfile(SpeedLimitProfile other)
 {
     MAX_FEEDRATE_X              = other.MAX_FEEDRATE_X;
     MIN_FEEDRATE_X              = other.MIN_FEEDRATE_X;
     DEFAULT_FEEDRATE_X          = other.DEFAULT_FEEDRATE_X;
     MAX_FEEDRATE_Y              = other.MAX_FEEDRATE_Y;
     MIN_FEEDRATE_Y              = other.MIN_FEEDRATE_Y;
     DEFAULT_FEEDRATE_Y          = other.DEFAULT_FEEDRATE_Y;
     MAX_FEEDRATE_Z              = other.MAX_FEEDRATE_Z;
     MIN_FEEDRATE_Z              = other.MIN_FEEDRATE_Z;
     DEFAULT_FEEDRATE_Z          = other.DEFAULT_FEEDRATE_Z;
     MAX_FEEDRATE_E_Positive     = other.MAX_FEEDRATE_E_Positive;
     MIN_FEEDRATE_E_Positive     = other.MIN_FEEDRATE_E_Positive;
     DEFAULT_FEEDRATE_E_Positive = other.DEFAULT_FEEDRATE_E_Positive;
     MAX_FEEDRATE_E_Negative     = other.MAX_FEEDRATE_E_Negative;
     MIN_FEEDRATE_E_Negative     = other.MIN_FEEDRATE_E_Negative;
     DEFAULT_FEEDRATE_E_Negative = other.DEFAULT_FEEDRATE_E_Negative;
     FastestPossible             = other.FastestPossible;
     DefaultSpeed         = other.DefaultSpeed;
     DefaultBacklashSpeed = other.DefaultBacklashSpeed;
 }
Exemplo n.º 6
0
 public ProPrinterProfile()
 {
     ProfileName      = "Pro";
     ProductConstants = new ProductProfile(41502U, 1155U, 98304U, 31, STMChipData.STM32F070CB, new Dictionary <char, FirmwareDetails>()
     {
         {
             'S',
             new FirmwareDetails(2017120801U, 751449189U, "M3D.Spooling.Embedded_Firmware.m3dfirmware-encrypt00S23x.hex")
         },
         {
             'M',
             new FirmwareDetails(2017121802U, 243077141U, "M3D.Spooling.Embedded_Firmware.m3dfirmware-encrypt00M24x.hex")
         }
     });
     Scripts = new ProScriptsProfile();
     PrinterSizeConstants  = new ProPrinterSizeProfile();
     PreprocessorConstants = new PrinterPreprocessorProfile(new IPreprocessor[4]
     {
         new GCodeInitializationPreprocessor(),
         new BondingPreprocessor(),
         new BedCompensationPreprocessor(),
         new BackLashPreprocessor()
     });
     FirstRunConstants          = new FirstRunProfile(new IFirstRunUpdater[0]);
     SpeedLimitConstants        = new SpeedLimitProfile(12000f, 120f, 3000f, 12000f, 120f, 3000f, 240f, 30f, 120f, 600f, 60f, 144f, 720f, 60f, 360f, 12000f, 2520f, 7200f);
     TemperatureConstants       = new TemperatureProfile(70, 295);
     EEPROMConstants            = new ProEEPROMConstants();
     VirtualCodes               = new ProVirtualCodes();
     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
         },
         {
             "Heated Bed Control",
             4
         },
         {
             "Motion Recovery",
             5
         }
     });
     AccessoriesConstants = new AccessoriesProfile(true, 50, 100, true, true, 400, 300, 3000, 320, 2500);
     OptionsConstants     = new SpoolerOptionsProfile
     {
         CheckGantryClips            = false,
         VerifyGantryNonZeroValues   = false,
         HomeAndSetTempOnCalibration = true,
         G92WorksOnAllAxes           = true
     };
 }