[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FA5PTYQNBT68YBJXGYSB90":3,"skill-same:01M7FA5PTYQNBT68YBJXGYSB90":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":13,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7FA5PTYQNBT68YBJXGYSB90","blender-syntax-rendering",null,"Use when configuring render settings or automating renders in Blender Python. Prevents the version pitfall of using 'BLENDER_EEVEE' (renamed to 'BLENDER_EEVEE_NEXT' in 4.2). Covers render engine selection (EEVEE\u002FCycles\u002FWorkbench), output format setup, camera configuration, batch rendering, and scene.render.* settings. Keywords: render, EEVEE, Cycles, Workbench, render settings, output format, camera, batch render, scene.render, BLENDER_EEVEE_NEXT, resolution, render from script, set render resolution, save image.","lagzgabrielmuller-dot\u002Fkit-ingenieria-3d","lagzgabrielmuller-dot","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F333339260?v=4","01M7F985KYC0XB2XZ97B5YWH4C","01M7F985MHK8N2NVE4VAR5WBWS",0,"MIT","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fblender\u002Fsyntax\u002Fblender-syntax-rendering\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: blender-syntax-rendering\ndescription: >\n  Use when configuring render settings or automating renders in Blender Python. Prevents\n  the version pitfall of using 'BLENDER_EEVEE' (renamed to 'BLENDER_EEVEE_NEXT' in 4.2).\n  Covers render engine selection (EEVEE\u002FCycles\u002FWorkbench), output format setup, camera\n  configuration, batch rendering, and scene.render.* settings.\n  Keywords: render, EEVEE, Cycles, Workbench, render settings, output format, camera, batch render, scene.render, BLENDER_EEVEE_NEXT, resolution, render from script, set render resolution, save image.\nlicense: MIT\ncompatibility: \"Designed for Claude Code. Requires Blender 3.x\u002F4.x\u002F5.x with Python.\"\nmetadata:\n  author: OpenAEC-Foundation\n  version: \"1.0\"\n---\n\n# blender-syntax-rendering\n\n## Quick Reference\n\n### Critical Warnings\n\n**NEVER** use `'BLENDER_EEVEE'` in Blender 4.2-4.4 — the identifier is `'BLENDER_EEVEE_NEXT'` in those versions.\n\n**NEVER** call `bpy.ops.render.render()` without `write_still=True` for still images — the render completes but the image is never saved to disk.\n\n**NEVER** set Cycles GPU device without calling `cycles_prefs.get_devices()` first — the device list is empty until explicitly refreshed.\n\n**NEVER** use `scene.use_nodes = True` in Blender 5.0+ — the compositor is always active; the attribute is deprecated.\n\n**NEVER** use `scene.node_tree` in Blender 5.0+ — use `scene.compositing_node_group` instead.\n\n**NEVER** use `eevee.use_gtao` in Blender 5.0+ — use `view_layer.eevee.ambient_occlusion_distance` instead.\n\n**ALWAYS** use the version-safe EEVEE selection pattern when targeting multiple Blender versions.\n\n### EEVEE Engine Identifier Matrix\n\n| Blender Version | Engine Identifier | Notes |\n|----------------|-------------------|-------|\n| 3.0 - 4.1 | `'BLENDER_EEVEE'` | Original EEVEE |\n| 4.2 - 4.4 | `'BLENDER_EEVEE_NEXT'` | Rewritten EEVEE engine |\n| 5.0+ | `'BLENDER_EEVEE'` | Identifier reverted to original |\n\n### Render Engine Decision Tree\n\n```\nWhat render engine does the task require?\n├── Photo-realistic \u002F ray-traced → CYCLES\n│   └── GPU available?\n│       ├── Yes → cycles.device = 'GPU' (call get_devices() first)\n│       └── No  → cycles.device = 'CPU'\n├── Real-time \u002F fast preview → EEVEE (use version-safe pattern)\n│   └── Blender version?\n│       ├── 3.x \u002F 4.0-4.1 \u002F 5.0+ → 'BLENDER_EEVEE'\n│       └── 4.2 - 4.4            → 'BLENDER_EEVEE_NEXT'\n└── Solid\u002Fwireframe viewport look → WORKBENCH\n    └── scene.render.engine = 'BLENDER_WORKBENCH'\n```\n\n### Render Pass Names (5.0 Changes)\n\n| Old Name (3.x \u002F 4.x) | New Name (5.0+) |\n|-----------------------|-----------------|\n| `\"DiffCol\"` | `\"Diffuse Color\"` |\n| `\"GlossCol\"` | `\"Glossy Color\"` |\n| `\"TransCol\"` | `\"Transmission Color\"` |\n| `\"IndexMA\"` | `\"Material Index\"` |\n| `\"IndexOB\"` | `\"Object Index\"` |\n| `\"Z\"` | `\"Depth\"` |\n\n---\n\n## Essential Patterns\n\n### Pattern 1: Version-Safe EEVEE Selection\n\nALWAYS use this pattern when targeting multiple Blender versions:\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Version-safe EEVEE selection\nimport bpy\nscene = bpy.context.scene\n\nif bpy.app.version >= (5, 0, 0):\n    scene.render.engine = 'BLENDER_EEVEE'\nelif bpy.app.version >= (4, 2, 0):\n    scene.render.engine = 'BLENDER_EEVEE_NEXT'\nelse:\n    scene.render.engine = 'BLENDER_EEVEE'\n```\n\n### Pattern 2: Render Settings Configuration\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Configure render output\nscene = bpy.context.scene\nrender = scene.render\n\n# Resolution\nrender.resolution_x = 1920\nrender.resolution_y = 1080\nrender.resolution_percentage = 100  # Scale factor (1-100)\n\n# Output format\nrender.image_settings.file_format = 'PNG'   # 'PNG','JPEG','OPEN_EXR','TIFF','BMP'\nrender.image_settings.color_mode = 'RGBA'   # 'BW', 'RGB', 'RGBA'\nrender.image_settings.color_depth = '16'    # '8', '16', '32' (format-dependent)\nrender.image_settings.compression = 15      # PNG compression (0-100)\n\n# Output path\nrender.filepath = \"\u002Ftmp\u002Frender_output\u002Fframe_\"\n\n# Frame range\nscene.frame_start = 1\nscene.frame_end = 250\nscene.frame_step = 1\nrender.fps = 24\n```\n\n### Pattern 3: Cycles Configuration\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Cycles setup\nscene.render.engine = 'CYCLES'\ncycles = scene.cycles\n\n# Device selection\ncycles.device = 'GPU'  # 'CPU' or 'GPU'\n\n# Sampling\ncycles.samples = 256\ncycles.preview_samples = 64\ncycles.use_adaptive_sampling = True\ncycles.adaptive_threshold = 0.01\n\n# Denoiser\ncycles.use_denoising = True\ncycles.denoiser = 'OPENIMAGEDENOISE'  # 'OPENIMAGEDENOISE' or 'OPTIX'\n\n# Light paths\ncycles.max_bounces = 12\ncycles.diffuse_bounces = 4\ncycles.glossy_bounces = 4\ncycles.transmission_bounces = 12\ncycles.transparent_max_bounces = 8\n```\n\n### Pattern 4: Cycles GPU Setup\n\nALWAYS call `get_devices()` before enabling GPU devices:\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Cycles GPU configuration\nprefs = bpy.context.preferences\ncycles_prefs = prefs.addons['cycles'].preferences\n\n# Set compute type FIRST\ncycles_prefs.compute_device_type = 'CUDA'  # 'CUDA','OPTIX','HIP','ONEAPI','METAL'\n\n# ALWAYS refresh device list before enabling\ncycles_prefs.get_devices()\n\n# Enable all available devices\nfor device in cycles_prefs.devices:\n    device.use = True\n```\n\n### Pattern 5: Camera Creation and Configuration\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Camera setup\ncam_data = bpy.data.cameras.new(\"RenderCamera\")\ncam_obj = bpy.data.objects.new(\"RenderCamera\", cam_data)\nbpy.context.collection.objects.link(cam_obj)  # REQUIRED: link to collection\n\n# Set as active scene camera\nscene.camera = cam_obj\n\n# Lens\ncam_data.type = 'PERSP'        # 'PERSP', 'ORTHO', 'PANO'\ncam_data.lens = 35.0            # Focal length in mm (perspective only)\ncam_data.ortho_scale = 10.0     # Orthographic scale (ortho only)\n\n# Clipping\ncam_data.clip_start = 0.1\ncam_data.clip_end = 1000.0\n\n# Position and orientation\ncam_obj.location = (10.0, -10.0, 8.0)\ncam_obj.rotation_euler = (1.1, 0.0, 0.785)\n```\n\n### Pattern 6: Depth of Field\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Depth of field\ncam_data.dof.use_dof = True\ncam_data.dof.focus_object = bpy.data.objects.get(\"FocusTarget\")\ncam_data.dof.aperture_fstop = 2.8\n\n# Sensor settings\ncam_data.sensor_width = 36.0   # mm\ncam_data.sensor_height = 24.0  # mm\n```\n\n---\n\n## Common Operations\n\n### Render a Still Image\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Render and save a still image\nscene = bpy.context.scene\nscene.render.filepath = \"\u002Ftmp\u002Foutput.png\"\nscene.render.image_settings.file_format = 'PNG'\nbpy.ops.render.render(write_still=True)  # write_still=True is REQUIRED\n```\n\n### Render an Animation\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Render animation sequence\nscene = bpy.context.scene\nscene.frame_start = 1\nscene.frame_end = 250\nscene.render.filepath = \"\u002Ftmp\u002Frenders\u002Fanim_\"\nbpy.ops.render.render(animation=True)\n```\n\n### Batch Render Multiple Cameras\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Batch render from all cameras\nimport bpy\n\nscene = bpy.context.scene\ncameras = [obj for obj in bpy.data.objects if obj.type == 'CAMERA']\n\nfor cam in cameras:\n    scene.camera = cam\n    scene.render.filepath = f\"\u002Ftmp\u002Frenders\u002F{cam.name}_\"\n    bpy.ops.render.render(write_still=True)\n```\n\n### Headless Rendering (Command Line)\n\n```bash\n# Render with a script (no GUI)\nblender --background scene.blend --python render_script.py\n```\n\n```python\n# render_script.py\nimport bpy\nscene = bpy.context.scene\nscene.render.filepath = \"\u002Ftmp\u002Fheadless_render.png\"\nbpy.ops.render.render(write_still=True)\n```\n\n### Create Light Sources\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Light types\n# Point light\npoint_data = bpy.data.lights.new(\"PointLight\", type='POINT')\npoint_data.energy = 1000.0      # Watts\npoint_data.shadow_soft_size = 0.25\npoint_data.color = (1.0, 0.95, 0.9)\npoint_obj = bpy.data.objects.new(\"PointLight\", point_data)\nbpy.context.collection.objects.link(point_obj)\n\n# Sun light\nsun_data = bpy.data.lights.new(\"SunLight\", type='SUN')\nsun_data.energy = 5.0\nsun_data.angle = 0.00918  # Angular diameter in radians\n\n# Area light\narea_data = bpy.data.lights.new(\"AreaLight\", type='AREA')\narea_data.shape = 'RECTANGLE'  # 'SQUARE','RECTANGLE','DISK','ELLIPSE'\narea_data.size = 2.0\narea_data.size_y = 1.0         # Only for RECTANGLE\u002FELLIPSE\narea_data.energy = 500.0\n\n# Spot light\nspot_data = bpy.data.lights.new(\"SpotLight\", type='SPOT')\nspot_data.spot_size = 0.785    # Cone angle in radians\nspot_data.spot_blend = 0.15    # Soft edge (0=hard, 1=fully soft)\n```\n\n### Light Type Reference\n\n| Type | String | Use Case |\n|------|--------|----------|\n| Point | `'POINT'` | Omnidirectional (lamps, bulbs) |\n| Sun | `'SUN'` | Directional (exteriors); position irrelevant, only rotation matters |\n| Spot | `'SPOT'` | Cone-shaped (stage lighting, flashlights) |\n| Area | `'AREA'` | Surface-emitting (soft shadows, interiors) |\n\n### EEVEE-Specific Settings (Version-Dependent)\n\n```python\n# Blender 4.2+: EEVEE settings via scene.eevee\neevee = scene.eevee\n\n# Shadows\neevee.shadow_cube_size = '1024'\neevee.shadow_cascade_size = '2048'\n\n# Ray tracing (4.2+)\neevee.ray_tracing_method = 'SCREEN'  # 'SCREEN' or 'PROBE'\n\n# Ambient Occlusion\n# Blender 4.x:\n#   eevee.use_gtao = True            # REMOVED in 5.0\n#   eevee.gtao_distance = 1.0        # REMOVED in 5.0\n# Blender 5.0+:\n#   view_layer.eevee.ambient_occlusion_distance = 1.0\n```\n\n### Compositor Node Access (Version-Dependent)\n\n```python\n# Blender 3.x \u002F 4.x: Compositor node tree\nscene.use_nodes = True           # Enable compositor  (DEPRECATED in 5.0)\ntree = scene.node_tree           # Access node tree   (REMOVED in 5.0)\n\n# Blender 5.0+: Compositor node group\ntree = scene.compositing_node_group  # New accessor\n```\n\n---\n\n## Reference Links\n\n- [references\u002Fmethods.md](references\u002Fmethods.md) — Complete API signatures for RenderSettings, CyclesRenderSettings, SceneEEVEE, Camera, Light types, render operators\n- [references\u002Fexamples.md](references\u002Fexamples.md) — Working code examples for common rendering workflows\n- [references\u002Fanti-patterns.md](references\u002Fanti-patterns.md) — What NOT to do with rendering API, version-specific pitfalls\n\n### Official Sources\n\n- https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.types.RenderSettings.html\n- https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.types.SceneEEVEE.html\n- https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.ops.render.html\n- https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.types.Camera.html\n- https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.types.Light.html\n- https:\u002F\u002Fdeveloper.blender.org\u002Fdocs\u002Frelease_notes\u002F5.0\u002Fpython_api\u002F\n","# blender-syntax-rendering\n\n## Quick Reference\n\n### Critical Warnings\n\n**NEVER** use `'BLENDER_EEVEE'` in Blender 4.2-4.4 — the identifier is `'BLENDER_EEVEE_NEXT'` in those versions.\n\n**NEVER** call `bpy.ops.render.render()` without `write_still=True` for still images — the render completes but the image is never saved to disk.\n\n**NEVER** set Cycles GPU device without calling `cycles_prefs.get_devices()` first — the device list is empty until explicitly refreshed.\n\n**NEVER** use `scene.use_nodes = True` in Blender 5.0+ — the compositor is always active; the attribute is deprecated.\n\n**NEVER** use `scene.node_tree` in Blender 5.0+ — use `scene.compositing_node_group` instead.\n\n**NEVER** use `eevee.use_gtao` in Blender 5.0+ — use `view_layer.eevee.ambient_occlusion_distance` instead.\n\n**ALWAYS** use the version-safe EEVEE selection pattern when targeting multiple Blender versions.\n\n### EEVEE Engine Identifier Matrix\n\n| Blender Version | Engine Identifier | Notes |\n|----------------|-------------------|-------|\n| 3.0 - 4.1 | `'BLENDER_EEVEE'` | Original EEVEE |\n| 4.2 - 4.4 | `'BLENDER_EEVEE_NEXT'` | Rewritten EEVEE engine |\n| 5.0+ | `'BLENDER_EEVEE'` | Identifier reverted to original |\n\n### Render Engine Decision Tree\n\n```\nWhat render engine does the task require?\n├── Photo-realistic \u002F ray-traced → CYCLES\n│   └── GPU available?\n│       ├── Yes → cycles.device = 'GPU' (call get_devices() first)\n│       └── No  → cycles.device = 'CPU'\n├── Real-time \u002F fast preview → EEVEE (use version-safe pattern)\n│   └── Blender version?\n│       ├── 3.x \u002F 4.0-4.1 \u002F 5.0+ → 'BLENDER_EEVEE'\n│       └── 4.2 - 4.4            → 'BLENDER_EEVEE_NEXT'\n└── Solid\u002Fwireframe viewport look → WORKBENCH\n    └── scene.render.engine = 'BLENDER_WORKBENCH'\n```\n\n### Render Pass Names (5.0 Changes)\n\n| Old Name (3.x \u002F 4.x) | New Name (5.0+) |\n|-----------------------|-----------------|\n| `\"DiffCol\"` | `\"Diffuse Color\"` |\n| `\"GlossCol\"` | `\"Glossy Color\"` |\n| `\"TransCol\"` | `\"Transmission Color\"` |\n| `\"IndexMA\"` | `\"Material Index\"` |\n| `\"IndexOB\"` | `\"Object Index\"` |\n| `\"Z\"` | `\"Depth\"` |\n\n---\n\n## Essential Patterns\n\n### Pattern 1: Version-Safe EEVEE Selection\n\nALWAYS use this pattern when targeting multiple Blender versions:\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Version-safe EEVEE selection\nimport bpy\nscene = bpy.context.scene\n\nif bpy.app.version >= (5, 0, 0):\n    scene.render.engine = 'BLENDER_EEVEE'\nelif bpy.app.version >= (4, 2, 0):\n    scene.render.engine = 'BLENDER_EEVEE_NEXT'\nelse:\n    scene.render.engine = 'BLENDER_EEVEE'\n```\n\n### Pattern 2: Render Settings Configuration\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Configure render output\nscene = bpy.context.scene\nrender = scene.render\n\n# Resolution\nrender.resolution_x = 1920\nrender.resolution_y = 1080\nrender.resolution_percentage = 100  # Scale factor (1-100)\n\n# Output format\nrender.image_settings.file_format = 'PNG'   # 'PNG','JPEG','OPEN_EXR','TIFF','BMP'\nrender.image_settings.color_mode = 'RGBA'   # 'BW', 'RGB', 'RGBA'\nrender.image_settings.color_depth = '16'    # '8', '16', '32' (format-dependent)\nrender.image_settings.compression = 15      # PNG compression (0-100)\n\n# Output path\nrender.filepath = \"\u002Ftmp\u002Frender_output\u002Fframe_\"\n\n# Frame range\nscene.frame_start = 1\nscene.frame_end = 250\nscene.frame_step = 1\nrender.fps = 24\n```\n\n### Pattern 3: Cycles Configuration\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Cycles setup\nscene.render.engine = 'CYCLES'\ncycles = scene.cycles\n\n# Device selection\ncycles.device = 'GPU'  # 'CPU' or 'GPU'\n\n# Sampling\ncycles.samples = 256\ncycles.preview_samples = 64\ncycles.use_adaptive_sampling = True\ncycles.adaptive_threshold = 0.01\n\n# Denoiser\ncycles.use_denoising = True\ncycles.denoiser = 'OPENIMAGEDENOISE'  # 'OPENIMAGEDENOISE' or 'OPTIX'\n\n# Light paths\ncycles.max_bounces = 12\ncycles.diffuse_bounces = 4\ncycles.glossy_bounces = 4\ncycles.transmission_bounces = 12\ncycles.transparent_max_bounces = 8\n```\n\n### Pattern 4: Cycles GPU Setup\n\nALWAYS call `get_devices()` before enabling GPU devices:\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Cycles GPU configuration\nprefs = bpy.context.preferences\ncycles_prefs = prefs.addons['cycles'].preferences\n\n# Set compute type FIRST\ncycles_prefs.compute_device_type = 'CUDA'  # 'CUDA','OPTIX','HIP','ONEAPI','METAL'\n\n# ALWAYS refresh device list before enabling\ncycles_prefs.get_devices()\n\n# Enable all available devices\nfor device in cycles_prefs.devices:\n    device.use = True\n```\n\n### Pattern 5: Camera Creation and Configuration\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Camera setup\ncam_data = bpy.data.cameras.new(\"RenderCamera\")\ncam_obj = bpy.data.objects.new(\"RenderCamera\", cam_data)\nbpy.context.collection.objects.link(cam_obj)  # REQUIRED: link to collection\n\n# Set as active scene camera\nscene.camera = cam_obj\n\n# Lens\ncam_data.type = 'PERSP'        # 'PERSP', 'ORTHO', 'PANO'\ncam_data.lens = 35.0            # Focal length in mm (perspective only)\ncam_data.ortho_scale = 10.0     # Orthographic scale (ortho only)\n\n# Clipping\ncam_data.clip_start = 0.1\ncam_data.clip_end = 1000.0\n\n# Position and orientation\ncam_obj.location = (10.0, -10.0, 8.0)\ncam_obj.rotation_euler = (1.1, 0.0, 0.785)\n```\n\n### Pattern 6: Depth of Field\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Depth of field\ncam_data.dof.use_dof = True\ncam_data.dof.focus_object = bpy.data.objects.get(\"FocusTarget\")\ncam_data.dof.aperture_fstop = 2.8\n\n# Sensor settings\ncam_data.sensor_width = 36.0   # mm\ncam_data.sensor_height = 24.0  # mm\n```\n\n---\n\n## Common Operations\n\n### Render a Still Image\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Render and save a still image\nscene = bpy.context.scene\nscene.render.filepath = \"\u002Ftmp\u002Foutput.png\"\nscene.render.image_settings.file_format = 'PNG'\nbpy.ops.render.render(write_still=True)  # write_still=True is REQUIRED\n```\n\n### Render an Animation\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Render animation sequence\nscene = bpy.context.scene\nscene.frame_start = 1\nscene.frame_end = 250\nscene.render.filepath = \"\u002Ftmp\u002Frenders\u002Fanim_\"\nbpy.ops.render.render(animation=True)\n```\n\n### Batch Render Multiple Cameras\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Batch render from all cameras\nimport bpy\n\nscene = bpy.context.scene\ncameras = [obj for obj in bpy.data.objects if obj.type == 'CAMERA']\n\nfor cam in cameras:\n    scene.camera = cam\n    scene.render.filepath = f\"\u002Ftmp\u002Frenders\u002F{cam.name}_\"\n    bpy.ops.render.render(write_still=True)\n```\n\n### Headless Rendering (Command Line)\n\n```bash\n# Render with a script (no GUI)\nblender --background scene.blend --python render_script.py\n```\n\n```python\n# render_script.py\nimport bpy\nscene = bpy.context.scene\nscene.render.filepath = \"\u002Ftmp\u002Fheadless_render.png\"\nbpy.ops.render.render(write_still=True)\n```\n\n### Create Light Sources\n\n```python\n# Blender 3.x \u002F 4.x \u002F 5.x: Light types\n# Point light\npoint_data = bpy.data.lights.new(\"PointLight\", type='POINT')\npoint_data.energy = 1000.0      # Watts\npoint_data.shadow_soft_size = 0.25\npoint_data.color = (1.0, 0.95, 0.9)\npoint_obj = bpy.data.objects.new(\"PointLight\", point_data)\nbpy.context.collection.objects.link(point_obj)\n\n# Sun light\nsun_data = bpy.data.lights.new(\"SunLight\", type='SUN')\nsun_data.energy = 5.0\nsun_data.angle = 0.00918  # Angular diameter in radians\n\n# Area light\narea_data = bpy.data.lights.new(\"AreaLight\", type='AREA')\narea_data.shape = 'RECTANGLE'  # 'SQUARE','RECTANGLE','DISK','ELLIPSE'\narea_data.size = 2.0\narea_data.size_y = 1.0         # Only for RECTANGLE\u002FELLIPSE\narea_data.energy = 500.0\n\n# Spot light\nspot_data = bpy.data.lights.new(\"SpotLight\", type='SPOT')\nspot_data.spot_size = 0.785    # Cone angle in radians\nspot_data.spot_blend = 0.15    # Soft edge (0=hard, 1=fully soft)\n```\n\n### Light Type Reference\n\n| Type | String | Use Case |\n|------|--------|----------|\n| Point | `'POINT'` | Omnidirectional (lamps, bulbs) |\n| Sun | `'SUN'` | Directional (exteriors); position irrelevant, only rotation matters |\n| Spot | `'SPOT'` | Cone-shaped (stage lighting, flashlights) |\n| Area | `'AREA'` | Surface-emitting (soft shadows, interiors) |\n\n### EEVEE-Specific Settings (Version-Dependent)\n\n```python\n# Blender 4.2+: EEVEE settings via scene.eevee\neevee = scene.eevee\n\n# Shadows\neevee.shadow_cube_size = '1024'\neevee.shadow_cascade_size = '2048'\n\n# Ray tracing (4.2+)\neevee.ray_tracing_method = 'SCREEN'  # 'SCREEN' or 'PROBE'\n\n# Ambient Occlusion\n# Blender 4.x:\n#   eevee.use_gtao = True            # REMOVED in 5.0\n#   eevee.gtao_distance = 1.0        # REMOVED in 5.0\n# Blender 5.0+:\n#   view_layer.eevee.ambient_occlusion_distance = 1.0\n```\n\n### Compositor Node Access (Version-Dependent)\n\n```python\n# Blender 3.x \u002F 4.x: Compositor node tree\nscene.use_nodes = True           # Enable compositor  (DEPRECATED in 5.0)\ntree = scene.node_tree           # Access node tree   (REMOVED in 5.0)\n\n# Blender 5.0+: Compositor node group\ntree = scene.compositing_node_group  # New accessor\n```\n\n---\n\n## Reference Links\n\n- [references\u002Fmethods.md](references\u002Fmethods.md) — Complete API signatures for RenderSettings, CyclesRenderSettings, SceneEEVEE, Camera, Light types, render operators\n- [references\u002Fexamples.md](references\u002Fexamples.md) — Working code examples for common rendering workflows\n- [references\u002Fanti-patterns.md](references\u002Fanti-patterns.md) — What NOT to do with rendering API, version-specific pitfalls\n\n### Official Sources\n\n- https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.types.RenderSettings.html\n- https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.types.SceneEEVEE.html\n- https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.ops.render.html\n- https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.types.Camera.html\n- https:\u002F\u002Fdocs.blender.org\u002Fapi\u002Fcurrent\u002Fbpy.types.Light.html\n- https:\u002F\u002Fdeveloper.blender.org\u002Fdocs\u002Frelease_notes\u002F5.0\u002Fpython_api\u002F\n",{"name":5,"license":14,"metadata":23,"description":26,"compatibility":27},{"author":24,"version":25},"OpenAEC-Foundation","1.0","Use when configuring render settings or automating renders in Blender Python. Prevents the version pitfall of using 'BLENDER_EEVEE' (renamed to 'BLENDER_EEVEE_NEXT' in 4.2). Covers render engine selection (EEVEE\u002FCycles\u002FWorkbench), output format setup, camera configuration, batch rendering, and scene.render.* settings. Keywords: render, EEVEE, Cycles, Workbench, render settings, output format, camera, batch render, scene.render, BLENDER_EEVEE_NEXT, resolution, render from script, set render resolution, save image.\n","Designed for Claude Code. Requires Blender 3.x\u002F4.x\u002F5.x with Python.","main","9bb7acf0c2ec4f44373969cb14e55af3c9a8385f","plugins\u002Fblender-bim-sverchok\u002Fskills\u002Fblender\u002Fsyntax\u002Fblender-syntax-rendering","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot","2026-11-09 13:26:47",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill blender-syntax-rendering",{"tool":40,"command":41},"bunx","bunx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill blender-syntax-rendering",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lagzgabrielmuller-dot\u002Fkit-ingenieria-3d --skill blender-syntax-rendering","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fblender\u002Fsyntax\u002Fblender-syntax-rendering\u002FSKILL.md",true,[48,54,58],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fanti-patterns.md","REFERENCE","参考文档",8884,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fblender\u002Fsyntax\u002Fblender-syntax-rendering\u002Freferences\u002Fanti-patterns.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fexamples.md",10016,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fblender\u002Fsyntax\u002Fblender-syntax-rendering\u002Freferences\u002Fexamples.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fmethods.md",10596,"https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fblender-bim-sverchok\u002Fskills\u002Fblender\u002Fsyntax\u002Fblender-syntax-rendering\u002Freferences\u002Fmethods.md",[63,71,78,85,92,99],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":67,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7FBFSZ93YM463CGS91D0TZG","manimce-best-practices","Trigger when: (1) User mentions \"manim\" or \"Manim Community\" or \"ManimCE\", (2) Code contains `from manim import *`, (3) User runs `manim` CLI commands, (4) Working with Scene, MathTex, Create(), or ManimCE-specific classes.\n\nBest practices for Manim Community Edition - the community-maintained Python animation engine. Covers Scene structure, animations, LaTeX\u002FMathTex, 3D with ThreeDScene, camera control, styling, and CLI usage.\n\nNOT for ManimGL\u002F3b1b version (which uses `manimlib` imports and `manimgl` CLI).","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fmanim-animaciones\u002Fskills\u002Fmanimce-best-practices\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fmanim-animaciones\u002Fskills\u002Fmanimce-best-practices\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7FB2K59HNNXS9WKHAMWHC3C","drawio","Create, edit, replicate, import, and export draw.io diagrams with an offline YAML-first workflow: architecture, network topologies, flowcharts, UML\u002FER, org charts, Mermaid\u002FCSV conversion, existing .drawio bundles, style presets, themes, and non-publication formula diagrams. For publication figures (paper, thesis, IEEE, camera-ready) use drawio-academic-skills instead.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fdiagramas-y-documentos\u002Fskills\u002Fdrawio\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M7FB2BWX7GWK9H2X8BGCYDDD","drawio-academic-skills","Publication-figure overlay for draw.io. Use instead of drawio whenever the diagram is for a paper, thesis, dissertation, journal, conference, IEEE\u002FACM submission, manuscript, camera-ready, Word\u002FLaTeX figure, or other publication. Applies venue, figure-type, color, caption\u002Flegend, formula, and paper-readability gates for architecture, workflow, roadmap, network-topology, and replicated paper figures.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fdiagramas-y-documentos\u002Fskills\u002Fdrawio-academic-skills\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M7FB22JESEAV8T15DJT3D444","uncertainty-and-units","Tracks physical units and propagates measurement uncertainty in scientific calculations using pint and uncertainties. Use for unit conversion and dimensional checking, GUM uncertainty budgets, Type A and Type B evaluation, coverage factors and expanded uncertainty, Monte Carlo propagation, significant-figure and plus-minus reporting, error propagation through curve fits, CODATA constants, auditing Python code for stripped units or broken uncertainty propagation, and order-of-magnitude plausibility checks using dimensionless groups (Reynolds, Peclet, Damkohler, Knudsen, Biot, Womersley), characteristic scales such as diffusion time or Debye length, and observed magnitude ranges. Trigger on \"is this number physically reasonable\", \"sanity check these units\", \"what regime is this flow in\", or a result that looks off by orders of magnitude.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fciencia-y-calculo\u002Fskills\u002Funcertainty-and-units\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M7FB1ANRSG28R335FDY9SA3R","statistical-analysis","Guided statistical analysis for research data - test selection, assumption checking, effect sizes, power analysis, Bayesian alternatives, and APA-formatted reporting. Use whenever a user wants to compare groups, test a hypothesis, analyze experimental or survey data, check statistical assumptions, compute required sample sizes, or write up results - even if they never name a specific test. Covers t-tests, ANOVA, chi-square, correlation, regression, non-parametric and Bayesian methods. For low-level model APIs, see the statsmodels and pymc skills.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fciencia-y-calculo\u002Fskills\u002Fstatistical-analysis\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":18},"01M7FB15KRA9D7JCPH4P9T6XJY","simpy","Builds, inspects, tests, and analyzes bounded process-based discrete-event simulations with SimPy. Use for event scheduling, resource queues, interrupts, monitoring, independent replications, warm-up, and reproducible output analysis.","https:\u002F\u002Fgithub.com\u002Flagzgabrielmuller-dot\u002Fkit-ingenieria-3d\u002Fblob\u002Fmain\u002Fplugins\u002Fciencia-y-calculo\u002Fskills\u002Fsimpy\u002FSKILL.md",[],[]]