{"id":26157188,"url":"https://github.com/alexferl/3d-to-2d","last_synced_at":"2026-05-18T15:34:32.125Z","repository":{"id":269766961,"uuid":"831171031","full_name":"alexferl/3d-to-2d","owner":"alexferl","description":"Convert 3D characters/animations to 2D sprite sheets","archived":false,"fork":false,"pushed_at":"2024-12-26T01:49:18.000Z","size":3854,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-01T05:25:18.104Z","etag":null,"topics":["3d-to-2d","blender","blender-python","mixamo","sprite-sheets","spritesheets"],"latest_commit_sha":null,"homepage":"","language":"Python","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/alexferl.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-19T20:45:05.000Z","updated_at":"2026-03-03T16:55:17.000Z","dependencies_parsed_at":"2024-12-26T02:37:50.761Z","dependency_job_id":"88227518-59f4-4a05-9b1a-b648ee6064e0","html_url":"https://github.com/alexferl/3d-to-2d","commit_stats":null,"previous_names":["alexferl/3d-to-2d"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alexferl/3d-to-2d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2F3d-to-2d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2F3d-to-2d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2F3d-to-2d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2F3d-to-2d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexferl","download_url":"https://codeload.github.com/alexferl/3d-to-2d/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2F3d-to-2d/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33182956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["3d-to-2d","blender","blender-python","mixamo","sprite-sheets","spritesheets"],"created_at":"2025-03-11T09:56:43.856Z","updated_at":"2026-05-18T15:34:32.092Z","avatar_url":"https://github.com/alexferl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 3d-to-2d\nA Python script to convert [Mixamo](https://www.mixamo.com) (and others) 3D characters/animations to 2D sprite sheets using [Blender](https://docs.blender.org/api/current/info_quickstart.html) (tested with 3.6.x) and [Pillow](https://python-pillow.org/).\nIt contains a basic .blend file with a camera (name: `Camera`) and a light (name: `Light`).\n\n\u003e NOTE: This is more an example that should be customized for one's needs versus a ready-to-use tool that just works for many different use cases.\n\u003e It works for my needs, but may not work for yours.\n\n## Using\n```shell\ngit clone https://github.com/alexferl/3d-to-2d.git\ncd 3d-to-2d\nmake dev\npython convert.py --model-file-path=/path/to/model.fbx --animation-file-path=/path/to/anim.fbx\n```\n\nIt's possible the default armature and action names won't work for you or if you want to use the script for non-Mixamo models/animations. You can modify them with:\n```shell\npython convert.py \\\n    --model-file-path=/path/to/model.fbx \\\n    --model-armature-name=SomeArmature \\\n    --animation-file-path=/path/to/anim.fbx \\\n    --animation-armature-name=AnotherArmature \\\n    --animation-action-name=SomeAction\n```\n\nYou can see what objects are present in the scene with:\n```shell\npython convert.py \\\n    --model-file-path=/path/to/model.fbx \\\n    --animation-file-path=/path/to/anim.fbx \\\n    --print-objects\n```\n\nOr actions:\n```shell\npython convert.py \\\n    --model-file-path=/path/to/model.fbx \\\n    --animation-file-path=/path/to/anim.fbx \\\n    --print-actions\n```\n\n### Using with animation(s) included with model\n```shell\npython convert.py \\\n    --model-file-path=/path/to/model.fbx \\\n    --model-armature-name=Rig \\\n    --model-action-name=Idle\n```\n\n### Excluding meshes\n```shell\npython convert.py \\\n    --model-excluded-meshes=1H_Axe,2H_Axe\n```\n\n### Including meshes\n```shell\npython convert.py \\\n    --model-included-meshes=1H_Axe,2H_Axe\n```\n\nSee which other settings are available with:\n```shell\npython convert.py --help\n```\n\npython convert.py \\\n    --model-file-path=files/Barbarian.fbx \\\n    --model-armature-name=Rig \\\n    --model-action-name=1H_Melee_Attack_Chop \\\n    --model-excluded-meshes=1H_Axe_Offhand,2H_Axe,Barbarian_Cape,Mug\n    --output-suffix=Body\n\npython convert.py \\\n    --model-file-path=files/Barbarian.fbx \\\n    --model-armature-name=Rig \\\n    --model-action-name=Idle \\\n    --model-included-meshes=Barbarian_ArmLeft \\\n    --output-suffix=ArmLeft\n\npython convert.py \\\n    --model-file-path=files/Barbarian.fbx \\\n    --model-armature-name=Rig \\\n    --model-action-name=Idle \\\n    --model-included-meshes=1H_Axe,Barbarian_ArmRight \\\n    --output-suffix=ArmRight\n\npython convert.py \\\n    --model-file-path=files/Barbarian.fbx \\\n    --model-armature-name=Rig \\\n    --model-action-name=1H_Melee_Attack_Chop \\\n    --model-included-meshes=1H_Axe \\\n    --output-suffix=1H_Axe\n\npython convert.py \\\n    --model-file-path=files/Barbarian.fbx \\\n    --model-armature-name=Rig \\\n    --model-action-name=1H_Melee_Attack_Chop \\\n    --model-included-meshes=Barbarian_Round_Shield \\\n    --output-suffix=Shield\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexferl%2F3d-to-2d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexferl%2F3d-to-2d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexferl%2F3d-to-2d/lists"}