---
url: /dyad/stable/stdlib/RotationalComponents/types/Interfaces.PartialTwoSplines.md
description: >-
  Dyad Interfaces.PartialTwoSplines docs.  Base component providing two
  independent spline instances.
---

# `Interfaces.PartialTwoSplines` {#Interfaces.PartialTwoSplines}

Base component providing two independent spline instances.

This partial component serves as a base class that encapsulates two distinct instances of a `Spline` component, declared as `spline_a` and `spline_b`. It is intended to be extended by more complex components that require dual spline functionalities. `PartialTwoSplines` itself does not define any specific dynamic behavior, equations, or direct connections; its primary role is to provide these two spline subcomponents and their associated graphical placement information for a modeling environment.

## Usage {#Usage}

`RotationalComponents.Interfaces.PartialTwoSplines()`

## Connectors {#Connectors}

* `spline_a` - This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. ([`Spline`](/stdlib/Dyad/connectors/Spline#Spline))

* `spline_b` - This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. ([`Spline`](/stdlib/Dyad/connectors/Spline#Spline))

## Source {#Source}

```dyad
"""
Base component providing two independent spline instances.

This partial component serves as a base class that encapsulates two distinct instances of a `Spline` component,
declared as `spline_a` and `spline_b`. It is intended to be extended by more complex components that
require dual spline functionalities. `PartialTwoSplines` itself does not define any specific dynamic behavior,
equations, or direct connections; its primary role is to provide these two spline subcomponents and their
associated graphical placement information for a modeling environment.
"""
partial component PartialTwoSplines
  "First spline"
  spline_a = Spline() {"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}
  "Second spline"
  spline_b = Spline() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
relations
end
```

```dyad
"""
Base component providing two independent spline instances.

This partial component serves as a base class that encapsulates two distinct instances of a `Spline` component,
declared as `spline_a` and `spline_b`. It is intended to be extended by more complex components that
require dual spline functionalities. `PartialTwoSplines` itself does not define any specific dynamic behavior,
equations, or direct connections; its primary role is to provide these two spline subcomponents and their
associated graphical placement information for a modeling environment.
"""
partial component PartialTwoSplines
  "First spline"
  spline_a = Spline() {"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}
  "Second spline"
  spline_b = Spline() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
relations
metadata {}
end
```

## Test Cases {#Test-Cases}

No test cases defined.

## Related {#Related}

* Examples

* Experiments

* Analyses
