From 0a6da8d0eedeaf84dda73d18038ecd844155f687 Mon Sep 17 00:00:00 2001 From: Will Pearson Date: Mon, 15 Jul 2013 12:51:58 +0100 Subject: [PATCH 01/20] Rename projects (and namespaces) * HalfEdgeMeshLibrary -> Plankton * PlanktonComponents -> PlanktonGh --- Plankton.sln | 4 ++-- {HalfEdgeMeshLibrary => Plankton}/Plankton.cs | 0 {HalfEdgeMeshLibrary => Plankton}/Plankton.csproj | 0 .../Properties/AssemblyInfo.cs | 6 +++--- .../DecomposePlankton.cs | 4 ++-- {PlanktonComponents => PlanktonGh}/GHMeshToPMesh.cs | 4 ++-- .../PlanktonGh.csproj | 11 ++++++++--- .../Properties/AssemblyInfo.cs | 8 ++++---- .../Properties/Resources.Designer.cs | 4 ++-- .../Properties/Resources.resx | 0 .../Resources/plankton.png | Bin .../Resources/plankton_decon.png | Bin 12 files changed, 23 insertions(+), 18 deletions(-) rename {HalfEdgeMeshLibrary => Plankton}/Plankton.cs (100%) rename {HalfEdgeMeshLibrary => Plankton}/Plankton.csproj (100%) rename {HalfEdgeMeshLibrary => Plankton}/Properties/AssemblyInfo.cs (89%) rename {PlanktonComponents => PlanktonGh}/DecomposePlankton.cs (97%) rename {PlanktonComponents => PlanktonGh}/GHMeshToPMesh.cs (96%) rename PlanktonComponents/Plankton_GH_Components.csproj => PlanktonGh/PlanktonGh.csproj (89%) rename {PlanktonComponents => PlanktonGh}/Properties/AssemblyInfo.cs (81%) rename {PlanktonComponents => PlanktonGh}/Properties/Resources.Designer.cs (95%) rename {PlanktonComponents => PlanktonGh}/Properties/Resources.resx (100%) rename {PlanktonComponents => PlanktonGh}/Resources/plankton.png (100%) rename {PlanktonComponents => PlanktonGh}/Resources/plankton_decon.png (100%) diff --git a/Plankton.sln b/Plankton.sln index a38aadb..9c0c6be 100644 --- a/Plankton.sln +++ b/Plankton.sln @@ -1,9 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 11.00 # Visual C# Express 2010 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plankton", "HalfEdgeMeshLibrary\Plankton.csproj", "{BDD288F7-C2E2-4C2A-B083-E4D4D21F528F}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plankton", "Plankton\Plankton.csproj", "{BDD288F7-C2E2-4C2A-B083-E4D4D21F528F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plankton_GH_Components", "PlanktonComponents\Plankton_GH_Components.csproj", "{9C7EA9A3-331B-4574-BF22-B9D609DE2F1E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PlanktonGh", "PlanktonGh\PlanktonGh.csproj", "{9C7EA9A3-331B-4574-BF22-B9D609DE2F1E}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/HalfEdgeMeshLibrary/Plankton.cs b/Plankton/Plankton.cs similarity index 100% rename from HalfEdgeMeshLibrary/Plankton.cs rename to Plankton/Plankton.cs diff --git a/HalfEdgeMeshLibrary/Plankton.csproj b/Plankton/Plankton.csproj similarity index 100% rename from HalfEdgeMeshLibrary/Plankton.csproj rename to Plankton/Plankton.csproj diff --git a/HalfEdgeMeshLibrary/Properties/AssemblyInfo.cs b/Plankton/Properties/AssemblyInfo.cs similarity index 89% rename from HalfEdgeMeshLibrary/Properties/AssemblyInfo.cs rename to Plankton/Properties/AssemblyInfo.cs index 764aebb..227ae07 100644 --- a/HalfEdgeMeshLibrary/Properties/AssemblyInfo.cs +++ b/Plankton/Properties/AssemblyInfo.cs @@ -5,12 +5,12 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("HalfEdgeMeshLibrary")] +[assembly: AssemblyTitle("Plankton")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("HalfEdgeMeshLibrary")] -[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyProduct("Plankton")] +[assembly: AssemblyCopyright("Copyright © 2013 Plankton contributors.")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/PlanktonComponents/DecomposePlankton.cs b/PlanktonGh/DecomposePlankton.cs similarity index 97% rename from PlanktonComponents/DecomposePlankton.cs rename to PlanktonGh/DecomposePlankton.cs index 0696284..e12bbf6 100644 --- a/PlanktonComponents/DecomposePlankton.cs +++ b/PlanktonGh/DecomposePlankton.cs @@ -5,7 +5,7 @@ using Rhino.Geometry; using Plankton; -namespace PlanktonComponents +namespace PlanktonGh { public class DecomposePlankton : GH_Component { @@ -103,7 +103,7 @@ protected override System.Drawing.Bitmap Icon { //You can add image files to your project resources and access them like this: // return Resources.IconForThisComponent; - return PlanktonComponents.Properties.Resources.plankton_decon; + return PlanktonGh.Properties.Resources.plankton_decon; } } diff --git a/PlanktonComponents/GHMeshToPMesh.cs b/PlanktonGh/GHMeshToPMesh.cs similarity index 96% rename from PlanktonComponents/GHMeshToPMesh.cs rename to PlanktonGh/GHMeshToPMesh.cs index b250228..9aeb235 100644 --- a/PlanktonComponents/GHMeshToPMesh.cs +++ b/PlanktonGh/GHMeshToPMesh.cs @@ -6,7 +6,7 @@ using Grasshopper.Kernel; using Plankton; -namespace PlanktonComponents +namespace PlanktonGh { public class GHMeshToPMesh : GH_Component @@ -65,7 +65,7 @@ protected override System.Drawing.Bitmap Icon { get { - return PlanktonComponents.Properties.Resources.plankton; + return PlanktonGh.Properties.Resources.plankton; } } diff --git a/PlanktonComponents/Plankton_GH_Components.csproj b/PlanktonGh/PlanktonGh.csproj similarity index 89% rename from PlanktonComponents/Plankton_GH_Components.csproj rename to PlanktonGh/PlanktonGh.csproj index 3d0aa0a..f4bf9a9 100644 --- a/PlanktonComponents/Plankton_GH_Components.csproj +++ b/PlanktonGh/PlanktonGh.csproj @@ -8,10 +8,12 @@ {9C7EA9A3-331B-4574-BF22-B9D609DE2F1E} Library Properties - PlanktonComponents - PlanktonComponents + PlanktonGh + PlanktonGh v4.0 512 + False + OnBuildSuccess true @@ -61,7 +63,7 @@ - + {BDD288F7-C2E2-4C2A-B083-E4D4D21F528F} Plankton False @@ -80,6 +82,9 @@ + + Copy "$(TargetPath)" "$(TargetDir)$(SolutionName).gha" +