Fixed bend lines not recognized when bend angle has decimals.

This commit is contained in:
AJ
2018-06-21 07:15:22 -04:00
parent 6e759e5b9f
commit 2c483d0147
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@
<UpdatePeriodically>false</UpdatePeriodically> <UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired> <UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions> <MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>19</ApplicationRevision> <ApplicationRevision>21</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion> <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust> <UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted> <PublishWizardCompleted>true</PublishWizardCompleted>

View File

@@ -184,7 +184,7 @@ namespace ExportDXF
var bends = new List<Bend>(); var bends = new List<Bend>();
var notes = GetBendNotes(view); var notes = GetBendNotes(view);
const string pattern = @"(?<DIRECTION>(UP|DOWN))\s*(?<ANGLE>(\d+))°"; const string pattern = @"(?<DIRECTION>(UP|DOWN))\s*(?<ANGLE>(\d+(.\d*)?))°";
foreach (var note in notes) foreach (var note in notes)
{ {