{"id":23408513,"url":"https://github.com/imnerocode/parser-obj","last_synced_at":"2025-09-07T18:43:26.584Z","repository":{"id":269064659,"uuid":"906313543","full_name":"imnerocode/parser-obj","owner":"imnerocode","description":"A lightweight Go parser that converts OBJ files into a vo.Model structure using the vo-structures module, making it easy to integrate 3D models into your projects","archived":false,"fork":false,"pushed_at":"2025-01-03T20:43:27.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T19:51:53.806Z","etag":null,"topics":["go","golang","obj","parser","vo-structures"],"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/imnerocode.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-12-20T16:09:42.000Z","updated_at":"2024-12-28T03:02:44.000Z","dependencies_parsed_at":"2024-12-20T17:26:27.822Z","dependency_job_id":"cecade50-aa9d-4682-a41b-d50f7aa42d0c","html_url":"https://github.com/imnerocode/parser-obj","commit_stats":null,"previous_names":["imnerocode/parser-obj"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnerocode%2Fparser-obj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnerocode%2Fparser-obj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnerocode%2Fparser-obj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnerocode%2Fparser-obj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imnerocode","download_url":"https://codeload.github.com/imnerocode/parser-obj/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247956893,"owners_count":21024618,"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":["go","golang","obj","parser","vo-structures"],"created_at":"2024-12-22T15:15:13.041Z","updated_at":"2025-04-09T01:32:49.009Z","avatar_url":"https://github.com/imnerocode.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OBJ Parser\n\nThis package provides a function to parse OBJ files and convert them into a model structure using the `vo-structures` package.\n\n## Installation\n\nTo install this package, use `go get`:\n\n```sh\ngo get github.com/imnerocode/parser-obj\n```\n\n## Usage\n\nBelow is an example of how to use this package to parse an OBJ file:\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"log\"\n\n    \"github.com/imnerocode/parser-obj\"\n)\n\nfunc main() {\n    model, err := parser_obj.ParseOBJ(\"path/to/your/file.obj\")\n    if err != nil {\n        log.Fatalf(\"Error parsing OBJ file: %v\", err)\n    }\n\n    fmt.Printf(\"Parsed model: %+v\\n\", model)\n}\n```\n\n## Functions\n\n### ParseOBJ\n\n```go\nfunc ParseOBJ(filePath string) (*vo.Model, error)\n```\n\nParses an OBJ file and converts it into a `vo.Model` structure.\n\n- **filePath**: The path to the OBJ file.\n- Returns a pointer to `vo.Model` and an error if any issue occurs.\n\n## Structures\n\nThis package uses the following structures from the `vo-structures` package:\n\n- `vo.Model`\n- `vo.Vertex`\n- `vo.Face`\n\nYou need to import these structures from the `vo-structures` package, which is a separate package available at: [https://github.com/imnerocode/vo-structures](https://github.com/imnerocode/vo-structures)\n\n## License\n\nThis project is licensed under the terms of the MIT license.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimnerocode%2Fparser-obj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimnerocode%2Fparser-obj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimnerocode%2Fparser-obj/lists"}