fake-bpy-module
fake-bpy-module copied to clipboard
Fake Blender Python API module collection for the code completion.
**System Information** * OS: Windows 11 * Blender version: 3.2 **Expected behavior** `bmesh.faces.new` should expect an iterable type of `BMVert` **Description about the bug** `bmesh.faces.new` only accepts a single `BMVert`...
**System Information** * OS: Windows 11 * Blender version: 3.2 **Expected behavior** The `axis` argument to `mathutils.Matrix.Scale` should be optional. **Description about the bug** The `axis` argument is listed as...
  CollcetionProperty has many motheds ,such as add, clear ,move ...,this have similar motheds to list ,but blender api doc and your fake_module don't defined and declared them, I...
**System Information** * OS: Windows * Blender version: 3.2 **Expected behavior** All vector types (e.g., `bpy.types.Object.location`) should return a `mathutils.Vector` type, and all matrix types (e.g., `bpy.types.Object.matrix_local`) should return a...
I recently discovered that [Cycles types are generated at runtime](https://developer.blender.org/T68050#848508), so aren't available for static typing. As such information about the cycles package is missing from the documentation also. For...
**System Information** * OS: macOS Big Sur 11.6.2 * Blender version: 2.83 **Expected behavior** `MovieTrackingMarker.pattern_corners` should be a list of lists, as documented here: https://docs.blender.org/api/current/bpy.types.MovieTrackingMarker.html#bpy.types.MovieTrackingMarker.pattern_corners **Description about the bug** *...
**System Information** * OS: macOS * Blender version: 2.93 **Expected behavior** *The behavior you expect about the feature you reported.* type of `bpy.ops.transform.rotate(orient_matrix=)` parameter should be `List[List[float]]` (`Union[List[List[float]],Tuple[Tuple[float, float, float],...
``` empty = bpy.data.objects.new("Empty", None) empty.matrix_basis.identity() empty.matrix_parent_inverse.identity() rot = empty.matrix_world.to_quaternion() mx = empty.matrix_world.inverted() transform_mx = empty.matrix_world @ empty.matrix_world.inverted() ``` Because matrices type set to typing.List[float] instead of Matrix, the code...
**System Information** * OS: Windows * VS-code In this [page ](https://github.com/nutti/fake-bpy-module/blob/master/docs/setup_visual_studio_code.md)it says to add the path to the "generated modules" under python.autoComplete.extraPaths. Where do I find this path ? I...
### Description about the feature Currently, this project use Pylint and Pycodestyle and does not seem to use any formatter. I propose to use Ruff to replace them and also...