fake-bpy-module 20240516__py3-none-any.whl → 20240517__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (533) hide show
  1. _bpy_internal/freedesktop/__init__.pyi +2 -2
  2. addon_utils/__init__.pyi +43 -12
  3. animsys_refactor/__init__.pyi +4 -4
  4. aud/__init__.pyi +7 -7
  5. bgl/__init__.pyi +121 -183
  6. bl_app_override/__init__.pyi +5 -5
  7. bl_app_override/helpers/__init__.pyi +3 -1
  8. bl_app_template_utils/__init__.pyi +5 -5
  9. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +48 -10
  10. bl_console_utils/autocomplete/complete_import/__init__.pyi +27 -6
  11. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +40 -8
  12. bl_console_utils/autocomplete/intellisense/__init__.pyi +31 -4
  13. bl_i18n_utils/bl_extract_messages/__init__.pyi +5 -5
  14. bl_i18n_utils/settings/__init__.pyi +4 -2
  15. bl_i18n_utils/utils/__init__.pyi +86 -58
  16. bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
  17. bl_keymap_utils/io/__init__.pyi +4 -4
  18. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
  19. bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
  20. bl_operators/add_mesh_torus/__init__.pyi +126 -41
  21. bl_operators/anim/__init__.pyi +1001 -328
  22. bl_operators/assets/__init__.pyi +376 -123
  23. bl_operators/bmesh/find_adjacent/__init__.pyi +3 -3
  24. bl_operators/clip/__init__.pyi +1250 -409
  25. bl_operators/console/__init__.pyi +626 -205
  26. bl_operators/constraint/__init__.pyi +502 -165
  27. bl_operators/file/__init__.pyi +376 -123
  28. bl_operators/freestyle/__init__.pyi +501 -164
  29. bl_operators/geometry_nodes/__init__.pyi +501 -164
  30. bl_operators/image/__init__.pyi +621 -200
  31. bl_operators/mesh/__init__.pyi +376 -123
  32. bl_operators/node/__init__.pyi +1243 -402
  33. bl_operators/object/__init__.pyi +1876 -615
  34. bl_operators/object_align/__init__.pyi +126 -41
  35. bl_operators/object_quick_effects/__init__.pyi +502 -165
  36. bl_operators/object_randomize_transform/__init__.pyi +126 -41
  37. bl_operators/presets/__init__.pyi +3069 -1027
  38. bl_operators/rigidbody/__init__.pyi +376 -123
  39. bl_operators/screen_play_rendered_anim/__init__.pyi +126 -41
  40. bl_operators/sequencer/__init__.pyi +1009 -331
  41. bl_operators/spreadsheet/__init__.pyi +126 -41
  42. bl_operators/userpref/__init__.pyi +3263 -1078
  43. bl_operators/uvcalc_follow_active/__init__.pyi +126 -41
  44. bl_operators/uvcalc_lightmap/__init__.pyi +137 -47
  45. bl_operators/uvcalc_transform/__init__.pyi +289 -90
  46. bl_operators/vertexpaint_dirt/__init__.pyi +126 -41
  47. bl_operators/view3d/__init__.pyi +868 -279
  48. bl_operators/wm/__init__.pyi +5777 -1934
  49. bl_operators/world/__init__.pyi +126 -41
  50. bl_previews_utils/bl_previews_render/__init__.pyi +1 -1
  51. bl_rna_utils/data_path/__init__.pyi +8 -3
  52. bl_ui/__init__.pyi +338 -131
  53. bl_ui/anim/__init__.pyi +164 -64
  54. bl_ui/asset_shelf/__init__.pyi +129 -42
  55. bl_ui/generic_ui_list/__init__.pyi +412 -135
  56. bl_ui/node_add_menu/__init__.pyi +168 -68
  57. bl_ui/node_add_menu_compositor/__init__.pyi +2921 -1138
  58. bl_ui/node_add_menu_geometry/__init__.pyi +7785 -3032
  59. bl_ui/node_add_menu_shader/__init__.pyi +1621 -630
  60. bl_ui/node_add_menu_texture/__init__.pyi +1459 -567
  61. bl_ui/properties_animviz/__init__.pyi +2 -2
  62. bl_ui/properties_collection/__init__.pyi +806 -274
  63. bl_ui/properties_constraint/__init__.pyi +10253 -3458
  64. bl_ui/properties_data_armature/__init__.pyi +1615 -552
  65. bl_ui/properties_data_bone/__init__.pyi +1288 -425
  66. bl_ui/properties_data_camera/__init__.pyi +1854 -631
  67. bl_ui/properties_data_curve/__init__.pyi +1929 -636
  68. bl_ui/properties_data_curves/__init__.pyi +806 -274
  69. bl_ui/properties_data_empty/__init__.pyi +257 -84
  70. bl_ui/properties_data_gpencil/__init__.pyi +2380 -803
  71. bl_ui/properties_data_grease_pencil/__init__.pyi +1902 -656
  72. bl_ui/properties_data_lattice/__init__.pyi +388 -127
  73. bl_ui/properties_data_light/__init__.pyi +1541 -506
  74. bl_ui/properties_data_lightprobe/__init__.pyi +1667 -548
  75. bl_ui/properties_data_mesh/__init__.pyi +2704 -929
  76. bl_ui/properties_data_metaball/__init__.pyi +644 -211
  77. bl_ui/properties_data_modifier/__init__.pyi +1353 -502
  78. bl_ui/properties_data_pointcloud/__init__.pyi +679 -233
  79. bl_ui/properties_data_shaderfx/__init__.pyi +129 -42
  80. bl_ui/properties_data_speaker/__init__.pyi +644 -211
  81. bl_ui/properties_data_volume/__init__.pyi +1030 -339
  82. bl_ui/properties_freestyle/__init__.pyi +3113 -1035
  83. bl_ui/properties_grease_pencil_common/__init__.pyi +2464 -933
  84. bl_ui/properties_mask_common/__init__.pyi +1101 -420
  85. bl_ui/properties_material/__init__.pyi +2091 -699
  86. bl_ui/properties_material_gpencil/__init__.pyi +1350 -466
  87. bl_ui/properties_object/__init__.pyi +1838 -618
  88. bl_ui/properties_output/__init__.pyi +2414 -831
  89. bl_ui/properties_paint_common/__init__.pyi +412 -289
  90. bl_ui/properties_particle/__init__.pyi +6737 -2241
  91. bl_ui/properties_physics_cloth/__init__.pyi +1825 -612
  92. bl_ui/properties_physics_common/__init__.pyi +129 -42
  93. bl_ui/properties_physics_dynamicpaint/__init__.pyi +2821 -928
  94. bl_ui/properties_physics_field/__init__.pyi +1283 -422
  95. bl_ui/properties_physics_fluid/__init__.pyi +3620 -1203
  96. bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -42
  97. bl_ui/properties_physics_rigidbody/__init__.pyi +1027 -338
  98. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1667 -548
  99. bl_ui/properties_physics_softbody/__init__.pyi +1924 -633
  100. bl_ui/properties_render/__init__.pyi +6830 -2263
  101. bl_ui/properties_scene/__init__.pyi +1929 -636
  102. bl_ui/properties_texture/__init__.pyi +3370 -1118
  103. bl_ui/properties_view_layer/__init__.pyi +2346 -782
  104. bl_ui/properties_workspace/__init__.pyi +516 -169
  105. bl_ui/properties_world/__init__.pyi +1284 -421
  106. bl_ui/space_clip/__init__.pyi +10134 -3639
  107. bl_ui/space_console/__init__.pyi +939 -357
  108. bl_ui/space_dopesheet/__init__.pyi +4327 -1562
  109. bl_ui/space_filebrowser/__init__.pyi +4164 -1499
  110. bl_ui/space_graph/__init__.pyi +3108 -1179
  111. bl_ui/space_image/__init__.pyi +9766 -3596
  112. bl_ui/space_info/__init__.pyi +939 -357
  113. bl_ui/space_nla/__init__.pyi +2620 -988
  114. bl_ui/space_node/__init__.pyi +3994 -1434
  115. bl_ui/space_outliner/__init__.pyi +2203 -842
  116. bl_ui/space_properties/__init__.pyi +386 -127
  117. bl_ui/space_sequencer/__init__.pyi +10773 -3878
  118. bl_ui/space_spreadsheet/__init__.pyi +130 -43
  119. bl_ui/space_statusbar/__init__.pyi +129 -42
  120. bl_ui/space_text/__init__.pyi +2458 -925
  121. bl_ui/space_time/__init__.pyi +1033 -378
  122. bl_ui/space_toolsystem_common/__init__.pyi +20 -16
  123. bl_ui/space_toolsystem_toolbar/__init__.pyi +37 -21
  124. bl_ui/space_topbar/__init__.pyi +3980 -1496
  125. bl_ui/space_userpref/__init__.pyi +11373 -3797
  126. bl_ui/space_view3d/__init__.pyi +40865 -15356
  127. bl_ui/space_view3d_toolbar/__init__.pyi +12520 -4647
  128. bl_ui/temp_anim_layers/__init__.pyi +129 -42
  129. bl_ui/utils/__init__.pyi +28 -20
  130. bl_ui_utils/bug_report_url/__init__.pyi +1 -1
  131. bl_ui_utils/layout/__init__.pyi +1 -1
  132. blend_render_info/__init__.pyi +1 -1
  133. blf/__init__.pyi +4 -4
  134. bmesh/geometry/__init__.pyi +2 -3
  135. bmesh/ops/__init__.pyi +372 -419
  136. bmesh/types/__init__.pyi +38 -38
  137. bmesh/utils/__init__.pyi +10 -13
  138. bpy/app/__init__.pyi +4 -4
  139. bpy/app/handlers/__init__.pyi +36 -36
  140. bpy/app/icons/__init__.pyi +8 -8
  141. bpy/app/timers/__init__.pyi +10 -10
  142. bpy/app/translations/__init__.pyi +20 -22
  143. bpy/msgbus/__init__.pyi +2 -4
  144. bpy/ops/action/__init__.pyi +316 -394
  145. bpy/ops/anim/__init__.pyi +442 -548
  146. bpy/ops/armature/__init__.pyi +374 -470
  147. bpy/ops/asset/__init__.pyi +152 -184
  148. bpy/ops/bl_pkg/__init__.pyi +221 -272
  149. bpy/ops/boid/__init__.pyi +50 -66
  150. bpy/ops/brush/__init__.pyi +72 -90
  151. bpy/ops/buttons/__init__.pyi +132 -144
  152. bpy/ops/cachefile/__init__.pyi +128 -138
  153. bpy/ops/camera/__init__.pyi +26 -30
  154. bpy/ops/clip/__init__.pyi +777 -964
  155. bpy/ops/cloth/__init__.pyi +12 -14
  156. bpy/ops/collection/__init__.pyi +68 -86
  157. bpy/ops/console/__init__.pyi +158 -200
  158. bpy/ops/constraint/__init__.pyi +178 -214
  159. bpy/ops/curve/__init__.pyi +473 -576
  160. bpy/ops/curves/__init__.pyi +247 -302
  161. bpy/ops/cycles/__init__.pyi +28 -34
  162. bpy/ops/dpaint/__init__.pyi +34 -44
  163. bpy/ops/ed/__init__.pyi +126 -150
  164. bpy/ops/export_anim/__init__.pyi +22 -24
  165. bpy/ops/export_scene/__init__.pyi +302 -336
  166. bpy/ops/file/__init__.pyi +352 -432
  167. bpy/ops/fluid/__init__.pyi +90 -118
  168. bpy/ops/font/__init__.pyi +258 -304
  169. bpy/ops/geometry/__init__.pyi +100 -120
  170. bpy/ops/gizmogroup/__init__.pyi +22 -26
  171. bpy/ops/gpencil/__init__.pyi +1469 -1778
  172. bpy/ops/graph/__init__.pyi +644 -776
  173. bpy/ops/grease_pencil/__init__.pyi +597 -748
  174. bpy/ops/image/__init__.pyi +648 -744
  175. bpy/ops/import_anim/__init__.pyi +30 -32
  176. bpy/ops/import_curve/__init__.pyi +10 -12
  177. bpy/ops/import_scene/__init__.pyi +88 -96
  178. bpy/ops/info/__init__.pyi +60 -74
  179. bpy/ops/lattice/__init__.pyi +64 -80
  180. bpy/ops/marker/__init__.pyi +108 -130
  181. bpy/ops/mask/__init__.pyi +322 -402
  182. bpy/ops/material/__init__.pyi +18 -24
  183. bpy/ops/mball/__init__.pyi +70 -86
  184. bpy/ops/mesh/__init__.pyi +1986 -2322
  185. bpy/ops/nla/__init__.pyi +333 -411
  186. bpy/ops/node/__init__.pyi +886 -1100
  187. bpy/ops/object/__init__.pyi +2585 -3078
  188. bpy/ops/outliner/__init__.pyi +498 -636
  189. bpy/ops/paint/__init__.pyi +565 -680
  190. bpy/ops/paintcurve/__init__.pyi +64 -80
  191. bpy/ops/palette/__init__.pyi +50 -64
  192. bpy/ops/particle/__init__.pyi +267 -340
  193. bpy/ops/pose/__init__.pyi +336 -414
  194. bpy/ops/poselib/__init__.pyi +72 -90
  195. bpy/ops/preferences/__init__.pyi +386 -463
  196. bpy/ops/ptcache/__init__.pyi +46 -60
  197. bpy/ops/render/__init__.pyi +130 -154
  198. bpy/ops/rigidbody/__init__.pyi +102 -128
  199. bpy/ops/scene/__init__.pyi +280 -358
  200. bpy/ops/screen/__init__.pyi +382 -460
  201. bpy/ops/script/__init__.pyi +24 -30
  202. bpy/ops/sculpt/__init__.pyi +458 -532
  203. bpy/ops/sculpt_curves/__init__.pyi +41 -50
  204. bpy/ops/sequencer/__init__.pyi +1066 -1244
  205. bpy/ops/sound/__init__.pyi +216 -230
  206. bpy/ops/spreadsheet/__init__.pyi +30 -38
  207. bpy/ops/surface/__init__.pyi +108 -120
  208. bpy/ops/text/__init__.pyi +390 -476
  209. bpy/ops/text_editor/__init__.pyi +12 -14
  210. bpy/ops/texture/__init__.pyi +26 -34
  211. bpy/ops/transform/__init__.pyi +792 -878
  212. bpy/ops/ui/__init__.pyi +228 -294
  213. bpy/ops/uilist/__init__.pyi +32 -38
  214. bpy/ops/uv/__init__.pyi +602 -704
  215. bpy/ops/view2d/__init__.pyi +156 -184
  216. bpy/ops/view3d/__init__.pyi +582 -718
  217. bpy/ops/wm/__init__.pyi +2680 -2928
  218. bpy/ops/workspace/__init__.pyi +46 -60
  219. bpy/ops/world/__init__.pyi +12 -16
  220. bpy/path/__init__.pyi +179 -75
  221. bpy/props/__init__.pyi +261 -263
  222. bpy/types/__init__.pyi +17056 -21951
  223. bpy/utils/__init__.pyi +242 -118
  224. bpy/utils/previews/__init__.pyi +58 -28
  225. bpy/utils/units/__init__.pyi +20 -20
  226. bpy_extras/anim_utils/__init__.pyi +68 -28
  227. bpy_extras/bmesh_utils/__init__.pyi +8 -2
  228. bpy_extras/extensions/junction_module/__init__.pyi +5 -2
  229. bpy_extras/id_map_utils/__init__.pyi +3 -3
  230. bpy_extras/image_utils/__init__.pyi +44 -11
  231. bpy_extras/io_utils/__init__.pyi +113 -18
  232. bpy_extras/keyconfig_utils/__init__.pyi +2 -2
  233. bpy_extras/mesh_utils/__init__.pyi +71 -19
  234. bpy_extras/node_shader_utils/__init__.pyi +9 -4
  235. bpy_extras/node_utils/__init__.pyi +9 -2
  236. bpy_extras/object_utils/__init__.pyi +71 -12
  237. bpy_extras/view3d_utils/__init__.pyi +80 -10
  238. bpy_extras/wm_utils/progress_report/__init__.pyi +13 -10
  239. bpy_types/__init__.pyi +4197 -1333
  240. console_python/__init__.pyi +6 -1
  241. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/METADATA +1 -1
  242. fake_bpy_module-20240517.dist-info/RECORD +353 -0
  243. freestyle/chainingiterators/__init__.pyi +4 -4
  244. freestyle/shaders/__init__.pyi +2 -2
  245. freestyle/types/__init__.pyi +84 -96
  246. freestyle/utils/ContextFunctions/__init__.pyi +2 -2
  247. freestyle/utils/__init__.pyi +3 -3
  248. gpu/matrix/__init__.pyi +6 -8
  249. gpu/state/__init__.pyi +2 -2
  250. gpu/types/__init__.pyi +12 -12
  251. gpu_extras/presets/__init__.pyi +2 -5
  252. graphviz_export/__init__.pyi +4 -2
  253. idprop/types/__init__.pyi +2 -2
  254. imbuf/__init__.pyi +4 -4
  255. keyingsets_builtins/__init__.pyi +2688 -839
  256. mathutils/__init__.pyi +194 -238
  257. mathutils/bvhtree/__init__.pyi +4 -4
  258. mathutils/geometry/__init__.pyi +153 -155
  259. mathutils/kdtree/__init__.pyi +8 -12
  260. mathutils/noise/__init__.pyi +26 -26
  261. nodeitems_utils/__init__.pyi +1 -1
  262. rna_info/__init__.pyi +17 -15
  263. rna_keymap_ui/__init__.pyi +1 -1
  264. rna_prop_ui/__init__.pyi +16 -14
  265. rna_xml/__init__.pyi +12 -12
  266. _bpy_internal/freedesktop/py.typed +0 -0
  267. bl_app_override/helpers/py.typed +0 -0
  268. bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
  269. bl_console_utils/autocomplete/complete_import/py.typed +0 -0
  270. bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
  271. bl_console_utils/autocomplete/intellisense/py.typed +0 -0
  272. bl_console_utils/autocomplete/py.typed +0 -0
  273. bl_i18n_utils/bl_extract_messages/py.typed +0 -0
  274. bl_i18n_utils/merge_po/py.typed +0 -0
  275. bl_i18n_utils/settings/py.typed +0 -0
  276. bl_i18n_utils/utils/py.typed +0 -0
  277. bl_i18n_utils/utils_cli/py.typed +0 -0
  278. bl_i18n_utils/utils_languages_menu/py.typed +0 -0
  279. bl_i18n_utils/utils_rtl/py.typed +0 -0
  280. bl_keymap_utils/io/py.typed +0 -0
  281. bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
  282. bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
  283. bl_keymap_utils/platform_helpers/py.typed +0 -0
  284. bl_keymap_utils/versioning/py.typed +0 -0
  285. bl_operators/add_mesh_torus/py.typed +0 -0
  286. bl_operators/anim/py.typed +0 -0
  287. bl_operators/assets/py.typed +0 -0
  288. bl_operators/bmesh/find_adjacent/py.typed +0 -0
  289. bl_operators/bmesh/py.typed +0 -0
  290. bl_operators/clip/py.typed +0 -0
  291. bl_operators/console/py.typed +0 -0
  292. bl_operators/constraint/py.typed +0 -0
  293. bl_operators/file/py.typed +0 -0
  294. bl_operators/freestyle/py.typed +0 -0
  295. bl_operators/geometry_nodes/py.typed +0 -0
  296. bl_operators/image/py.typed +0 -0
  297. bl_operators/mesh/py.typed +0 -0
  298. bl_operators/node/py.typed +0 -0
  299. bl_operators/object/py.typed +0 -0
  300. bl_operators/object_align/py.typed +0 -0
  301. bl_operators/object_quick_effects/py.typed +0 -0
  302. bl_operators/object_randomize_transform/py.typed +0 -0
  303. bl_operators/presets/py.typed +0 -0
  304. bl_operators/rigidbody/py.typed +0 -0
  305. bl_operators/screen_play_rendered_anim/py.typed +0 -0
  306. bl_operators/sequencer/py.typed +0 -0
  307. bl_operators/spreadsheet/py.typed +0 -0
  308. bl_operators/userpref/py.typed +0 -0
  309. bl_operators/uvcalc_follow_active/py.typed +0 -0
  310. bl_operators/uvcalc_lightmap/py.typed +0 -0
  311. bl_operators/uvcalc_transform/py.typed +0 -0
  312. bl_operators/vertexpaint_dirt/py.typed +0 -0
  313. bl_operators/view3d/py.typed +0 -0
  314. bl_operators/wm/py.typed +0 -0
  315. bl_operators/world/py.typed +0 -0
  316. bl_previews_utils/bl_previews_render/py.typed +0 -0
  317. bl_rna_utils/data_path/py.typed +0 -0
  318. bl_text_utils/external_editor/py.typed +0 -0
  319. bl_ui/anim/py.typed +0 -0
  320. bl_ui/asset_shelf/py.typed +0 -0
  321. bl_ui/generic_ui_list/py.typed +0 -0
  322. bl_ui/node_add_menu/py.typed +0 -0
  323. bl_ui/node_add_menu_compositor/py.typed +0 -0
  324. bl_ui/node_add_menu_geometry/py.typed +0 -0
  325. bl_ui/node_add_menu_shader/py.typed +0 -0
  326. bl_ui/node_add_menu_texture/py.typed +0 -0
  327. bl_ui/properties_animviz/py.typed +0 -0
  328. bl_ui/properties_collection/py.typed +0 -0
  329. bl_ui/properties_constraint/py.typed +0 -0
  330. bl_ui/properties_data_armature/py.typed +0 -0
  331. bl_ui/properties_data_bone/py.typed +0 -0
  332. bl_ui/properties_data_camera/py.typed +0 -0
  333. bl_ui/properties_data_curve/py.typed +0 -0
  334. bl_ui/properties_data_curves/py.typed +0 -0
  335. bl_ui/properties_data_empty/py.typed +0 -0
  336. bl_ui/properties_data_gpencil/py.typed +0 -0
  337. bl_ui/properties_data_grease_pencil/py.typed +0 -0
  338. bl_ui/properties_data_lattice/py.typed +0 -0
  339. bl_ui/properties_data_light/py.typed +0 -0
  340. bl_ui/properties_data_lightprobe/py.typed +0 -0
  341. bl_ui/properties_data_mesh/py.typed +0 -0
  342. bl_ui/properties_data_metaball/py.typed +0 -0
  343. bl_ui/properties_data_modifier/py.typed +0 -0
  344. bl_ui/properties_data_pointcloud/py.typed +0 -0
  345. bl_ui/properties_data_shaderfx/py.typed +0 -0
  346. bl_ui/properties_data_speaker/py.typed +0 -0
  347. bl_ui/properties_data_volume/py.typed +0 -0
  348. bl_ui/properties_freestyle/py.typed +0 -0
  349. bl_ui/properties_grease_pencil_common/py.typed +0 -0
  350. bl_ui/properties_mask_common/py.typed +0 -0
  351. bl_ui/properties_material/py.typed +0 -0
  352. bl_ui/properties_material_gpencil/py.typed +0 -0
  353. bl_ui/properties_object/py.typed +0 -0
  354. bl_ui/properties_output/py.typed +0 -0
  355. bl_ui/properties_paint_common/py.typed +0 -0
  356. bl_ui/properties_particle/py.typed +0 -0
  357. bl_ui/properties_physics_cloth/py.typed +0 -0
  358. bl_ui/properties_physics_common/py.typed +0 -0
  359. bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
  360. bl_ui/properties_physics_field/py.typed +0 -0
  361. bl_ui/properties_physics_fluid/py.typed +0 -0
  362. bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
  363. bl_ui/properties_physics_rigidbody/py.typed +0 -0
  364. bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
  365. bl_ui/properties_physics_softbody/py.typed +0 -0
  366. bl_ui/properties_render/py.typed +0 -0
  367. bl_ui/properties_scene/py.typed +0 -0
  368. bl_ui/properties_texture/py.typed +0 -0
  369. bl_ui/properties_view_layer/py.typed +0 -0
  370. bl_ui/properties_workspace/py.typed +0 -0
  371. bl_ui/properties_world/py.typed +0 -0
  372. bl_ui/space_clip/py.typed +0 -0
  373. bl_ui/space_console/py.typed +0 -0
  374. bl_ui/space_dopesheet/py.typed +0 -0
  375. bl_ui/space_filebrowser/py.typed +0 -0
  376. bl_ui/space_graph/py.typed +0 -0
  377. bl_ui/space_image/py.typed +0 -0
  378. bl_ui/space_info/py.typed +0 -0
  379. bl_ui/space_nla/py.typed +0 -0
  380. bl_ui/space_node/py.typed +0 -0
  381. bl_ui/space_outliner/py.typed +0 -0
  382. bl_ui/space_properties/py.typed +0 -0
  383. bl_ui/space_sequencer/py.typed +0 -0
  384. bl_ui/space_spreadsheet/py.typed +0 -0
  385. bl_ui/space_statusbar/py.typed +0 -0
  386. bl_ui/space_text/py.typed +0 -0
  387. bl_ui/space_time/py.typed +0 -0
  388. bl_ui/space_toolsystem_common/py.typed +0 -0
  389. bl_ui/space_toolsystem_toolbar/py.typed +0 -0
  390. bl_ui/space_topbar/py.typed +0 -0
  391. bl_ui/space_userpref/py.typed +0 -0
  392. bl_ui/space_view3d/py.typed +0 -0
  393. bl_ui/space_view3d_toolbar/py.typed +0 -0
  394. bl_ui/temp_anim_layers/py.typed +0 -0
  395. bl_ui/utils/py.typed +0 -0
  396. bl_ui_utils/bug_report_url/py.typed +0 -0
  397. bl_ui_utils/layout/py.typed +0 -0
  398. bmesh/geometry/py.typed +0 -0
  399. bmesh/ops/py.typed +0 -0
  400. bmesh/types/py.typed +0 -0
  401. bmesh/utils/py.typed +0 -0
  402. bpy/app/handlers/py.typed +0 -0
  403. bpy/app/icons/py.typed +0 -0
  404. bpy/app/py.typed +0 -0
  405. bpy/app/timers/py.typed +0 -0
  406. bpy/app/translations/py.typed +0 -0
  407. bpy/msgbus/py.typed +0 -0
  408. bpy/ops/action/py.typed +0 -0
  409. bpy/ops/anim/py.typed +0 -0
  410. bpy/ops/armature/py.typed +0 -0
  411. bpy/ops/asset/py.typed +0 -0
  412. bpy/ops/bl_pkg/py.typed +0 -0
  413. bpy/ops/boid/py.typed +0 -0
  414. bpy/ops/brush/py.typed +0 -0
  415. bpy/ops/buttons/py.typed +0 -0
  416. bpy/ops/cachefile/py.typed +0 -0
  417. bpy/ops/camera/py.typed +0 -0
  418. bpy/ops/clip/py.typed +0 -0
  419. bpy/ops/cloth/py.typed +0 -0
  420. bpy/ops/collection/py.typed +0 -0
  421. bpy/ops/console/py.typed +0 -0
  422. bpy/ops/constraint/py.typed +0 -0
  423. bpy/ops/curve/py.typed +0 -0
  424. bpy/ops/curves/py.typed +0 -0
  425. bpy/ops/cycles/py.typed +0 -0
  426. bpy/ops/dpaint/py.typed +0 -0
  427. bpy/ops/ed/py.typed +0 -0
  428. bpy/ops/export_anim/py.typed +0 -0
  429. bpy/ops/export_scene/py.typed +0 -0
  430. bpy/ops/file/py.typed +0 -0
  431. bpy/ops/fluid/py.typed +0 -0
  432. bpy/ops/font/py.typed +0 -0
  433. bpy/ops/geometry/py.typed +0 -0
  434. bpy/ops/gizmogroup/py.typed +0 -0
  435. bpy/ops/gpencil/py.typed +0 -0
  436. bpy/ops/graph/py.typed +0 -0
  437. bpy/ops/grease_pencil/py.typed +0 -0
  438. bpy/ops/image/py.typed +0 -0
  439. bpy/ops/import_anim/py.typed +0 -0
  440. bpy/ops/import_curve/py.typed +0 -0
  441. bpy/ops/import_scene/py.typed +0 -0
  442. bpy/ops/info/py.typed +0 -0
  443. bpy/ops/lattice/py.typed +0 -0
  444. bpy/ops/marker/py.typed +0 -0
  445. bpy/ops/mask/py.typed +0 -0
  446. bpy/ops/material/py.typed +0 -0
  447. bpy/ops/mball/py.typed +0 -0
  448. bpy/ops/mesh/py.typed +0 -0
  449. bpy/ops/nla/py.typed +0 -0
  450. bpy/ops/node/py.typed +0 -0
  451. bpy/ops/object/py.typed +0 -0
  452. bpy/ops/outliner/py.typed +0 -0
  453. bpy/ops/paint/py.typed +0 -0
  454. bpy/ops/paintcurve/py.typed +0 -0
  455. bpy/ops/palette/py.typed +0 -0
  456. bpy/ops/particle/py.typed +0 -0
  457. bpy/ops/pose/py.typed +0 -0
  458. bpy/ops/poselib/py.typed +0 -0
  459. bpy/ops/preferences/py.typed +0 -0
  460. bpy/ops/ptcache/py.typed +0 -0
  461. bpy/ops/py.typed +0 -0
  462. bpy/ops/render/py.typed +0 -0
  463. bpy/ops/rigidbody/py.typed +0 -0
  464. bpy/ops/scene/py.typed +0 -0
  465. bpy/ops/screen/py.typed +0 -0
  466. bpy/ops/script/py.typed +0 -0
  467. bpy/ops/sculpt/py.typed +0 -0
  468. bpy/ops/sculpt_curves/py.typed +0 -0
  469. bpy/ops/sequencer/py.typed +0 -0
  470. bpy/ops/sound/py.typed +0 -0
  471. bpy/ops/spreadsheet/py.typed +0 -0
  472. bpy/ops/surface/py.typed +0 -0
  473. bpy/ops/text/py.typed +0 -0
  474. bpy/ops/text_editor/py.typed +0 -0
  475. bpy/ops/texture/py.typed +0 -0
  476. bpy/ops/transform/py.typed +0 -0
  477. bpy/ops/ui/py.typed +0 -0
  478. bpy/ops/uilist/py.typed +0 -0
  479. bpy/ops/uv/py.typed +0 -0
  480. bpy/ops/view2d/py.typed +0 -0
  481. bpy/ops/view3d/py.typed +0 -0
  482. bpy/ops/wm/py.typed +0 -0
  483. bpy/ops/workspace/py.typed +0 -0
  484. bpy/ops/world/py.typed +0 -0
  485. bpy/path/py.typed +0 -0
  486. bpy/props/py.typed +0 -0
  487. bpy/types/py.typed +0 -0
  488. bpy/utils/previews/py.typed +0 -0
  489. bpy/utils/py.typed +0 -0
  490. bpy/utils/units/py.typed +0 -0
  491. bpy_extras/anim_utils/py.typed +0 -0
  492. bpy_extras/asset_utils/py.typed +0 -0
  493. bpy_extras/bmesh_utils/py.typed +0 -0
  494. bpy_extras/extensions/junction_module/py.typed +0 -0
  495. bpy_extras/extensions/py.typed +0 -0
  496. bpy_extras/id_map_utils/py.typed +0 -0
  497. bpy_extras/image_utils/py.typed +0 -0
  498. bpy_extras/io_utils/py.typed +0 -0
  499. bpy_extras/keyconfig_utils/py.typed +0 -0
  500. bpy_extras/mesh_utils/py.typed +0 -0
  501. bpy_extras/node_shader_utils/py.typed +0 -0
  502. bpy_extras/node_utils/py.typed +0 -0
  503. bpy_extras/object_utils/py.typed +0 -0
  504. bpy_extras/view3d_utils/py.typed +0 -0
  505. bpy_extras/wm_utils/progress_report/py.typed +0 -0
  506. bpy_extras/wm_utils/py.typed +0 -0
  507. fake_bpy_module-20240516.dist-info/RECORD +0 -618
  508. freestyle/chainingiterators/py.typed +0 -0
  509. freestyle/functions/py.typed +0 -0
  510. freestyle/predicates/py.typed +0 -0
  511. freestyle/shaders/py.typed +0 -0
  512. freestyle/types/py.typed +0 -0
  513. freestyle/utils/ContextFunctions/py.typed +0 -0
  514. freestyle/utils/py.typed +0 -0
  515. gpu/capabilities/py.typed +0 -0
  516. gpu/matrix/py.typed +0 -0
  517. gpu/platform/py.typed +0 -0
  518. gpu/select/py.typed +0 -0
  519. gpu/shader/py.typed +0 -0
  520. gpu/state/py.typed +0 -0
  521. gpu/texture/py.typed +0 -0
  522. gpu/types/py.typed +0 -0
  523. gpu_extras/batch/py.typed +0 -0
  524. gpu_extras/presets/py.typed +0 -0
  525. idprop/types/py.typed +0 -0
  526. imbuf/types/py.typed +0 -0
  527. mathutils/bvhtree/py.typed +0 -0
  528. mathutils/geometry/py.typed +0 -0
  529. mathutils/interpolate/py.typed +0 -0
  530. mathutils/kdtree/py.typed +0 -0
  531. mathutils/noise/py.typed +0 -0
  532. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/WHEEL +0 -0
  533. {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/top_level.txt +0 -0
@@ -42,7 +42,7 @@ class ImportHelper:
42
42
  """
43
43
  ...
44
44
 
45
- def invoke_popup(self, context, confirm_text):
45
+ def invoke_popup(self, context, confirm_text=""):
46
46
  """
47
47
 
48
48
  :param context:
@@ -58,8 +58,11 @@ def axis_conversion(from_forward="Y", from_up="Z", to_forward="Y", to_up="Z"):
58
58
 
59
59
  ...
60
60
 
61
- def axis_conversion(from_forward, from_up, to_forward, to_up):
62
- """ """
61
+ def axis_conversion(from_forward="Y", from_up="Z", to_forward="Y", to_up="Z"):
62
+ """Each argument us an axis in ['X', 'Y', 'Z', '-X', '-Y', '-Z']
63
+ where the first 2 are a source and the second 2 are the target.
64
+
65
+ """
63
66
 
64
67
  ...
65
68
 
@@ -81,8 +84,21 @@ def axis_conversion_ensure(
81
84
 
82
85
  ...
83
86
 
84
- def axis_conversion_ensure(operator, forward_attr, up_attr):
85
- """ """
87
+ def axis_conversion_ensure(
88
+ operator: bpy.types.Operator, forward_attr: str, up_attr: str
89
+ ) -> bool:
90
+ """Function to ensure an operator has valid axis conversion settings, intended
91
+ to be used from `bpy.types.Operator.check`.
92
+
93
+ :param operator: the operator to access axis attributes from.
94
+ :type operator: bpy.types.Operator
95
+ :param forward_attr: attribute storing the forward axis
96
+ :type forward_attr: str
97
+ :param up_attr: attribute storing the up axis
98
+ :type up_attr: str
99
+ :return: True if the value was modified.
100
+ :rtype: bool
101
+ """
86
102
 
87
103
  ...
88
104
 
@@ -102,8 +118,19 @@ def create_derived_objects(
102
118
 
103
119
  ...
104
120
 
105
- def create_derived_objects(depsgraph, objects):
106
- """ """
121
+ def create_derived_objects(
122
+ depsgraph: bpy.types.Depsgraph, objects: typing.Iterable[bpy.types.Object]
123
+ ) -> dict:
124
+ """This function takes a sequence of objects, returning their instances.
125
+
126
+ :param depsgraph: The evaluated depsgraph.
127
+ :type depsgraph: bpy.types.Depsgraph
128
+ :param objects: A sequencer of objects.
129
+ :type objects: typing.Iterable[bpy.types.Object]
130
+ :return: A dictionary where each key is an object from objects,
131
+ values are lists of (`bpy.types.Object`, `mathutils.Matrix`) tuples representing instances.
132
+ :rtype: dict
133
+ """
107
134
 
108
135
  ...
109
136
 
@@ -115,8 +142,11 @@ def orientation_helper(axis_forward="Y", axis_up="Z"):
115
142
 
116
143
  ...
117
144
 
118
- def orientation_helper(axis_forward, axis_up):
119
- """ """
145
+ def orientation_helper(axis_forward="Y", axis_up="Z"):
146
+ """A decorator for import/export classes, generating properties needed by the axis conversion system and IO helpers,
147
+ with specified default values (axes).
148
+
149
+ """
120
150
 
121
151
  ...
122
152
 
@@ -127,7 +157,7 @@ def path_reference(
127
157
  mode: str = "AUTO",
128
158
  copy_subdir: str = "",
129
159
  copy_set: set = None,
130
- library: typing.Optional[bpy.types.Library] = None,
160
+ library: bpy.types.Library | None = None,
131
161
  ) -> str:
132
162
  """Return a filepath relative to a destination directory, for use with
133
163
  exporters.
@@ -150,15 +180,47 @@ def path_reference(
150
180
  pass to path_reference_copy when exporting is done.
151
181
  :type copy_set: set
152
182
  :param library: The library this path is relative to.
153
- :type library: typing.Optional[bpy.types.Library]
183
+ :type library: bpy.types.Library | None
154
184
  :return: the new filepath.
155
185
  :rtype: str
156
186
  """
157
187
 
158
188
  ...
159
189
 
160
- def path_reference(filepath, base_src, base_dst, mode, copy_subdir, copy_set, library):
161
- """ """
190
+ def path_reference(
191
+ filepath: str,
192
+ base_src: str,
193
+ base_dst: str,
194
+ mode: str = "AUTO",
195
+ copy_subdir: str = "",
196
+ copy_set: set = None,
197
+ library: bpy.types.Library | None = None,
198
+ ) -> str:
199
+ """Return a filepath relative to a destination directory, for use with
200
+ exporters.
201
+
202
+ :param filepath: the file path to return,
203
+ supporting blenders relative '//' prefix.
204
+ :type filepath: str
205
+ :param base_src: the directory the filepath is relative too
206
+ (normally the blend file).
207
+ :type base_src: str
208
+ :param base_dst: the directory the filepath will be referenced from
209
+ (normally the export path).
210
+ :type base_dst: str
211
+ :param mode: the method used get the path in
212
+ ['AUTO', 'ABSOLUTE', 'RELATIVE', 'MATCH', 'STRIP', 'COPY']
213
+ :type mode: str
214
+ :param copy_subdir: the subdirectory of base_dst to use when mode='COPY'.
215
+ :type copy_subdir: str
216
+ :param copy_set: collect from/to pairs when mode='COPY',
217
+ pass to path_reference_copy when exporting is done.
218
+ :type copy_set: set
219
+ :param library: The library this path is relative to.
220
+ :type library: bpy.types.Library | None
221
+ :return: the new filepath.
222
+ :rtype: str
223
+ """
162
224
 
163
225
  ...
164
226
 
@@ -173,13 +235,22 @@ def path_reference_copy(copy_set: set, report: typing.Any = None):
173
235
 
174
236
  ...
175
237
 
176
- def path_reference_copy(copy_set, report):
177
- """ """
238
+ def path_reference_copy(copy_set: set, report: typing.Any = None):
239
+ """Execute copying files of path_reference
240
+
241
+ :param copy_set: set of (from, to) pairs to copy.
242
+ :type copy_set: set
243
+ :param report: function used for reporting warnings, takes a string argument.
244
+ :type report: typing.Any
245
+ """
178
246
 
179
247
  ...
180
248
 
181
249
  def poll_file_object_drop(context):
182
- """ """
250
+ """A default implementation for FileHandler poll_drop methods. Allows for both the 3D Viewport and
251
+ the Outliner (in ViewLayer display mode) to be targets for file drag and drop.
252
+
253
+ """
183
254
 
184
255
  ...
185
256
 
@@ -212,8 +283,32 @@ def unique_name(
212
283
 
213
284
  ...
214
285
 
215
- def unique_name(key, name, name_dict, name_max, clean_func, sep):
216
- """ """
286
+ def unique_name(
287
+ key,
288
+ name: str,
289
+ name_dict: dict,
290
+ name_max=-1,
291
+ clean_func: typing.Any = None,
292
+ sep: str = ".",
293
+ ):
294
+ """Helper function for storing unique names which may have special characters
295
+ stripped and restricted to a maximum length.
296
+
297
+ :param key: unique item this name belongs to, name_dict[key] will be reused
298
+ when available.
299
+ This can be the object, mesh, material, etc instance itself.
300
+ :param name: The name used to create a unique value in name_dict.
301
+ :type name: str
302
+ :param name_dict: This is used to cache namespace to ensure no collisions
303
+ occur, this should be an empty dict initially and only modified by this
304
+ function.
305
+ :type name_dict: dict
306
+ :param clean_func: Function to call on name before creating a unique value.
307
+ :type clean_func: typing.Any
308
+ :param sep: Separator to use when between the name and a number when a
309
+ duplicate name is found.
310
+ :type sep: str
311
+ """
217
312
 
218
313
  ...
219
314
 
@@ -8,7 +8,7 @@ def addon_keymap_register(keymap_data):
8
8
  ...
9
9
 
10
10
  def addon_keymap_register(keymap_data):
11
- """ """
11
+ """Register a set of keymaps for addons using a list of keymaps.See 'blender_defaults.py' for examples of the format this takes."""
12
12
 
13
13
  ...
14
14
 
@@ -18,7 +18,7 @@ def addon_keymap_unregister(keymap_data):
18
18
  ...
19
19
 
20
20
  def addon_keymap_unregister(keymap_data):
21
- """ """
21
+ """Unregister a set of keymaps for addons."""
22
22
 
23
23
  ...
24
24
 
@@ -12,8 +12,12 @@ def edge_face_count(mesh) -> list:
12
12
 
13
13
  ...
14
14
 
15
- def edge_face_count(mesh):
16
- """ """
15
+ def edge_face_count(mesh) -> list:
16
+ """
17
+
18
+ :return: list face users for each item in mesh.edges.
19
+ :rtype: list
20
+ """
17
21
 
18
22
  ...
19
23
 
@@ -27,8 +31,13 @@ def edge_face_count_dict(mesh) -> dict:
27
31
 
28
32
  ...
29
33
 
30
- def edge_face_count_dict(mesh):
31
- """ """
34
+ def edge_face_count_dict(mesh) -> dict:
35
+ """
36
+
37
+ :return: dict of edge keys with their value set to the number of
38
+ faces using each edge.
39
+ :rtype: dict
40
+ """
32
41
 
33
42
  ...
34
43
 
@@ -40,8 +49,11 @@ def edge_loops_from_edges(mesh, edges=None):
40
49
 
41
50
  ...
42
51
 
43
- def edge_loops_from_edges(mesh, edges):
44
- """ """
52
+ def edge_loops_from_edges(mesh, edges=None):
53
+ """Edge loops defined by edgesTakes me.edges or a list of edges and returns the edge loopsreturn a list of vertex indices.
54
+ [ [1, 6, 7, 2], ...]closed loops have matching start and end values.
55
+
56
+ """
45
57
 
46
58
  ...
47
59
 
@@ -57,8 +69,15 @@ def mesh_linked_triangles(mesh: bpy.types.Mesh) -> list:
57
69
 
58
70
  ...
59
71
 
60
- def mesh_linked_triangles(mesh):
61
- """ """
72
+ def mesh_linked_triangles(mesh: bpy.types.Mesh) -> list:
73
+ """Splits the mesh into connected triangles, use this for separating cubes from
74
+ other mesh elements within 1 mesh datablock.
75
+
76
+ :param mesh: the mesh used to group with.
77
+ :type mesh: bpy.types.Mesh
78
+ :return: lists of lists containing triangles.
79
+ :rtype: list
80
+ """
62
81
 
63
82
  ...
64
83
 
@@ -73,13 +92,19 @@ def mesh_linked_uv_islands(mesh: bpy.types.Mesh) -> list:
73
92
 
74
93
  ...
75
94
 
76
- def mesh_linked_uv_islands(mesh):
77
- """ """
95
+ def mesh_linked_uv_islands(mesh: bpy.types.Mesh) -> list:
96
+ """Returns lists of polygon indices connected by UV islands.
97
+
98
+ :param mesh: the mesh used to group with.
99
+ :type mesh: bpy.types.Mesh
100
+ :return: list of lists containing polygon indices
101
+ :rtype: list
102
+ """
78
103
 
79
104
  ...
80
105
 
81
106
  def ngon_tessellate(
82
- from_data: typing.Union[list, bpy.types.Mesh],
107
+ from_data: list | bpy.types.Mesh,
83
108
  indices: list,
84
109
  fix_loops: bool = True,
85
110
  debug_print=True,
@@ -89,7 +114,7 @@ def ngon_tessellate(
89
114
  ngon to create from existing verts.
90
115
 
91
116
  :param from_data: either a mesh, or a list/tuple of vectors.
92
- :type from_data: typing.Union[list, bpy.types.Mesh]
117
+ :type from_data: list | bpy.types.Mesh
93
118
  :param indices: a list of indices to use this list
94
119
  is the ordered closed poly-line
95
120
  to fill, and can be a subset of the data given.
@@ -102,27 +127,54 @@ def ngon_tessellate(
102
127
 
103
128
  ...
104
129
 
105
- def ngon_tessellate(from_data, indices, fix_loops, debug_print):
106
- """ """
130
+ def ngon_tessellate(
131
+ from_data: list | bpy.types.Mesh,
132
+ indices: list,
133
+ fix_loops: bool = True,
134
+ debug_print=True,
135
+ ):
136
+ """Takes a poly-line of indices (ngon) and returns a list of face
137
+ index lists. Designed to be used for importers that need indices for an
138
+ ngon to create from existing verts.
139
+
140
+ :param from_data: either a mesh, or a list/tuple of vectors.
141
+ :type from_data: list | bpy.types.Mesh
142
+ :param indices: a list of indices to use this list
143
+ is the ordered closed poly-line
144
+ to fill, and can be a subset of the data given.
145
+ :type indices: list
146
+ :param fix_loops: If this is enabled poly-lines
147
+ that use loops to make multiple
148
+ poly-lines are dealt with correctly.
149
+ :type fix_loops: bool
150
+ """
107
151
 
108
152
  ...
109
153
 
110
154
  def triangle_random_points(
111
- num_points,
112
- loop_triangles: typing.Union[bpy.types.MeshLoopTriangle, typing.Sequence],
155
+ num_points, loop_triangles: bpy.types.MeshLoopTriangle | typing.Sequence
113
156
  ) -> list:
114
157
  """Generates a list of random points over mesh loop triangles.
115
158
 
116
159
  :param num_points: the number of random points to generate on each triangle.
117
160
  :param loop_triangles: list of the triangles to generate points on.
118
- :type loop_triangles: typing.Union[bpy.types.MeshLoopTriangle, typing.Sequence]
161
+ :type loop_triangles: bpy.types.MeshLoopTriangle | typing.Sequence
119
162
  :return: list of random points over all triangles.
120
163
  :rtype: list
121
164
  """
122
165
 
123
166
  ...
124
167
 
125
- def triangle_random_points(num_points, loop_triangles):
126
- """ """
168
+ def triangle_random_points(
169
+ num_points, loop_triangles: bpy.types.MeshLoopTriangle | typing.Sequence
170
+ ) -> list:
171
+ """Generates a list of random points over mesh loop triangles.
172
+
173
+ :param num_points: the number of random points to generate on each triangle.
174
+ :param loop_triangles: list of the triangles to generate points on.
175
+ :type loop_triangles: bpy.types.MeshLoopTriangle | typing.Sequence
176
+ :return: list of random points over all triangles.
177
+ :rtype: list
178
+ """
127
179
 
128
180
  ...
@@ -3,7 +3,7 @@ import typing
3
3
  GenericType = typing.TypeVar("GenericType")
4
4
 
5
5
  class ShaderWrapper:
6
- """ """
6
+ """Base class with minimal common ground for all types of shader interfaces we may want/need to implement."""
7
7
 
8
8
  NODES_LIST: typing.Any
9
9
  """ """
@@ -43,7 +43,9 @@ class ShaderWrapper:
43
43
  ...
44
44
 
45
45
  class ShaderImageTextureWrapper:
46
- """ """
46
+ """Generic 'image texture'-like wrapper, handling image node, some mapping (texture coordinates transformations),
47
+ and texture coordinates source.
48
+ """
47
49
 
48
50
  NODES_LIST: typing.Any
49
51
  """ """
@@ -203,7 +205,10 @@ class ShaderImageTextureWrapper:
203
205
  ...
204
206
 
205
207
  class PrincipledBSDFWrapper(ShaderWrapper):
206
- """ """
208
+ """Hard coded shader setup, based in Principled BSDF.
209
+ Should cover most common cases on import, and gives a basic nodal shaders support for export.
210
+ Supports basic: diffuse/spec/reflect/transparency/normal, with texturing.
211
+ """
207
212
 
208
213
  NODES_LIST: typing.Any
209
214
  """ """
@@ -483,7 +488,7 @@ class PrincipledBSDFWrapper(ShaderWrapper):
483
488
  """
484
489
  ...
485
490
 
486
- def node_input_value_get(node, input, default_value):
491
+ def node_input_value_get(node, input, default_value=None):
487
492
  """ """
488
493
 
489
494
  ...
@@ -3,12 +3,19 @@ import typing
3
3
  GenericType = typing.TypeVar("GenericType")
4
4
 
5
5
  def connect_sockets(input, output):
6
- """ """
6
+ """Connect sockets in a node tree.This is useful because the links created through the normal Python API are
7
+ invalid when one of the sockets is a virtual socket (grayed out sockets in
8
+ Group Input and Group Output nodes).It replaces node_tree.links.new(input, output)
9
+
10
+ """
7
11
 
8
12
  ...
9
13
 
10
14
  def find_base_socket_type(socket):
11
- """ """
15
+ """Find the base class of the socket.Sockets can have a subtype such as NodeSocketFloatFactor,
16
+ but only the base type is allowed, e. g. NodeSocketFloat
17
+
18
+ """
12
19
 
13
20
  ...
14
21
 
@@ -36,8 +36,18 @@ def add_object_align_init(
36
36
 
37
37
  ...
38
38
 
39
- def add_object_align_init(context, operator):
40
- """ """
39
+ def add_object_align_init(
40
+ context: bpy.types.Context, operator: bpy.types.Operator
41
+ ) -> mathutils.Matrix:
42
+ """Return a matrix using the operator settings and view context.
43
+
44
+ :param context: The context to use.
45
+ :type context: bpy.types.Context
46
+ :param operator: The operator, checked for location and rotation properties.
47
+ :type operator: bpy.types.Operator
48
+ :return: the matrix from the context and settings.
49
+ :rtype: mathutils.Matrix
50
+ """
41
51
 
42
52
  ...
43
53
 
@@ -50,7 +60,10 @@ def object_add_grid_scale(context):
50
60
  ...
51
61
 
52
62
  def object_add_grid_scale(context):
53
- """ """
63
+ """Return scale which should be applied on object
64
+ data to align it to grid scale
65
+
66
+ """
54
67
 
55
68
  ...
56
69
 
@@ -60,7 +73,7 @@ def object_add_grid_scale_apply_operator(operator, context):
60
73
  ...
61
74
 
62
75
  def object_add_grid_scale_apply_operator(operator, context):
63
- """ """
76
+ """Scale an operators distance values by the grid size."""
64
77
 
65
78
  ...
66
79
 
@@ -86,8 +99,25 @@ def object_data_add(
86
99
 
87
100
  ...
88
101
 
89
- def object_data_add(context, obdata, operator, name):
90
- """ """
102
+ def object_data_add(
103
+ context: bpy.types.Context,
104
+ obdata,
105
+ operator: bpy.types.Operator = None,
106
+ name: str = None,
107
+ ) -> bpy.types.Object:
108
+ """Add an object using the view context and preference to initialize the
109
+ location, rotation and layer.
110
+
111
+ :param context: The context to use.
112
+ :type context: bpy.types.Context
113
+ :param obdata: the data used for the new object.
114
+ :param operator: The operator, checked for location and rotation properties.
115
+ :type operator: bpy.types.Operator
116
+ :param name: Optional name
117
+ :type name: str
118
+ :return: the newly created object in the scene.
119
+ :rtype: bpy.types.Object
120
+ """
91
121
 
92
122
  ...
93
123
 
@@ -105,15 +135,24 @@ def object_report_if_active_shape_key_is_locked(
105
135
 
106
136
  ...
107
137
 
108
- def object_report_if_active_shape_key_is_locked(obj, operator):
109
- """ """
138
+ def object_report_if_active_shape_key_is_locked(
139
+ obj: bpy.types.Object, operator: bpy.types.Operator
140
+ ):
141
+ """Checks if the active shape key of the specified object is locked, and reports an error if so.If the object has no shape keys, there is nothing to lock, and the function returns False.
142
+
143
+ :param obj: Object to check.
144
+ :type obj: bpy.types.Object
145
+ :param operator: Currently running operator to report the error through. Use None to suppress emitting the message.
146
+ :type operator: bpy.types.Operator
147
+ :return: True if the shape key was locked.
148
+ """
110
149
 
111
150
  ...
112
151
 
113
152
  def world_to_camera_view(
114
153
  scene: bpy.types.Scene,
115
154
  obj: bpy.types.Object,
116
- coord: typing.Union[typing.Sequence[float], mathutils.Vector],
155
+ coord: typing.Sequence[float] | mathutils.Vector,
117
156
  ) -> mathutils.Vector:
118
157
  """Returns the camera space coords for a 3d point.
119
158
  (also known as: normalized device coordinates - NDC).Where (0, 0) is the bottom left and (1, 1)
@@ -127,7 +166,7 @@ def world_to_camera_view(
127
166
  :param obj: Camera object.
128
167
  :type obj: bpy.types.Object
129
168
  :param coord: World space location.
130
- :type coord: typing.Union[typing.Sequence[float], mathutils.Vector]
169
+ :type coord: typing.Sequence[float] | mathutils.Vector
131
170
  :return: a vector where X and Y map to the view plane and
132
171
  Z is the depth on the view axis.
133
172
  :rtype: mathutils.Vector
@@ -135,7 +174,27 @@ def world_to_camera_view(
135
174
 
136
175
  ...
137
176
 
138
- def world_to_camera_view(scene, obj, coord):
139
- """ """
177
+ def world_to_camera_view(
178
+ scene: bpy.types.Scene,
179
+ obj: bpy.types.Object,
180
+ coord: typing.Sequence[float] | mathutils.Vector,
181
+ ) -> mathutils.Vector:
182
+ """Returns the camera space coords for a 3d point.
183
+ (also known as: normalized device coordinates - NDC).Where (0, 0) is the bottom left and (1, 1)
184
+ is the top right of the camera frame.
185
+ values outside 0-1 are also supported.
186
+ A negative 'z' value means the point is behind the camera.Takes shift-x/y, lens angle and sensor size into account
187
+ as well as perspective/ortho projections.
188
+
189
+ :param scene: Scene to use for frame size.
190
+ :type scene: bpy.types.Scene
191
+ :param obj: Camera object.
192
+ :type obj: bpy.types.Object
193
+ :param coord: World space location.
194
+ :type coord: typing.Sequence[float] | mathutils.Vector
195
+ :return: a vector where X and Y map to the view plane and
196
+ Z is the depth on the view axis.
197
+ :rtype: mathutils.Vector
198
+ """
140
199
 
141
200
  ...