> ## Documentation Index
> Fetch the complete documentation index at: https://docs.researchanddesire.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Actuator Body - Cover

> The protective top cover for the OSSM actuator body that encloses the belt mechanism

export const STLViewer = ({url}) => {
  const [loading, setLoading] = useState(true);
  const EMBED_URL = `https://www.viewstl.com/?embedded&url=${encodeURIComponent(url)}`;
  const getGitHubUrl = rawUrl => {
    if (rawUrl.includes('raw.githubusercontent.com')) {
      return rawUrl.replace('raw.githubusercontent.com', 'github.com').replace(/\/main\//, '/blob/main/');
    }
    return rawUrl;
  };
  const fileUrl = getGitHubUrl(url);
  const fileName = decodeURIComponent(url.split('/').pop());
  return <div style={{
    width: '100%',
    maxWidth: '800px',
    margin: '0 auto'
  }}>
      {loading && <div style={{
    position: 'absolute',
    display: 'flex',
    alignItems: 'center',
    justifyContent: 'center',
    width: '100%',
    height: '500px',
    background: '#f5f5f5',
    borderRadius: '8px',
    zIndex: 1
  }}>
          Loading 3D viewer...
        </div>}
      <div style={{
    position: 'relative'
  }}>
        <iframe src={EMBED_URL} style={{
    width: '100%',
    height: '500px',
    border: 'none',
    borderRadius: '8px',
    background: '#f5f5f5'
  }} onLoad={() => setLoading(false)} title="STL Viewer" allowFullScreen />
      </div>
      <div style={{
    display: 'flex',
    justifyContent: 'space-between',
    alignItems: 'center',
    marginTop: '8px',
    fontSize: '12px',
    color: '#666'
  }}>
        <span>Drag to rotate • Scroll to zoom</span>
        <a href={fileUrl} target="_blank" rel="noopener noreferrer" style={{
    color: '#0066cc',
    textDecoration: 'none'
  }}>
          {fileName} ↗
        </a>
      </div>
    </div>;
};

<STLViewer url="https://raw.githubusercontent.com/KinkyMakers/OSSM-hardware/main/Printed%20Parts/Actuator/OSSM%20-%20Actuator%20-%20Body%20-%20Cover.stl" />

## Quick Reference

|          |             |
| -------- | ----------- |
| Quantity | 1 per build |

## Function

The Body - Cover completes the actuator enclosure. This component:

* Protects the timing belt from dust, debris, and contact
* Provides mounting points that secure to the Body - Middle
* Encloses the belt routing channel for safety
* Completes the aesthetic appearance of the actuator

<Warning>
  Print this part in the default file orientation. Printing in other orientations causes structural weakness.
</Warning>

## Download Files

<CardGroup cols={3}>
  <Card title="STL File" icon="cube" href="https://github.com/KinkyMakers/OSSM-hardware/blob/main/Printed%20Parts/Actuator/OSSM%20-%20Actuator%20-%20Body%20-%20Cover.stl">
    Download for slicing
  </Card>

  <Card title="STEP File" icon="drafting-compass" href="https://github.com/KinkyMakers/OSSM-hardware/blob/main/Printed%20Parts/Actuator/STEP/OSSM%20-%20Actuator%20-%20Body%20-%20Cover.stp">
    For CAD modification
  </Card>

  <Card title="3MF (Full Assembly)" icon="layer-group" href="https://github.com/KinkyMakers/OSSM-hardware/tree/main/Printed%20Parts/Actuator/Preconfigured%203mf">
    Pre-configured print files
  </Card>
</CardGroup>
