blender-core-versions

Installation
SKILL.md

Blender Core Versions: Python API Version Matrix

1. Quick Reference

Version Detection

# Blender 3.x / 4.x / 5.x: ALWAYS use tuple comparison for version checks
import bpy
major, minor, patch = bpy.app.version  # e.g., (4, 2, 0)

# Version-safe conditional
if bpy.app.version >= (4, 0, 0):
    # Blender 4.0+ code path
    pass
else:
    # Blender 3.x fallback
    pass
Related skills
Installs
3
GitHub Stars
6
First Seen
Mar 17, 2026