fake-bpy-module icon indicating copy to clipboard operation
fake-bpy-module copied to clipboard

Fake Blender Python API module collection for the code completion.

Results 64 fake-bpy-module issues
Sort by recently updated
recently updated
newest added
trafficstars

See example below - typing errors converting Vector to tuple/list/use slices though it is actually possible. ```python from mathutils import Vector from typing import assert_type v = Vector() # Argument...

- Adds slicing support to `Color`, `Euler`, `Quaternion`, `Vector` and `Matrix`. - Adds `__setitem__` for `Color`, `Euler` and `Matrix` which did not previously have them. - Removes return value from...

`boolean array of n items` was being typed as `list[bool]`, which was then incompatible with `tuple` default values, and was inconsistent with `int/float array of n items` which is typed...

I keep making the mistake of writing a single-item tuple when I mean a homogenous tuple of undefined length, and nobody caught me on it. Perhaps we should look into...

### Purpose of the pull request Add slice support for `BMElemSeq`, `BMVertSeq`, `BMEdgeSeq`, and `BMFaceSeq`. ### Description about the pull request - Similar to #241

bug

On the left it's `bpy/utils/__init__.py` from fake-bpy, on the right - Blender 4.1 `bpy/utils/__init__.py`. Note two issues: 1) `path` and `create` have a redundant `| None` in their types. 2)...

File: `bpy/utils/__init__.pyi` `unregister_manual_map`, `unregister_tool`, `user_resource` and some other signatures appear twice. ![image](https://github.com/nutti/fake-bpy-module/assets/9417531/47223609-112b-4e8d-aeff-f5a83b8b8e47)

See example below, since those methods on `ID` and `Depsgraph` are defined with `-> ID`, it always returns `ID` and doesn't consider the actual type. ![image](https://github.com/nutti/fake-bpy-module/assets/9417531/0c55ad7c-6cf1-446c-8d3f-de6cac4cd274) To resolve this for...

### System Information * OS: Fedora 39 Linux * Blender version: 4.1 ### Expected behavior Module `bpy` shows `context`, `data`, etc. ### Description about the bug Module `bpy` is empty...

### System Information * OS: Windows * Blender version: 4.1 * Pycharm ### Description about the bug seems that type hint is not right ![image](https://github.com/nutti/fake-bpy-module/assets/64118610/dc63b8e2-5621-4f55-979e-526df957f145)