{"id":15057212,"url":"https://github.com/jw3126/manifoldbindings.jl","last_synced_at":"2026-01-03T19:06:27.890Z","repository":{"id":240474122,"uuid":"802584601","full_name":"jw3126/ManifoldBindings.jl","owner":"jw3126","description":"Julia bindings for manifold mesh library","archived":false,"fork":false,"pushed_at":"2024-05-27T08:10:05.000Z","size":111,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-11T20:21:35.546Z","etag":null,"topics":["bindings","c","cpp","julia","mesh"],"latest_commit_sha":null,"homepage":"","language":"Julia","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/jw3126.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-18T17:51:40.000Z","updated_at":"2024-05-27T08:10:09.000Z","dependencies_parsed_at":"2024-05-22T06:24:00.539Z","dependency_job_id":"f2eed5c9-506d-4d7d-bf9a-5da269850391","html_url":"https://github.com/jw3126/ManifoldBindings.jl","commit_stats":{"total_commits":46,"total_committers":2,"mean_commits":23.0,"dds":0.04347826086956519,"last_synced_commit":"389ce8add5d54de4b5fb6f2596f13f09f182cb20"},"previous_names":["jw3126/manifold.jl","jw3126/manifoldbindings.jl"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jw3126%2FManifoldBindings.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jw3126%2FManifoldBindings.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jw3126%2FManifoldBindings.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jw3126%2FManifoldBindings.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jw3126","download_url":"https://codeload.github.com/jw3126/ManifoldBindings.jl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244135897,"owners_count":20403797,"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":["bindings","c","cpp","julia","mesh"],"created_at":"2024-09-24T22:03:56.317Z","updated_at":"2026-01-03T19:06:27.840Z","avatar_url":"https://github.com/jw3126.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [ManifoldBindings.jl](https://github.com/jw3126/ManifoldBindings.jl)\n\n[![Build Status](https://github.com/jw3126/ManifoldBindings.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/jw3126/ManifoldBindings.jl/actions/workflows/CI.yml?query=branch%3Amain)\n[![Coverage](https://codecov.io/gh/jw3126/ManifoldBindings.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/jw3126/ManifoldBindings.jl)\n\nThis package provides inofficial julia bindings for [manifold](https://github.com/elalish/manifold) a fast and robust mesh library.\nIt provides low level 1:1 bindings around the official C-API in `JuliaBindings.CAPI` and\nalso a memory safe high level api. The high level API is not yet fully implemented \nand might change in future.\n\n# Usage\n```julia\nusing StaticArrays\nimport ManifoldBindings as MB\n\n# use a predefined mesh\nradius = 1.1\nnseg = 10\nsphere = MB.Manifold_sphere(radius, nseg)\n\n# create a custom mesh\nvertices = [\n    @SVector[-1.0, -1.0, 1.0],\n    @SVector[-1.0, 1.0, -1.0],\n    @SVector[1.0, -1.0, -1.0],\n    @SVector[1.0, 1.0, 1.0],\n]\ntriangles = [\n    @SVector[0x00000003, 0x00000001, 0x00000002], \n    @SVector[0x00000001, 0x00000004, 0x00000002], \n    @SVector[0x00000003, 0x00000004, 0x00000001], \n    @SVector[0x00000004, 0x00000003, 0x00000002]\n   ]\ntetrahedron = MB.Manifold(vertices, triangles) # a custom tetrahedron\n\n# get information out of a manifold\n@assert MB.collect_vertices(tetrahedron)  == vertices\n@assert MB.collect_triangles(tetrahedron) == triangles\n\n# use a mesh boolean\nm = MB.difference(tetrahedron, sphere)\n\n# plotting support\nusing GLMakie\nplot(m)\n```\n![difference.png](resources/difference.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjw3126%2Fmanifoldbindings.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjw3126%2Fmanifoldbindings.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjw3126%2Fmanifoldbindings.jl/lists"}