> ## 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.

# Power Switch Cap

> Optional decorative cover for the RADR wireless remote power switch

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/researchanddesire/radr-wireless-remote/main/Hardware/Print%20Files/Power%20Switch.stl" />

## Function

The Power Switch Cap is an optional decorative cover that fits over the power switch toggle. This component:

* Provides an aesthetically finished look to the power switch
* Sits over the existing switch toggle
* Purely cosmetic—not required for operation

## Print Settings

| Setting           | Value  |
| ----------------- | ------ |
| Layer Height      | 0.12mm |
| Walls             | 4      |
| Infill Type       | Gyroid |
| Infill Percentage | 25%    |
| Supports          | None   |

<Tip>
  This is a very small part. Print multiple copies or include it with other small parts like the buttons for efficiency.
</Tip>

## Installation

<Steps>
  <Step title="Print the cap">
    Print the power switch cap using the settings above.

    <Check>
      The cap is free of defects and has clean surfaces.
    </Check>
  </Step>

  <Step title="Press onto switch">
    Gently press the cap onto the power switch toggle. It should friction-fit in place.

    <Warning>
      Do not use adhesive unless the fit is too loose. A drop of CA glue can be used as a last resort.
    </Warning>
  </Step>

  <Step title="Test operation">
    Verify the switch still operates smoothly with the cap installed.

    <Check>
      Switch toggles on/off with no binding or interference.
    </Check>
  </Step>
</Steps>

<Info>
  This part is optional. The remote functions perfectly without it—the power switch is fully usable as-is.
</Info>

## Download Files

<CardGroup cols={2}>
  <Card title="STEP File" icon="cube" href="https://github.com/researchanddesire/radr-wireless-remote/blob/main/Hardware/Print%20Files/Power%20Switch.step">
    Download for CAD editing
  </Card>

  <Card title="3MF Project" icon="layer-group" href="https://github.com/researchanddesire/radr-wireless-remote/blob/main/Hardware/Print%20Files/Bambu%20A1%20Remote_V1.01.3mf">
    Bambu Studio project with print settings
  </Card>
</CardGroup>
