{"id":16783647,"url":"https://github.com/boytchev/meshedgesgeometry","last_synced_at":"2025-03-23T15:31:18.492Z","repository":{"id":248376368,"uuid":"828466874","full_name":"boytchev/MeshEdgesGeometry","owner":"boytchev","description":"Extract edges from a Three.js object","archived":false,"fork":false,"pushed_at":"2024-07-15T07:38:58.000Z","size":555,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-18T21:52:11.967Z","etag":null,"topics":["edges","geometry","mesh","object","threejs"],"latest_commit_sha":null,"homepage":"https://boytchev.github.io/MeshEdgesGeometry/","language":"JavaScript","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/boytchev.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-07-14T08:35:47.000Z","updated_at":"2025-02-26T02:14:54.000Z","dependencies_parsed_at":"2024-10-28T16:49:14.684Z","dependency_job_id":null,"html_url":"https://github.com/boytchev/MeshEdgesGeometry","commit_stats":null,"previous_names":["boytchev/meshedgesgeometry"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boytchev%2FMeshEdgesGeometry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boytchev%2FMeshEdgesGeometry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boytchev%2FMeshEdgesGeometry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boytchev%2FMeshEdgesGeometry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boytchev","download_url":"https://codeload.github.com/boytchev/MeshEdgesGeometry/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245122754,"owners_count":20564366,"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":["edges","geometry","mesh","object","threejs"],"created_at":"2024-10-13T07:50:16.900Z","updated_at":"2025-03-23T15:31:17.896Z","avatar_url":"https://github.com/boytchev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MeshEdgesGeometry\n\n**MeshEdgesGeometry** is a simple class to extract edges from a [**Three.js**](https://threejs.org/) object\n\u0026ndash; a mesh or a group with children. The hierarchy and substructures of the\ninput object are flattened out. Their positions, scales and rotations are baked\ninto world coordinates. \n\n**MeshEdgesGeometry** is like [**THREE.EdgesGeometry**](https://threejs.org/docs/index.html#api/en/geometries/EdgesGeometry),\nexcept that it does not work on [**THREE.BufferGeometry**](https://threejs.org/docs/index.html#api/en/core/BufferGeometry), but on \n[**THREE.Object3D**](https://threejs.org/docs/index.html#api/en/core/Object3D).\n\n\n### Code example\n\n```js\nvar box = new THREE.Mesh(\n\tnew THREE.BoxGeometry( 2, 2, 2 ),\n);\n\t\t\nvar edges = new THREE.LineSegments(\n\tnew MeshEdgesGeometry( box ),\n\tnew THREE.LineBasicMaterial( {color: 'black'} )\n)\n```\n\n\n### Demonstrations\n\nSomewhat minimalistic demos of using **MeshEdgesGeometry** on a cube, on a group\nof pyramids and on GLTF models. Click on an image to run it live:\n\n[\u003cimg width=\"225\" src=\"https://boytchev.github.io/MeshEdgesGeometry/demos/snapshots/demo-cube.jpg\"\u003e](https://boytchev.github.io/MeshEdgesGeometry/demos/demo-cube.html)\n[\u003cimg width=\"225\" src=\"https://boytchev.github.io/MeshEdgesGeometry/demos/snapshots/demo-group.jpg\"\u003e](https://boytchev.github.io/MeshEdgesGeometry/demos/demo-group.html)\n[\u003cimg width=\"225\" src=\"https://boytchev.github.io/MeshEdgesGeometry/demos/snapshots/demo-model.jpg\"\u003e](https://boytchev.github.io/MeshEdgesGeometry/demos/demo-model.html)\n\n\n### Source code\n\n[https://github.com/boytchev/MeshEdgesGeometry](https://github.com/boytchev/MeshEdgesGeometry)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboytchev%2Fmeshedgesgeometry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboytchev%2Fmeshedgesgeometry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboytchev%2Fmeshedgesgeometry/lists"}