{"id":16108744,"url":"https://github.com/macoron/unity-ply-export","last_synced_at":"2025-04-13T14:12:16.049Z","repository":{"id":116332482,"uuid":"504923493","full_name":"Macoron/Unity-Ply-Export","owner":"Macoron","description":"Export .ply files from Unity3d editor or runtime. Supports pointclouds and polygonal meshes.","archived":false,"fork":false,"pushed_at":"2022-06-18T22:48:24.000Z","size":8,"stargazers_count":9,"open_issues_count":1,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T05:13:05.102Z","etag":null,"topics":["ply","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","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/Macoron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-06-18T18:39:36.000Z","updated_at":"2025-02-19T17:08:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"e5199d5d-36d8-4eb5-ba99-57ca09c5f99e","html_url":"https://github.com/Macoron/Unity-Ply-Export","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Macoron%2FUnity-Ply-Export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Macoron%2FUnity-Ply-Export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Macoron%2FUnity-Ply-Export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Macoron%2FUnity-Ply-Export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Macoron","download_url":"https://codeload.github.com/Macoron/Unity-Ply-Export/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724629,"owners_count":21151561,"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":["ply","unity"],"created_at":"2024-10-09T19:28:18.439Z","updated_at":"2025-04-13T14:12:16.044Z","avatar_url":"https://github.com/Macoron.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity Ply Export\nExport ASCII [.ply files](https://en.wikipedia.org/wiki/PLY_(file_format)) from Unity3d editor or runtime. \n\nSupports both pointclouds and polygonal meshes.\n\n## Setup\nYou can install this package using **Package Manager**. Add it by this git URL:\n```\nhttps://github.com/Macoron/Unity-Ply-Export.git\n```\n\nAlternatively just clone this repo and place files somewhere in your Assets folder.\n\n## Usages\nExport mesh model into .ply file:\n```csharp\nvar meshFilter = GetComponent\u003cMeshFilter\u003e();\nvar ply = PlyExport.ToPly(meshFilter);\nFile.WriteAllText(\"mesh.ply\", ply);\n```\n\nExport pointcloud into .ply file:\n```csharp\nvar points = new List\u003cVector3\u003e();\nfor (int i = 0; i \u003c 1000; i++)\n    points.Add(Random.insideUnitSphere);\n\nvar ply = PlyExport.ToPlyPointcloud(points.ToArray());\nFile.WriteAllText(\"pointcloud.ply\", ply);\n```\n\nYou can also export selected meshes in Editor by clicking menu `Assets =\u003e Export selected to .ply`.\n\n## Limitations\nKeep in mind that not all data is supported for export:\n- [x] Colored pointclouds\n- [x] Polygonal mesh\n- [x] Mesh vertex colors\n- [ ] Mesh vertex normals\n- [ ] Mesh materials\n- [ ] Mesh UV\n\n## License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacoron%2Funity-ply-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacoron%2Funity-ply-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacoron%2Funity-ply-export/lists"}