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
- Host: GitHub
- URL: https://github.com/vaaski/magsafe.scad
- Owner: vaaski
- Created: 2022-02-01T11:58:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-27T21:10:11.000Z (over 4 years ago)
- Last Synced: 2025-10-11T01:06:18.776Z (9 months ago)
- Language: OpenSCAD
- Size: 2.36 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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