{"id":14960638,"url":"https://github.com/karl-/pb_stl","last_synced_at":"2025-04-09T15:07:06.856Z","repository":{"id":50310938,"uuid":"59667744","full_name":"karl-/pb_Stl","owner":"karl-","description":"STL import/export for Unity, supporting both ASCII and Binary.","archived":false,"fork":false,"pushed_at":"2024-02-26T20:03:26.000Z","size":6372,"stargazers_count":191,"open_issues_count":6,"forks_count":47,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-09T15:06:56.125Z","etag":null,"topics":["stl","stl-importer","unity","unity-editor","unity-plugin","unity3d"],"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/karl-.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2016-05-25T13:58:40.000Z","updated_at":"2025-04-08T06:40:38.000Z","dependencies_parsed_at":"2024-02-26T21:25:53.884Z","dependency_job_id":"ab9cedc3-3d59-4921-a0ef-d5a9ccbd91ab","html_url":"https://github.com/karl-/pb_Stl","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/karl-%2Fpb_Stl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karl-%2Fpb_Stl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karl-%2Fpb_Stl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karl-%2Fpb_Stl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karl-","download_url":"https://codeload.github.com/karl-/pb_Stl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055284,"owners_count":21040157,"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":["stl","stl-importer","unity","unity-editor","unity-plugin","unity3d"],"created_at":"2024-09-24T13:22:39.255Z","updated_at":"2025-04-09T15:07:06.840Z","avatar_url":"https://github.com/karl-.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pb_Stl\n\nAn STL importer/exporter for Unity.\n\n**pb_Stl** is the exporter used in ProBuilder to save [STL](http://paulbourke.net/dataformats/stl/) model files.\n\n![stanford_dragon](stanford_dragon.png)\n\n## Install\n\n1. In the `Packages` directory of your Unity project, `git clone https://github.com/karl-/pb_Stl.git co.parabox.stl`\n\nor\n\n1. Open `Packages/manifest.json`\n1. Add `\"co.parabox.stl\":\"https://github.com/karl-/pb_Stl.git\"` to the `\"dependencies\"` list\n\n## Quick Start\n\n1. Select a `GameObject` in the Scene View with a `MeshFilter` and valid `Mesh`.\n1. In the file menu,  `Edit \u003e Export \u003e STL (Ascii)`.\n1. View your shiny new STL file.\n\n## Features\n\n- Export and import Binary \u0026 ASCII STL files in editor or at runtime.\n- Custom AssetPostProcessor automatically creates usable prefabs from any STL imported to Unity.\n- Option to convert from left to right handed coordinates (on by default, as per STL spec).\n- Automatic merging of multiple selected meshes, including relative transformations.\n- Import models with vertex counts larger than Unity max by automatically splitting into multiple meshes.\n\n## Planned Improvements\n\n- Export window with additional options:\n    - Swap model axis on import/export.\n    - Export as multiple objects or merge (currently always merges).\n    - Generate normals on import (with smoothing or no).\n    \n## Troubleshooting\n\n#### Model is sideways / horizontal / rotated\n\nUnity's coordinate system is left handed, with Y axis as the vertical.  Other 3d modeling programs may have different coordinate systems or axis assignments.  **pb_Stl** exports right handed coordinates by default, but can be modified to retain left handed coordinates.  Support for swapping axes is planned.\n\n## Contributing\n\nIf you would like to submit improvements please include NUnit tests for your changes (and make sure they don't break any existing tests).\n\n## License\n\nIt's MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarl-%2Fpb_stl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarl-%2Fpb_stl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarl-%2Fpb_stl/lists"}