Cleanup
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
namespace ExportDXF
|
||||
{
|
||||
class Bend
|
||||
{
|
||||
public BendDirection Direction { get; set; }
|
||||
internal class Bend
|
||||
{
|
||||
public BendDirection Direction { get; set; }
|
||||
|
||||
public double ParallelBendAngle { get; set; }
|
||||
public double ParallelBendAngle { get; set; }
|
||||
|
||||
public double Angle { get; set; }
|
||||
public double Angle { get; set; }
|
||||
|
||||
public double X { get; set; }
|
||||
public double Y { get; set; }
|
||||
}
|
||||
public double X { get; set; }
|
||||
public double Y { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace ExportDXF
|
||||
{
|
||||
enum BendDirection
|
||||
internal enum BendDirection
|
||||
{
|
||||
Up,
|
||||
Down
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace ExportDXF
|
||||
{
|
||||
enum BendOrientation
|
||||
internal enum BendOrientation
|
||||
{
|
||||
Vertical,
|
||||
Horizontal,
|
||||
|
||||
@@ -1,30 +1,30 @@
|
||||
namespace ExportDXF
|
||||
{
|
||||
class Bounds
|
||||
{
|
||||
public double X { get; set; }
|
||||
public double Y { get; set; }
|
||||
public double Width { get; set; }
|
||||
public double Height { get; set; }
|
||||
internal class Bounds
|
||||
{
|
||||
public double X { get; set; }
|
||||
public double Y { get; set; }
|
||||
public double Width { get; set; }
|
||||
public double Height { get; set; }
|
||||
|
||||
public double Left
|
||||
{
|
||||
get { return X; }
|
||||
}
|
||||
public double Left
|
||||
{
|
||||
get { return X; }
|
||||
}
|
||||
|
||||
public double Right
|
||||
{
|
||||
get { return X + Width; }
|
||||
}
|
||||
public double Right
|
||||
{
|
||||
get { return X + Width; }
|
||||
}
|
||||
|
||||
public double Bottom
|
||||
{
|
||||
get { return Y; }
|
||||
}
|
||||
public double Bottom
|
||||
{
|
||||
get { return Y; }
|
||||
}
|
||||
|
||||
public double Top
|
||||
{
|
||||
get { return Y + Height; }
|
||||
}
|
||||
}
|
||||
public double Top
|
||||
{
|
||||
get { return Y + Height; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
using OfficeOpenXml;
|
||||
using SolidWorks.Interop.sldworks;
|
||||
using SolidWorks.Interop.sldworks;
|
||||
using SolidWorks.Interop.swconst;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -97,7 +96,6 @@ namespace ExportDXF.Forms
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void Worker_DoWork(object sender, DoWorkEventArgs e)
|
||||
@@ -674,8 +672,6 @@ namespace ExportDXF.Forms
|
||||
.Cast<Component2>()
|
||||
.Where(c => !c.IsHidden(true));
|
||||
|
||||
|
||||
|
||||
var componentGroups = assemblyComponents
|
||||
.GroupBy(c => c.GetTitle() + c.ReferencedConfiguration);
|
||||
|
||||
|
||||
@@ -1,24 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ExportDXF
|
||||
{
|
||||
static class Program
|
||||
internal static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
private static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new Forms.MainForm());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
|
||||
Reference in New Issue
Block a user