public PrinterProfile() { AccessoriesConstants = new AccessoriesProfile(); TemperatureConstants = new TemperatureProfile(); PrinterSizeConstants = new PrinterSizeProfile(); SpeedLimitConstants = new SpeedLimitProfile(); SupportedFeaturesConstants = new SupportedFeaturesProfile(); }
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; }
public SupportedFeaturesProfile(SupportedFeaturesProfile other) { m_supportedFeatureMapping = new WriteOnce <Dictionary <string, int> >(); if (other.m_supportedFeatureMapping.Value == null) { return; } m_supportedFeatureMapping.Value = new Dictionary <string, int>(other.m_supportedFeatureMapping.Value); }
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 }; }
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 }; }