diff --git a/CHANGELOG.md b/CHANGELOG.md index 90cf42b..0bb1244 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## ?/09/2020 - v0.8.2.1 + +* (Improvement) When unable to convert a format from SL1 to other, advice users to check used printer on PrusaSlicer +* (Improvement) Information on "Install profiles on PrusaSlicer" (#60) +* (Fix) LGS: Change resolution tool was defining wrong Y + ## 13/09/2020 - v0.8.2.0 * (Add) Layer status bar: Button with ROI - Click to zoom in region | Click + shift to clear roi diff --git a/UVtools.Core/FileFormats/LGSFile.cs b/UVtools.Core/FileFormats/LGSFile.cs index 4b23c41..bd4a228 100644 --- a/UVtools.Core/FileFormats/LGSFile.cs +++ b/UVtools.Core/FileFormats/LGSFile.cs @@ -241,7 +241,7 @@ namespace UVtools.Core.FileFormats public override uint ResolutionY { get => (uint)HeaderSettings.ResolutionY; - set => HeaderSettings.ResolutionX = value; + set => HeaderSettings.ResolutionY = value; } public override byte AntiAliasing => 4; diff --git a/UVtools.GUI/Forms/FrmInstallPEProfiles.Designer.cs b/UVtools.GUI/Forms/FrmInstallPEProfiles.Designer.cs index e798388..55d3b68 100644 --- a/UVtools.GUI/Forms/FrmInstallPEProfiles.Designer.cs +++ b/UVtools.GUI/Forms/FrmInstallPEProfiles.Designer.cs @@ -34,39 +34,39 @@ this.lvPrinterProfiles = new System.Windows.Forms.ListView(); this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); - this.tsPrintProfiles = new System.Windows.Forms.ToolStrip(); this.tsPrinterProfiles = new System.Windows.Forms.ToolStrip(); - this.panel3 = new System.Windows.Forms.Panel(); - this.btnPrintProfilesUnselectAll = new System.Windows.Forms.ToolStripButton(); - this.btnPrintProfilesSelectAll = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.lbPrintProfilesCount = new System.Windows.Forms.ToolStripLabel(); - this.panel4 = new System.Windows.Forms.Panel(); - this.label1 = new System.Windows.Forms.Label(); - this.label2 = new System.Windows.Forms.Label(); - this.panel5 = new System.Windows.Forms.Panel(); - this.label3 = new System.Windows.Forms.Label(); - this.panel6 = new System.Windows.Forms.Panel(); this.btnPrinterProfilesUnselectAll = new System.Windows.Forms.ToolStripButton(); this.btnPrinterProfilesSelectAll = new System.Windows.Forms.ToolStripButton(); this.lbPrinterProfilesCount = new System.Windows.Forms.ToolStripLabel(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.tsPrintProfiles = new System.Windows.Forms.ToolStrip(); + this.btnPrintProfilesUnselectAll = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.btnPrintProfilesSelectAll = new System.Windows.Forms.ToolStripButton(); + this.lbPrintProfilesCount = new System.Windows.Forms.ToolStripLabel(); + this.panel3 = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.label4 = new System.Windows.Forms.Label(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.panel4 = new System.Windows.Forms.Panel(); + this.label3 = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.panel6 = new System.Windows.Forms.Panel(); + this.panel5 = new System.Windows.Forms.Panel(); + this.label2 = new System.Windows.Forms.Label(); this.panel7 = new System.Windows.Forms.Panel(); + this.btnRefreshProfiles = new System.Windows.Forms.Button(); this.btnInstall = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); - this.btnRefreshProfiles = new System.Windows.Forms.Button(); this.tableLayoutPanel1.SuspendLayout(); - this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); - this.tsPrintProfiles.SuspendLayout(); this.tsPrinterProfiles.SuspendLayout(); + this.panel1.SuspendLayout(); + this.tsPrintProfiles.SuspendLayout(); this.panel3.SuspendLayout(); - this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); + this.groupBox1.SuspendLayout(); this.panel7.SuspendLayout(); this.SuspendLayout(); // @@ -80,9 +80,9 @@ this.lvPrintProfiles.GridLines = true; this.lvPrintProfiles.HideSelection = false; this.lvPrintProfiles.Location = new System.Drawing.Point(0, 25); - this.lvPrintProfiles.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.lvPrintProfiles.Margin = new System.Windows.Forms.Padding(4); this.lvPrintProfiles.Name = "lvPrintProfiles"; - this.lvPrintProfiles.Size = new System.Drawing.Size(498, 462); + this.lvPrintProfiles.Size = new System.Drawing.Size(498, 441); this.lvPrintProfiles.Sorting = System.Windows.Forms.SortOrder.Ascending; this.lvPrintProfiles.TabIndex = 0; this.lvPrintProfiles.UseCompatibleStateImageBehavior = false; @@ -105,7 +105,7 @@ this.lvPrinterProfiles.Location = new System.Drawing.Point(0, 25); this.lvPrinterProfiles.Margin = new System.Windows.Forms.Padding(4); this.lvPrinterProfiles.Name = "lvPrinterProfiles"; - this.lvPrinterProfiles.Size = new System.Drawing.Size(498, 462); + this.lvPrinterProfiles.Size = new System.Drawing.Size(498, 441); this.lvPrinterProfiles.Sorting = System.Windows.Forms.SortOrder.Ascending; this.lvPrinterProfiles.TabIndex = 1; this.lvPrinterProfiles.UseCompatibleStateImageBehavior = false; @@ -124,23 +124,13 @@ this.tableLayoutPanel1.Controls.Add(this.panel2, 1, 0); this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 112); + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 133); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(1008, 493); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1008, 472); this.tableLayoutPanel1.TabIndex = 2; // - // panel1 - // - this.panel1.Controls.Add(this.lvPrintProfiles); - this.panel1.Controls.Add(this.tsPrintProfiles); - this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel1.Location = new System.Drawing.Point(3, 3); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(498, 487); - this.panel1.TabIndex = 3; - // // panel2 // this.panel2.Controls.Add(this.lvPrinterProfiles); @@ -148,23 +138,9 @@ this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(507, 3); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(498, 487); + this.panel2.Size = new System.Drawing.Size(498, 466); this.panel2.TabIndex = 4; // - // tsPrintProfiles - // - this.tsPrintProfiles.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; - this.tsPrintProfiles.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.btnPrintProfilesUnselectAll, - this.toolStripSeparator1, - this.btnPrintProfilesSelectAll, - this.lbPrintProfilesCount}); - this.tsPrintProfiles.Location = new System.Drawing.Point(0, 0); - this.tsPrintProfiles.Name = "tsPrintProfiles"; - this.tsPrintProfiles.Size = new System.Drawing.Size(498, 25); - this.tsPrintProfiles.TabIndex = 0; - this.tsPrintProfiles.Text = "toolStrip1"; - // // tsPrinterProfiles // this.tsPrinterProfiles.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; @@ -178,100 +154,6 @@ this.tsPrinterProfiles.TabIndex = 1; this.tsPrinterProfiles.Text = "toolStrip2"; // - // panel3 - // - this.panel3.Controls.Add(this.groupBox2); - this.panel3.Controls.Add(this.groupBox1); - this.panel3.Dock = System.Windows.Forms.DockStyle.Top; - this.panel3.Location = new System.Drawing.Point(0, 0); - this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(1008, 112); - this.panel3.TabIndex = 3; - // - // btnPrintProfilesUnselectAll - // - this.btnPrintProfilesUnselectAll.Image = global::UVtools.GUI.Properties.Resources.checkbox_unmarked_16x16; - this.btnPrintProfilesUnselectAll.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btnPrintProfilesUnselectAll.Name = "btnPrintProfilesUnselectAll"; - this.btnPrintProfilesUnselectAll.Size = new System.Drawing.Size(89, 22); - this.btnPrintProfilesUnselectAll.Text = "Unselect All"; - this.btnPrintProfilesUnselectAll.Click += new System.EventHandler(this.EventClick); - // - // btnPrintProfilesSelectAll - // - this.btnPrintProfilesSelectAll.Image = global::UVtools.GUI.Properties.Resources.checkbox_marked_16x16; - this.btnPrintProfilesSelectAll.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btnPrintProfilesSelectAll.Name = "btnPrintProfilesSelectAll"; - this.btnPrintProfilesSelectAll.Size = new System.Drawing.Size(75, 22); - this.btnPrintProfilesSelectAll.Text = "Select All"; - this.btnPrintProfilesSelectAll.Click += new System.EventHandler(this.EventClick); - // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); - // - // lbPrintProfilesCount - // - this.lbPrintProfilesCount.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.lbPrintProfilesCount.Name = "lbPrintProfilesCount"; - this.lbPrintProfilesCount.Size = new System.Drawing.Size(36, 22); - this.lbPrintProfilesCount.Text = "Items"; - // - // panel4 - // - this.panel4.BackColor = System.Drawing.Color.Black; - this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel4.Location = new System.Drawing.Point(12, 76); - this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(18, 18); - this.panel4.TabIndex = 0; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(35, 76); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(317, 18); - this.label1.TabIndex = 1; - this.label1.Text = "Uninstalled Profile - Not present on PrusaSlicer"; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(36, 28); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(322, 18); - this.label2.TabIndex = 3; - this.label2.Text = "Installed Profile - Files match, no need to update"; - // - // panel5 - // - this.panel5.BackColor = System.Drawing.Color.Green; - this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel5.Location = new System.Drawing.Point(12, 28); - this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(18, 18); - this.panel5.TabIndex = 2; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(36, 52); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(332, 18); - this.label3.TabIndex = 5; - this.label3.Text = "Installed Profile - Files mismatch, update available"; - // - // panel6 - // - this.panel6.BackColor = System.Drawing.Color.Red; - this.panel6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel6.Location = new System.Drawing.Point(12, 52); - this.panel6.Name = "panel6"; - this.panel6.Size = new System.Drawing.Size(18, 18); - this.panel6.TabIndex = 4; - // // btnPrinterProfilesUnselectAll // this.btnPrinterProfilesUnselectAll.Image = global::UVtools.GUI.Properties.Resources.checkbox_unmarked_16x16; @@ -297,6 +179,91 @@ this.lbPrinterProfilesCount.Size = new System.Drawing.Size(36, 22); this.lbPrinterProfilesCount.Text = "Items"; // + // panel1 + // + this.panel1.Controls.Add(this.lvPrintProfiles); + this.panel1.Controls.Add(this.tsPrintProfiles); + this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel1.Location = new System.Drawing.Point(3, 3); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(498, 466); + this.panel1.TabIndex = 3; + // + // tsPrintProfiles + // + this.tsPrintProfiles.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; + this.tsPrintProfiles.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.btnPrintProfilesUnselectAll, + this.toolStripSeparator1, + this.btnPrintProfilesSelectAll, + this.lbPrintProfilesCount}); + this.tsPrintProfiles.Location = new System.Drawing.Point(0, 0); + this.tsPrintProfiles.Name = "tsPrintProfiles"; + this.tsPrintProfiles.Size = new System.Drawing.Size(498, 25); + this.tsPrintProfiles.TabIndex = 0; + this.tsPrintProfiles.Text = "toolStrip1"; + // + // btnPrintProfilesUnselectAll + // + this.btnPrintProfilesUnselectAll.Image = global::UVtools.GUI.Properties.Resources.checkbox_unmarked_16x16; + this.btnPrintProfilesUnselectAll.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btnPrintProfilesUnselectAll.Name = "btnPrintProfilesUnselectAll"; + this.btnPrintProfilesUnselectAll.Size = new System.Drawing.Size(89, 22); + this.btnPrintProfilesUnselectAll.Text = "Unselect All"; + this.btnPrintProfilesUnselectAll.Click += new System.EventHandler(this.EventClick); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); + // + // btnPrintProfilesSelectAll + // + this.btnPrintProfilesSelectAll.Image = global::UVtools.GUI.Properties.Resources.checkbox_marked_16x16; + this.btnPrintProfilesSelectAll.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btnPrintProfilesSelectAll.Name = "btnPrintProfilesSelectAll"; + this.btnPrintProfilesSelectAll.Size = new System.Drawing.Size(75, 22); + this.btnPrintProfilesSelectAll.Text = "Select All"; + this.btnPrintProfilesSelectAll.Click += new System.EventHandler(this.EventClick); + // + // lbPrintProfilesCount + // + this.lbPrintProfilesCount.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.lbPrintProfilesCount.Name = "lbPrintProfilesCount"; + this.lbPrintProfilesCount.Size = new System.Drawing.Size(36, 22); + this.lbPrintProfilesCount.Text = "Items"; + // + // panel3 + // + this.panel3.Controls.Add(this.groupBox2); + this.panel3.Controls.Add(this.groupBox1); + this.panel3.Dock = System.Windows.Forms.DockStyle.Top; + this.panel3.Location = new System.Drawing.Point(0, 0); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(1008, 133); + this.panel3.TabIndex = 3; + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.label4); + this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox2.Location = new System.Drawing.Point(379, 0); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(629, 133); + this.groupBox2.TabIndex = 7; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "Information"; + // + // label4 + // + this.label4.Dock = System.Windows.Forms.DockStyle.Fill; + this.label4.Location = new System.Drawing.Point(3, 20); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(623, 110); + this.label4.TabIndex = 2; + this.label4.Text = resources.GetString("label4.Text"); + this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // // groupBox1 // this.groupBox1.Controls.Add(this.panel4); @@ -308,30 +275,64 @@ this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(379, 112); + this.groupBox1.Size = new System.Drawing.Size(379, 133); this.groupBox1.TabIndex = 6; this.groupBox1.TabStop = false; this.groupBox1.Text = "Legend"; // - // groupBox2 + // panel4 // - this.groupBox2.Controls.Add(this.label4); - this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; - this.groupBox2.Location = new System.Drawing.Point(379, 0); - this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(629, 112); - this.groupBox2.TabIndex = 7; - this.groupBox2.TabStop = false; - this.groupBox2.Text = "Information"; + this.panel4.BackColor = System.Drawing.Color.Black; + this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel4.Location = new System.Drawing.Point(12, 76); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(18, 18); + this.panel4.TabIndex = 0; // - // label4 + // label3 // - this.label4.Dock = System.Windows.Forms.DockStyle.Fill; - this.label4.Location = new System.Drawing.Point(3, 20); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(623, 89); - this.label4.TabIndex = 2; - this.label4.Text = resources.GetString("label4.Text"); + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(36, 52); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(332, 18); + this.label3.TabIndex = 5; + this.label3.Text = "Installed Profile - Files mismatch, update available"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(35, 76); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(317, 18); + this.label1.TabIndex = 1; + this.label1.Text = "Uninstalled Profile - Not present on PrusaSlicer"; + // + // panel6 + // + this.panel6.BackColor = System.Drawing.Color.Red; + this.panel6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel6.Location = new System.Drawing.Point(12, 52); + this.panel6.Name = "panel6"; + this.panel6.Size = new System.Drawing.Size(18, 18); + this.panel6.TabIndex = 4; + // + // panel5 + // + this.panel5.BackColor = System.Drawing.Color.Green; + this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel5.Location = new System.Drawing.Point(12, 28); + this.panel5.Name = "panel5"; + this.panel5.Size = new System.Drawing.Size(18, 18); + this.panel5.TabIndex = 2; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(36, 28); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(322, 18); + this.label2.TabIndex = 3; + this.label2.Text = "Installed Profile - Files match, no need to update"; // // panel7 // @@ -344,6 +345,21 @@ this.panel7.Size = new System.Drawing.Size(1008, 76); this.panel7.TabIndex = 4; // + // btnRefreshProfiles + // + this.btnRefreshProfiles.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.btnRefreshProfiles.Image = global::UVtools.GUI.Properties.Resources.refresh_16x16; + this.btnRefreshProfiles.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.btnRefreshProfiles.Location = new System.Drawing.Point(11, 15); + this.btnRefreshProfiles.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.btnRefreshProfiles.Name = "btnRefreshProfiles"; + this.btnRefreshProfiles.Size = new System.Drawing.Size(173, 48); + this.btnRefreshProfiles.TabIndex = 9; + this.btnRefreshProfiles.Text = "&Refresh Profiles"; + this.btnRefreshProfiles.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.btnRefreshProfiles.UseVisualStyleBackColor = true; + this.btnRefreshProfiles.Click += new System.EventHandler(this.EventClick); + // // btnInstall // this.btnInstall.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); @@ -373,21 +389,6 @@ this.btnCancel.Text = "&Cancel"; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // btnRefreshProfiles - // - this.btnRefreshProfiles.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.btnRefreshProfiles.Image = global::UVtools.GUI.Properties.Resources.refresh_16x16; - this.btnRefreshProfiles.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnRefreshProfiles.Location = new System.Drawing.Point(11, 15); - this.btnRefreshProfiles.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); - this.btnRefreshProfiles.Name = "btnRefreshProfiles"; - this.btnRefreshProfiles.Size = new System.Drawing.Size(173, 48); - this.btnRefreshProfiles.TabIndex = 9; - this.btnRefreshProfiles.Text = "&Refresh Profiles"; - this.btnRefreshProfiles.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.btnRefreshProfiles.UseVisualStyleBackColor = true; - this.btnRefreshProfiles.Click += new System.EventHandler(this.EventClick); - // // FrmInstallPEProfiles // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F); @@ -398,25 +399,25 @@ this.Controls.Add(this.panel7); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.Margin = new System.Windows.Forms.Padding(4); this.MinimizeBox = false; this.MinimumSize = new System.Drawing.Size(1024, 360); this.Name = "FrmInstallPEProfiles"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Install profiles into PrusaSlicer"; this.tableLayoutPanel1.ResumeLayout(false); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); - this.tsPrintProfiles.ResumeLayout(false); - this.tsPrintProfiles.PerformLayout(); this.tsPrinterProfiles.ResumeLayout(false); this.tsPrinterProfiles.PerformLayout(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.tsPrintProfiles.ResumeLayout(false); + this.tsPrintProfiles.PerformLayout(); this.panel3.ResumeLayout(false); + this.groupBox2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); - this.groupBox2.ResumeLayout(false); this.panel7.ResumeLayout(false); this.ResumeLayout(false); diff --git a/UVtools.GUI/Forms/FrmInstallPEProfiles.resx b/UVtools.GUI/Forms/FrmInstallPEProfiles.resx index f9082a6..fd20fd7 100644 --- a/UVtools.GUI/Forms/FrmInstallPEProfiles.resx +++ b/UVtools.GUI/Forms/FrmInstallPEProfiles.resx @@ -117,21 +117,16 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 17, 17 - 122, 17 17, 17 - - 122, 17 - This will install and overwrite all checked profiles into PrusaSlicer. -NOTE: If you modify a base profile and save under PrusaSlicer, this tool will be mark it as "update available" since it got modified, in those cases we always recommend to never update base profiles, instead clone it and give different name as your own profile. +On PrusaSlicer access "Printer" -> "Notes" to modify base settings for target format. +NOTE: If you modify a base profile and save under PrusaSlicer, this tool will be mark it as "update available" since it got modified, in those cases we always recommend to never update base profiles, instead clone it and give different name as your own profile. diff --git a/UVtools.GUI/FrmMain.cs b/UVtools.GUI/FrmMain.cs index 2972c94..bb76ccf 100644 --- a/UVtools.GUI/FrmMain.cs +++ b/UVtools.GUI/FrmMain.cs @@ -1428,7 +1428,13 @@ namespace UVtools.GUI } catch (Exception ex) { - MessageBox.Show($"Convertion was not successful! Maybe not implemented...\n{ex.Message}", + string extraMessage = string.Empty; + if (SlicerFile.FileFullPath.EndsWith(".sl1")) + { + extraMessage = "Note: When converting from SL1 make sure you have the correct printer selected, you MUST use a UVtools base printer.\n" + + "Go to \"Help\" -> \"Install profiles into PrusaSlicer\" to install printers.\n"; + } + MessageBox.Show($"Convertion was not successful! Maybe not implemented...\n{extraMessage}{ex.Message}", "Convertion unsuccessful", MessageBoxButtons.OK, MessageBoxIcon.Error); } finally