fake-bpy-module 20250425__py3-none-any.whl → 20250427__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.

@@ -582,6 +582,43 @@ class OBJECT_PT_shadow_linking(ObjectButtonsPanel, bpy.types.Panel):
582
582
  :param context:
583
583
  """
584
584
 
585
+ class OBJECT_PT_shadow_terminator(ObjectButtonsPanel, bpy.types.Panel):
586
+ COMPAT_ENGINES: typing.Any
587
+ bl_context: typing.Any
588
+ bl_label: typing.Any
589
+ bl_parent_id: typing.Any
590
+ bl_region_type: typing.Any
591
+ bl_rna: typing.Any
592
+ bl_space_type: typing.Any
593
+ id_data: typing.Any
594
+
595
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
596
+ """
597
+
598
+ :return: The RNA type or default when not found.
599
+ :rtype: bpy.types.Struct
600
+ """
601
+
602
+ def bl_rna_get_subclass_py(self) -> typing.Any:
603
+ """
604
+
605
+ :return: The class or default when not found.
606
+ :rtype: typing.Any
607
+ """
608
+
609
+ def draw(self, context):
610
+ """
611
+
612
+ :param context:
613
+ """
614
+
615
+ @classmethod
616
+ def poll(cls, context):
617
+ """
618
+
619
+ :param context:
620
+ """
621
+
585
622
  class OBJECT_PT_transform(ObjectButtonsPanel, bpy.types.Panel):
586
623
  bl_context: typing.Any
587
624
  bl_label: typing.Any
@@ -342,6 +342,15 @@ def camera_add(
342
342
  :type scale: collections.abc.Sequence[float] | mathutils.Vector | None
343
343
  """
344
344
 
345
+ def camera_custom_update(
346
+ execution_context: int | str | None = None, undo: bool | None = None
347
+ ):
348
+ """Update custom camera with new parameters from the shader
349
+
350
+ :type execution_context: int | str | None
351
+ :type undo: bool | None
352
+ """
353
+
345
354
  def clear_override_library(
346
355
  execution_context: int | str | None = None, undo: bool | None = None
347
356
  ):
bpy/ops/text/__init__.pyi CHANGED
@@ -682,3 +682,10 @@ def unlink(execution_context: int | str | None = None, undo: bool | None = None)
682
682
  :type execution_context: int | str | None
683
683
  :type undo: bool | None
684
684
  """
685
+
686
+ def update_shader(execution_context: int | str | None = None, undo: bool | None = None):
687
+ """Update users of this shader, such as custom cameras and script nodes, with its new sockets and options
688
+
689
+ :type execution_context: int | str | None
690
+ :type undo: bool | None
691
+ """
bpy/types/__init__.pyi CHANGED
@@ -10566,6 +10566,7 @@ at its creation, all editing in the original image's buffer is 'lost' in its cop
10566
10566
  * BlendData.cameras
10567
10567
  * BlendDataCameras.new
10568
10568
  * BlendDataCameras.remove
10569
+ * RenderEngine.update_custom_camera
10569
10570
 
10570
10571
  :columns: 2
10571
10572
 
@@ -65066,6 +65067,7 @@ Base class for integrating USD Hydra based renderers.
65066
65067
  * RenderEngine.view_draw
65067
65068
  * RenderEngine.update_script_node
65068
65069
  * RenderEngine.update_render_passes
65070
+ * RenderEngine.update_custom_camera
65069
65071
  * RenderEngine.tag_redraw
65070
65072
  * RenderEngine.tag_update
65071
65073
  * RenderEngine.begin_result
@@ -87111,6 +87113,7 @@ Executing the operator will then print all values.
87111
87113
  * BlendDataTexts.load
87112
87114
  * BlendDataTexts.new
87113
87115
  * BlendDataTexts.remove
87116
+ * Camera.custom_shader
87114
87117
  * FreestyleModuleSettings.script
87115
87118
  * NodeFrame.text
87116
87119
  * ShaderNodeScript.script
@@ -126441,6 +126444,42 @@ class Camera(ID, bpy_struct):
126441
126444
  :type: float
126442
126445
  """
126443
126446
 
126447
+ custom_bytecode: str
126448
+ """ Compiled bytecode of the custom shader
126449
+
126450
+ :type: str
126451
+ """
126452
+
126453
+ custom_bytecode_hash: str
126454
+ """ Hash of the compiled bytecode of the custom shader, for quick equality checking
126455
+
126456
+ :type: str
126457
+ """
126458
+
126459
+ custom_filepath: str
126460
+ """ Path to the shader defining the custom camera
126461
+
126462
+ :type: str
126463
+ """
126464
+
126465
+ custom_mode: typing.Literal["INTERNAL", "EXTERNAL"]
126466
+ """
126467
+
126468
+ :type: typing.Literal['INTERNAL','EXTERNAL']
126469
+ """
126470
+
126471
+ custom_shader: Text | None
126472
+ """ Shader defining the custom camera
126473
+
126474
+ :type: Text | None
126475
+ """
126476
+
126477
+ cycles_custom: typing.Any | None
126478
+ """ Parameters for custom (OSL-based) Cameras
126479
+
126480
+ :type: typing.Any | None
126481
+ """
126482
+
126444
126483
  display_size: float
126445
126484
  """ Apparent size of the Camera object in the 3D View
126446
126485
 
@@ -126689,10 +126728,10 @@ class Camera(ID, bpy_struct):
126689
126728
  :type: CameraStereoData
126690
126729
  """
126691
126730
 
126692
- type: typing.Literal["PERSP", "ORTHO", "PANO"]
126731
+ type: typing.Literal["PERSP", "ORTHO", "PANO", "CUSTOM"]
126693
126732
  """ Camera types
126694
126733
 
126695
- :type: typing.Literal['PERSP','ORTHO','PANO']
126734
+ :type: typing.Literal['PERSP','ORTHO','PANO','CUSTOM']
126696
126735
  """
126697
126736
 
126698
126737
  def view_frame(
@@ -191929,6 +191968,24 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
191929
191968
  :type: ObjectShaderFx
191930
191969
  """
191931
191970
 
191971
+ shadow_terminator_geometry_offset: float
191972
+ """ Offset rays from the surface to reduce shadow terminator artifact on low poly geometry. Only affects triangles at grazing angles to light
191973
+
191974
+ :type: float
191975
+ """
191976
+
191977
+ shadow_terminator_normal_offset: float
191978
+ """ Offset rays from the surface to reduce shadow terminator artifact on low poly geometry.Only affect triangles that are affected by the geometry offset
191979
+
191980
+ :type: float
191981
+ """
191982
+
191983
+ shadow_terminator_shading_offset: float
191984
+ """ Push the shadow terminator towards the light to hide artifacts on low poly geometry
191985
+
191986
+ :type: float
191987
+ """
191988
+
191932
191989
  show_all_edges: bool
191933
191990
  """ Display all edges for mesh objects
191934
191991
 
@@ -201028,6 +201085,13 @@ class RenderEngine(bpy_struct):
201028
201085
  :type renderlayer: ViewLayer | None
201029
201086
  """
201030
201087
 
201088
+ def update_custom_camera(self, *, cam: Camera | None = None):
201089
+ """Compile custom camera
201090
+
201091
+ :param cam:
201092
+ :type cam: Camera | None
201093
+ """
201094
+
201031
201095
  def tag_redraw(self):
201032
201096
  """Request redraw for viewport rendering"""
201033
201097
 
@@ -240554,6 +240618,8 @@ OBJECT_PT_shading: bl_ui.properties_object.OBJECT_PT_shading
240554
240618
 
240555
240619
  OBJECT_PT_shadow_linking: bl_ui.properties_object.OBJECT_PT_shadow_linking
240556
240620
 
240621
+ OBJECT_PT_shadow_terminator: bl_ui.properties_object.OBJECT_PT_shadow_terminator
240622
+
240557
240623
  OBJECT_PT_transform: bl_ui.properties_object.OBJECT_PT_transform
240558
240624
 
240559
240625
  OBJECT_PT_visibility: bl_ui.properties_object.OBJECT_PT_visibility
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fake-bpy-module
3
- Version: 20250425
3
+ Version: 20250427
4
4
  Summary: Collection of the fake Blender Python API module for the code completion.
5
5
  Author: nutti
6
6
  Author-email: nutti.metro@gmail.com
@@ -134,7 +134,7 @@ bl_ui/properties_grease_pencil_common/__init__.pyi,sha256=LVXOj9fLNZKq3ZWjy0JP1-
134
134
  bl_ui/properties_mask_common/__init__.pyi,sha256=oMn0LdyCRRwK3g8sjbfLbnF7hTYq_zmb_ND7GSlNuLQ,6075
135
135
  bl_ui/properties_material/__init__.pyi,sha256=jTSBYWl-Kg_p2eaCAPWFzASLJi8ab6kHBILiH9GFnso,13526
136
136
  bl_ui/properties_material_gpencil/__init__.pyi,sha256=N8MEHV4nTtOW6qRh250xSn8idhJ_c4f1KOVHLV_JdlQ,8617
137
- bl_ui/properties_object/__init__.pyi,sha256=QVQ1uSQ55wkBvNNWluCHDAtkjfGAmSY_r7sJvY9J3nY,14707
137
+ bl_ui/properties_object/__init__.pyi,sha256=CREM6GA1aFEf8x5ZmEO-9mvPO_XY1RR2Lw0ME2a6rmE,15504
138
138
  bl_ui/properties_output/__init__.pyi,sha256=cyH3ZgV4Ee6-H_TsLAkCMqV4Sb27Qzi7rNWn0Zm8dIM,15169
139
139
  bl_ui/properties_paint_common/__init__.pyi,sha256=CciqrCaz3Srp48LQdCZBKEWy0x3xbyGPzZO1jES0aCM,8019
140
140
  bl_ui/properties_particle/__init__.pyi,sha256=9kn1doBcLG0uY1N78WcyGDSi9B89KZsMk2koc8a17sU,43441
@@ -243,7 +243,7 @@ bpy/ops/mball/__init__.pyi,sha256=vKET4S-NZrDAf4r1XUXjyyW8Ry5bdna9EeQlV3HMo5Y,41
243
243
  bpy/ops/mesh/__init__.pyi,sha256=hJY7zxCu-W4eU-1F4zyxLDxUL7eDEViPPZRemS2RV6s,132714
244
244
  bpy/ops/nla/__init__.pyi,sha256=6C8Gm7ZOBATflqUymRCXljSEKN_oE1MvqVMpR05eVIM,18172
245
245
  bpy/ops/node/__init__.pyi,sha256=SA7zC30uMpDZGZWjoUv0lIN5XymthWMnHJJyY_UnzTc,60877
246
- bpy/ops/object/__init__.pyi,sha256=VAiI6_RRph_OHcWtrjpbhEvMMc2qPB8waE5eB2XwV_o,168533
246
+ bpy/ops/object/__init__.pyi,sha256=N3OE9VyWbUSivdirlatPmvgLh3xy3usYXyyzrjmpBqk,168783
247
247
  bpy/ops/outliner/__init__.pyi,sha256=5ksIXcWA2dfw0ogr_yEF5KrQlolqR-8sn3Al3Wx6-Ec,28073
248
248
  bpy/ops/paint/__init__.pyi,sha256=U-uMYTkGLmcnkI9RsWRnsbqDLJuLaWPk-5ue5rnoQwg,37692
249
249
  bpy/ops/paintcurve/__init__.pyi,sha256=3V3HI5tmtyehUcJyiNj8NO4uj-Q7B9xIvBgnAn3BlmU,3007
@@ -265,7 +265,7 @@ bpy/ops/sequencer/__init__.pyi,sha256=sxvEank1MOyTJdTR0YQIGrsxJYwdywGFVuCzIljxTJ
265
265
  bpy/ops/sound/__init__.pyi,sha256=1cAvk2eDLTyU2JrwXd5-AJfPHHFrbv35MZgaer7b6pc,16956
266
266
  bpy/ops/spreadsheet/__init__.pyi,sha256=fUC1jInCBtYAyCryFHP_DIOt6pOopof5WxMIdOh1M_4,1387
267
267
  bpy/ops/surface/__init__.pyi,sha256=tvTVuqkjV4znlQBD0F2E52tkGnYDttaPQl7sHwyaOSo,10342
268
- bpy/ops/text/__init__.pyi,sha256=jEXlRMCmvZHhsVq5GS20S5UP2D64tol2frAjQXZS23o,20959
268
+ bpy/ops/text/__init__.pyi,sha256=he6eb_hke7BAVQ2QvLjDw9pyNceRtuPtSswA1Yy85cA,21242
269
269
  bpy/ops/text_editor/__init__.pyi,sha256=OqbysVhPRNHYqVJT13zQk3KFZYovjE3QDXbrz1evDTs,662
270
270
  bpy/ops/texture/__init__.pyi,sha256=KKnOjkSwidpD0cv1uWwc-ngKtILoTpZ1GD2ue3Rt0Go,1070
271
271
  bpy/ops/transform/__init__.pyi,sha256=fQngiymnqF2O9GaYj_gkKGyl1fnliGexnG-0jfSECXg,58222
@@ -279,7 +279,7 @@ bpy/ops/workspace/__init__.pyi,sha256=NdaJuwz3A-gStNuzp_OWR9DIj7oeSgLjn9SUEBLYuN
279
279
  bpy/ops/world/__init__.pyi,sha256=9OhY87-WRRLor-4GQJhDiDJG3M9W5s9yFo9x45Iiycs,628
280
280
  bpy/path/__init__.pyi,sha256=yGX45MUnn9fJYw32UWTsBQ646iN5DbbxfvnoDkREWvI,5537
281
281
  bpy/props/__init__.pyi,sha256=4SYl5qfPLRwe3zGyHowQy_i_mU-gjImdiqidFOHP6Tc,35264
282
- bpy/types/__init__.pyi,sha256=bsZj-iLSOTdsZ1TaTL06IDexcMM1v49yycKXvND6P00,5593097
282
+ bpy/types/__init__.pyi,sha256=7RMWZh4pKHAdcqmBEuSpcRa-7GeEYckzPJ2fYZ9xLuM,5594768
283
283
  bpy/utils/__init__.pyi,sha256=NwKl40t0SfvM2Lce9VmXS9zh6T-ZE1JxleSh9te_d5E,15351
284
284
  bpy/utils/previews/__init__.pyi,sha256=Pji8UKqvI3AJTk5v3nCK92URlJfehxuoaaJW6n9L7XU,2342
285
285
  bpy/utils/units/__init__.pyi,sha256=dc9ZViPAqOap5ZsFfWoI0d6bHdri3pWWiVeRxAaZr-U,2672
@@ -361,7 +361,7 @@ rna_prop_ui/__init__.pyi,sha256=o3yE2C_BSi2O_ZJM_Jao06i6seWMRNQcZaI6keKjpFE,1308
361
361
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
362
  rna_xml/__init__.pyi,sha256=EBP-inpL9KRsjGftcoza9_G_Do5UjXw62eAvuEMoaO0,604
363
363
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
364
- fake_bpy_module-20250425.dist-info/METADATA,sha256=1s9dyHsomuEkeGJ5xBJSUS6DuFYZ1r2pbfK2Maos4zc,7429
365
- fake_bpy_module-20250425.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
366
- fake_bpy_module-20250425.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
- fake_bpy_module-20250425.dist-info/RECORD,,
364
+ fake_bpy_module-20250427.dist-info/METADATA,sha256=NwKieAs9AhBsxmNKJYGUPKB6kUVwlukipLj4zDR37f4,7429
365
+ fake_bpy_module-20250427.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
366
+ fake_bpy_module-20250427.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
+ fake_bpy_module-20250427.dist-info/RECORD,,