---
url: /dyad/stable/stdlib/MultibodyComponents/components/Fixed.md
description: >-
  Dyad Fixed docs.  A component rigidly attached to the world frame with
  translation r from the world origin. The position vector r is resolved in the
  world fra...
---

# `Fixed` {#Fixed}

A component rigidly attached to the world frame with translation `r` from the world origin. The position vector `r` is resolved in the world frame. Orientation is fixed to the identity (world frame orientation).

## Usage {#Usage}

`MultibodyComponents.Fixed(r=[0, 0, 0], render=true)`

## Parameters: {#Parameters:}

|     Name |                                                          Description | Units | Default value |
| --------:| --------------------------------------------------------------------:| -----:| -------------:|
|      `r` | Position vector from world frame to frame_b, resolved in world frame |     m |     \[0, 0, 0] |
| `render` |                                   Render the component in animations |     – |          true |

## Connectors {#Connectors}

* `frame_b` - Frame3D is the fundamental 3D connector used for 6DOF motion. Most components have one or several `Frame`

connectors that can be connected together ([`Frame3D`](/stdlib/Dyad/connectors/Frame3D#Frame3D))

## Behavior {#Behavior}

$$ \begin{align}
\mathtt{frame_b.r_0}\_{1}\left( t \right) &= r\_{1} \\
\mathtt{frame_b.r_0}\_{2}\left( t \right) &= r\_{2} \\
\mathtt{frame_b.r_0}\_{3}\left( t \right) &= r\_{3} \\
\mathtt{frame_b.R}\_{1,1}\left( t \right) &= 1 \\
\mathtt{frame_b.R}\_{2,1}\left( t \right) &= 0 \\
\mathtt{frame_b.R}\_{3,1}\left( t \right) &= 0 \\
\mathtt{frame_b.R}\_{1,2}\left( t \right) &= 0 \\
\mathtt{frame_b.R}\_{2,2}\left( t \right) &= 1 \\
\mathtt{frame_b.R}\_{3,2}\left( t \right) &= 0 \\
\mathtt{frame_b.R}\_{1,3}\left( t \right) &= 0 \\
\mathtt{frame_b.R}\_{2,3}\left( t \right) &= 0 \\
\mathtt{frame_b.R}\_{3,3}\left( t \right) &= 1
\end{align}
$$

## Source {#Source}

```dyad
"""
A component rigidly attached to the world frame with translation `r`
from the world origin. The position vector `r` is resolved in the world frame.
Orientation is fixed to the identity (world frame orientation).
"""
component Fixed
  frame_b = Frame3D() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 450, "y1": 450, "x2": 550, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
  "Position vector from world frame to frame_b, resolved in world frame"
  parameter r::Length[3] = [0, 0, 0]
  "Render the component in animations"
  parameter render::Boolean = true
relations
  frame_b.r_0 = r
  frame_b.R = [[1, 0, 0], [0, 1, 0], [0, 0, 1]]
metadata {"Dyad": {"icons": {"default": "dyad://MultibodyComponents/Fixed.svg"}}}
end
```

```dyad
"""
A component rigidly attached to the world frame with translation `r`
from the world origin. The position vector `r` is resolved in the world frame.
Orientation is fixed to the identity (world frame orientation).
"""
component Fixed
  frame_b = Frame3D() {
    "Dyad": {
      "placement": {
        "diagram": {"iconName": "default", "x1": 450, "y1": 450, "x2": 550, "y2": 550, "rot": 0}
      },
      "tags": []
    }
  }
  "Position vector from world frame to frame_b, resolved in world frame"
  parameter r::Length[3] = [0, 0, 0]
  "Render the component in animations"
  parameter render::Boolean = true
relations
  frame_b.r_0 = r
  frame_b.R = [[1, 0, 0], [0, 1, 0], [0, 0, 1]]
metadata {"Dyad": {"icons": {"default": "dyad://MultibodyComponents/Fixed.svg"}}}
end
```

## Test Cases {#Test-Cases}

No test cases defined.

## Related {#Related}

* Examples

* Experiments

* Analyses

* Tests
  * [`CutForceTest`](Fixed.md)

  * [`CutTorqueTest`](Fixed.md)

  * [`RelativeForceTest`](Fixed.md)

  * [`TestCableCut`](Fixed.md)
