Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spatial_Engine: Add support for Cellular sections #3011

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
30c4cd5
Add create methods for added classes
IsakNaslundBh Feb 22, 2023
5739ae1
Add first create method for CellularSection
IsakNaslundBh Feb 22, 2023
1afbf64
Delete CellularProfileFromBaseSection.cs
IsakNaslundBh Feb 24, 2023
63722c4
Add check for circular opening
IsakNaslundBh Feb 24, 2023
b661f83
Create VoidedISectionProfile.cs
IsakNaslundBh Feb 24, 2023
c33bf59
Update control for IntegrateSection if ShearArea should be computed
IsakNaslundBh Feb 24, 2023
d80ce07
Update CellularSectionFromBaseSection.cs
IsakNaslundBh Feb 24, 2023
9355187
Add torsional constants for voided I section
IsakNaslundBh Feb 24, 2023
29c4410
Update mass and volume handling
IsakNaslundBh Feb 24, 2023
4edf52d
correction for area reduction
IsakNaslundBh Feb 24, 2023
cf0ed16
Add method for getting Area from a single opening
IsakNaslundBh Feb 27, 2023
27f8301
Rely on OPeningArea for VOlume per length
IsakNaslundBh Feb 27, 2023
d33c091
Add method to draw opening curves
IsakNaslundBh Feb 27, 2023
d35c719
ALign with removal of LengthEndPost
IsakNaslundBh Feb 28, 2023
ad05490
Handle removal of SpacerHeight from all but the hexagonal opening type
IsakNaslundBh Feb 28, 2023
152a331
Add method for distributing openigns along a element
IsakNaslundBh Feb 28, 2023
93402be
Add additional create method
IsakNaslundBh Feb 28, 2023
2e265e8
Add tolerance for distributed openings
IsakNaslundBh Mar 1, 2023
f85256b
Update solid volume
IsakNaslundBh Mar 1, 2023
c7c25da
Update Mass method to rely on SOlidVOlume and MaterialComposition rat…
IsakNaslundBh Mar 1, 2023
21e5682
Add method for getting distributed cellular openings from a Bar
IsakNaslundBh Mar 1, 2023
b3ab16c
Pass on profile section name to profile if unset
IsakNaslundBh Mar 9, 2023
88f870b
Update DistributedOpeningCurves.cs
IsakNaslundBh Mar 9, 2023
dfd2c7c
Apply suggestions from code review
IsakNaslundBh Mar 10, 2023
073f1a9
Align with changes to names of classes
IsakNaslundBh Mar 10, 2023
b107a3e
Update create methods to accept spacing rather than width webpost
IsakNaslundBh Mar 10, 2023
e634d6b
Align width addition of Width to SinusoidalOpening
IsakNaslundBh Mar 10, 2023
e724466
Additional check on create methods
IsakNaslundBh Mar 10, 2023
044142f
Apply all base properties from steel section to base profile
IsakNaslundBh Mar 10, 2023
1f088e2
Fix typo
IsakNaslundBh Mar 10, 2023
93131b3
Adding UTs
IsakNaslundBh Mar 10, 2023
8b042eb
Revert "Adding UTs"
IsakNaslundBh Mar 10, 2023
c1a9dcd
Add UTs
IsakNaslundBh Mar 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .ci/Datasets/Spatial_Engine/Query/OpeningArea.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "_t" : "BH.oM.Data.Library.Dataset", "BHoM_Guid" : "82e826ab-60b3-4d02-95b7-bd0359851f6b", "Name" : "OpeningArea", "Fragments" : [], "Tags" : [], "CustomData" : { }, "SourceInformation" : { "_t" : "BH.oM.Data.Library.Source", "BHoM_Guid" : "59bd656d-eea1-4e23-b0ce-c2843ae48bd2", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "SourceLink" : "", "Title" : "OpeningArea", "Author" : "INaslund", "ItemReference" : "", "Version" : "", "Publisher" : "", "Schema" : "", "Language" : "", "Location" : "", "Copyright" : "", "Contributors" : "", "Confidence" : "Undefined" }, "TimeOfCreation" : { "$date" : 1678460750507 }, "Data" : [{ "_t" : "BH.oM.Test.UnitTests.UnitTest", "BHoM_Guid" : "b24818d3-b865-48f3-8005-e9542b02b124", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Method" : { "_t" : "System.Reflection.MethodBase", "TypeName" : "{ \"_t\" : \"System.Type\", \"Name\" : \"BH.Engine.Spatial.Query, Spatial_Engine, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null\", \"_bhomVersion\" : \"6.1\" }", "MethodName" : "IOpeningArea", "Parameters" : ["{ \"_t\" : \"System.Type\", \"Name\" : \"BH.oM.Spatial.ShapeProfiles.CellularOpenings.ICellularOpening\", \"_bhomVersion\" : \"6.1\" }"], "_bhomVersion" : "6.1" }, "Data" : [{ "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "2462d85b-03ab-45d2-aefd-8a4d91bc095b", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.HexagonalCellularOpening", "BHoM_Guid" : "f4dccf3f-3614-4af8-9f54-1a59d59c4b43", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Height" : 0.90000000000000002, "Width" : 0.90000000000000002, "WidthWebPost" : 0.29999999999999993, "SpacerHeight" : 0.0, "Spacing" : 1.2 }], "Outputs" : [0.54000000000000004] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "e623e329-b46c-4d77-b97c-b6eeb78273a7", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.HexagonalCellularOpening", "BHoM_Guid" : "89b6be1a-10aa-46a6-a377-15b292e9b972", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Height" : 0.90000000000000002, "Width" : 0.90000000000000002, "WidthWebPost" : 0.29999999999999993, "SpacerHeight" : 0.40000000000000002, "Spacing" : 1.2 }], "Outputs" : [0.90000000000000013] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "3cba3da1-f28b-46a3-b796-819c8cd57665", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.CircularCellularOpening", "BHoM_Guid" : "c958c277-6400-46ba-bd83-daf22c71c2ab", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Diameter" : 0.76000000000000001, "WidthWebPost" : 0.43999999999999995, "Spacing" : 1.2 }], "Outputs" : [0.45364597917836613] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "bacf9279-cfcf-4da4-923f-b13c73fb9ab5", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.SinusoidalCellularOpening", "BHoM_Guid" : "20fc5290-76a3-48fe-99bb-9a4ac845ca02", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Height" : 0.73999999999999999, "Width" : 0.0, "SinusoidalLength" : 0.44999999999999996, "WidthWebPost" : 0.10000000000000009, "Spacing" : 1.1000000000000001 }], "Outputs" : [0.40700000000000003] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "3c449a1c-a316-40ff-adc1-0eb8cd1a068f", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.HexagonalCellularOpening", "BHoM_Guid" : "2cac9d4b-58f3-45a5-9dbe-0e46e4eebff4", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Height" : 0.56000000000000005, "Width" : 0.90000000000000002, "WidthWebPost" : 0.29999999999999993, "SpacerHeight" : 0.0, "Spacing" : 1.2 }], "Outputs" : [0.33600000000000002] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "04ab9f9a-9d0d-4e74-9442-d2797b40b44a", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.HexagonalCellularOpening", "BHoM_Guid" : "0315b622-a761-4553-a9ee-35f845394ecf", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Height" : 0.56000000000000005, "Width" : 0.90000000000000002, "WidthWebPost" : 0.29999999999999993, "SpacerHeight" : 0.40000000000000002, "Spacing" : 1.2 }], "Outputs" : [0.69600000000000006] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "38505b87-f2fa-41f5-aad5-87893f27bd23", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.CircularCellularOpening", "BHoM_Guid" : "c6d6d1c8-b7b8-4785-845b-7310911cc748", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Diameter" : 0.76000000000000001, "WidthWebPost" : 0.43999999999999995, "Spacing" : 1.2 }], "Outputs" : [0.45364597917836613] }, { "_t" : "BH.oM.Test.UnitTests.TestData", "BHoM_Guid" : "1976fa09-0f09-4e8c-af15-d698500bfdc6", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Inputs" : [{ "_t" : "BH.oM.Spatial.ShapeProfiles.CellularOpenings.SinusoidalCellularOpening", "BHoM_Guid" : "07763b7a-6b90-49a2-8255-9a5d4f7aa1c2", "Name" : "", "Fragments" : [], "Tags" : [], "CustomData" : { }, "Height" : 0.73999999999999999, "Width" : 0.0, "SinusoidalLength" : 0.45000000000000007, "WidthWebPost" : 0.19999999999999996, "Spacing" : 1.3 }], "Outputs" : [0.48099999999999998] }] }], "_bhomVersion" : "6.1" }
Loading