Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1298 +/- ##
==========================================
+ Coverage 72.96% 73.15% +0.18%
==========================================
Files 322 324 +2
Lines 28290 28475 +185
==========================================
+ Hits 20643 20832 +189
+ Misses 7647 7643 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This extension (partly) covers the CPACS
decksdefinition from CPACSv3.4, which is aligned with the systems definition in CPACSv3.5.1.This PR builds on #1283. It is in draft until #1283 is merged.
Information on the decisions relating to the underlying CPACS data schema can be found at DLR-SL/CPACS#859.
Additional Remarks
In DLR-SL/CPACS#859, it was requested that
scalingshould be possible at the instantiation on deck level, for example, to enable the extrusion of ceiling panels. This requires a strategy for handling mass, CoG, and inertia. In my implementation, mass is scaled inGetMass()(the determinant of the transformation matrix is calculated for this purpose), CoG is automatically transformed viaGetCenterOfGravityGlobal(), and inertias are passed through only as local values from the CPACS dataset. This is documented in detail in the docstrings.How Has This Been Tested?
C++
In
decksSystems.cpp, both valid and invalid datasets (simpletest-decks.cpacs.xmlandsimpletest-invalid-decks.cpacs.xml, respectively) are tested to cover all new methods and exceptions.Python
The file
test_decks.pywas created to test the accessibility of the wrapped C++ classes, as well as some basic features.Visualization and testing

Open ToDos:
Checklist: