Skip to content

9.0 Deployment#133

Merged
michaelhoehn merged 30 commits intomainfrom
develop
Dec 18, 2025
Merged

9.0 Deployment#133
michaelhoehn merged 30 commits intomainfrom
develop

Conversation

@BHoMBot
Copy link
Member

@BHoMBot BHoMBot commented Dec 15, 2025

RFEM6_Toolkit

Feature

  • Push of Free Polygonal Loads
    • Added Pull Method for AreaUniformlyDistributedLoad with added Polygon Parameter
    • Added Push Method for AreaUniformlyDistributedLoad with added Polygon Parameter

Bug

Compliance

BHoMBot and others added 30 commits September 30, 2025 11:03
Replaced usage of rfMember.nodes[0] and rfMember.nodes[1] with rfMember.node_start and rfMember.node_end for improved clarity and consistency with the data structure.
Improved formatting and readability in BarResultTestClass, added a new test method for reading results with multiple load combinations, and refactored ReadResults in RFEM6Adapter for better error handling and member length retrieval. These changes enhance maintainability and robustness of result extraction from RFEM6.
Implemented reading and conversion of RFEM6 free polygon loads as AreaUniformlyDistributedLoad objects. Added ReadPolygonLoad method and FromRFEM conversion for free_polygon_load, including handling of load direction, axis, and projection. Updated unit test to enable pulling panels for verification.
Added logic to extract and construct polygon geometry from RFEM6 polygon load data, handling different projection types. The resulting polygon is now attached to AreaUniformlyDistributedLoad objects. Also added a unit test for pulling uniformly distributed area loads and commented out a redundant panel push in test setup.
Introduces handling of AreaUniformlyDistributedLoad objects with Polygon custom data. Adds CreateLoad_Polygon method and ToRFEM6_Polygon extension to convert and assign polygonal area loads to RFEM6, supporting different plane orientations and load directions.
Updated the logic to assign the load_projection value according to the orientation of the polygon's fit plane, ensuring correct projection for XY, XZ, or YZ planes. This replaces the previous hardcoded value and improves accuracy for different polygon orientations.
Wrapped the CreateLoad_Polygon logic in a try-catch block to record errors when load creation fails, such as when the polygon is non-planar or not parallel to principal planes. This improves robustness and provides clearer error reporting.
Added warnings in Load.cs to notify users when the 'Projected' option is set for area loads with the Local axis, as this combination is not supported and will be ignored. Also removed commented-out code in Panel.cs and filtered out invalid line numbers in RFEMLine.cs.
Adds a warning if the AreaUniformlyDistributedLoad pressure vector is not parallel to any global axis, prompting users to verify the load direction.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Corrected the typo from 'polgon' to 'polygon' in multiple places and added assignment of 'loadProjection' based on the polygon's fit plane orientation.
Corrected spelling errors in log messages and standardized the variable name from 'loadMagintude' to 'loadMagnitude' in the Load.cs files for improved code clarity and consistency.
Deleted the ReadPolygonLoad method from Load.cs as it is no longer needed. This helps clean up the codebase and removes dead code.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@BHoMBot BHoMBot added the type:feature New capability or enhancement label Dec 15, 2025
@Arne-Martensen Arne-Martensen self-requested a review December 16, 2025 10:14
Copy link
Contributor

@Arne-Martensen Arne-Martensen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing was conducted using "BuroHappold_BHoM_9.0.251215.beta.0" and "BHoM_9.0.251215.beta.0".
The toolkit performed as expected, with a similar feature profile and minor flaws comparable to the previous version. Particular focus was placed on the recently added features, such as the Push and Pull functionality for Free Polygonal loads and the added input parameters and behavior of the adapter.

@bhombot-ci
Copy link

bhombot-ci bot commented Dec 16, 2025

@BHoMBot just to let you know, I have provided a check-versioning result to this Pull Request as it was detected to be linked to other Pull Requests in a series. The comment which triggered this check came from @adecler on ETABS_Toolkit

@bhombot-ci
Copy link

bhombot-ci bot commented Dec 18, 2025

@BHoMBot just to let you know, I have provided a check-versioning result to this Pull Request as it was detected to be linked to other Pull Requests in a series. The comment which triggered this check came from @michaelhoehn on SharePoint_Toolkit

@bhombot-ci
Copy link

bhombot-ci bot commented Dec 18, 2025

@BHoMBot just to let you know, I have provided a check-installer result to this Pull Request as it was detected to be linked to other Pull Requests in a series. The comment which triggered this check came from @michaelhoehn on Grasshopper_UI

@bhombot-ci
Copy link

bhombot-ci bot commented Dec 18, 2025

@BHoMBot just to let you know, I have provided a check-ready-to-merge result to this Pull Request as it was detected to be linked to other Pull Requests in a series. The comment which triggered this check came from @pawelbaran on Grasshopper_UI

@michaelhoehn michaelhoehn merged commit 10b5801 into main Dec 18, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature New capability or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants