fake-bpy-module 20240718__py3-none-any.whl → 20240720__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.
- bl_operators/add_mesh_torus/__init__.pyi +1 -190
- bl_operators/anim/__init__.pyi +104 -1504
- bl_operators/assets/__init__.pyi +3 -535
- bl_operators/bone_selection_sets/__init__.pyi +187 -2680
- bl_operators/clip/__init__.pyi +144 -1894
- bl_operators/connect_to_output/__init__.pyi +3 -176
- bl_operators/console/__init__.pyi +5 -880
- bl_operators/constraint/__init__.pyi +4 -704
- bl_operators/file/__init__.pyi +3 -528
- bl_operators/freestyle/__init__.pyi +4 -704
- bl_operators/geometry_nodes/__init__.pyi +4 -704
- bl_operators/image/__init__.pyi +5 -869
- bl_operators/image_as_planes/__init__.pyi +4 -424
- bl_operators/mesh/__init__.pyi +3 -528
- bl_operators/node/__init__.pyi +159 -2065
- bl_operators/object/__init__.pyi +217 -2842
- bl_operators/object_align/__init__.pyi +1 -176
- bl_operators/object_quick_effects/__init__.pyi +4 -725
- bl_operators/object_randomize_transform/__init__.pyi +1 -176
- bl_operators/presets/__init__.pyi +405 -5487
- bl_operators/rigidbody/__init__.pyi +3 -528
- bl_operators/screen_play_rendered_anim/__init__.pyi +1 -176
- bl_operators/sequencer/__init__.pyi +119 -1507
- bl_operators/spreadsheet/__init__.pyi +1 -176
- bl_operators/userpref/__init__.pyi +383 -4757
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -176
- bl_operators/uvcalc_lightmap/__init__.pyi +1 -176
- bl_operators/uvcalc_transform/__init__.pyi +2 -352
- bl_operators/vertexpaint_dirt/__init__.pyi +1 -176
- bl_operators/view3d/__init__.pyi +101 -1468
- bl_operators/wm/__init__.pyi +723 -8894
- bl_operators/world/__init__.pyi +1 -176
- bl_ui/__init__.pyi +3 -534
- bl_ui/anim/__init__.pyi +1 -244
- bl_ui/asset_shelf/__init__.pyi +1 -189
- bl_ui/generic_ui_list/__init__.pyi +3 -594
- bl_ui/node_add_menu/__init__.pyi +1 -244
- bl_ui/node_add_menu_compositor/__init__.pyi +226 -4600
- bl_ui/node_add_menu_geometry/__init__.pyi +654 -12802
- bl_ui/node_add_menu_shader/__init__.pyi +94 -2531
- bl_ui/node_add_menu_texture/__init__.pyi +81 -2268
- bl_ui/properties_collection/__init__.pyi +58 -1272
- bl_ui/properties_constraint/__init__.pyi +1508 -32656
- bl_ui/properties_data_armature/__init__.pyi +278 -3804
- bl_ui/properties_data_bone/__init__.pyi +151 -2062
- bl_ui/properties_data_camera/__init__.pyi +216 -3034
- bl_ui/properties_data_curve/__init__.pyi +214 -3117
- bl_ui/properties_data_curves/__init__.pyi +57 -1273
- bl_ui/properties_data_empty/__init__.pyi +2 -385
- bl_ui/properties_data_gpencil/__init__.pyi +285 -3922
- bl_ui/properties_data_grease_pencil/__init__.pyi +198 -3081
- bl_ui/properties_data_lattice/__init__.pyi +3 -595
- bl_ui/properties_data_light/__init__.pyi +200 -2502
- bl_ui/properties_data_lightprobe/__init__.pyi +212 -2704
- bl_ui/properties_data_mesh/__init__.pyi +323 -4380
- bl_ui/properties_data_metaball/__init__.pyi +38 -1011
- bl_ui/properties_data_modifier/__init__.pyi +157 -2451
- bl_ui/properties_data_pointcloud/__init__.pyi +68 -1087
- bl_ui/properties_data_shaderfx/__init__.pyi +1 -189
- bl_ui/properties_data_speaker/__init__.pyi +36 -1018
- bl_ui/properties_data_volume/__init__.pyi +104 -1660
- bl_ui/properties_freestyle/__init__.pyi +438 -5136
- bl_ui/properties_grease_pencil_common/__init__.pyi +197 -3852
- bl_ui/properties_mask_common/__init__.pyi +59 -1705
- bl_ui/properties_material/__init__.pyi +227 -3334
- bl_ui/properties_material_gpencil/__init__.pyi +187 -2221
- bl_ui/properties_object/__init__.pyi +197 -2908
- bl_ui/properties_output/__init__.pyi +286 -3895
- bl_ui/properties_paint_common/__init__.pyi +40 -923
- bl_ui/properties_particle/__init__.pyi +954 -10839
- bl_ui/properties_physics_cloth/__init__.pyi +219 -2979
- bl_ui/properties_physics_common/__init__.pyi +1 -196
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +429 -5411
- bl_ui/properties_physics_field/__init__.pyi +160 -2166
- bl_ui/properties_physics_fluid/__init__.pyi +541 -7352
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -189
- bl_ui/properties_physics_rigidbody/__init__.pyi +125 -1623
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +196 -2640
- bl_ui/properties_physics_softbody/__init__.pyi +238 -3135
- bl_ui/properties_render/__init__.pyi +1065 -11565
- bl_ui/properties_scene/__init__.pyi +209 -3090
- bl_ui/properties_texture/__init__.pyi +426 -5475
- bl_ui/properties_view_layer/__init__.pyi +264 -3827
- bl_ui/properties_workspace/__init__.pyi +7 -770
- bl_ui/properties_world/__init__.pyi +147 -2056
- bl_ui/space_clip/__init__.pyi +1013 -16279
- bl_ui/space_console/__init__.pyi +39 -1442
- bl_ui/space_dopesheet/__init__.pyi +450 -7213
- bl_ui/space_filebrowser/__init__.pyi +406 -6708
- bl_ui/space_graph/__init__.pyi +223 -4886
- bl_ui/space_image/__init__.pyi +1091 -16394
- bl_ui/space_info/__init__.pyi +39 -1442
- bl_ui/space_nla/__init__.pyi +216 -4157
- bl_ui/space_node/__init__.pyi +394 -6344
- bl_ui/space_outliner/__init__.pyi +156 -3448
- bl_ui/space_properties/__init__.pyi +3 -567
- bl_ui/space_sequencer/__init__.pyi +1224 -18036
- bl_ui/space_spreadsheet/__init__.pyi +1 -189
- bl_ui/space_statusbar/__init__.pyi +1 -189
- bl_ui/space_text/__init__.pyi +183 -3851
- bl_ui/space_time/__init__.pyi +69 -1622
- bl_ui/space_toolsystem_common/__init__.pyi +2 -118
- bl_ui/space_toolsystem_toolbar/__init__.pyi +13 -476
- bl_ui/space_topbar/__init__.pyi +322 -6269
- bl_ui/space_userpref/__init__.pyi +1758 -19735
- bl_ui/space_view3d/__init__.pyi +3853 -67593
- bl_ui/space_view3d_toolbar/__init__.pyi +1948 -23558
- bl_ui/temp_anim_layers/__init__.pyi +1 -189
- bl_ui/utils/__init__.pyi +0 -35
- bpy/ops/outliner/__init__.pyi +0 -1
- bpy/ops/sound/__init__.pyi +37 -7
- bpy/types/__init__.pyi +65 -8
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/RECORD +120 -120
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- keyingsets_builtins/__init__.pyi +268 -4448
- nodeitems_builtins/__init__.pyi +1 -7
- {fake_bpy_module-20240718.dist-info → fake_bpy_module-20240720.dist-info}/top_level.txt +0 -0
|
@@ -6,7 +6,7 @@ import bpy.types
|
|
|
6
6
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
7
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
8
8
|
|
|
9
|
-
class MoveModifierToNodes:
|
|
9
|
+
class MoveModifierToNodes(bpy.types.Operator):
|
|
10
10
|
"""Move inputs and outputs from in the modifier to a new node group"""
|
|
11
11
|
|
|
12
12
|
bl_idname: typing.Any
|
|
@@ -15,21 +15,6 @@ class MoveModifierToNodes:
|
|
|
15
15
|
bl_rna: typing.Any
|
|
16
16
|
id_data: typing.Any
|
|
17
17
|
|
|
18
|
-
def as_keywords(self, *, ignore=()):
|
|
19
|
-
"""Return a copy of the properties as a dictionary
|
|
20
|
-
|
|
21
|
-
:param ignore:
|
|
22
|
-
"""
|
|
23
|
-
...
|
|
24
|
-
|
|
25
|
-
def as_pointer(self) -> int:
|
|
26
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
27
|
-
|
|
28
|
-
:return: int (memory address).
|
|
29
|
-
:rtype: int
|
|
30
|
-
"""
|
|
31
|
-
...
|
|
32
|
-
|
|
33
18
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
34
19
|
"""
|
|
35
20
|
|
|
@@ -46,22 +31,6 @@ class MoveModifierToNodes:
|
|
|
46
31
|
"""
|
|
47
32
|
...
|
|
48
33
|
|
|
49
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
50
|
-
"""Adds driver(s) to the given property
|
|
51
|
-
|
|
52
|
-
:return: The driver(s) added.
|
|
53
|
-
:rtype: bpy.types.FCurve
|
|
54
|
-
"""
|
|
55
|
-
...
|
|
56
|
-
|
|
57
|
-
def driver_remove(self) -> bool:
|
|
58
|
-
"""Remove driver(s) from the given property
|
|
59
|
-
|
|
60
|
-
:return: Success of driver removal.
|
|
61
|
-
:rtype: bool
|
|
62
|
-
"""
|
|
63
|
-
...
|
|
64
|
-
|
|
65
34
|
def execute(self, context):
|
|
66
35
|
"""
|
|
67
36
|
|
|
@@ -69,34 +38,6 @@ class MoveModifierToNodes:
|
|
|
69
38
|
"""
|
|
70
39
|
...
|
|
71
40
|
|
|
72
|
-
def get(self):
|
|
73
|
-
"""Returns the value of the custom property assigned to key or default
|
|
74
|
-
when not found (matches Python's dictionary function of the same name).
|
|
75
|
-
|
|
76
|
-
"""
|
|
77
|
-
...
|
|
78
|
-
|
|
79
|
-
def id_properties_clear(self):
|
|
80
|
-
"""
|
|
81
|
-
|
|
82
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
83
|
-
"""
|
|
84
|
-
...
|
|
85
|
-
|
|
86
|
-
def id_properties_ensure(self):
|
|
87
|
-
"""
|
|
88
|
-
|
|
89
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
90
|
-
"""
|
|
91
|
-
...
|
|
92
|
-
|
|
93
|
-
def id_properties_ui(self):
|
|
94
|
-
"""
|
|
95
|
-
|
|
96
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
97
|
-
"""
|
|
98
|
-
...
|
|
99
|
-
|
|
100
41
|
def invoke(self, context, event):
|
|
101
42
|
"""
|
|
102
43
|
|
|
@@ -105,83 +46,6 @@ class MoveModifierToNodes:
|
|
|
105
46
|
"""
|
|
106
47
|
...
|
|
107
48
|
|
|
108
|
-
def is_property_hidden(self) -> bool:
|
|
109
|
-
"""Check if a property is hidden.
|
|
110
|
-
|
|
111
|
-
:return: True when the property is hidden.
|
|
112
|
-
:rtype: bool
|
|
113
|
-
"""
|
|
114
|
-
...
|
|
115
|
-
|
|
116
|
-
def is_property_overridable_library(self) -> bool:
|
|
117
|
-
"""Check if a property is overridable.
|
|
118
|
-
|
|
119
|
-
:return: True when the property is overridable.
|
|
120
|
-
:rtype: bool
|
|
121
|
-
"""
|
|
122
|
-
...
|
|
123
|
-
|
|
124
|
-
def is_property_readonly(self) -> bool:
|
|
125
|
-
"""Check if a property is readonly.
|
|
126
|
-
|
|
127
|
-
:return: True when the property is readonly (not writable).
|
|
128
|
-
:rtype: bool
|
|
129
|
-
"""
|
|
130
|
-
...
|
|
131
|
-
|
|
132
|
-
def is_property_set(self) -> bool:
|
|
133
|
-
"""Check if a property is set, use for testing operator properties.
|
|
134
|
-
|
|
135
|
-
:return: True when the property has been set.
|
|
136
|
-
:rtype: bool
|
|
137
|
-
"""
|
|
138
|
-
...
|
|
139
|
-
|
|
140
|
-
def items(self):
|
|
141
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
142
|
-
dictionary function of the same name).
|
|
143
|
-
|
|
144
|
-
:return: custom property key, value pairs.
|
|
145
|
-
"""
|
|
146
|
-
...
|
|
147
|
-
|
|
148
|
-
def keyframe_delete(self) -> bool:
|
|
149
|
-
"""Remove a keyframe from this properties fcurve.
|
|
150
|
-
|
|
151
|
-
:return: Success of keyframe deletion.
|
|
152
|
-
:rtype: bool
|
|
153
|
-
"""
|
|
154
|
-
...
|
|
155
|
-
|
|
156
|
-
def keyframe_insert(self) -> bool:
|
|
157
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
158
|
-
|
|
159
|
-
:return: Success of keyframe insertion.
|
|
160
|
-
:rtype: bool
|
|
161
|
-
"""
|
|
162
|
-
...
|
|
163
|
-
|
|
164
|
-
def keys(self):
|
|
165
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
166
|
-
dictionary function of the same name).
|
|
167
|
-
|
|
168
|
-
:return: custom property keys.
|
|
169
|
-
"""
|
|
170
|
-
...
|
|
171
|
-
|
|
172
|
-
def path_from_id(self) -> str:
|
|
173
|
-
"""Returns the data path from the ID to this object (string).
|
|
174
|
-
|
|
175
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
176
|
-
to this struct and property (when given).
|
|
177
|
-
:rtype: str
|
|
178
|
-
"""
|
|
179
|
-
...
|
|
180
|
-
|
|
181
|
-
def path_resolve(self):
|
|
182
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
183
|
-
...
|
|
184
|
-
|
|
185
49
|
@classmethod
|
|
186
50
|
def poll(cls, context):
|
|
187
51
|
"""
|
|
@@ -190,46 +54,7 @@ class MoveModifierToNodes:
|
|
|
190
54
|
"""
|
|
191
55
|
...
|
|
192
56
|
|
|
193
|
-
|
|
194
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
195
|
-
...
|
|
196
|
-
|
|
197
|
-
def pop(self):
|
|
198
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
199
|
-
when not found (matches Python's dictionary function of the same name).
|
|
200
|
-
|
|
201
|
-
"""
|
|
202
|
-
...
|
|
203
|
-
|
|
204
|
-
def property_overridable_library_set(self) -> bool:
|
|
205
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
206
|
-
|
|
207
|
-
:return: True when the overridable status of the property was successfully set.
|
|
208
|
-
:rtype: bool
|
|
209
|
-
"""
|
|
210
|
-
...
|
|
211
|
-
|
|
212
|
-
def property_unset(self):
|
|
213
|
-
"""Unset a property, will use default value afterward."""
|
|
214
|
-
...
|
|
215
|
-
|
|
216
|
-
def type_recast(self):
|
|
217
|
-
"""Return a new instance, this is needed because types
|
|
218
|
-
such as textures can be changed at runtime.
|
|
219
|
-
|
|
220
|
-
:return: a new instance of this object with the type initialized again.
|
|
221
|
-
"""
|
|
222
|
-
...
|
|
223
|
-
|
|
224
|
-
def values(self):
|
|
225
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
226
|
-
dictionary function of the same name).
|
|
227
|
-
|
|
228
|
-
:return: custom property values.
|
|
229
|
-
"""
|
|
230
|
-
...
|
|
231
|
-
|
|
232
|
-
class NewGeometryNodeGroupTool:
|
|
57
|
+
class NewGeometryNodeGroupTool(bpy.types.Operator):
|
|
233
58
|
"""Create a new geometry node group for a tool"""
|
|
234
59
|
|
|
235
60
|
bl_idname: typing.Any
|
|
@@ -238,21 +63,6 @@ class NewGeometryNodeGroupTool:
|
|
|
238
63
|
bl_rna: typing.Any
|
|
239
64
|
id_data: typing.Any
|
|
240
65
|
|
|
241
|
-
def as_keywords(self, *, ignore=()):
|
|
242
|
-
"""Return a copy of the properties as a dictionary
|
|
243
|
-
|
|
244
|
-
:param ignore:
|
|
245
|
-
"""
|
|
246
|
-
...
|
|
247
|
-
|
|
248
|
-
def as_pointer(self) -> int:
|
|
249
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
250
|
-
|
|
251
|
-
:return: int (memory address).
|
|
252
|
-
:rtype: int
|
|
253
|
-
"""
|
|
254
|
-
...
|
|
255
|
-
|
|
256
66
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
257
67
|
"""
|
|
258
68
|
|
|
@@ -269,22 +79,6 @@ class NewGeometryNodeGroupTool:
|
|
|
269
79
|
"""
|
|
270
80
|
...
|
|
271
81
|
|
|
272
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
273
|
-
"""Adds driver(s) to the given property
|
|
274
|
-
|
|
275
|
-
:return: The driver(s) added.
|
|
276
|
-
:rtype: bpy.types.FCurve
|
|
277
|
-
"""
|
|
278
|
-
...
|
|
279
|
-
|
|
280
|
-
def driver_remove(self) -> bool:
|
|
281
|
-
"""Remove driver(s) from the given property
|
|
282
|
-
|
|
283
|
-
:return: Success of driver removal.
|
|
284
|
-
:rtype: bool
|
|
285
|
-
"""
|
|
286
|
-
...
|
|
287
|
-
|
|
288
82
|
def execute(self, context):
|
|
289
83
|
"""
|
|
290
84
|
|
|
@@ -292,111 +86,6 @@ class NewGeometryNodeGroupTool:
|
|
|
292
86
|
"""
|
|
293
87
|
...
|
|
294
88
|
|
|
295
|
-
def get(self):
|
|
296
|
-
"""Returns the value of the custom property assigned to key or default
|
|
297
|
-
when not found (matches Python's dictionary function of the same name).
|
|
298
|
-
|
|
299
|
-
"""
|
|
300
|
-
...
|
|
301
|
-
|
|
302
|
-
def id_properties_clear(self):
|
|
303
|
-
"""
|
|
304
|
-
|
|
305
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
306
|
-
"""
|
|
307
|
-
...
|
|
308
|
-
|
|
309
|
-
def id_properties_ensure(self):
|
|
310
|
-
"""
|
|
311
|
-
|
|
312
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
313
|
-
"""
|
|
314
|
-
...
|
|
315
|
-
|
|
316
|
-
def id_properties_ui(self):
|
|
317
|
-
"""
|
|
318
|
-
|
|
319
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
320
|
-
"""
|
|
321
|
-
...
|
|
322
|
-
|
|
323
|
-
def is_property_hidden(self) -> bool:
|
|
324
|
-
"""Check if a property is hidden.
|
|
325
|
-
|
|
326
|
-
:return: True when the property is hidden.
|
|
327
|
-
:rtype: bool
|
|
328
|
-
"""
|
|
329
|
-
...
|
|
330
|
-
|
|
331
|
-
def is_property_overridable_library(self) -> bool:
|
|
332
|
-
"""Check if a property is overridable.
|
|
333
|
-
|
|
334
|
-
:return: True when the property is overridable.
|
|
335
|
-
:rtype: bool
|
|
336
|
-
"""
|
|
337
|
-
...
|
|
338
|
-
|
|
339
|
-
def is_property_readonly(self) -> bool:
|
|
340
|
-
"""Check if a property is readonly.
|
|
341
|
-
|
|
342
|
-
:return: True when the property is readonly (not writable).
|
|
343
|
-
:rtype: bool
|
|
344
|
-
"""
|
|
345
|
-
...
|
|
346
|
-
|
|
347
|
-
def is_property_set(self) -> bool:
|
|
348
|
-
"""Check if a property is set, use for testing operator properties.
|
|
349
|
-
|
|
350
|
-
:return: True when the property has been set.
|
|
351
|
-
:rtype: bool
|
|
352
|
-
"""
|
|
353
|
-
...
|
|
354
|
-
|
|
355
|
-
def items(self):
|
|
356
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
357
|
-
dictionary function of the same name).
|
|
358
|
-
|
|
359
|
-
:return: custom property key, value pairs.
|
|
360
|
-
"""
|
|
361
|
-
...
|
|
362
|
-
|
|
363
|
-
def keyframe_delete(self) -> bool:
|
|
364
|
-
"""Remove a keyframe from this properties fcurve.
|
|
365
|
-
|
|
366
|
-
:return: Success of keyframe deletion.
|
|
367
|
-
:rtype: bool
|
|
368
|
-
"""
|
|
369
|
-
...
|
|
370
|
-
|
|
371
|
-
def keyframe_insert(self) -> bool:
|
|
372
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
373
|
-
|
|
374
|
-
:return: Success of keyframe insertion.
|
|
375
|
-
:rtype: bool
|
|
376
|
-
"""
|
|
377
|
-
...
|
|
378
|
-
|
|
379
|
-
def keys(self):
|
|
380
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
381
|
-
dictionary function of the same name).
|
|
382
|
-
|
|
383
|
-
:return: custom property keys.
|
|
384
|
-
"""
|
|
385
|
-
...
|
|
386
|
-
|
|
387
|
-
def path_from_id(self) -> str:
|
|
388
|
-
"""Returns the data path from the ID to this object (string).
|
|
389
|
-
|
|
390
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
391
|
-
to this struct and property (when given).
|
|
392
|
-
:rtype: str
|
|
393
|
-
"""
|
|
394
|
-
...
|
|
395
|
-
|
|
396
|
-
def path_resolve(self):
|
|
397
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
398
|
-
...
|
|
399
|
-
|
|
400
89
|
@classmethod
|
|
401
90
|
def poll(cls, context):
|
|
402
91
|
"""
|
|
@@ -405,46 +94,7 @@ class NewGeometryNodeGroupTool:
|
|
|
405
94
|
"""
|
|
406
95
|
...
|
|
407
96
|
|
|
408
|
-
|
|
409
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
410
|
-
...
|
|
411
|
-
|
|
412
|
-
def pop(self):
|
|
413
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
414
|
-
when not found (matches Python's dictionary function of the same name).
|
|
415
|
-
|
|
416
|
-
"""
|
|
417
|
-
...
|
|
418
|
-
|
|
419
|
-
def property_overridable_library_set(self) -> bool:
|
|
420
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
421
|
-
|
|
422
|
-
:return: True when the overridable status of the property was successfully set.
|
|
423
|
-
:rtype: bool
|
|
424
|
-
"""
|
|
425
|
-
...
|
|
426
|
-
|
|
427
|
-
def property_unset(self):
|
|
428
|
-
"""Unset a property, will use default value afterward."""
|
|
429
|
-
...
|
|
430
|
-
|
|
431
|
-
def type_recast(self):
|
|
432
|
-
"""Return a new instance, this is needed because types
|
|
433
|
-
such as textures can be changed at runtime.
|
|
434
|
-
|
|
435
|
-
:return: a new instance of this object with the type initialized again.
|
|
436
|
-
"""
|
|
437
|
-
...
|
|
438
|
-
|
|
439
|
-
def values(self):
|
|
440
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
441
|
-
dictionary function of the same name).
|
|
442
|
-
|
|
443
|
-
:return: custom property values.
|
|
444
|
-
"""
|
|
445
|
-
...
|
|
446
|
-
|
|
447
|
-
class NewGeometryNodeTreeAssign:
|
|
97
|
+
class NewGeometryNodeTreeAssign(bpy.types.Operator):
|
|
448
98
|
"""Create a new geometry node group and assign it to the active modifier"""
|
|
449
99
|
|
|
450
100
|
bl_idname: typing.Any
|
|
@@ -453,21 +103,6 @@ class NewGeometryNodeTreeAssign:
|
|
|
453
103
|
bl_rna: typing.Any
|
|
454
104
|
id_data: typing.Any
|
|
455
105
|
|
|
456
|
-
def as_keywords(self, *, ignore=()):
|
|
457
|
-
"""Return a copy of the properties as a dictionary
|
|
458
|
-
|
|
459
|
-
:param ignore:
|
|
460
|
-
"""
|
|
461
|
-
...
|
|
462
|
-
|
|
463
|
-
def as_pointer(self) -> int:
|
|
464
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
465
|
-
|
|
466
|
-
:return: int (memory address).
|
|
467
|
-
:rtype: int
|
|
468
|
-
"""
|
|
469
|
-
...
|
|
470
|
-
|
|
471
106
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
472
107
|
"""
|
|
473
108
|
|
|
@@ -484,22 +119,6 @@ class NewGeometryNodeTreeAssign:
|
|
|
484
119
|
"""
|
|
485
120
|
...
|
|
486
121
|
|
|
487
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
488
|
-
"""Adds driver(s) to the given property
|
|
489
|
-
|
|
490
|
-
:return: The driver(s) added.
|
|
491
|
-
:rtype: bpy.types.FCurve
|
|
492
|
-
"""
|
|
493
|
-
...
|
|
494
|
-
|
|
495
|
-
def driver_remove(self) -> bool:
|
|
496
|
-
"""Remove driver(s) from the given property
|
|
497
|
-
|
|
498
|
-
:return: Success of driver removal.
|
|
499
|
-
:rtype: bool
|
|
500
|
-
"""
|
|
501
|
-
...
|
|
502
|
-
|
|
503
122
|
def execute(self, context):
|
|
504
123
|
"""
|
|
505
124
|
|
|
@@ -507,111 +126,6 @@ class NewGeometryNodeTreeAssign:
|
|
|
507
126
|
"""
|
|
508
127
|
...
|
|
509
128
|
|
|
510
|
-
def get(self):
|
|
511
|
-
"""Returns the value of the custom property assigned to key or default
|
|
512
|
-
when not found (matches Python's dictionary function of the same name).
|
|
513
|
-
|
|
514
|
-
"""
|
|
515
|
-
...
|
|
516
|
-
|
|
517
|
-
def id_properties_clear(self):
|
|
518
|
-
"""
|
|
519
|
-
|
|
520
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
521
|
-
"""
|
|
522
|
-
...
|
|
523
|
-
|
|
524
|
-
def id_properties_ensure(self):
|
|
525
|
-
"""
|
|
526
|
-
|
|
527
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
528
|
-
"""
|
|
529
|
-
...
|
|
530
|
-
|
|
531
|
-
def id_properties_ui(self):
|
|
532
|
-
"""
|
|
533
|
-
|
|
534
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
535
|
-
"""
|
|
536
|
-
...
|
|
537
|
-
|
|
538
|
-
def is_property_hidden(self) -> bool:
|
|
539
|
-
"""Check if a property is hidden.
|
|
540
|
-
|
|
541
|
-
:return: True when the property is hidden.
|
|
542
|
-
:rtype: bool
|
|
543
|
-
"""
|
|
544
|
-
...
|
|
545
|
-
|
|
546
|
-
def is_property_overridable_library(self) -> bool:
|
|
547
|
-
"""Check if a property is overridable.
|
|
548
|
-
|
|
549
|
-
:return: True when the property is overridable.
|
|
550
|
-
:rtype: bool
|
|
551
|
-
"""
|
|
552
|
-
...
|
|
553
|
-
|
|
554
|
-
def is_property_readonly(self) -> bool:
|
|
555
|
-
"""Check if a property is readonly.
|
|
556
|
-
|
|
557
|
-
:return: True when the property is readonly (not writable).
|
|
558
|
-
:rtype: bool
|
|
559
|
-
"""
|
|
560
|
-
...
|
|
561
|
-
|
|
562
|
-
def is_property_set(self) -> bool:
|
|
563
|
-
"""Check if a property is set, use for testing operator properties.
|
|
564
|
-
|
|
565
|
-
:return: True when the property has been set.
|
|
566
|
-
:rtype: bool
|
|
567
|
-
"""
|
|
568
|
-
...
|
|
569
|
-
|
|
570
|
-
def items(self):
|
|
571
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
572
|
-
dictionary function of the same name).
|
|
573
|
-
|
|
574
|
-
:return: custom property key, value pairs.
|
|
575
|
-
"""
|
|
576
|
-
...
|
|
577
|
-
|
|
578
|
-
def keyframe_delete(self) -> bool:
|
|
579
|
-
"""Remove a keyframe from this properties fcurve.
|
|
580
|
-
|
|
581
|
-
:return: Success of keyframe deletion.
|
|
582
|
-
:rtype: bool
|
|
583
|
-
"""
|
|
584
|
-
...
|
|
585
|
-
|
|
586
|
-
def keyframe_insert(self) -> bool:
|
|
587
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
588
|
-
|
|
589
|
-
:return: Success of keyframe insertion.
|
|
590
|
-
:rtype: bool
|
|
591
|
-
"""
|
|
592
|
-
...
|
|
593
|
-
|
|
594
|
-
def keys(self):
|
|
595
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
596
|
-
dictionary function of the same name).
|
|
597
|
-
|
|
598
|
-
:return: custom property keys.
|
|
599
|
-
"""
|
|
600
|
-
...
|
|
601
|
-
|
|
602
|
-
def path_from_id(self) -> str:
|
|
603
|
-
"""Returns the data path from the ID to this object (string).
|
|
604
|
-
|
|
605
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
606
|
-
to this struct and property (when given).
|
|
607
|
-
:rtype: str
|
|
608
|
-
"""
|
|
609
|
-
...
|
|
610
|
-
|
|
611
|
-
def path_resolve(self):
|
|
612
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
613
|
-
...
|
|
614
|
-
|
|
615
129
|
@classmethod
|
|
616
130
|
def poll(cls, context):
|
|
617
131
|
"""
|
|
@@ -620,46 +134,7 @@ class NewGeometryNodeTreeAssign:
|
|
|
620
134
|
"""
|
|
621
135
|
...
|
|
622
136
|
|
|
623
|
-
|
|
624
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
625
|
-
...
|
|
626
|
-
|
|
627
|
-
def pop(self):
|
|
628
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
629
|
-
when not found (matches Python's dictionary function of the same name).
|
|
630
|
-
|
|
631
|
-
"""
|
|
632
|
-
...
|
|
633
|
-
|
|
634
|
-
def property_overridable_library_set(self) -> bool:
|
|
635
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
636
|
-
|
|
637
|
-
:return: True when the overridable status of the property was successfully set.
|
|
638
|
-
:rtype: bool
|
|
639
|
-
"""
|
|
640
|
-
...
|
|
641
|
-
|
|
642
|
-
def property_unset(self):
|
|
643
|
-
"""Unset a property, will use default value afterward."""
|
|
644
|
-
...
|
|
645
|
-
|
|
646
|
-
def type_recast(self):
|
|
647
|
-
"""Return a new instance, this is needed because types
|
|
648
|
-
such as textures can be changed at runtime.
|
|
649
|
-
|
|
650
|
-
:return: a new instance of this object with the type initialized again.
|
|
651
|
-
"""
|
|
652
|
-
...
|
|
653
|
-
|
|
654
|
-
def values(self):
|
|
655
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
656
|
-
dictionary function of the same name).
|
|
657
|
-
|
|
658
|
-
:return: custom property values.
|
|
659
|
-
"""
|
|
660
|
-
...
|
|
661
|
-
|
|
662
|
-
class NewGeometryNodesModifier:
|
|
137
|
+
class NewGeometryNodesModifier(bpy.types.Operator):
|
|
663
138
|
"""Create a new modifier with a new geometry node group"""
|
|
664
139
|
|
|
665
140
|
bl_idname: typing.Any
|
|
@@ -668,21 +143,6 @@ class NewGeometryNodesModifier:
|
|
|
668
143
|
bl_rna: typing.Any
|
|
669
144
|
id_data: typing.Any
|
|
670
145
|
|
|
671
|
-
def as_keywords(self, *, ignore=()):
|
|
672
|
-
"""Return a copy of the properties as a dictionary
|
|
673
|
-
|
|
674
|
-
:param ignore:
|
|
675
|
-
"""
|
|
676
|
-
...
|
|
677
|
-
|
|
678
|
-
def as_pointer(self) -> int:
|
|
679
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
680
|
-
|
|
681
|
-
:return: int (memory address).
|
|
682
|
-
:rtype: int
|
|
683
|
-
"""
|
|
684
|
-
...
|
|
685
|
-
|
|
686
146
|
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
687
147
|
"""
|
|
688
148
|
|
|
@@ -699,22 +159,6 @@ class NewGeometryNodesModifier:
|
|
|
699
159
|
"""
|
|
700
160
|
...
|
|
701
161
|
|
|
702
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
703
|
-
"""Adds driver(s) to the given property
|
|
704
|
-
|
|
705
|
-
:return: The driver(s) added.
|
|
706
|
-
:rtype: bpy.types.FCurve
|
|
707
|
-
"""
|
|
708
|
-
...
|
|
709
|
-
|
|
710
|
-
def driver_remove(self) -> bool:
|
|
711
|
-
"""Remove driver(s) from the given property
|
|
712
|
-
|
|
713
|
-
:return: Success of driver removal.
|
|
714
|
-
:rtype: bool
|
|
715
|
-
"""
|
|
716
|
-
...
|
|
717
|
-
|
|
718
162
|
def execute(self, context):
|
|
719
163
|
"""
|
|
720
164
|
|
|
@@ -722,111 +166,6 @@ class NewGeometryNodesModifier:
|
|
|
722
166
|
"""
|
|
723
167
|
...
|
|
724
168
|
|
|
725
|
-
def get(self):
|
|
726
|
-
"""Returns the value of the custom property assigned to key or default
|
|
727
|
-
when not found (matches Python's dictionary function of the same name).
|
|
728
|
-
|
|
729
|
-
"""
|
|
730
|
-
...
|
|
731
|
-
|
|
732
|
-
def id_properties_clear(self):
|
|
733
|
-
"""
|
|
734
|
-
|
|
735
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
736
|
-
"""
|
|
737
|
-
...
|
|
738
|
-
|
|
739
|
-
def id_properties_ensure(self):
|
|
740
|
-
"""
|
|
741
|
-
|
|
742
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
743
|
-
"""
|
|
744
|
-
...
|
|
745
|
-
|
|
746
|
-
def id_properties_ui(self):
|
|
747
|
-
"""
|
|
748
|
-
|
|
749
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
750
|
-
"""
|
|
751
|
-
...
|
|
752
|
-
|
|
753
|
-
def is_property_hidden(self) -> bool:
|
|
754
|
-
"""Check if a property is hidden.
|
|
755
|
-
|
|
756
|
-
:return: True when the property is hidden.
|
|
757
|
-
:rtype: bool
|
|
758
|
-
"""
|
|
759
|
-
...
|
|
760
|
-
|
|
761
|
-
def is_property_overridable_library(self) -> bool:
|
|
762
|
-
"""Check if a property is overridable.
|
|
763
|
-
|
|
764
|
-
:return: True when the property is overridable.
|
|
765
|
-
:rtype: bool
|
|
766
|
-
"""
|
|
767
|
-
...
|
|
768
|
-
|
|
769
|
-
def is_property_readonly(self) -> bool:
|
|
770
|
-
"""Check if a property is readonly.
|
|
771
|
-
|
|
772
|
-
:return: True when the property is readonly (not writable).
|
|
773
|
-
:rtype: bool
|
|
774
|
-
"""
|
|
775
|
-
...
|
|
776
|
-
|
|
777
|
-
def is_property_set(self) -> bool:
|
|
778
|
-
"""Check if a property is set, use for testing operator properties.
|
|
779
|
-
|
|
780
|
-
:return: True when the property has been set.
|
|
781
|
-
:rtype: bool
|
|
782
|
-
"""
|
|
783
|
-
...
|
|
784
|
-
|
|
785
|
-
def items(self):
|
|
786
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
787
|
-
dictionary function of the same name).
|
|
788
|
-
|
|
789
|
-
:return: custom property key, value pairs.
|
|
790
|
-
"""
|
|
791
|
-
...
|
|
792
|
-
|
|
793
|
-
def keyframe_delete(self) -> bool:
|
|
794
|
-
"""Remove a keyframe from this properties fcurve.
|
|
795
|
-
|
|
796
|
-
:return: Success of keyframe deletion.
|
|
797
|
-
:rtype: bool
|
|
798
|
-
"""
|
|
799
|
-
...
|
|
800
|
-
|
|
801
|
-
def keyframe_insert(self) -> bool:
|
|
802
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
803
|
-
|
|
804
|
-
:return: Success of keyframe insertion.
|
|
805
|
-
:rtype: bool
|
|
806
|
-
"""
|
|
807
|
-
...
|
|
808
|
-
|
|
809
|
-
def keys(self):
|
|
810
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
811
|
-
dictionary function of the same name).
|
|
812
|
-
|
|
813
|
-
:return: custom property keys.
|
|
814
|
-
"""
|
|
815
|
-
...
|
|
816
|
-
|
|
817
|
-
def path_from_id(self) -> str:
|
|
818
|
-
"""Returns the data path from the ID to this object (string).
|
|
819
|
-
|
|
820
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
821
|
-
to this struct and property (when given).
|
|
822
|
-
:rtype: str
|
|
823
|
-
"""
|
|
824
|
-
...
|
|
825
|
-
|
|
826
|
-
def path_resolve(self):
|
|
827
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
828
|
-
...
|
|
829
|
-
|
|
830
169
|
@classmethod
|
|
831
170
|
def poll(cls, context):
|
|
832
171
|
"""
|
|
@@ -835,45 +174,6 @@ class NewGeometryNodesModifier:
|
|
|
835
174
|
"""
|
|
836
175
|
...
|
|
837
176
|
|
|
838
|
-
def poll_message_set(self):
|
|
839
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
840
|
-
...
|
|
841
|
-
|
|
842
|
-
def pop(self):
|
|
843
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
844
|
-
when not found (matches Python's dictionary function of the same name).
|
|
845
|
-
|
|
846
|
-
"""
|
|
847
|
-
...
|
|
848
|
-
|
|
849
|
-
def property_overridable_library_set(self) -> bool:
|
|
850
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
851
|
-
|
|
852
|
-
:return: True when the overridable status of the property was successfully set.
|
|
853
|
-
:rtype: bool
|
|
854
|
-
"""
|
|
855
|
-
...
|
|
856
|
-
|
|
857
|
-
def property_unset(self):
|
|
858
|
-
"""Unset a property, will use default value afterward."""
|
|
859
|
-
...
|
|
860
|
-
|
|
861
|
-
def type_recast(self):
|
|
862
|
-
"""Return a new instance, this is needed because types
|
|
863
|
-
such as textures can be changed at runtime.
|
|
864
|
-
|
|
865
|
-
:return: a new instance of this object with the type initialized again.
|
|
866
|
-
"""
|
|
867
|
-
...
|
|
868
|
-
|
|
869
|
-
def values(self):
|
|
870
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
871
|
-
dictionary function of the same name).
|
|
872
|
-
|
|
873
|
-
:return: custom property values.
|
|
874
|
-
"""
|
|
875
|
-
...
|
|
876
|
-
|
|
877
177
|
class ZoneOperator:
|
|
878
178
|
@classmethod
|
|
879
179
|
def get_node(cls, context):
|