{"id":13340135,"url":"https://github.com/daniloc/GeometryLink","last_synced_at":"2025-03-11T16:32:24.663Z","repository":{"id":222213908,"uuid":"756573629","full_name":"daniloc/GeometryLink","owner":"daniloc","description":"Sync Blender mesh to Vision Pro with gesture handling","archived":false,"fork":false,"pushed_at":"2024-02-23T02:11:08.000Z","size":815,"stargazers_count":21,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-24T04:27:02.102Z","etag":null,"topics":["blender","blender-addon","blender3d","visionos","visionpro"],"latest_commit_sha":null,"homepage":"","language":"Python","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/daniloc.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":"2024-02-12T21:49:34.000Z","updated_at":"2024-09-18T20:54:23.000Z","dependencies_parsed_at":"2024-10-24T01:36:22.991Z","dependency_job_id":null,"html_url":"https://github.com/daniloc/GeometryLink","commit_stats":null,"previous_names":["daniloc/geometrylink"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniloc%2FGeometryLink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniloc%2FGeometryLink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniloc%2FGeometryLink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniloc%2FGeometryLink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniloc","download_url":"https://codeload.github.com/daniloc/GeometryLink/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243070462,"owners_count":20231461,"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":["blender","blender-addon","blender3d","visionos","visionpro"],"created_at":"2024-07-29T19:22:08.055Z","updated_at":"2025-03-11T16:32:19.645Z","avatar_url":"https://github.com/daniloc.png","language":"Python","readme":"# Prototype: Sync Blender mesh to Vision Pro with gesture handling\n\n\n\nhttps://github.com/daniloc/GeometryLink/assets/213358/702011d1-5c38-4697-8b04-843f1576f416\n\n\n\nThis project uses WebSockets to transmit the selected mesh in Blender to Vision Pro, with interactive gestures.\n\n## Usage\n\n- Install `Blender Plugin.zip` as an add-on in Blender\n- Edit `connect()` in `ContentView.swift` with the hostname of the machine running Blender\n- Build/Run to Simulator or a Vision Pro device\n- Select a mesh in Blender. It should appear in the Vision Pro volume. You can grab and scale it with your hands.\n\n## ⚠️☣️ The python code is bad!\n\nI've shipped almost no python in my life. The add-in is the product of extended collaboration with an LLM and **should be re-written by someone who knows how to write python network code**.\n\n**Do not reuse the python code**. Feel free to open a PR with replacement, non-toxic python code.\n\n## Pipline\n\n### Server\n- Mesh is selected in Blender\n- The mesh is converted locally to USD\n- USD file is converted to base64 string and sent over WebSocket\n\n### Client\n- base64 string is received and converted back into USD file\n- USD file is imported as a RealityKit entity and attached as a child to an anchor entity\n\n## Known issues\n\n- There's a bit of a hang on closing Blender, owing the bad python code\n- Can't figure out how to make Bonjour work, but partial implementations are included; the service is broadcasting, but none of the details seem to populate. PR's welcome there too.\n- There's an upper limit on mesh complexity; chunking or some other strategy should be implemented to allow bigger files to be transferred over WebSocket\n- I'm sure there's a better way to manage package dependencies in Blender's python; feel free to propose one!\n\n## Missing Apple code\n\nGesture handling borrows heavily from a file that used to exist at this URL but has since vanished:\n\nhttps://developer.apple.com/documentation/realitykit/transforming-realitykit-entities-with-gestures\n\nThe docs/project had a bug around programmatically attaching the gesture, so maybe they're reworking it.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniloc%2FGeometryLink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniloc%2FGeometryLink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniloc%2FGeometryLink/lists"}