{"id":18047294,"url":"https://github.com/akabe/akabe.scad","last_synced_at":"2025-04-05T04:27:28.626Z","repository":{"id":48458415,"uuid":"389271490","full_name":"akabe/akabe.scad","owner":"akabe","description":"My OpenSCAD library","archived":false,"fork":false,"pushed_at":"2021-07-25T06:38:52.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T12:36:23.536Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akabe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-25T05:42:52.000Z","updated_at":"2021-07-25T06:38:51.000Z","dependencies_parsed_at":"2022-07-28T22:49:19.712Z","dependency_job_id":null,"html_url":"https://github.com/akabe/akabe.scad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akabe%2Fakabe.scad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akabe%2Fakabe.scad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akabe%2Fakabe.scad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akabe%2Fakabe.scad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akabe","download_url":"https://codeload.github.com/akabe/akabe.scad/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289448,"owners_count":20914463,"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","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-10-30T19:11:00.450Z","updated_at":"2025-04-05T04:27:28.603Z","avatar_url":"https://github.com/akabe.png","language":"OpenSCAD","funding_links":[],"categories":[],"sub_categories":[],"readme":"# akabe.scad\n\nMy OpenSCAD library.\n\n## 2D objects\n\n### rect_fillet\n\n![rect_fillet](docs/rect_fillet.png)\n\n```scad\ninclude \u003cakabe.scad/fillet.scad\u003e;\nrect_fillet(10, 20, ul=5, ur=4, ll=3, lr=2);\n```\n\n## 3D objects\n\n### cylinder_tube_fillet\n\n![cylinder_tube_fillet](docs/cylinder_tube_fillet.png)\n\n```scad\ninclude \u003cakabe.scad/fillet.scad\u003e;\ncylinder_tube_fillet(h=30, r=50, hole_radius=30, angle=120, ui=5, li=5, uo=5, lo=5);\n```\n\n### Bezier surface\n\n![bezier_surface](docs/bezier_surface.png)\n\n```scad\ninclude \u003cakabe.scad/bezier.scad\u003e;\n\npoints = [\n  [0, 0, 0], [0, 2, 2], [0, 8, 2], [0, 10, 0],\n  [0, -3, 0], [2, 2, 5], [2, 8, 5], [0, 13, 0],\n  [10, -3, 0], [8, 2, 5], [8, 8, 5], [10, 13, 0],\n  [10, 0, 0], [10, 2, 2], [10, 8, 2], [10, 10, 0]\n];\ntop_edges = bezier_get_top_edge_indices(10);\nbottom_edges = bezier_get_bottom_edge_indices(10);\nleft_edges = bezier_get_left_edge_indices(10);\nright_edges = bezier_get_right_edge_indices(10);\npolyhedron(\n  points = concat(bezier_surface_points(points, 10), [[5, 5, -5]]),\n  faces = concat(\n    bezier_surface_triangles(10),\n    [\n      for (i = [0:len(top_edges)-2]) [100, top_edges[i], top_edges[i+1]],\n      for (i = [0:len(bottom_edges)-2]) [100, bottom_edges[i+1], bottom_edges[i]],\n      for (i = [0:len(left_edges)-2]) [100, left_edges[i+1], left_edges[i]],\n      for (i = [0:len(right_edges)-2]) [100, right_edges[i], right_edges[i+1]],\n    ]));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakabe%2Fakabe.scad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakabe%2Fakabe.scad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakabe%2Fakabe.scad/lists"}