Conversation
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>
…thub.com/BHoM/RFEM6_Toolkit into RFEM6_Toolkit-#127-AddFreePolygonalLoads
Arne-Martensen
left a comment
There was a problem hiding this comment.
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 just to let you know, I have provided a |
|
@BHoMBot just to let you know, I have provided a |
|
@BHoMBot just to let you know, I have provided a |
RFEM6_Toolkit
Feature
Bug
Compliance