$(instance)PartialTwoSplines Icon

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

PartialTwoSplines()

Connectors

  • spline_a - This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)
  • spline_b - This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)

Source

# 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}}}}]
end
Flattened Source
# 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}}}}]
metadata {}
end


Test Cases

No test cases defined.

  • Examples
  • Experiments
  • Analyses