public JobParams(string gcodefile, string jobname, string preview_image_file_name, FilamentSpool.TypeEnum filament_type, float estimatedTime, float estimatedFilamentNeeded) { jobMode = JobParams.Mode.DirectPrinting; this.gcodefile = gcodefile; this.jobname = jobname; this.preview_image_file_name = preview_image_file_name; this.filament_type = filament_type; this.estimatedTime = estimatedTime; this.estimatedFilamentNeeded = estimatedFilamentNeeded; options = new JobOptions { use_raft_DetailOnly = true, wipe_tower = false, ooze_shield = false, autostart_ignorewarnings = false, use_wave_bonding = false, dont_use_preprocessors = false, use_support_DetailOnly = false, calibrate_before_print = false, turn_on_fan_before_print = false, bounds_check_xy = true, quality_layer_resolution_DetailOnly = 0, fill_density_DetailOnly = 0 }; filament_temperature = 0; preprocessor = new FilamentPreprocessorData(); jobGuid = Guid.NewGuid().ToString(); autoprint = false; }
public JobParams() { options = new JobOptions(); preprocessor = new FilamentPreprocessorData(); jobGuid = Guid.NewGuid().ToString(); jobMode = JobParams.Mode.DirectPrinting; outputfile = null; }
public JobParams(JobParams other) { options = new JobOptions(other.options); preprocessor = new FilamentPreprocessorData(other.preprocessor); jobGuid = other.jobGuid; jobMode = other.jobMode; outputfile = other.outputfile; autoprint = other.autoprint; estimatedFilamentNeeded = other.estimatedFilamentNeeded; estimatedTime = other.estimatedTime; filament_temperature = other.filament_temperature; filament_type = other.filament_type; gcodefile = other.gcodefile; preview_image_file_name = other.preview_image_file_name; }