Three.js model preference
Web scenes के लिए, Arka नई geometry generate करने से पहले किसी मौजूदा Three.js-compatible GLTF/GLB asset या library की जांच कर सकता है:baryhuang/mcp-threejs से प्रेरित native Arka logic है:
Arka request को एक compact asset query में converts करता है, Sketchfab/MCP
style results को एक candidate shape में normalize करता है, downloadable GLB/GLTF assets
को पहले rank करता है, और license/attribution/format metadata report करता है। यदि कोई provider
configured नहीं है, तो Arka zero candidates return करता है और agent को model
URLs invent न करने के लिए कहता है।
Satellites जैसी recognizable objects के लिए, material और texture maps के साथ realistic licensed
GLTF/GLB model को प्राथमिकता दें। जब उपयुक्त Three.js asset उपलब्ध हो तो इसे simple
boxes, spheres, या cylinders से replace न करें।
Arka पहले एक symbolic reality check apply करता है, फिर model को एक compact
verification instruction देता है; अनिश्चित objects को एक trusted catalog या
user-provided URL की आवश्यकता होती है, न कि hallucinated asset URL की।
Quick start
Text-to-3D providers
text_to_3d का उपयोग तब करें जब prompt कोई procedural shape न हो और आप एक AI
text-to-mesh backend चाहते हैं:
auto provider order पहले free/non-trial है:
- local Shap-E (
shap-e) जब installed हो; - Hugging Face Shap-E (
hf-shap-e)gradio_clientयाHF_TOKENके माध्यम से; - local OpenSCAD + LLM जब उपलब्ध हो;
- LLM OBJ fallback।
--backend tripo के साथ explicitly opt in करें, या set करें:
Procedural shapes (कोई LLM आवश्यक नहीं)
Quality tiers
Curve smoothness (segment count) को नियंत्रित करने के लिए--quality का उपयोग करें:
boy, girl, person) consistent, printable meshes के लिए procedural capsule-based templates का उपयोग करते हैं — raw LLM vertex output नहीं।
3D generation fallback orchestration का उपयोग करता है। आवश्यकतानुसार एक preferred chain configure करें,
जैसे MODEL_3D_BACKEND_CHAIN=tripo,shap-e,openscad,llm; प्रत्येक
backend को क्रम में try किया जाता है और failures अगले backend पर continue होती हैं। फिर LLM
OBJ generator Arka के सामान्य model fallback का उपयोग करता है, और procedural templates
supported shapes के लिए offline-safe fallback के रूप में बने रहते हैं।
Free AI backends (procedural soup से बेहतर)
Organic shapes (dragon, vase with floral pattern, आदि) के लिए, LLM OBJ fallback से पहले external generators का उपयोग करें:
Backend priority (--backend auto)
- Local Shap-E — यदि
torch+diffusersinstalled हैं (SHAP_E_DEVICE=cudaवैकल्पिक) - Tripo AI —
TRIPO_API_KEY(platform.tripo3d.ai — 300 free credits) - HF Shap-E Space —
HF_TOKENऔर/याpip install -e '.[3d-ai]'(Gradio client) - Meshy API —
MESHY_API_KEY(API के लिए Pro+ आवश्यक है; web UI में 100 free credits/mo) - Procedural templates — known shapes के लिए (
gear,boy,vase, …) - LLM OBJ — आपके chat LLM से last resort vertex output
gear, cube, …) API credits बचाने के लिए --backend auto के तहत procedural रहते हैं। किसी template पर AI force करने के लिए --backend tripo (आदि) pass करें।
Environment variables
वैकल्पिक extras install करें:
Export formats
Models default रूप से
~/Models/arka-generated/ में save होते हैं। MODEL_3D_OUTPUT_DIR के साथ override करें।
Custom shapes (LLM fallback)
जब कोई free backend configured न हो, तो Arka objects के लिए आपके configured LLM को OBJ vertex data generate करने के लिए कहता है, फिर faces साफ़-साफ़ parse होने पर STL export करता है।.env में एक LLM आवश्यक है (chat/compose_slides के समान stack)। Quality Tripo/HF से कम है — जब possible हो --backend auto का उपयोग करें।
अपना model खोलें
Generation के बाद, Arka file paths और tips print करता है:- macOS: Preview में OBJ/STL खोलें, या
blender <file> - GLB: gltf-viewer.donmccurdy.com या Blender
- Online: file को 3dviewer.net पर drag करें
- 3D printing: STL को Cura, PrusaSlicer, या Bambu Studio में import करें
Setup check करें
संबंधित
- Skills catalog — Media section में
compose_3d