Set SimplifyBends to true

When set to false, some bend reliefs are made of splines
This commit is contained in:
AJ
2023-03-02 09:17:47 -05:00
parent 2e6ecd11a1
commit 97f45b2fcc
3 changed files with 5 additions and 5 deletions

View File

@@ -26,8 +26,8 @@
<PublisherName>Rogers Engineering</PublisherName>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>publish.htm</WebPage>
<ApplicationRevision>2</ApplicationRevision>
<ApplicationVersion>1.5.0.%2a</ApplicationVersion>
<ApplicationRevision>6</ApplicationRevision>
<ApplicationVersion>1.6.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>

View File

@@ -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 = "";
//

View File

@@ -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);
}