Skip to content

Commit

Permalink
GsaGH-197 remove graveyard components (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpne authored Oct 16, 2023
2 parents 83c411b + 8a0538a commit a48e071
Show file tree
Hide file tree
Showing 99 changed files with 90 additions and 17,004 deletions.
17 changes: 7 additions & 10 deletions DocsGeneration/MarkDowns/Components.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@

namespace DocsGeneration.MarkDowns {
public class Components {
public static readonly string ComponentsOverview =
"# Components\n" +
"\n" +
":::caution" +
"\nGSA-Grasshopper plugin is pre-release and under active development, including further testing to be undertaken. It is provided \\\"as-is\\\" and you bear the risk of using it. Future versions may contain breaking changes. Any files, results, or other types of output information created using the plugin should not be relied upon without thorough and independent checking.\n:::\n" +
"\n" +
"![GsaGH-Ribbon](./images/RibbonLayout.gif)\n" +
"\n";

public static void CreateOverview(
Dictionary<string, List<Component>> components, List<Parameter> parameters) {
CreateComponentOverview(components.Keys.ToList());
Expand Down Expand Up @@ -165,7 +156,13 @@ private static void CreateComponentOverview(List<string> categories) {
string filePath = $@"Output\gsagh-components.md";
Console.WriteLine($"Writing {filePath}");

string text = ComponentsOverview;
string text = "# Components\n\n";
if (GsaGH.GsaGhInfo.isBeta) {
text += StringHelper.AddBetaWarning();
text += "\n";
}

text += "![GsaGH-Ribbon](./images/RibbonLayout.gif)\n\n";

foreach (string category in categories) {
text += $"[{category} components](gsagh-{category.ToLower()}-components-overview.md)\n\n";
Expand Down
Binary file modified ExampleFiles/Components/Annotate.gh
Binary file not shown.
Binary file modified ExampleFiles/Components/AssembleWithIDsTestIdSequence.gh
Binary file not shown.
Binary file modified ExampleFiles/Components/CreateEdit3dPropElemAndMem.gh
Binary file not shown.
Binary file modified ExampleFiles/Components/Elem2dResults.gh
Binary file not shown.
Binary file modified ExampleFiles/Components/GridLoadPolyline.gh
Binary file not shown.
Binary file modified ExampleFiles/Components/LoadsFromReferenceObjects.gh
Binary file not shown.
Binary file modified ExampleFiles/Components/NodeLocalAxisReactionForceDiagram.gh
Binary file not shown.
Binary file modified ExampleFiles/Components/NodeReactionForceResult.gh
Binary file not shown.
Binary file modified ExampleFiles/Components/NodeResults.gh
Binary file not shown.
Binary file modified ExampleFiles/Components/Prop2dAxis.gh
Binary file not shown.
Binary file modified ExampleFiles/Components/ReactionForceDiagrams.gh
Binary file not shown.
Binary file modified ExampleFiles/Components/SectionAlignment.gh
Binary file not shown.
Binary file modified ExampleFiles/GsaGH_Example1_GerberMember.gh
Binary file not shown.
Binary file modified ExampleFiles/GsaGH_Example2_Reciprocal.gh
Binary file not shown.
Binary file modified ExampleFiles/GsaGH_Example3_Truss.gh
Binary file not shown.
Binary file modified ExampleFiles/GsaGH_Example4_ReMeshing.gh
Binary file not shown.
Binary file modified ExampleFiles/GsaGH_Example5_4PointSrfMidSupport.gh
Binary file not shown.
Binary file modified ExampleFiles/GsaGH_Example6_3dBoxes.gh
Binary file not shown.
Binary file modified ExampleFiles/Parameters/0_Model/GsaList_Nodes.gh
Binary file not shown.
Binary file modified ExampleFiles/Parameters/0_Model/GsaList_Properties.gh
Binary file not shown.
Binary file modified ExampleFiles/Parameters/1_Properties/CreateProfile.gh
Binary file not shown.
Binary file not shown.
Binary file modified ExampleFiles/Parameters/1_Properties/Materials.gh
Binary file not shown.
Binary file modified ExampleFiles/Parameters/3_Loads/GridPlaneSurface.gh
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion GsaGH/Components/0_Model/CreateModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Windows.Forms;
using GH_IO.Serialization;
using Grasshopper.Kernel;
using GsaGH.Components.GraveyardComp;
using GsaGH.Helpers;
using GsaGH.Helpers.Assembly;
using GsaGH.Helpers.GH;
Expand Down
3 changes: 2 additions & 1 deletion GsaGH/Components/1_Properties/Create2dProperty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
using OasysGH;
using OasysGH.Components;
using OasysGH.Helpers;
using OasysGH.Parameters;
using OasysGH.Units;
using OasysGH.Units.Helpers;
using OasysUnits;
Expand Down Expand Up @@ -51,7 +52,7 @@ private readonly IReadOnlyDictionary<SupportType, string> _supportDropDown
private Prop2dType _mode = Prop2dType.Shell;
private int _supportTypeIndex;

public Create2dProperty() : base("Create 2D Property", "Prop2d", "Create a GSA Property 2D",
public Create2dProperty() : base("Create 2D Property", "Prop2d", "Create a GSA 2D Property",
CategoryName.Name(), SubCategoryName.Cat1()) {
Hidden = true;
}
Expand Down
2 changes: 1 addition & 1 deletion GsaGH/Components/1_Properties/Create3dProperty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class Create3dProperty : GH_OasysComponent {
public override OasysPluginInfo PluginInfo => GsaGH.PluginInfo.Instance;
protected override Bitmap Icon => Resources.Create3dProperty;

public Create3dProperty() : base("Create 3D Property", "Prop3d", "Create GSA Property 3D",
public Create3dProperty() : base("Create 3D Property", "Prop3d", "Create GSA 3D Property",
CategoryName.Name(), SubCategoryName.Cat1()) {
Hidden = true;
}
Expand Down
2 changes: 1 addition & 1 deletion GsaGH/Components/1_Properties/Edit3dProperty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class Edit3dProperty : GH_OasysComponent {
public override OasysPluginInfo PluginInfo => GsaGH.PluginInfo.Instance;
protected override Bitmap Icon => Resources.Edit3dProperty;

public Edit3dProperty() : base("Edit 3D Property", "EditPV", "Modify a GSA Property 3D",
public Edit3dProperty() : base("Edit 3D Property", "EditPV", "Modify a GSA 3D Property",
CategoryName.Name(), SubCategoryName.Cat1()) {
Hidden = true;
}
Expand Down
5 changes: 2 additions & 3 deletions GsaGH/Components/2_Geometry/Create2dElementsFromBrep.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using Grasshopper.Kernel;
using Grasshopper.Kernel.Types;
using GsaAPI;
using GsaGH.Components.GraveyardComp;
using GsaGH.Helpers.GH;
using GsaGH.Parameters;
using GsaGH.Properties;
Expand All @@ -27,12 +26,12 @@ namespace GsaGH.Components {
/// </summary>
public class Create2dElementsFromBrep : GH_OasysDropDownComponent {
public override Guid ComponentGuid => new Guid("18c5913e-cbce-42e8-8563-18e28b079d34");
public override GH_Exposure Exposure => GH_Exposure.quarternary;
public override GH_Exposure Exposure => GH_Exposure.quarternary | GH_Exposure.obscure;
public override OasysPluginInfo PluginInfo => GsaGH.PluginInfo.Instance;
protected override Bitmap Icon => Resources.Create2dElementsFromBrep;
private LengthUnit _lengthUnit = DefaultUnits.LengthUnitGeometry;
internal ToleranceContextMenu ToleranceMenu { get; set; } = new ToleranceContextMenu();
private List<string> _meshMode = new List<string>() {
private readonly List<string> _meshMode = new List<string>() {
"Tri-6 only",
"Planar Quads",
"Quad-8 only"
Expand Down
238 changes: 0 additions & 238 deletions GsaGH/Components/GraveyardComp/BeamDisplacement_OBSOLETE.cs

This file was deleted.

Loading

0 comments on commit a48e071

Please sign in to comment.