{"id":13534107,"url":"https://github.com/fogleman/simplify","last_synced_at":"2025-04-09T17:25:32.517Z","repository":{"id":57482021,"uuid":"58507955","full_name":"fogleman/simplify","owner":"fogleman","description":"3D mesh simplification in Go.","archived":false,"fork":false,"pushed_at":"2017-02-16T17:19:06.000Z","size":19,"stargazers_count":254,"open_issues_count":3,"forks_count":31,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-02T11:58:57.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/fogleman.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}},"created_at":"2016-05-11T02:27:57.000Z","updated_at":"2025-03-31T13:18:14.000Z","dependencies_parsed_at":"2022-09-18T20:21:09.496Z","dependency_job_id":null,"html_url":"https://github.com/fogleman/simplify","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/fogleman%2Fsimplify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fogleman%2Fsimplify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fogleman%2Fsimplify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fogleman%2Fsimplify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fogleman","download_url":"https://codeload.github.com/fogleman/simplify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248075920,"owners_count":21043667,"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-08-01T07:01:26.481Z","updated_at":"2025-04-09T17:25:32.493Z","avatar_url":"https://github.com/fogleman.png","language":"Go","funding_links":[],"categories":["Go","Libraries"],"sub_categories":["Go"],"readme":"## 3D Mesh Simplification\n\nImplementation of\n[Surface Simplification Using Quadric Error Metrics, SIGGRAPH 97](http://cseweb.ucsd.edu/~ravir/190/2016/garland97.pdf),\nwritten in Go.\n\n![Bunny](http://i.imgur.com/Ttf5XzH.png)\n\n\u003cp align=\"center\"\u003e270,000 faces vs. 2,700 faces (1%)\u003c/p\u003e\n\n---\n\n### Install\n\n    go get -u github.com/fogleman/simplify/cmd/simplify\n\n### Command-Line Usage\n\n    Usage: simplify [-f FACTOR] input.stl output.stl\n\n    $ simplify -f 0.1 bunny.stl out.stl\n    Loading bunny.stl\n    Input mesh contains 270021 faces\n    Simplifying to 10% of original...\n    Output mesh contains 27001 faces\n    Writing out.stl\n\n### API Usage\n\n```go\n// Use LoadSTL (ASCII) or LoadBinarySTL\nmesh, err := simplify.LoadBinarySTL(inputPath)\n// handle err\nmesh = mesh.Simplify(factor)\nmesh.SaveBinarySTL(outputPath)\n```\n\n---\n\n![Animated](http://i.imgur.com/LXke1ur.gif)\n\n\u003cp align=\"center\"\u003eIteratively simplifying by 50% until only 16 faces remain\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffogleman%2Fsimplify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffogleman%2Fsimplify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffogleman%2Fsimplify/lists"}