Skip to content

Commit

Permalink
📝 renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco-Pellegrino committed May 2, 2024
1 parent aa6b523 commit f8d29ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion FemDesign.Core/FemDesign.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -423,14 +423,14 @@
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\materialLibrary\materials_S.struxml" />
<EmbeddedResource Include="Resources\sectionLibrary\sections.struxml" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\loadCoefficients\loadCoefficients_S.struxml" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<EmbeddedResource Include="Resources\loadCoefficients\loadCoefficients_N.struxml" />
<EmbeddedResource Include="Resources\sectionLibrary\sections.struxml" />
<EmbeddedResource Include="Resources\Vehicles\vehicles.struxml" />
<EmbeddedResource Include="Resources\timberPlateLibrary\timberPlate.struxml" />
</ItemGroup>
Expand Down
5 changes: 2 additions & 3 deletions FemDesign.Core/Sections/Section.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ internal string _sectionNameInResults
{
get
{
var _groupName = this.GroupName.Remove(GroupName.Length - 1);
return string.Join(" ", new List<string> { _groupName, this.TypeName, this.SizeName });
return string.Join(" ", new List<string> { this.GroupName, this.TypeName, this.SizeName });
}
}

Expand Down Expand Up @@ -288,7 +287,7 @@ public static Section SectionByName(this List<FemDesign.Sections.Section> sectio
var orderedSecProp = new List<Results.SectionProperties>();
foreach (Section sec in sections)
{
var secPropItem = secProp.Find(y => y.Section == sec._sectionNameInResults);
var secPropItem = secProp.Find(y => y.Section == sec.Name.Replace(",", ""));
orderedSecProp.Add(secPropItem);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace FemDesign.Grasshopper
{
public class MaterialSetSteelMaterialProperties : FEM_Design_API_Component
{
public MaterialSetSteelMaterialProperties() : base("SetSteelMaterialProperties", "SetSteelMaterialProperties", "Set plasticity parameters to a steel Material.", CategoryName.Name(), SubCategoryName.Cat4a())
public MaterialSetSteelMaterialProperties() : base("SetSteelPlasticity", "SetSteelPlasticity", "Set plasticity parameters to a steel Material.", CategoryName.Name(), SubCategoryName.Cat4a())
{

}
Expand Down

0 comments on commit f8d29ec

Please sign in to comment.