{"id":21171551,"url":"https://github.com/vaaski/magsafe.scad","last_synced_at":"2026-03-17T18:13:58.504Z","repository":{"id":103220080,"uuid":"454370054","full_name":"vaaski/magsafe.scad","owner":"vaaski","description":"customizable magsafe attach plate made in openscad","archived":false,"fork":false,"pushed_at":"2022-02-27T21:10:11.000Z","size":2479,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T01:06:18.776Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OpenSCAD","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaaski.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-01T11:58:36.000Z","updated_at":"2022-02-01T14:57:50.000Z","dependencies_parsed_at":"2023-06-29T01:31:07.809Z","dependency_job_id":null,"html_url":"https://github.com/vaaski/magsafe.scad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vaaski/magsafe.scad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaaski%2Fmagsafe.scad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaaski%2Fmagsafe.scad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaaski%2Fmagsafe.scad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaaski%2Fmagsafe.scad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaaski","download_url":"https://codeload.github.com/vaaski/magsafe.scad/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaaski%2Fmagsafe.scad/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28102698,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-28T02:00:05.685Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T16:07:28.997Z","updated_at":"2025-12-28T19:04:31.994Z","avatar_url":"https://github.com/vaaski.png","language":"OpenSCAD","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003emagsafe attach plate\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://cadhub.xyz/draft/openscad#fetch_text_v1=https%3A%2F%2Fraw.githubusercontent.com%2Fvaaski%2Fmagsafe.scad%2Fmain%2Fmagsafe.scad\"\u003e\n    \u003cimg width=\"600\" src=\"https://raw.githubusercontent.com/vaaski/magsafe.scad/main/render.png\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## how to use\n\nyou'll need 32-53 cylindrical magnets, i recommend 4x2mm.\n\nthere'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.\n\nif 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.\n\n## parameters\n- `RENDER_QUALITY`: set to true for final render quality\n\n- `MAGNET_COUNT`: amount of magnets you have or want to use (+3 if you enable clocking)\n\n- `MAGNET_HOLE_DEPTH`: how deep the magnet holes are. if set to 0 they're flush. measured in layers\n\n- `CLOCK_ENABLE`: enable/disable clocking magnets\n\n- `CLOCK_HEIGHT`: how long the clocking part should be\n\n- `MAGNET_HEIGHT`, `MAGNET_DIAMETER`: magnet dimensions, i strongly recommend 4x2 mm\n\n- `MAGNET_HOLE_ROUNDING`: amount of rounding between magnets, 0.75 is fine\n\n- `LAYER_HEIGHT`: 3d printer layer height\n\n- `SEPARATION_LAYERS`: layers between the magnets and the phone\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaaski%2Fmagsafe.scad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaaski%2Fmagsafe.scad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaaski%2Fmagsafe.scad/lists"}