1.5 KiB
1.5 KiB
| id | title | status | assignee | created_date | updated_date | labels | milestone | dependencies | references | priority | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TASK-26 | Port folk-blender-gen shape (3D procedural generation) | Done | 2026-02-18 19:49 | 2026-03-12 04:08 |
|
m-0 |
|
|
medium |
Description
Port BlenderGenShapeUtil from canvas-website to rspace-online as a FolkShape Web Component.
Source: canvas-website/src/shapes/BlenderGenShapeUtil.tsx (693 lines) Target: rspace-online/lib/folk-blender-gen.ts
Features to implement:
- Blender script editor textarea
- LLM code generation (prompt → Blender Python script)
- 3D preview iframe/canvas
- Model download button
- Loading/error states
Follow folk-image-gen.ts pattern for API-calling shape with loading/result states. Needs /api/blender-gen server endpoint (TASK-25).
Acceptance Criteria
- #1 Shape renders with script editor and 3D preview
- #2 LLM code generation produces valid Blender scripts
- #3 Results sync across clients via Automerge
- #4 Toolbar button added to canvas.html
Final Summary
folk-blender.ts exists in lib/ with full prompt→LLM→Blender script pipeline. /api/blender-gen endpoint live in server/index.ts using Ollama + RunPod.