Skip to content
Open

Decks #1298

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
9465ea3
generated classes; add custom classes for decks and components; add t…
MarAlder Mar 18, 2026
c7fc532
Merge branch 'systems' into decks
MarAlder Mar 18, 2026
cf946ef
add test-setup
MarAlder Mar 18, 2026
915d5ee
fix BuildGeometry
MarAlder Mar 19, 2026
852dbb6
improve comments
MarAlder Mar 19, 2026
66fcfc1
Merge branch 'systems' into decks
MarAlder Mar 19, 2026
2edf63a
fix crash when trying to GetScalingType() without having a transforma…
MarAlder Mar 20, 2026
63ecab0
make deck per-default relative to surrounding fuselage
MarAlder Mar 20, 2026
e85cce4
implement 2d-components
MarAlder Mar 25, 2026
b8f4d9b
add seats in test case
MarAlder Mar 25, 2026
eb267bc
add deck geometry
MarAlder Mar 25, 2026
8067a5a
make all deck components move in full 3D transformation
MarAlder Mar 28, 2026
75ba4c9
add GetGeometry method to GetElementGeometry
MarAlder Mar 28, 2026
cd1dc75
Merge branch 'systems' into decks
MarAlder Mar 28, 2026
4c35f84
no need to make local copies of m_deckElementUID
MarAlder Mar 28, 2026
1441b31
make cargoContainers the same element type like the others; extend te…
MarAlder Mar 29, 2026
ea48c39
Merge branch 'systems' into decks
MarAlder Mar 29, 2026
61f1fc7
adopt cargo container test dataset to last systems fix for cuboid upp…
MarAlder Mar 29, 2026
fc369e0
add unittests
MarAlder Apr 1, 2026
186309a
remove assumption of non-positioned components
MarAlder Apr 1, 2026
be78ff2
fix local CoG computation
MarAlder Apr 1, 2026
9934746
Merge branch 'systems' into decks
MarAlder Apr 1, 2026
4d131dd
add Python bindings
MarAlder Apr 1, 2026
30720d3
add further python tests
MarAlder Apr 2, 2026
2865720
Merge branch 'systems' into decks
MarAlder Apr 10, 2026
3d764d5
Merge branch 'systems' into decks
MarAlder Apr 16, 2026
1d837d5
add changelog entry
MarAlder Apr 16, 2026
6e081b4
implement scaling of CoG and Mass
MarAlder Apr 19, 2026
dabff0b
add exception testing
MarAlder Apr 22, 2026
19706f4
remove private files...
MarAlder Jun 9, 2026
4ef3a72
resolve merge conflicts
MarAlder Jun 9, 2026
f5a076a
refactor list of deckElement types; use const reference to uIDMgr
MarAlder Jun 9, 2026
df000d6
add cogLocal existence
MarAlder Jun 9, 2026
815b2bf
use tiglGeometryRepresentationToString method
MarAlder Jun 9, 2026
cc644cc
add regression test for deck component without mass
MarAlder Jun 9, 2026
8189fd2
use CheckExceptionMessage from testUtils.h
MarAlder Jun 9, 2026
1761e0d
remove ToDo
MarAlder Jun 9, 2026
8789c8a
GetConfiguration: make reference constant
MarAlder Jun 9, 2026
6eef1d0
add empty deck for testing
MarAlder Jun 9, 2026
9f1a6c0
cosmetics: rename deck1 to deck
MarAlder Jun 9, 2026
1464959
move GetComponentType and GetComponentIntent to cpp
MarAlder Jun 9, 2026
feb6ef0
Merge branch 'systems' into decks
MarAlder Jun 9, 2026
50ab0fb
fix copyright year
MarAlder Jun 9, 2026
57dc1b2
Merge branch 'systems' into decks
MarAlder Jun 11, 2026
1aa3f7f
merge main
MarAlder Jun 12, 2026
1210b51
remove old generated files
MarAlder Jun 12, 2026
93eeb03
Merge branch 'main' into decks
MarAlder Jun 12, 2026
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
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Changes since last release
- TiGL is now able to approximate profile point lists. The user can define an index list refering to points that should still be interpolated [#1276](https://github.com/DLR-SC/tigl/issues/1276).
- Add `Color` class and `setObjectsColor`/`setObjectsColorRGB` functions to the TiGLCreator scripting console to set object colors without needing a native QColor object ([#1222](https://github.com/DLR-SC/tigl/issues/1222))
- CPACS Export: Choose more meaningful marker for mirrored objects uIDs [#1289](https://github.com/DLR-SC/tigl/issues/1289)
- Add fuselage decks
- Add leading edge devices (LED) to TiGL and TiGLcreator [#1101](https://github.com/DLR-SC/tigl/issues/1101)
- Always display the borders of the control surfaces on the wing
- Add funtionality to add user-defined spotlights to the TiGLCreator ([#1245](https://github.com/DLR-SC/tigl/issues/1245))
Expand Down
24 changes: 24 additions & 0 deletions TIGLCreator/filefilter.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
~ RULE_10_1_A_do_not_use_bufferoverflow_risky_function_for_unix
~ RULE_10_1_B_do_not_use_bufferoverflow_risky_function_for_windows
~ RULE_3_2_B_do_not_use_same_filename_more_than_once
~ RULE_3_2_CD_do_not_use_special_characters_in_filename
~ RULE_3_2_F_use_representitive_classname_for_cpp_filename
~ RULE_3_2_H_do_not_use_uppercase_for_c_filename
~ RULE_4_1_A_B_use_space_for_indentation
~ RULE_4_1_B_indent_each_enum_item_in_enum_block
~ RULE_4_1_B_locate_each_enum_item_in_seperate_line
~ RULE_4_1_C_align_long_function_parameter_list
~ RULE_4_1_E_align_conditions
~ RULE_4_2_A_B_space_around_word
~ RULE_4_5_A_brace_for_namespace_should_be_located_in_seperate_line
~ RULE_4_5_A_braces_for_function_definition_should_be_located_in_seperate_line
~ RULE_4_5_A_braces_for_type_definition_should_be_located_in_seperate_line
~ RULE_4_5_A_braces_inside_of_function_should_be_located_in_end_of_line
~ RULE_4_5_A_indent_blocks_inside_of_function
~ RULE_4_5_B_use_braces_even_for_one_statement
~ RULE_6_5_B_do_not_use_lowercase_for_macro_constants
~ RULE_7_2_B_do_not_use_goto_statement
~ RULE_8_1_A_provide_file_info_comment
~ RULE_9_1_A_do_not_use_hardcorded_include_path
~ RULE_9_2_D_use_reentrant_function
~ RULE_A_3_avoid_too_deep_blocks
73 changes: 69 additions & 4 deletions bindings/python_internal/configuration.i
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@
#include "generated/CPACSNacaProfile.h"
#include "CTiglNACA4Calculator.h"
#include "CPACSNacaProfile.h"

#include "CCPACSDeck.h"
#include "generated/CPACSDecks.h"
#include "generated/CPACSCabinGeometryContour.h"
#include "CCPACSDeckComponentBase.h"
%}

%feature("autodoc", "3");
Expand Down Expand Up @@ -216,6 +219,8 @@
%boost_optional(tigl::CCPACSRotorProfiles)
%boost_optional(tigl::CCPACSCurveParamPointMap)
%boost_optional(tigl::CCPACSCurvePointListXYZ)
%boost_optional(tigl::CTiglMassInertia)
%boost_optional(tigl::CTiglPoint)

// ---------------- Other ------------------------------//
%boost_optional(tigl::CCPACSEtaIsoLine)
Expand All @@ -236,6 +241,11 @@
%include "CCPACSMaterialDefinition.h"
%include "generated/CPACSCap.h"

%include "CTiglMassInertia.h"
%include "CTiglPoint.h"

%include "generated/CPACSDoubleVectorBase.h"

// -------------- Fuselage Walls, Compartments -------------//
%boost_optional(tigl::generated::CPACSCompartments)
%include "generated/CPACSCompartments.h"
Expand Down Expand Up @@ -412,6 +422,61 @@ namespace tigl
%include "CTiglAttachedRotorBlade.h"
%include "CPACSRotorHubHinge_type.h"


// ---------------- Decks ------------------ //

%boost_optional(tigl::CCPACSDecks)
%boost_optional(tigl::CCPACSCabinGeometry)
%boost_optional(tigl::CCPACSSeatModules)
%boost_optional(tigl::CCPACSCabinAisles)
%boost_optional(tigl::CCPACSCabinSpaces)
%boost_optional(tigl::CCPACSSidewallPanels)
%boost_optional(tigl::CCPACSLuggageCompartments)
%boost_optional(tigl::CCPACSCeilingPanels)
%boost_optional(tigl::CCPACSGalleys)
%boost_optional(tigl::CCPACSGenericFloorModules)
%boost_optional(tigl::CCPACSLavatories)
%boost_optional(tigl::CCPACSClassDividers)
%boost_optional(tigl::CCPACSCargoContainers)
%boost_optional(tigl::CCPACSDeckDoors)

%include "generated/CPACSDecks.h"

%include "generated/CPACSCabinGeometryContour.h"
%include "generated/CPACSCabinGeometryContours.h"
%include "generated/CPACSCabinGeometry.h"
%include "generated/CPACSDeck_deckType.h"

%ignore tigl::generated::CPACSSeatModules::GetSeatModules;
%ignore tigl::generated::CPACSCabinAisles::GetCabinAisles;
%ignore tigl::generated::CPACSCabinSpaces::GetCabinSpaces;
%ignore tigl::generated::CPACSSidewallPanels::GetSidewallPanels;
%ignore tigl::generated::CPACSLuggageCompartments::GetLuggageCompartments;
%ignore tigl::generated::CPACSCeilingPanels::GetCeilingPanels;
%ignore tigl::generated::CPACSGalleys::GetGalleys;
%ignore tigl::generated::CPACSGenericFloorModules::GetGenericFloorModules;
%ignore tigl::generated::CPACSLavatories::GetLavatorys;
%ignore tigl::generated::CPACSClassDividers::GetClassDividers;
%ignore tigl::generated::CPACSCargoContainers::GetCargoContainers;
%ignore tigl::generated::CPACSDeckDoors::GetDeckDoors;

%include "generated/CPACSSeatModules.h"
%include "generated/CPACSCabinAisles.h"
%include "generated/CPACSCabinSpaces.h"
%include "generated/CPACSSidewallPanels.h"
%include "generated/CPACSLuggageCompartments.h"
%include "generated/CPACSCeilingPanels.h"
%include "generated/CPACSGalleys.h"
%include "generated/CPACSGenericFloorModules.h"
%include "generated/CPACSLavatories.h"
%include "generated/CPACSClassDividers.h"
%include "generated/CPACSCargoContainers.h"
%include "generated/CPACSDeckDoors.h"
%include "CCPACSDeckComponentBase.h"

%include "generated/CPACSDeck.h"
%include "CCPACSDeck.h"

// --------------- Fuselage tanks -----------------//
%boost_optional(tigl::generated::CPACSVessels)
%boost_optional(tigl::CCPACSVessels)
Expand Down Expand Up @@ -653,7 +718,6 @@ class CCPACSSystemElements;
%boost_optional(tigl::CCPACSSystemControlDevices)
%boost_optional_enum(tigl::ECPACSSourceTarget_externalElement)

%include "CTiglMassInertia.h"
%include "generated/CPACSUIDSequence.h"
%include "generated/CPACSComponent.h"
%include "CCPACSComponent.h"
Expand All @@ -670,7 +734,6 @@ class CCPACSSystemElements;
%include "CCPACSSystemConnection.h"
%include "generated/CPACSSystemConnections.h"

%include "CTiglPoint.h"
%include "generated/CPACSComponents.h"
%include "generated/CPACSGenericSystem.h"
%include "CCPACSGenericSystem.h"
Expand Down Expand Up @@ -721,7 +784,9 @@ class CCPACSSystemElements;
tigl::CCPACSDuctAssembly,
tigl::CCPACSFuelTank,
tigl::CCPACSVessel,
tigl::CCPACSComponent
tigl::CCPACSComponent,
tigl::CCPACSDeck,
tigl::CCPACSDeckComponentBase
);

namespace tigl
Expand Down
4 changes: 4 additions & 0 deletions cpacs_gen_input/CustomTypes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ CPACSFuselageSections CCPACSFuselageSections
CPACSFuselageElement CCPACSFuselageSectionElement
CPACSFuselageElements CCPACSFuselageSectionElements

CPACSDeck CCPACSDeck
CPACSDeckComponentBase CCPACSDeckComponentBase
CPACSDeckComponent2DBase CCPACSDeckComponent2DBase

CPACSComponentSegment CCPACSWingComponentSegment
CPACSComponentSegments CCPACSWingComponentSegments
CPACSWing CCPACSWing
Expand Down
1 change: 0 additions & 1 deletion cpacs_gen_input/PruneList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ CPACSControlLaws
CPACSReference

// in fuselage
CPACSDecks
CPACSFuselageCutOuts
CPACSFuselageFuelTanks
CPACSCenterFuselageAreasAssembly
Expand Down
Loading
Loading