Image-3D is a local web application that converts images into 3D printable models (STL/3MF/GLB/OBJ) with support for multi-view input, four-color printing, texture generation, and VRM rig integration.

Stars

161

7-day growth

No data

Forks

20

Open issues

0

License

NOASSERTION

Last updated

2026-07-27

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It provides a complete end-to-end pipeline from image to 3D print data and rigged avatars, running locally with no cloud dependency, and includes advanced features like multi-view input, character sheet splitting, and AI-based texture generation.

Who it is for

  • 3D printing hobbyists and makers
  • VRM/3D avatar creators
  • Game developers needing quick 3D models
  • Developers interested in local image-to-3D pipelines

Use cases

  • Convert photos of figurines into watertight STL files for 3D printing
  • Generate multi-color 3MF files for filament printers (e.g., Bambu Lab AMS)
  • Create rigged GLB and VRM 1.0 avatars from T-pose character images
  • Experiment with AI-driven texture synthesis and multi-view reconstruction

Strengths

  • End-to-end pipeline: upload image, generate, preview, and download in multiple formats
  • Local execution (no cloud dependencies) with configurable GPU or CPU mock modes
  • Modular phase-based development enabling gradual adoption of advanced features
  • Supports multi-view input, character sheet splitting, and four-color printing with palette quantization

Considerations

  • Full GPU features (Hunyuan3D-2) require significant VRAM (16GB+ shape, 32GB+ texture) and CUDA setup
  • Mock generator does not reflect actual image content; only deterministic parametric meshes
  • Hunyuan3D-2 and its dependencies have restrictive licenses (e.g., pymeshlab GPL, Tencent community license) and require manual clone and build

README quick start

Image-3D

画像から3Dプリントデータ(STL / 3MF / GLB / OBJ)を生成するローカルWebアプリ。

Web UIの使い方は docs/USAGE.md、詳細仕様は docs/SPEC.md、開発方針は docs/DEVELOPMENT_POLICY.md、実装計画は docs/IMPLEMENTATION_PLAN.md を参照。 自動リグ+VRM化サービス rig-service は別リポジトリ(../rig-service/)。 設計・実装計画はそちらの docs/RIG_SERVICE_PLAN.md を参照。

現在の状態(Phase 1〜3b)

  • Image-to-3D 生成は mockジェネレータ(決定的なパラメトリックメッシュ)を使用。
  • GPU / Hunyuan3D-2 は未導入でも、アップロード → 生成 → メッシュ後処理 → 3Dビューア表示 → STL/3MF/GLB/OBJ ダウンロードの全パイプラインがE2Eで動作する。
  • Phase 2 で IMAGE3D_GENERATOR=hunyuan3d により実モデルに切り替え可能(下記参照)。
  • Phase 2.5 で4色カラープリンタ向け出力(color_mode=color4)に対応 (下記「Phase 2.5: 4色カラープリント対応」参照)。
  • Phase 3a でマルチビュー入力(正面+背面/左/右)とキャラクターシート自動分割に対応 (下記「Phase 3a: マルチビュー入力+キャラクターシート自動分割」参照)。
  • Phase 3b でパラメータプリセット(FR-11)とビューアのオーバーハングヒートマップ (FR-12)に対応(下記「Phase 3b: プリセット+オーバーハングヒートマップ」参照、 フロントエンドのみの変更でサーバAPIは不変)。
  • Phase 3c でテクスチャ生成(texture_mode=paint、FR-10)に対応(下記 「Phase 3c: テクスチャ生成 (texgen)」参照)。custom_rasterizer CUDA拡張の ビルドが必要で、未導入環境では /api/healthtexgen_available=false に 応じてUI上で無効表示し、正面/背面投影方式(FR-8)にフォールバックする。
  • Phase R4 で 自動リグ+VRM化サービス(rig-service、別リポジトリ) との連携に対応(下記「Phase R4: リグ/VRM化サービス連携」参照)。 IMAGE3D_RIGSVC_URL を設定すると完了ジョブに「リグ/VRM化」ボタンが出る。 Tポーズの立ち絵から生成したモデルを送ると、21ボーンのリグ済みGLBと VRM 1.0 が得られる。

セットアップ

前提

  • Python 3.12
  • (Phase 2用) NVIDIA GPU + CUDA 12.8 対応ドライバ

VRAM最小要件(実測ベース)

RTX PRO 6000 Blackwell 96GB での実測ピーク(既定パラメータ: octree_resolution=384, max_faces=200000, テクスチャ2048×2048)に基づく目安。

使用機能実測ピーク最小要件備考
mockジェネレータのみGPU不要開発・UI確認用
形状生成(単一ビュー/マルチビュー)約12GB16GB単一ビュー・mvの両パイプライン常駐+生成中ピークを含む
+テクスチャ生成 (texture_mode=paint)約25GB32GBshape+paint(delight・multiview diffusion)常駐+生成中ピーク
  • octree_resolution=512max_faces 増(高精細プリセット)ではピークが上記より 増加する。VRAMが最小要件付近のGPUでは octree_resolution=256 への引き下げを推奨。
  • 生成ジョブは直列実行(NFR-2)のため、同時実行によるVRAM加算は発生しない。 各ジョブ後に torch.cuda.empty_cache() で解放される(NFR-3で重みは常駐)。
  • 他プロセスとGPUを共有する場合は、上記に加えてそのプロセスの使用量を確保すること。

venv作成 + 依存インストール

Linux / macOS / WSL2:

python3 -m venv .venv
.venv/bin/pip install --upgrade pip
.venv/bin/pip install -r requirements.txt

Windows PowerShell:

py -3.12 -m venv .venv
.\.venv\Scripts\python.exe -m pip install --upgrade pip
.\.venv\Scripts\p

Description

image to 3d for 3D-printer

Related repositories

Similar projects matched by category, topics, and programming language.

lopopolo
Featured
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI & Machine LearningAI Agents
2,390
slvDev
Featured
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI & Machine LearningLarge Language Models
1,960
littledivy
Featured
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI & Machine Learning
1,482