From 97f45b2fcc787412cd7110b84b5b2bab577a232e Mon Sep 17 00:00:00 2001 From: AJ Date: Thu, 2 Mar 2023 09:17:47 -0500 Subject: [PATCH] Set SimplifyBends to true When set to false, some bend reliefs are made of splines --- ExportDXF/ExportDXF.csproj | 4 ++-- ExportDXF/Forms/MainForm.Designer.cs | 4 ++-- ExportDXF/Helper.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ExportDXF/ExportDXF.csproj b/ExportDXF/ExportDXF.csproj index 0fecac7..36447a4 100644 --- a/ExportDXF/ExportDXF.csproj +++ b/ExportDXF/ExportDXF.csproj @@ -26,8 +26,8 @@ Rogers Engineering true publish.htm - 2 - 1.5.0.%2a + 6 + 1.6.0.%2a false true true diff --git a/ExportDXF/Forms/MainForm.Designer.cs b/ExportDXF/Forms/MainForm.Designer.cs index c290985..be2fd54 100644 --- a/ExportDXF/Forms/MainForm.Designer.cs +++ b/ExportDXF/Forms/MainForm.Designer.cs @@ -56,10 +56,10 @@ | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.richTextBox1.BackColor = System.Drawing.Color.White; - this.richTextBox1.Location = new System.Drawing.Point(12, 119); + this.richTextBox1.Location = new System.Drawing.Point(12, 106); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.ReadOnly = true; - this.richTextBox1.Size = new System.Drawing.Size(754, 329); + this.richTextBox1.Size = new System.Drawing.Size(754, 342); this.richTextBox1.TabIndex = 3; this.richTextBox1.Text = ""; // diff --git a/ExportDXF/Helper.cs b/ExportDXF/Helper.cs index adf98c4..f89713e 100644 --- a/ExportDXF/Helper.cs +++ b/ExportDXF/Helper.cs @@ -27,7 +27,7 @@ namespace ExportDXF var flatPatternFeatureData = flatPattern.GetDefinition() as FlatPatternFeatureData; flatPatternFeatureData.CornerTreatment = false; - flatPatternFeatureData.SimplifyBends = false; + flatPatternFeatureData.SimplifyBends = true; var ret = flatPattern.ModifyDefinition(flatPatternFeatureData, model, null); }