An open API service indexing awesome lists of open source software.

https://github.com/vaaski/magsafe.scad

customizable magsafe attach plate made in openscad
https://github.com/vaaski/magsafe.scad

Last synced: 4 months ago
JSON representation

customizable magsafe attach plate made in openscad

Awesome Lists containing this project

README

          

magsafe attach plate





## how to use

you'll need 32-53 cylindrical magnets, i recommend 4x2mm.

there's a pre-rendered [`magsafe.stl`](https://github.com/vaaski/magsafe.scad/raw/main/magsafe.stl) (shown above) using default settings, but you can customize it using openSCAD.

if you don't wan't to download openSCAD, you can use web-based [cadhub](https://cadhub.xyz/draft/openscad#fetch_text_v1=https%3A%2F%2Fraw.githubusercontent.com%2Fvaaski%2Fmagsafe.scad%2Fmain%2Fmagsafe.scad) instead.

## parameters
- `RENDER_QUALITY`: set to true for final render quality

- `MAGNET_COUNT`: amount of magnets you have or want to use (+3 if you enable clocking)

- `MAGNET_HOLE_DEPTH`: how deep the magnet holes are. if set to 0 they're flush. measured in layers

- `CLOCK_ENABLE`: enable/disable clocking magnets

- `CLOCK_HEIGHT`: how long the clocking part should be

- `MAGNET_HEIGHT`, `MAGNET_DIAMETER`: magnet dimensions, i strongly recommend 4x2 mm

- `MAGNET_HOLE_ROUNDING`: amount of rounding between magnets, 0.75 is fine

- `LAYER_HEIGHT`: 3d printer layer height

- `SEPARATION_LAYERS`: layers between the magnets and the phone