用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill blender-interface-common-failures命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Write outbound email and external messages in Vamsee Achanta's voice — a subtle offer to help, never bold or rash claims. Load before drafting ANY email, LinkedIn/Collide reply, proposal note, or outreach sent under his name.
Save/publish analysis or computation results from ANY ecosystem repo to Hugging Face as a queryable, viewer-renderable dataset. Use when the user wants to "save results to hugging face", "publish dataset to HF", "hugging face data saving", "save analysis results", "hf dataset", "make results queryable", or "render via datasets-server API". Reshapes nested results into flat parquet tables, writes a dataset card with a viewer `configs:` block and provenance, applies license/public-vs-private routing, enforces a domain data-quality gate (faithful-to-source != correct), publishes to `aceengineer/<repo>-<projection>`, and verifies via the datasets-server API.
Clone, create, fork, configure, and manage GitHub repositories. Manage remotes, secrets, releases, and workflows. Works with gh CLI or falls back to git + GitHub REST API via curl.
正在显示 SKILL.md
基于 SOC 职业分类
| name | blender-interface-common-failures |
| description | Sub-skill of blender-interface: Common Failures (+2). |
| version | 1.1.0 |
| category | engineering |
| type | reference |
| scripts_exempt | true |
| Error | Cause | Fix |
|---|---|---|
AttributeError: 'NoneType' has no attribute 'select_set' | No active object after operation | Check bpy.context.selected_objects before accessing |
RuntimeError: Operator bpy.ops.wm.stl_import not found | Blender version mismatch (3.x vs 4.x) | Use version-gated import (see migration table) |
CUDA error: out of memory | GPU memory exhausted during Cycles render | Reduce tile size, lower samples, or use CPU fallback |
Segmentation fault in headless | Missing display server | Set DISPLAY=:0 or use xvfb-run blender --background |
bpy.ops.render.render(): Error, no camera | No camera in scene or not set as active | bpy.context.scene.camera = cam_object |
Cannot read file: ...blend | Blend file version newer than Blender | Use matching Blender version or save backward-compatible |
operator returned {'CANCELLED'} | Operation context incorrect | Ensure correct context override or use with bpy.context.temp_override() |
enum "BLENDER_EEVEE_NEXT" not found | Blender 5.x reverted EEVEE enum name | Use version check: 'BLENDER_EEVEE_NEXT' if bpy.app.version[0]==4 else 'BLENDER_EEVEE' |
DeprecationWarning: 'Material.use_nodes' | Blender 5.x always enables nodes | Guard with if bpy.app.version[0] < 5: mat.use_nodes = True |
def diagnose_blender_env():
"""Check Blender environment for common issues."""
import bpy
diag = {"version": bpy.app.version_string, "issues": [], "info": []}
# Check version
major = bpy.app.version[0]
diag["info"].append(f"Blender {bpy.app.version_string}")
if major < 3:
diag["issues"].append("Blender < 3.0 — many operators unavailable")
# Check GPU
if bpy.context.preferences.addons.get('cycles'):
prefs = bpy.context.preferences.addons['cycles'].preferences
prefs.get_devices()
gpu_devices = [d for d in prefs.devices if d.type != 'CPU']
if gpu_devices:
for d in gpu_devices:
diag["info"].append(f"GPU: {d.name} ({d.type})")
else:
diag["issues"].append("No GPU detected — Cycles will use CPU only")
# Check camera
if not bpy.context.scene.camera:
diag["issues"].append("No active camera — render will fail")
# Check for orphaned data
orphans = len([m for m in bpy.data.meshes m.users == ])
orphans > :
diag[].append()
diag
# If Blender crashes with display errors on a headless server:
# Option 1: Use xvfb (X Virtual Frame Buffer)
xvfb-run -a blender --background --python script.py
# Option 2: Set EGL for GPU rendering without display
export DISPLAY=:0
export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json
blender --background --python script.py