DLR-SL / CPACS

CPACS - Common Parametric Aircraft Configuration Schema
http://dlr-sl.github.io/CPACS/
Apache License 2.0
78 stars 38 forks source link

Extend sparPositionType by curvePoint choice #795

Closed sdeinert closed 9 months ago

sdeinert commented 1 year ago

In order to simplify wing structural layout definitions where several spars end on the same straight boundary spar, it would be good to extend the spar position definition by an option to use a curve point definition as well:

    <xsd:complexType name="sparPositionType">
        <xsd:complexContent>
            <xsd:extension base="complexBaseType">
                <xsd:choice minOccurs="1" maxOccurs="1">
                  <xsd:element name="sparPositionRib" type="wingRibPointType"></xsd:element>
                  <xsd:element name="sparPositionEtaXsi" type="etaXsiPointType"></xsd:element>
                  <xsd:element name="sparPositionCurve" type="curvePointType"></xsd:element>
                </xsd:choice>
                <xsd:attribute name="uID" type="xsd:string" use="required"/>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>

By adding sparPositionCurve to the choice spars can have positions on other existing spars without the requirement to have a common spar position in both spars. Thus no extra positions need to be defined and the referenced spar is not affected by other spars referencing it.

The same logic as for the rib definition with a curve point can be applied here.

An example is shown here: Front spar: 3 positions (at root, kink and tip) Aux. spar: 2 positions (at root and at front spar) No extra spar position is required for the front spar at the intersection with the aux spar. Thus, it is guaranteed that the front spar stays straight between the root and kink position.

sparAtSpar

rmaierl commented 1 year ago

Sounds good, thank you. This can save a lot of time and effort.

MarAlder commented 1 year ago

Sounds good to me. Thanks!

@joergbrech: Any concerns from the TiGL side?

joergbrech commented 1 year ago

No, looks good to me!

MarAlder commented 9 months ago

General agreement on the last stakeholder meeting. So I will close this topic.