This commit is contained in:
AJ
2019-03-08 07:48:53 -05:00
parent 47330eb2e0
commit 8e2a8625d5
12 changed files with 54 additions and 64 deletions

View File

@@ -1,6 +1,6 @@
namespace ExportDXF namespace ExportDXF
{ {
class Bend internal class Bend
{ {
public BendDirection Direction { get; set; } public BendDirection Direction { get; set; }

View File

@@ -1,6 +1,6 @@
namespace ExportDXF namespace ExportDXF
{ {
enum BendDirection internal enum BendDirection
{ {
Up, Up,
Down Down

View File

@@ -1,6 +1,6 @@
namespace ExportDXF namespace ExportDXF
{ {
enum BendOrientation internal enum BendOrientation
{ {
Vertical, Vertical,
Horizontal, Horizontal,

View File

@@ -1,6 +1,6 @@
namespace ExportDXF namespace ExportDXF
{ {
class Bounds internal class Bounds
{ {
public double X { get; set; } public double X { get; set; }
public double Y { get; set; } public double Y { get; set; }

View File

@@ -1,5 +1,4 @@
using OfficeOpenXml; using SolidWorks.Interop.sldworks;
using SolidWorks.Interop.sldworks;
using SolidWorks.Interop.swconst; using SolidWorks.Interop.swconst;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
@@ -97,7 +96,6 @@ namespace ExportDXF.Forms
private void button2_Click(object sender, EventArgs e) private void button2_Click(object sender, EventArgs e)
{ {
} }
private void Worker_DoWork(object sender, DoWorkEventArgs e) private void Worker_DoWork(object sender, DoWorkEventArgs e)
@@ -674,8 +672,6 @@ namespace ExportDXF.Forms
.Cast<Component2>() .Cast<Component2>()
.Where(c => !c.IsHidden(true)); .Where(c => !c.IsHidden(true));
var componentGroups = assemblyComponents var componentGroups = assemblyComponents
.GroupBy(c => c.GetTitle() + c.ReferencedConfiguration); .GroupBy(c => c.GetTitle() + c.ReferencedConfiguration);

View File

@@ -1,24 +1,19 @@
using System; using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Forms; using System.Windows.Forms;
namespace ExportDXF namespace ExportDXF
{ {
static class Program internal static class Program
{ {
/// <summary> /// <summary>
/// The main entry point for the application. /// The main entry point for the application.
/// </summary> /// </summary>
[STAThread] [STAThread]
static void Main() private static void Main()
{ {
Application.EnableVisualStyles(); Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false); Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Forms.MainForm()); Application.Run(new Forms.MainForm());
} }
} }
} }

View File

@@ -1,5 +1,4 @@
using System.Reflection; using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following