fake-bpy-module 20240705__py3-none-any.whl → 20240707__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.
- _bpy_internal/__init__.pyi +1 -0
- _bpy_internal/extensions/__init__.pyi +1 -0
- _bpy_internal/extensions/junction_module/__init__.pyi +1 -0
- _bpy_internal/extensions/wheel_manager/__init__.pyi +1 -0
- _bpy_internal/freedesktop/__init__.pyi +1 -0
- addon_utils/__init__.pyi +1 -0
- animsys_refactor/__init__.pyi +1 -0
- aud/__init__.pyi +1 -0
- bgl/__init__.pyi +1 -0
- bl_app_override/__init__.pyi +1 -0
- bl_app_override/helpers/__init__.pyi +1 -0
- bl_app_template_utils/__init__.pyi +1 -0
- bl_console_utils/__init__.pyi +1 -0
- bl_console_utils/autocomplete/__init__.pyi +1 -0
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +1 -0
- bl_console_utils/autocomplete/complete_import/__init__.pyi +1 -0
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +1 -0
- bl_console_utils/autocomplete/intellisense/__init__.pyi +1 -0
- bl_i18n_utils/__init__.pyi +1 -0
- bl_i18n_utils/bl_extract_messages/__init__.pyi +1 -0
- bl_i18n_utils/merge_po/__init__.pyi +1 -0
- bl_i18n_utils/settings/__init__.pyi +1 -0
- bl_i18n_utils/utils/__init__.pyi +1 -0
- bl_i18n_utils/utils_cli/__init__.pyi +1 -0
- bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -0
- bl_i18n_utils/utils_rtl/__init__.pyi +1 -0
- bl_keymap_utils/__init__.pyi +1 -0
- bl_keymap_utils/io/__init__.pyi +1 -0
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -0
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -0
- bl_keymap_utils/platform_helpers/__init__.pyi +1 -0
- bl_keymap_utils/versioning/__init__.pyi +1 -0
- bl_math/__init__.pyi +1 -0
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +1 -0
- bl_operators/anim/__init__.pyi +1 -0
- bl_operators/assets/__init__.pyi +9 -8
- bl_operators/bmesh/__init__.pyi +1 -0
- bl_operators/bmesh/find_adjacent/__init__.pyi +1 -0
- bl_operators/clip/__init__.pyi +1 -0
- bl_operators/connect_to_output/__init__.pyi +1 -0
- bl_operators/console/__init__.pyi +1 -0
- bl_operators/constraint/__init__.pyi +1 -0
- bl_operators/file/__init__.pyi +1 -0
- bl_operators/freestyle/__init__.pyi +1 -0
- bl_operators/geometry_nodes/__init__.pyi +1 -0
- bl_operators/image/__init__.pyi +1 -0
- bl_operators/image_as_planes/__init__.pyi +44 -43
- bl_operators/mesh/__init__.pyi +1 -0
- bl_operators/node/__init__.pyi +235 -234
- bl_operators/node_editor/__init__.pyi +1 -0
- bl_operators/node_editor/node_functions/__init__.pyi +1 -0
- bl_operators/object/__init__.pyi +1 -0
- bl_operators/object_align/__init__.pyi +1 -0
- bl_operators/object_quick_effects/__init__.pyi +22 -21
- bl_operators/object_randomize_transform/__init__.pyi +1 -0
- bl_operators/presets/__init__.pyi +389 -388
- bl_operators/rigidbody/__init__.pyi +1 -0
- bl_operators/screen_play_rendered_anim/__init__.pyi +1 -0
- bl_operators/sequencer/__init__.pyi +1 -0
- bl_operators/spreadsheet/__init__.pyi +1 -0
- bl_operators/userpref/__init__.pyi +1 -0
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -0
- bl_operators/uvcalc_lightmap/__init__.pyi +1 -0
- bl_operators/uvcalc_transform/__init__.pyi +1 -0
- bl_operators/vertexpaint_dirt/__init__.pyi +1 -0
- bl_operators/view3d/__init__.pyi +1 -0
- bl_operators/wm/__init__.pyi +1 -0
- bl_operators/world/__init__.pyi +1 -0
- bl_previews_utils/__init__.pyi +1 -0
- bl_previews_utils/bl_previews_render/__init__.pyi +1 -0
- bl_rna_utils/__init__.pyi +1 -0
- bl_rna_utils/data_path/__init__.pyi +1 -0
- bl_text_utils/__init__.pyi +1 -0
- bl_text_utils/external_editor/__init__.pyi +1 -0
- bl_ui/__init__.pyi +1 -0
- bl_ui/anim/__init__.pyi +1 -0
- bl_ui/asset_shelf/__init__.pyi +1 -0
- bl_ui/generic_ui_list/__init__.pyi +1 -0
- bl_ui/node_add_menu/__init__.pyi +1 -0
- bl_ui/node_add_menu_compositor/__init__.pyi +1 -0
- bl_ui/node_add_menu_geometry/__init__.pyi +1 -0
- bl_ui/node_add_menu_shader/__init__.pyi +1 -0
- bl_ui/node_add_menu_texture/__init__.pyi +1 -0
- bl_ui/properties_animviz/__init__.pyi +1 -0
- bl_ui/properties_collection/__init__.pyi +13 -12
- bl_ui/properties_constraint/__init__.pyi +955 -954
- bl_ui/properties_data_armature/__init__.pyi +86 -85
- bl_ui/properties_data_bone/__init__.pyi +13 -12
- bl_ui/properties_data_camera/__init__.pyi +1 -0
- bl_ui/properties_data_curve/__init__.pyi +93 -92
- bl_ui/properties_data_curves/__init__.pyi +13 -12
- bl_ui/properties_data_empty/__init__.pyi +13 -12
- bl_ui/properties_data_gpencil/__init__.pyi +266 -265
- bl_ui/properties_data_grease_pencil/__init__.pyi +313 -312
- bl_ui/properties_data_lattice/__init__.pyi +13 -12
- bl_ui/properties_data_light/__init__.pyi +13 -12
- bl_ui/properties_data_lightprobe/__init__.pyi +13 -12
- bl_ui/properties_data_mesh/__init__.pyi +528 -527
- bl_ui/properties_data_metaball/__init__.pyi +13 -12
- bl_ui/properties_data_modifier/__init__.pyi +20 -19
- bl_ui/properties_data_pointcloud/__init__.pyi +141 -140
- bl_ui/properties_data_shaderfx/__init__.pyi +6 -5
- bl_ui/properties_data_speaker/__init__.pyi +13 -12
- bl_ui/properties_data_volume/__init__.pyi +66 -65
- bl_ui/properties_freestyle/__init__.pyi +249 -248
- bl_ui/properties_grease_pencil_common/__init__.pyi +1 -0
- bl_ui/properties_mask_common/__init__.pyi +1 -0
- bl_ui/properties_material/__init__.pyi +146 -145
- bl_ui/properties_material_gpencil/__init__.pyi +87 -86
- bl_ui/properties_object/__init__.pyi +76 -75
- bl_ui/properties_output/__init__.pyi +202 -201
- bl_ui/properties_paint_common/__init__.pyi +1 -0
- bl_ui/properties_particle/__init__.pyi +221 -220
- bl_ui/properties_physics_cloth/__init__.pyi +13 -12
- bl_ui/properties_physics_common/__init__.pyi +13 -12
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +188 -187
- bl_ui/properties_physics_field/__init__.pyi +20 -19
- bl_ui/properties_physics_fluid/__init__.pyi +62 -61
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -0
- bl_ui/properties_physics_rigidbody/__init__.pyi +6 -5
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +6 -5
- bl_ui/properties_physics_softbody/__init__.pyi +13 -12
- bl_ui/properties_render/__init__.pyi +218 -217
- bl_ui/properties_scene/__init__.pyi +144 -143
- bl_ui/properties_texture/__init__.pyi +157 -156
- bl_ui/properties_view_layer/__init__.pyi +79 -78
- bl_ui/properties_workspace/__init__.pyi +65 -64
- bl_ui/properties_world/__init__.pyi +13 -12
- bl_ui/space_clip/__init__.pyi +367 -366
- bl_ui/space_console/__init__.pyi +1 -0
- bl_ui/space_dopesheet/__init__.pyi +177 -176
- bl_ui/space_filebrowser/__init__.pyi +736 -735
- bl_ui/space_graph/__init__.pyi +1 -0
- bl_ui/space_image/__init__.pyi +647 -646
- bl_ui/space_info/__init__.pyi +1 -0
- bl_ui/space_nla/__init__.pyi +1 -0
- bl_ui/space_node/__init__.pyi +1 -0
- bl_ui/space_outliner/__init__.pyi +1 -0
- bl_ui/space_properties/__init__.pyi +1 -0
- bl_ui/space_sequencer/__init__.pyi +842 -389
- bl_ui/space_spreadsheet/__init__.pyi +1 -0
- bl_ui/space_statusbar/__init__.pyi +1 -0
- bl_ui/space_text/__init__.pyi +1 -0
- bl_ui/space_time/__init__.pyi +12 -11
- bl_ui/space_toolsystem_common/__init__.pyi +1 -0
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1 -0
- bl_ui/space_topbar/__init__.pyi +1 -0
- bl_ui/space_userpref/__init__.pyi +685 -684
- bl_ui/space_view3d/__init__.pyi +1153 -1152
- bl_ui/space_view3d_toolbar/__init__.pyi +2832 -2831
- bl_ui/temp_anim_layers/__init__.pyi +1 -0
- bl_ui/utils/__init__.pyi +1 -0
- bl_ui_utils/__init__.pyi +1 -0
- bl_ui_utils/bug_report_url/__init__.pyi +1 -0
- bl_ui_utils/layout/__init__.pyi +1 -0
- blend_render_info/__init__.pyi +1 -0
- blf/__init__.pyi +1 -0
- bmesh/__init__.pyi +1 -0
- bmesh/geometry/__init__.pyi +1 -0
- bmesh/ops/__init__.pyi +1 -0
- bmesh/types/__init__.pyi +1 -0
- bmesh/utils/__init__.pyi +1 -0
- bpy/__init__.pyi +1 -0
- bpy/app/__init__.pyi +1 -0
- bpy/app/handlers/__init__.pyi +1 -0
- bpy/app/icons/__init__.pyi +1 -0
- bpy/app/timers/__init__.pyi +1 -0
- bpy/app/translations/__init__.pyi +1 -0
- bpy/msgbus/__init__.pyi +1 -0
- bpy/ops/__init__.pyi +1 -0
- bpy/ops/action/__init__.pyi +1 -0
- bpy/ops/anim/__init__.pyi +15 -14
- bpy/ops/armature/__init__.pyi +1 -0
- bpy/ops/asset/__init__.pyi +1 -0
- bpy/ops/boid/__init__.pyi +1 -0
- bpy/ops/brush/__init__.pyi +1 -0
- bpy/ops/buttons/__init__.pyi +1 -0
- bpy/ops/cachefile/__init__.pyi +1 -0
- bpy/ops/camera/__init__.pyi +1 -0
- bpy/ops/clip/__init__.pyi +1 -0
- bpy/ops/cloth/__init__.pyi +1 -0
- bpy/ops/collection/__init__.pyi +1 -0
- bpy/ops/console/__init__.pyi +1 -0
- bpy/ops/constraint/__init__.pyi +1 -0
- bpy/ops/curve/__init__.pyi +1 -0
- bpy/ops/curves/__init__.pyi +1 -0
- bpy/ops/cycles/__init__.pyi +1 -0
- bpy/ops/dpaint/__init__.pyi +1 -0
- bpy/ops/ed/__init__.pyi +1 -0
- bpy/ops/export_anim/__init__.pyi +1 -0
- bpy/ops/export_scene/__init__.pyi +1 -0
- bpy/ops/extensions/__init__.pyi +1 -0
- bpy/ops/file/__init__.pyi +1 -0
- bpy/ops/fluid/__init__.pyi +1 -0
- bpy/ops/font/__init__.pyi +1 -0
- bpy/ops/geometry/__init__.pyi +1 -0
- bpy/ops/gizmogroup/__init__.pyi +1 -0
- bpy/ops/gpencil/__init__.pyi +1 -0
- bpy/ops/graph/__init__.pyi +1 -0
- bpy/ops/grease_pencil/__init__.pyi +19 -0
- bpy/ops/image/__init__.pyi +1 -0
- bpy/ops/import_anim/__init__.pyi +1 -0
- bpy/ops/import_curve/__init__.pyi +1 -0
- bpy/ops/import_scene/__init__.pyi +1 -0
- bpy/ops/info/__init__.pyi +1 -0
- bpy/ops/lattice/__init__.pyi +1 -0
- bpy/ops/marker/__init__.pyi +1 -0
- bpy/ops/mask/__init__.pyi +1 -0
- bpy/ops/material/__init__.pyi +1 -0
- bpy/ops/mball/__init__.pyi +1 -0
- bpy/ops/mesh/__init__.pyi +7 -2
- bpy/ops/nla/__init__.pyi +1 -0
- bpy/ops/node/__init__.pyi +1 -0
- bpy/ops/object/__init__.pyi +2 -1
- bpy/ops/outliner/__init__.pyi +1 -0
- bpy/ops/paint/__init__.pyi +1 -0
- bpy/ops/paintcurve/__init__.pyi +1 -0
- bpy/ops/palette/__init__.pyi +1 -0
- bpy/ops/particle/__init__.pyi +1 -0
- bpy/ops/pose/__init__.pyi +1 -0
- bpy/ops/poselib/__init__.pyi +1 -0
- bpy/ops/preferences/__init__.pyi +1 -0
- bpy/ops/ptcache/__init__.pyi +1 -0
- bpy/ops/render/__init__.pyi +1 -0
- bpy/ops/rigidbody/__init__.pyi +1 -0
- bpy/ops/scene/__init__.pyi +1 -0
- bpy/ops/screen/__init__.pyi +1 -0
- bpy/ops/script/__init__.pyi +1 -0
- bpy/ops/sculpt/__init__.pyi +1 -0
- bpy/ops/sculpt_curves/__init__.pyi +1 -0
- bpy/ops/sequencer/__init__.pyi +1 -0
- bpy/ops/sound/__init__.pyi +1 -0
- bpy/ops/spreadsheet/__init__.pyi +1 -0
- bpy/ops/surface/__init__.pyi +1 -0
- bpy/ops/text/__init__.pyi +1 -0
- bpy/ops/text_editor/__init__.pyi +1 -0
- bpy/ops/texture/__init__.pyi +1 -0
- bpy/ops/transform/__init__.pyi +17 -16
- bpy/ops/ui/__init__.pyi +1 -0
- bpy/ops/uilist/__init__.pyi +1 -0
- bpy/ops/uv/__init__.pyi +1 -0
- bpy/ops/view2d/__init__.pyi +1 -0
- bpy/ops/view3d/__init__.pyi +1 -0
- bpy/ops/wm/__init__.pyi +5 -4
- bpy/ops/workspace/__init__.pyi +1 -0
- bpy/ops/world/__init__.pyi +1 -0
- bpy/path/__init__.pyi +1 -0
- bpy/props/__init__.pyi +1 -0
- bpy/types/__init__.pyi +68824 -68756
- bpy/utils/__init__.pyi +1 -0
- bpy/utils/previews/__init__.pyi +1 -0
- bpy/utils/units/__init__.pyi +1 -0
- bpy_extras/__init__.pyi +1 -0
- bpy_extras/anim_utils/__init__.pyi +1 -0
- bpy_extras/asset_utils/__init__.pyi +1 -0
- bpy_extras/bmesh_utils/__init__.pyi +1 -0
- bpy_extras/id_map_utils/__init__.pyi +1 -0
- bpy_extras/image_utils/__init__.pyi +1 -0
- bpy_extras/io_utils/__init__.pyi +1 -0
- bpy_extras/keyconfig_utils/__init__.pyi +1 -0
- bpy_extras/mesh_utils/__init__.pyi +1 -0
- bpy_extras/node_shader_utils/__init__.pyi +1 -0
- bpy_extras/node_utils/__init__.pyi +1 -0
- bpy_extras/object_utils/__init__.pyi +1 -0
- bpy_extras/view3d_utils/__init__.pyi +1 -0
- bpy_extras/wm_utils/__init__.pyi +1 -0
- bpy_extras/wm_utils/progress_report/__init__.pyi +1 -0
- bpy_restrict_state/__init__.pyi +1 -0
- bpy_types/__init__.pyi +1 -0
- console_python/__init__.pyi +1 -0
- console_shell/__init__.pyi +1 -0
- {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/METADATA +1 -1
- fake_bpy_module-20240707.dist-info/RECORD +358 -0
- freestyle/__init__.pyi +1 -0
- freestyle/chainingiterators/__init__.pyi +1 -0
- freestyle/functions/__init__.pyi +1 -0
- freestyle/predicates/__init__.pyi +1 -0
- freestyle/shaders/__init__.pyi +1 -0
- freestyle/types/__init__.pyi +1 -0
- freestyle/utils/ContextFunctions/__init__.pyi +1 -0
- freestyle/utils/__init__.pyi +2 -1
- gpu/__init__.pyi +1 -0
- gpu/capabilities/__init__.pyi +1 -0
- gpu/matrix/__init__.pyi +1 -0
- gpu/platform/__init__.pyi +1 -0
- gpu/select/__init__.pyi +1 -0
- gpu/shader/__init__.pyi +1 -0
- gpu/state/__init__.pyi +1 -0
- gpu/texture/__init__.pyi +1 -0
- gpu/types/__init__.pyi +1 -0
- gpu_extras/__init__.pyi +1 -0
- gpu_extras/batch/__init__.pyi +1 -0
- gpu_extras/presets/__init__.pyi +1 -0
- graphviz_export/__init__.pyi +1 -0
- idprop/__init__.pyi +1 -0
- idprop/types/__init__.pyi +1 -0
- imbuf/__init__.pyi +1 -0
- imbuf/types/__init__.pyi +1 -0
- keyingsets_builtins/__init__.pyi +88 -87
- keyingsets_utils/__init__.pyi +1 -0
- mathutils/__init__.pyi +157 -6
- mathutils/bvhtree/__init__.pyi +1 -0
- mathutils/geometry/__init__.pyi +1 -0
- mathutils/interpolate/__init__.pyi +1 -0
- mathutils/kdtree/__init__.pyi +1 -0
- mathutils/noise/__init__.pyi +1 -0
- nodeitems_builtins/__init__.pyi +8 -7
- nodeitems_utils/__init__.pyi +1 -0
- rna_info/__init__.pyi +1 -0
- rna_keymap_ui/__init__.pyi +1 -0
- rna_prop_ui/__init__.pyi +1 -0
- rna_xml/__init__.pyi +1 -0
- sys_info/__init__.pyi +1 -0
- fake_bpy_module-20240705.dist-info/RECORD +0 -358
- {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240705.dist-info → fake_bpy_module-20240707.dist-info}/top_level.txt +0 -0
|
@@ -1,26 +1,20 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
|
+
import typing_extensions
|
|
3
4
|
import bpy.types
|
|
4
5
|
import bpy_types
|
|
5
6
|
|
|
6
7
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
8
9
|
|
|
9
|
-
class MaterialFreestyleButtonsPanel:
|
|
10
|
+
class MATERIAL_PT_freestyle_line(MaterialFreestyleButtonsPanel, bpy_types._GenericUI):
|
|
11
|
+
COMPAT_ENGINES: typing.Any
|
|
10
12
|
bl_context: typing.Any
|
|
11
|
-
bl_region_type: typing.Any
|
|
12
|
-
bl_space_type: typing.Any
|
|
13
|
-
|
|
14
|
-
def poll(self, context):
|
|
15
|
-
"""
|
|
16
|
-
|
|
17
|
-
:param context:
|
|
18
|
-
"""
|
|
19
|
-
...
|
|
20
|
-
|
|
21
|
-
class RENDER_MT_lineset_context_menu(bpy_types._GenericUI):
|
|
22
13
|
bl_label: typing.Any
|
|
14
|
+
bl_options: typing.Any
|
|
15
|
+
bl_region_type: typing.Any
|
|
23
16
|
bl_rna: typing.Any
|
|
17
|
+
bl_space_type: typing.Any
|
|
24
18
|
id_data: typing.Any
|
|
25
19
|
|
|
26
20
|
def append(self, draw_func):
|
|
@@ -55,30 +49,10 @@ class RENDER_MT_lineset_context_menu(bpy_types._GenericUI):
|
|
|
55
49
|
"""
|
|
56
50
|
...
|
|
57
51
|
|
|
58
|
-
def draw(self,
|
|
59
|
-
"""
|
|
60
|
-
|
|
61
|
-
:param _context:
|
|
62
|
-
"""
|
|
63
|
-
...
|
|
64
|
-
|
|
65
|
-
def draw_collapsible(self, context, layout):
|
|
52
|
+
def draw(self, context):
|
|
66
53
|
"""
|
|
67
54
|
|
|
68
55
|
:param context:
|
|
69
|
-
:param layout:
|
|
70
|
-
"""
|
|
71
|
-
...
|
|
72
|
-
|
|
73
|
-
def draw_preset(self, _context):
|
|
74
|
-
"""Define these on the subclass:
|
|
75
|
-
- preset_operator (string)
|
|
76
|
-
- preset_subdir (string)Optionally:
|
|
77
|
-
- preset_add_operator (string)
|
|
78
|
-
- preset_extensions (set of strings)
|
|
79
|
-
- preset_operator_defaults (dict of keyword args)
|
|
80
|
-
|
|
81
|
-
:param _context:
|
|
82
56
|
"""
|
|
83
57
|
...
|
|
84
58
|
|
|
@@ -200,42 +174,15 @@ class RENDER_MT_lineset_context_menu(bpy_types._GenericUI):
|
|
|
200
174
|
"""
|
|
201
175
|
...
|
|
202
176
|
|
|
203
|
-
def
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
operator: str,
|
|
207
|
-
props_default: dict = None,
|
|
208
|
-
prop_filepath: str | None = "filepath",
|
|
209
|
-
filter_ext: collections.abc.Callable | None = None,
|
|
210
|
-
filter_path=None,
|
|
211
|
-
display_name: collections.abc.Callable | None = None,
|
|
212
|
-
add_operator=None,
|
|
213
|
-
add_operator_props=None,
|
|
214
|
-
):
|
|
215
|
-
"""Populate a menu from a list of paths.
|
|
216
|
-
|
|
217
|
-
:param searchpaths: Paths to scan.
|
|
218
|
-
:type searchpaths: list[str]
|
|
219
|
-
:param operator: The operator id to use with each file.
|
|
220
|
-
:type operator: str
|
|
221
|
-
:param props_default: Properties to assign to each operator.
|
|
222
|
-
:type props_default: dict
|
|
223
|
-
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
224
|
-
:type prop_filepath: str | None
|
|
225
|
-
:param filter_ext: Optional callback that takes the file extensions.
|
|
177
|
+
def path_resolve(self):
|
|
178
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
179
|
+
...
|
|
226
180
|
|
|
227
|
-
|
|
228
|
-
:type filter_ext: collections.abc.Callable | None
|
|
229
|
-
:param filter_path:
|
|
230
|
-
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
231
|
-
:type display_name: collections.abc.Callable | None
|
|
232
|
-
:param add_operator:
|
|
233
|
-
:param add_operator_props:
|
|
181
|
+
def poll(self, context):
|
|
234
182
|
"""
|
|
235
|
-
...
|
|
236
183
|
|
|
237
|
-
|
|
238
|
-
"""
|
|
184
|
+
:param context:
|
|
185
|
+
"""
|
|
239
186
|
...
|
|
240
187
|
|
|
241
188
|
def pop(self):
|
|
@@ -288,21 +235,8 @@ class RENDER_MT_lineset_context_menu(bpy_types._GenericUI):
|
|
|
288
235
|
"""
|
|
289
236
|
...
|
|
290
237
|
|
|
291
|
-
class
|
|
292
|
-
bl_context: typing.Any
|
|
293
|
-
bl_region_type: typing.Any
|
|
294
|
-
bl_space_type: typing.Any
|
|
295
|
-
|
|
296
|
-
def poll(self, context):
|
|
297
|
-
"""
|
|
298
|
-
|
|
299
|
-
:param context:
|
|
300
|
-
"""
|
|
301
|
-
...
|
|
302
|
-
|
|
303
|
-
class ViewLayerFreestyleButtonsPanel:
|
|
238
|
+
class MaterialFreestyleButtonsPanel:
|
|
304
239
|
bl_context: typing.Any
|
|
305
|
-
bl_order: typing.Any
|
|
306
240
|
bl_region_type: typing.Any
|
|
307
241
|
bl_space_type: typing.Any
|
|
308
242
|
|
|
@@ -313,7 +247,8 @@ class ViewLayerFreestyleButtonsPanel:
|
|
|
313
247
|
"""
|
|
314
248
|
...
|
|
315
249
|
|
|
316
|
-
class
|
|
250
|
+
class RENDER_MT_lineset_context_menu(bpy_types._GenericUI):
|
|
251
|
+
bl_label: typing.Any
|
|
317
252
|
bl_rna: typing.Any
|
|
318
253
|
id_data: typing.Any
|
|
319
254
|
|
|
@@ -349,19 +284,30 @@ class VIEWLAYER_UL_linesets(bpy_types._GenericUI):
|
|
|
349
284
|
"""
|
|
350
285
|
...
|
|
351
286
|
|
|
352
|
-
def
|
|
353
|
-
self, _context, layout, _data, item, icon, _active_data, _active_propname, index
|
|
354
|
-
):
|
|
287
|
+
def draw(self, _context):
|
|
355
288
|
"""
|
|
356
289
|
|
|
357
290
|
:param _context:
|
|
291
|
+
"""
|
|
292
|
+
...
|
|
293
|
+
|
|
294
|
+
def draw_collapsible(self, context, layout):
|
|
295
|
+
"""
|
|
296
|
+
|
|
297
|
+
:param context:
|
|
358
298
|
:param layout:
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
299
|
+
"""
|
|
300
|
+
...
|
|
301
|
+
|
|
302
|
+
def draw_preset(self, _context):
|
|
303
|
+
"""Define these on the subclass:
|
|
304
|
+
- preset_operator (string)
|
|
305
|
+
- preset_subdir (string)Optionally:
|
|
306
|
+
- preset_add_operator (string)
|
|
307
|
+
- preset_extensions (set of strings)
|
|
308
|
+
- preset_operator_defaults (dict of keyword args)
|
|
309
|
+
|
|
310
|
+
:param _context:
|
|
365
311
|
"""
|
|
366
312
|
...
|
|
367
313
|
|
|
@@ -483,6 +429,40 @@ class VIEWLAYER_UL_linesets(bpy_types._GenericUI):
|
|
|
483
429
|
"""
|
|
484
430
|
...
|
|
485
431
|
|
|
432
|
+
def path_menu(
|
|
433
|
+
self,
|
|
434
|
+
searchpaths: list[str],
|
|
435
|
+
operator: str,
|
|
436
|
+
props_default: dict = None,
|
|
437
|
+
prop_filepath: str | None = "filepath",
|
|
438
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
439
|
+
filter_path=None,
|
|
440
|
+
display_name: collections.abc.Callable | None = None,
|
|
441
|
+
add_operator=None,
|
|
442
|
+
add_operator_props=None,
|
|
443
|
+
):
|
|
444
|
+
"""Populate a menu from a list of paths.
|
|
445
|
+
|
|
446
|
+
:param searchpaths: Paths to scan.
|
|
447
|
+
:type searchpaths: list[str]
|
|
448
|
+
:param operator: The operator id to use with each file.
|
|
449
|
+
:type operator: str
|
|
450
|
+
:param props_default: Properties to assign to each operator.
|
|
451
|
+
:type props_default: dict
|
|
452
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
453
|
+
:type prop_filepath: str | None
|
|
454
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
455
|
+
|
|
456
|
+
Returning false excludes the file from the list.
|
|
457
|
+
:type filter_ext: collections.abc.Callable | None
|
|
458
|
+
:param filter_path:
|
|
459
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
460
|
+
:type display_name: collections.abc.Callable | None
|
|
461
|
+
:param add_operator:
|
|
462
|
+
:param add_operator_props:
|
|
463
|
+
"""
|
|
464
|
+
...
|
|
465
|
+
|
|
486
466
|
def path_resolve(self):
|
|
487
467
|
"""Returns the property from the path, raise an exception when not found."""
|
|
488
468
|
...
|
|
@@ -537,11 +517,12 @@ class VIEWLAYER_UL_linesets(bpy_types._GenericUI):
|
|
|
537
517
|
"""
|
|
538
518
|
...
|
|
539
519
|
|
|
540
|
-
class
|
|
520
|
+
class RENDER_PT_freestyle(RenderFreestyleButtonsPanel, bpy_types._GenericUI):
|
|
541
521
|
COMPAT_ENGINES: typing.Any
|
|
542
522
|
bl_context: typing.Any
|
|
543
523
|
bl_label: typing.Any
|
|
544
524
|
bl_options: typing.Any
|
|
525
|
+
bl_order: typing.Any
|
|
545
526
|
bl_region_type: typing.Any
|
|
546
527
|
bl_rna: typing.Any
|
|
547
528
|
bl_space_type: typing.Any
|
|
@@ -586,6 +567,13 @@ class MATERIAL_PT_freestyle_line(MaterialFreestyleButtonsPanel, bpy_types._Gener
|
|
|
586
567
|
"""
|
|
587
568
|
...
|
|
588
569
|
|
|
570
|
+
def draw_header(self, context):
|
|
571
|
+
"""
|
|
572
|
+
|
|
573
|
+
:param context:
|
|
574
|
+
"""
|
|
575
|
+
...
|
|
576
|
+
|
|
589
577
|
def driver_add(self) -> bpy.types.FCurve:
|
|
590
578
|
"""Adds driver(s) to the given property
|
|
591
579
|
|
|
@@ -765,11 +753,22 @@ class MATERIAL_PT_freestyle_line(MaterialFreestyleButtonsPanel, bpy_types._Gener
|
|
|
765
753
|
"""
|
|
766
754
|
...
|
|
767
755
|
|
|
768
|
-
class
|
|
756
|
+
class RenderFreestyleButtonsPanel:
|
|
757
|
+
bl_context: typing.Any
|
|
758
|
+
bl_region_type: typing.Any
|
|
759
|
+
bl_space_type: typing.Any
|
|
760
|
+
|
|
761
|
+
def poll(self, context):
|
|
762
|
+
"""
|
|
763
|
+
|
|
764
|
+
:param context:
|
|
765
|
+
"""
|
|
766
|
+
...
|
|
767
|
+
|
|
768
|
+
class VIEWLAYER_PT_freestyle(ViewLayerFreestyleButtonsPanel, bpy_types._GenericUI):
|
|
769
769
|
COMPAT_ENGINES: typing.Any
|
|
770
770
|
bl_context: typing.Any
|
|
771
771
|
bl_label: typing.Any
|
|
772
|
-
bl_options: typing.Any
|
|
773
772
|
bl_order: typing.Any
|
|
774
773
|
bl_region_type: typing.Any
|
|
775
774
|
bl_rna: typing.Any
|
|
@@ -1001,11 +1000,14 @@ class RENDER_PT_freestyle(RenderFreestyleButtonsPanel, bpy_types._GenericUI):
|
|
|
1001
1000
|
"""
|
|
1002
1001
|
...
|
|
1003
1002
|
|
|
1004
|
-
class
|
|
1003
|
+
class VIEWLAYER_PT_freestyle_edge_detection(
|
|
1004
|
+
ViewLayerFreestyleButtonsPanel, bpy_types._GenericUI
|
|
1005
|
+
):
|
|
1005
1006
|
COMPAT_ENGINES: typing.Any
|
|
1006
1007
|
bl_context: typing.Any
|
|
1007
1008
|
bl_label: typing.Any
|
|
1008
1009
|
bl_order: typing.Any
|
|
1010
|
+
bl_parent_id: typing.Any
|
|
1009
1011
|
bl_region_type: typing.Any
|
|
1010
1012
|
bl_rna: typing.Any
|
|
1011
1013
|
bl_space_type: typing.Any
|
|
@@ -1050,13 +1052,6 @@ class VIEWLAYER_PT_freestyle(ViewLayerFreestyleButtonsPanel, bpy_types._GenericU
|
|
|
1050
1052
|
"""
|
|
1051
1053
|
...
|
|
1052
1054
|
|
|
1053
|
-
def draw_header(self, context):
|
|
1054
|
-
"""
|
|
1055
|
-
|
|
1056
|
-
:param context:
|
|
1057
|
-
"""
|
|
1058
|
-
...
|
|
1059
|
-
|
|
1060
1055
|
def driver_add(self) -> bpy.types.FCurve:
|
|
1061
1056
|
"""Adds driver(s) to the given property
|
|
1062
1057
|
|
|
@@ -1236,14 +1231,15 @@ class VIEWLAYER_PT_freestyle(ViewLayerFreestyleButtonsPanel, bpy_types._GenericU
|
|
|
1236
1231
|
"""
|
|
1237
1232
|
...
|
|
1238
1233
|
|
|
1239
|
-
class
|
|
1240
|
-
|
|
1234
|
+
class VIEWLAYER_PT_freestyle_lineset(
|
|
1235
|
+
ViewLayerFreestyleEditorButtonsPanel,
|
|
1236
|
+
ViewLayerFreestyleButtonsPanel,
|
|
1237
|
+
bpy_types._GenericUI,
|
|
1241
1238
|
):
|
|
1242
1239
|
COMPAT_ENGINES: typing.Any
|
|
1243
1240
|
bl_context: typing.Any
|
|
1244
1241
|
bl_label: typing.Any
|
|
1245
1242
|
bl_order: typing.Any
|
|
1246
|
-
bl_parent_id: typing.Any
|
|
1247
1243
|
bl_region_type: typing.Any
|
|
1248
1244
|
bl_rna: typing.Any
|
|
1249
1245
|
bl_space_type: typing.Any
|
|
@@ -1288,6 +1284,15 @@ class VIEWLAYER_PT_freestyle_edge_detection(
|
|
|
1288
1284
|
"""
|
|
1289
1285
|
...
|
|
1290
1286
|
|
|
1287
|
+
def draw_edge_type_buttons(self, box, lineset, edge_type):
|
|
1288
|
+
"""
|
|
1289
|
+
|
|
1290
|
+
:param box:
|
|
1291
|
+
:param lineset:
|
|
1292
|
+
:param edge_type:
|
|
1293
|
+
"""
|
|
1294
|
+
...
|
|
1295
|
+
|
|
1291
1296
|
def driver_add(self) -> bpy.types.FCurve:
|
|
1292
1297
|
"""Adds driver(s) to the given property
|
|
1293
1298
|
|
|
@@ -1467,12 +1472,16 @@ class VIEWLAYER_PT_freestyle_edge_detection(
|
|
|
1467
1472
|
"""
|
|
1468
1473
|
...
|
|
1469
1474
|
|
|
1470
|
-
class
|
|
1471
|
-
|
|
1475
|
+
class VIEWLAYER_PT_freestyle_lineset_collection(
|
|
1476
|
+
ViewLayerFreestyleEditorButtonsPanel,
|
|
1477
|
+
ViewLayerFreestyleLineStyle,
|
|
1478
|
+
ViewLayerFreestyleButtonsPanel,
|
|
1479
|
+
bpy_types._GenericUI,
|
|
1472
1480
|
):
|
|
1473
1481
|
COMPAT_ENGINES: typing.Any
|
|
1474
1482
|
bl_context: typing.Any
|
|
1475
1483
|
bl_label: typing.Any
|
|
1484
|
+
bl_options: typing.Any
|
|
1476
1485
|
bl_order: typing.Any
|
|
1477
1486
|
bl_parent_id: typing.Any
|
|
1478
1487
|
bl_region_type: typing.Any
|
|
@@ -1519,6 +1528,13 @@ class VIEWLAYER_PT_freestyle_style_modules(
|
|
|
1519
1528
|
"""
|
|
1520
1529
|
...
|
|
1521
1530
|
|
|
1531
|
+
def draw_header(self, context):
|
|
1532
|
+
"""
|
|
1533
|
+
|
|
1534
|
+
:param context:
|
|
1535
|
+
"""
|
|
1536
|
+
...
|
|
1537
|
+
|
|
1522
1538
|
def driver_add(self) -> bpy.types.FCurve:
|
|
1523
1539
|
"""Adds driver(s) to the given property
|
|
1524
1540
|
|
|
@@ -1698,21 +1714,9 @@ class VIEWLAYER_PT_freestyle_style_modules(
|
|
|
1698
1714
|
"""
|
|
1699
1715
|
...
|
|
1700
1716
|
|
|
1701
|
-
class
|
|
1702
|
-
bl_context: typing.Any
|
|
1703
|
-
bl_order: typing.Any
|
|
1704
|
-
bl_region_type: typing.Any
|
|
1705
|
-
bl_space_type: typing.Any
|
|
1706
|
-
|
|
1707
|
-
def poll(self, context):
|
|
1708
|
-
"""
|
|
1709
|
-
|
|
1710
|
-
:param context:
|
|
1711
|
-
"""
|
|
1712
|
-
...
|
|
1713
|
-
|
|
1714
|
-
class VIEWLAYER_PT_freestyle_lineset(
|
|
1717
|
+
class VIEWLAYER_PT_freestyle_lineset_edgetype(
|
|
1715
1718
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
1719
|
+
ViewLayerFreestyleLineStyle,
|
|
1716
1720
|
ViewLayerFreestyleButtonsPanel,
|
|
1717
1721
|
bpy_types._GenericUI,
|
|
1718
1722
|
):
|
|
@@ -1720,6 +1724,7 @@ class VIEWLAYER_PT_freestyle_lineset(
|
|
|
1720
1724
|
bl_context: typing.Any
|
|
1721
1725
|
bl_label: typing.Any
|
|
1722
1726
|
bl_order: typing.Any
|
|
1727
|
+
bl_parent_id: typing.Any
|
|
1723
1728
|
bl_region_type: typing.Any
|
|
1724
1729
|
bl_rna: typing.Any
|
|
1725
1730
|
bl_space_type: typing.Any
|
|
@@ -1773,6 +1778,13 @@ class VIEWLAYER_PT_freestyle_lineset(
|
|
|
1773
1778
|
"""
|
|
1774
1779
|
...
|
|
1775
1780
|
|
|
1781
|
+
def draw_header(self, context):
|
|
1782
|
+
"""
|
|
1783
|
+
|
|
1784
|
+
:param context:
|
|
1785
|
+
"""
|
|
1786
|
+
...
|
|
1787
|
+
|
|
1776
1788
|
def driver_add(self) -> bpy.types.FCurve:
|
|
1777
1789
|
"""Adds driver(s) to the given property
|
|
1778
1790
|
|
|
@@ -1952,23 +1964,7 @@ class VIEWLAYER_PT_freestyle_lineset(
|
|
|
1952
1964
|
"""
|
|
1953
1965
|
...
|
|
1954
1966
|
|
|
1955
|
-
class
|
|
1956
|
-
ViewLayerFreestyleEditorButtonsPanel, ViewLayerFreestyleButtonsPanel
|
|
1957
|
-
):
|
|
1958
|
-
COMPAT_ENGINES: typing.Any
|
|
1959
|
-
bl_context: typing.Any
|
|
1960
|
-
bl_order: typing.Any
|
|
1961
|
-
bl_region_type: typing.Any
|
|
1962
|
-
bl_space_type: typing.Any
|
|
1963
|
-
|
|
1964
|
-
def poll(self, context):
|
|
1965
|
-
"""
|
|
1966
|
-
|
|
1967
|
-
:param context:
|
|
1968
|
-
"""
|
|
1969
|
-
...
|
|
1970
|
-
|
|
1971
|
-
class VIEWLAYER_PT_freestyle_lineset_collection(
|
|
1967
|
+
class VIEWLAYER_PT_freestyle_lineset_facemarks(
|
|
1972
1968
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
1973
1969
|
ViewLayerFreestyleLineStyle,
|
|
1974
1970
|
ViewLayerFreestyleButtonsPanel,
|
|
@@ -2210,7 +2206,7 @@ class VIEWLAYER_PT_freestyle_lineset_collection(
|
|
|
2210
2206
|
"""
|
|
2211
2207
|
...
|
|
2212
2208
|
|
|
2213
|
-
class
|
|
2209
|
+
class VIEWLAYER_PT_freestyle_lineset_visibilty(
|
|
2214
2210
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
2215
2211
|
ViewLayerFreestyleLineStyle,
|
|
2216
2212
|
ViewLayerFreestyleButtonsPanel,
|
|
@@ -2265,15 +2261,6 @@ class VIEWLAYER_PT_freestyle_lineset_edgetype(
|
|
|
2265
2261
|
"""
|
|
2266
2262
|
...
|
|
2267
2263
|
|
|
2268
|
-
def draw_edge_type_buttons(self, box, lineset, edge_type):
|
|
2269
|
-
"""
|
|
2270
|
-
|
|
2271
|
-
:param box:
|
|
2272
|
-
:param lineset:
|
|
2273
|
-
:param edge_type:
|
|
2274
|
-
"""
|
|
2275
|
-
...
|
|
2276
|
-
|
|
2277
2264
|
def draw_header(self, context):
|
|
2278
2265
|
"""
|
|
2279
2266
|
|
|
@@ -2460,7 +2447,7 @@ class VIEWLAYER_PT_freestyle_lineset_edgetype(
|
|
|
2460
2447
|
"""
|
|
2461
2448
|
...
|
|
2462
2449
|
|
|
2463
|
-
class
|
|
2450
|
+
class VIEWLAYER_PT_freestyle_linestyle_alpha(
|
|
2464
2451
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
2465
2452
|
ViewLayerFreestyleLineStyle,
|
|
2466
2453
|
ViewLayerFreestyleButtonsPanel,
|
|
@@ -2471,7 +2458,6 @@ class VIEWLAYER_PT_freestyle_lineset_facemarks(
|
|
|
2471
2458
|
bl_label: typing.Any
|
|
2472
2459
|
bl_options: typing.Any
|
|
2473
2460
|
bl_order: typing.Any
|
|
2474
|
-
bl_parent_id: typing.Any
|
|
2475
2461
|
bl_region_type: typing.Any
|
|
2476
2462
|
bl_rna: typing.Any
|
|
2477
2463
|
bl_space_type: typing.Any
|
|
@@ -2516,10 +2502,11 @@ class VIEWLAYER_PT_freestyle_lineset_facemarks(
|
|
|
2516
2502
|
"""
|
|
2517
2503
|
...
|
|
2518
2504
|
|
|
2519
|
-
def
|
|
2505
|
+
def draw_alpha_modifier(self, context, modifier):
|
|
2520
2506
|
"""
|
|
2521
2507
|
|
|
2522
2508
|
:param context:
|
|
2509
|
+
:param modifier:
|
|
2523
2510
|
"""
|
|
2524
2511
|
...
|
|
2525
2512
|
|
|
@@ -2702,7 +2689,7 @@ class VIEWLAYER_PT_freestyle_lineset_facemarks(
|
|
|
2702
2689
|
"""
|
|
2703
2690
|
...
|
|
2704
2691
|
|
|
2705
|
-
class
|
|
2692
|
+
class VIEWLAYER_PT_freestyle_linestyle_color(
|
|
2706
2693
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
2707
2694
|
ViewLayerFreestyleLineStyle,
|
|
2708
2695
|
ViewLayerFreestyleButtonsPanel,
|
|
@@ -2711,8 +2698,8 @@ class VIEWLAYER_PT_freestyle_lineset_visibilty(
|
|
|
2711
2698
|
COMPAT_ENGINES: typing.Any
|
|
2712
2699
|
bl_context: typing.Any
|
|
2713
2700
|
bl_label: typing.Any
|
|
2701
|
+
bl_options: typing.Any
|
|
2714
2702
|
bl_order: typing.Any
|
|
2715
|
-
bl_parent_id: typing.Any
|
|
2716
2703
|
bl_region_type: typing.Any
|
|
2717
2704
|
bl_rna: typing.Any
|
|
2718
2705
|
bl_space_type: typing.Any
|
|
@@ -2757,10 +2744,11 @@ class VIEWLAYER_PT_freestyle_lineset_visibilty(
|
|
|
2757
2744
|
"""
|
|
2758
2745
|
...
|
|
2759
2746
|
|
|
2760
|
-
def
|
|
2747
|
+
def draw_color_modifier(self, context, modifier):
|
|
2761
2748
|
"""
|
|
2762
2749
|
|
|
2763
2750
|
:param context:
|
|
2751
|
+
:param modifier:
|
|
2764
2752
|
"""
|
|
2765
2753
|
...
|
|
2766
2754
|
|
|
@@ -2943,7 +2931,7 @@ class VIEWLAYER_PT_freestyle_lineset_visibilty(
|
|
|
2943
2931
|
"""
|
|
2944
2932
|
...
|
|
2945
2933
|
|
|
2946
|
-
class
|
|
2934
|
+
class VIEWLAYER_PT_freestyle_linestyle_geometry(
|
|
2947
2935
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
2948
2936
|
ViewLayerFreestyleLineStyle,
|
|
2949
2937
|
ViewLayerFreestyleButtonsPanel,
|
|
@@ -2998,10 +2986,10 @@ class VIEWLAYER_PT_freestyle_linestyle_alpha(
|
|
|
2998
2986
|
"""
|
|
2999
2987
|
...
|
|
3000
2988
|
|
|
3001
|
-
def
|
|
2989
|
+
def draw_geometry_modifier(self, _context, modifier):
|
|
3002
2990
|
"""
|
|
3003
2991
|
|
|
3004
|
-
:param
|
|
2992
|
+
:param _context:
|
|
3005
2993
|
:param modifier:
|
|
3006
2994
|
"""
|
|
3007
2995
|
...
|
|
@@ -3185,7 +3173,7 @@ class VIEWLAYER_PT_freestyle_linestyle_alpha(
|
|
|
3185
3173
|
"""
|
|
3186
3174
|
...
|
|
3187
3175
|
|
|
3188
|
-
class
|
|
3176
|
+
class VIEWLAYER_PT_freestyle_linestyle_strokes(
|
|
3189
3177
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
3190
3178
|
ViewLayerFreestyleLineStyle,
|
|
3191
3179
|
ViewLayerFreestyleButtonsPanel,
|
|
@@ -3240,14 +3228,6 @@ class VIEWLAYER_PT_freestyle_linestyle_color(
|
|
|
3240
3228
|
"""
|
|
3241
3229
|
...
|
|
3242
3230
|
|
|
3243
|
-
def draw_color_modifier(self, context, modifier):
|
|
3244
|
-
"""
|
|
3245
|
-
|
|
3246
|
-
:param context:
|
|
3247
|
-
:param modifier:
|
|
3248
|
-
"""
|
|
3249
|
-
...
|
|
3250
|
-
|
|
3251
3231
|
def driver_add(self) -> bpy.types.FCurve:
|
|
3252
3232
|
"""Adds driver(s) to the given property
|
|
3253
3233
|
|
|
@@ -3427,8 +3407,9 @@ class VIEWLAYER_PT_freestyle_linestyle_color(
|
|
|
3427
3407
|
"""
|
|
3428
3408
|
...
|
|
3429
3409
|
|
|
3430
|
-
class
|
|
3410
|
+
class VIEWLAYER_PT_freestyle_linestyle_strokes_chaining(
|
|
3431
3411
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
3412
|
+
ViewLayerFreestyleLinestyleStrokesSubPanel,
|
|
3432
3413
|
ViewLayerFreestyleLineStyle,
|
|
3433
3414
|
ViewLayerFreestyleButtonsPanel,
|
|
3434
3415
|
bpy_types._GenericUI,
|
|
@@ -3436,8 +3417,8 @@ class VIEWLAYER_PT_freestyle_linestyle_geometry(
|
|
|
3436
3417
|
COMPAT_ENGINES: typing.Any
|
|
3437
3418
|
bl_context: typing.Any
|
|
3438
3419
|
bl_label: typing.Any
|
|
3439
|
-
bl_options: typing.Any
|
|
3440
3420
|
bl_order: typing.Any
|
|
3421
|
+
bl_parent_id: typing.Any
|
|
3441
3422
|
bl_region_type: typing.Any
|
|
3442
3423
|
bl_rna: typing.Any
|
|
3443
3424
|
bl_space_type: typing.Any
|
|
@@ -3482,11 +3463,10 @@ class VIEWLAYER_PT_freestyle_linestyle_geometry(
|
|
|
3482
3463
|
"""
|
|
3483
3464
|
...
|
|
3484
3465
|
|
|
3485
|
-
def
|
|
3466
|
+
def draw_header(self, context):
|
|
3486
3467
|
"""
|
|
3487
3468
|
|
|
3488
|
-
:param
|
|
3489
|
-
:param modifier:
|
|
3469
|
+
:param context:
|
|
3490
3470
|
"""
|
|
3491
3471
|
...
|
|
3492
3472
|
|
|
@@ -3669,8 +3649,9 @@ class VIEWLAYER_PT_freestyle_linestyle_geometry(
|
|
|
3669
3649
|
"""
|
|
3670
3650
|
...
|
|
3671
3651
|
|
|
3672
|
-
class
|
|
3652
|
+
class VIEWLAYER_PT_freestyle_linestyle_strokes_dashedline(
|
|
3673
3653
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
3654
|
+
ViewLayerFreestyleLinestyleStrokesSubPanel,
|
|
3674
3655
|
ViewLayerFreestyleLineStyle,
|
|
3675
3656
|
ViewLayerFreestyleButtonsPanel,
|
|
3676
3657
|
bpy_types._GenericUI,
|
|
@@ -3680,6 +3661,7 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes(
|
|
|
3680
3661
|
bl_label: typing.Any
|
|
3681
3662
|
bl_options: typing.Any
|
|
3682
3663
|
bl_order: typing.Any
|
|
3664
|
+
bl_parent_id: typing.Any
|
|
3683
3665
|
bl_region_type: typing.Any
|
|
3684
3666
|
bl_rna: typing.Any
|
|
3685
3667
|
bl_space_type: typing.Any
|
|
@@ -3724,6 +3706,13 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes(
|
|
|
3724
3706
|
"""
|
|
3725
3707
|
...
|
|
3726
3708
|
|
|
3709
|
+
def draw_header(self, context):
|
|
3710
|
+
"""
|
|
3711
|
+
|
|
3712
|
+
:param context:
|
|
3713
|
+
"""
|
|
3714
|
+
...
|
|
3715
|
+
|
|
3727
3716
|
def driver_add(self) -> bpy.types.FCurve:
|
|
3728
3717
|
"""Adds driver(s) to the given property
|
|
3729
3718
|
|
|
@@ -3903,8 +3892,9 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes(
|
|
|
3903
3892
|
"""
|
|
3904
3893
|
...
|
|
3905
3894
|
|
|
3906
|
-
class
|
|
3895
|
+
class VIEWLAYER_PT_freestyle_linestyle_strokes_selection(
|
|
3907
3896
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
3897
|
+
ViewLayerFreestyleLinestyleStrokesSubPanel,
|
|
3908
3898
|
ViewLayerFreestyleLineStyle,
|
|
3909
3899
|
ViewLayerFreestyleButtonsPanel,
|
|
3910
3900
|
bpy_types._GenericUI,
|
|
@@ -3914,6 +3904,7 @@ class VIEWLAYER_PT_freestyle_linestyle_texture(
|
|
|
3914
3904
|
bl_label: typing.Any
|
|
3915
3905
|
bl_options: typing.Any
|
|
3916
3906
|
bl_order: typing.Any
|
|
3907
|
+
bl_parent_id: typing.Any
|
|
3917
3908
|
bl_region_type: typing.Any
|
|
3918
3909
|
bl_rna: typing.Any
|
|
3919
3910
|
bl_space_type: typing.Any
|
|
@@ -4137,8 +4128,9 @@ class VIEWLAYER_PT_freestyle_linestyle_texture(
|
|
|
4137
4128
|
"""
|
|
4138
4129
|
...
|
|
4139
4130
|
|
|
4140
|
-
class
|
|
4131
|
+
class VIEWLAYER_PT_freestyle_linestyle_strokes_sorting(
|
|
4141
4132
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
4133
|
+
ViewLayerFreestyleLinestyleStrokesSubPanel,
|
|
4142
4134
|
ViewLayerFreestyleLineStyle,
|
|
4143
4135
|
ViewLayerFreestyleButtonsPanel,
|
|
4144
4136
|
bpy_types._GenericUI,
|
|
@@ -4148,6 +4140,7 @@ class VIEWLAYER_PT_freestyle_linestyle_thickness(
|
|
|
4148
4140
|
bl_label: typing.Any
|
|
4149
4141
|
bl_options: typing.Any
|
|
4150
4142
|
bl_order: typing.Any
|
|
4143
|
+
bl_parent_id: typing.Any
|
|
4151
4144
|
bl_region_type: typing.Any
|
|
4152
4145
|
bl_rna: typing.Any
|
|
4153
4146
|
bl_space_type: typing.Any
|
|
@@ -4192,11 +4185,10 @@ class VIEWLAYER_PT_freestyle_linestyle_thickness(
|
|
|
4192
4185
|
"""
|
|
4193
4186
|
...
|
|
4194
4187
|
|
|
4195
|
-
def
|
|
4188
|
+
def draw_header(self, context):
|
|
4196
4189
|
"""
|
|
4197
4190
|
|
|
4198
4191
|
:param context:
|
|
4199
|
-
:param modifier:
|
|
4200
4192
|
"""
|
|
4201
4193
|
...
|
|
4202
4194
|
|
|
@@ -4379,26 +4371,7 @@ class VIEWLAYER_PT_freestyle_linestyle_thickness(
|
|
|
4379
4371
|
"""
|
|
4380
4372
|
...
|
|
4381
4373
|
|
|
4382
|
-
class
|
|
4383
|
-
ViewLayerFreestyleEditorButtonsPanel,
|
|
4384
|
-
ViewLayerFreestyleLineStyle,
|
|
4385
|
-
ViewLayerFreestyleButtonsPanel,
|
|
4386
|
-
):
|
|
4387
|
-
COMPAT_ENGINES: typing.Any
|
|
4388
|
-
bl_context: typing.Any
|
|
4389
|
-
bl_order: typing.Any
|
|
4390
|
-
bl_parent_id: typing.Any
|
|
4391
|
-
bl_region_type: typing.Any
|
|
4392
|
-
bl_space_type: typing.Any
|
|
4393
|
-
|
|
4394
|
-
def poll(self, context):
|
|
4395
|
-
"""
|
|
4396
|
-
|
|
4397
|
-
:param context:
|
|
4398
|
-
"""
|
|
4399
|
-
...
|
|
4400
|
-
|
|
4401
|
-
class VIEWLAYER_PT_freestyle_linestyle_strokes_chaining(
|
|
4374
|
+
class VIEWLAYER_PT_freestyle_linestyle_strokes_splitting(
|
|
4402
4375
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
4403
4376
|
ViewLayerFreestyleLinestyleStrokesSubPanel,
|
|
4404
4377
|
ViewLayerFreestyleLineStyle,
|
|
@@ -4408,6 +4381,7 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes_chaining(
|
|
|
4408
4381
|
COMPAT_ENGINES: typing.Any
|
|
4409
4382
|
bl_context: typing.Any
|
|
4410
4383
|
bl_label: typing.Any
|
|
4384
|
+
bl_options: typing.Any
|
|
4411
4385
|
bl_order: typing.Any
|
|
4412
4386
|
bl_parent_id: typing.Any
|
|
4413
4387
|
bl_region_type: typing.Any
|
|
@@ -4454,13 +4428,6 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes_chaining(
|
|
|
4454
4428
|
"""
|
|
4455
4429
|
...
|
|
4456
4430
|
|
|
4457
|
-
def draw_header(self, context):
|
|
4458
|
-
"""
|
|
4459
|
-
|
|
4460
|
-
:param context:
|
|
4461
|
-
"""
|
|
4462
|
-
...
|
|
4463
|
-
|
|
4464
4431
|
def driver_add(self) -> bpy.types.FCurve:
|
|
4465
4432
|
"""Adds driver(s) to the given property
|
|
4466
4433
|
|
|
@@ -4640,7 +4607,7 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes_chaining(
|
|
|
4640
4607
|
"""
|
|
4641
4608
|
...
|
|
4642
4609
|
|
|
4643
|
-
class
|
|
4610
|
+
class VIEWLAYER_PT_freestyle_linestyle_strokes_splitting_pattern(
|
|
4644
4611
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
4645
4612
|
ViewLayerFreestyleLinestyleStrokesSubPanel,
|
|
4646
4613
|
ViewLayerFreestyleLineStyle,
|
|
@@ -4883,9 +4850,8 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes_dashedline(
|
|
|
4883
4850
|
"""
|
|
4884
4851
|
...
|
|
4885
4852
|
|
|
4886
|
-
class
|
|
4853
|
+
class VIEWLAYER_PT_freestyle_linestyle_texture(
|
|
4887
4854
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
4888
|
-
ViewLayerFreestyleLinestyleStrokesSubPanel,
|
|
4889
4855
|
ViewLayerFreestyleLineStyle,
|
|
4890
4856
|
ViewLayerFreestyleButtonsPanel,
|
|
4891
4857
|
bpy_types._GenericUI,
|
|
@@ -4895,7 +4861,6 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes_selection(
|
|
|
4895
4861
|
bl_label: typing.Any
|
|
4896
4862
|
bl_options: typing.Any
|
|
4897
4863
|
bl_order: typing.Any
|
|
4898
|
-
bl_parent_id: typing.Any
|
|
4899
4864
|
bl_region_type: typing.Any
|
|
4900
4865
|
bl_rna: typing.Any
|
|
4901
4866
|
bl_space_type: typing.Any
|
|
@@ -5119,9 +5084,8 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes_selection(
|
|
|
5119
5084
|
"""
|
|
5120
5085
|
...
|
|
5121
5086
|
|
|
5122
|
-
class
|
|
5087
|
+
class VIEWLAYER_PT_freestyle_linestyle_thickness(
|
|
5123
5088
|
ViewLayerFreestyleEditorButtonsPanel,
|
|
5124
|
-
ViewLayerFreestyleLinestyleStrokesSubPanel,
|
|
5125
5089
|
ViewLayerFreestyleLineStyle,
|
|
5126
5090
|
ViewLayerFreestyleButtonsPanel,
|
|
5127
5091
|
bpy_types._GenericUI,
|
|
@@ -5131,7 +5095,6 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes_sorting(
|
|
|
5131
5095
|
bl_label: typing.Any
|
|
5132
5096
|
bl_options: typing.Any
|
|
5133
5097
|
bl_order: typing.Any
|
|
5134
|
-
bl_parent_id: typing.Any
|
|
5135
5098
|
bl_region_type: typing.Any
|
|
5136
5099
|
bl_rna: typing.Any
|
|
5137
5100
|
bl_space_type: typing.Any
|
|
@@ -5176,10 +5139,11 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes_sorting(
|
|
|
5176
5139
|
"""
|
|
5177
5140
|
...
|
|
5178
5141
|
|
|
5179
|
-
def
|
|
5142
|
+
def draw_thickness_modifier(self, context, modifier):
|
|
5180
5143
|
"""
|
|
5181
5144
|
|
|
5182
5145
|
:param context:
|
|
5146
|
+
:param modifier:
|
|
5183
5147
|
"""
|
|
5184
5148
|
...
|
|
5185
5149
|
|
|
@@ -5362,17 +5326,12 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes_sorting(
|
|
|
5362
5326
|
"""
|
|
5363
5327
|
...
|
|
5364
5328
|
|
|
5365
|
-
class
|
|
5366
|
-
|
|
5367
|
-
ViewLayerFreestyleLinestyleStrokesSubPanel,
|
|
5368
|
-
ViewLayerFreestyleLineStyle,
|
|
5369
|
-
ViewLayerFreestyleButtonsPanel,
|
|
5370
|
-
bpy_types._GenericUI,
|
|
5329
|
+
class VIEWLAYER_PT_freestyle_style_modules(
|
|
5330
|
+
ViewLayerFreestyleButtonsPanel, bpy_types._GenericUI
|
|
5371
5331
|
):
|
|
5372
5332
|
COMPAT_ENGINES: typing.Any
|
|
5373
5333
|
bl_context: typing.Any
|
|
5374
5334
|
bl_label: typing.Any
|
|
5375
|
-
bl_options: typing.Any
|
|
5376
5335
|
bl_order: typing.Any
|
|
5377
5336
|
bl_parent_id: typing.Any
|
|
5378
5337
|
bl_region_type: typing.Any
|
|
@@ -5598,22 +5557,8 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes_splitting(
|
|
|
5598
5557
|
"""
|
|
5599
5558
|
...
|
|
5600
5559
|
|
|
5601
|
-
class
|
|
5602
|
-
ViewLayerFreestyleEditorButtonsPanel,
|
|
5603
|
-
ViewLayerFreestyleLinestyleStrokesSubPanel,
|
|
5604
|
-
ViewLayerFreestyleLineStyle,
|
|
5605
|
-
ViewLayerFreestyleButtonsPanel,
|
|
5606
|
-
bpy_types._GenericUI,
|
|
5607
|
-
):
|
|
5608
|
-
COMPAT_ENGINES: typing.Any
|
|
5609
|
-
bl_context: typing.Any
|
|
5610
|
-
bl_label: typing.Any
|
|
5611
|
-
bl_options: typing.Any
|
|
5612
|
-
bl_order: typing.Any
|
|
5613
|
-
bl_parent_id: typing.Any
|
|
5614
|
-
bl_region_type: typing.Any
|
|
5560
|
+
class VIEWLAYER_UL_linesets(bpy_types._GenericUI):
|
|
5615
5561
|
bl_rna: typing.Any
|
|
5616
|
-
bl_space_type: typing.Any
|
|
5617
5562
|
id_data: typing.Any
|
|
5618
5563
|
|
|
5619
5564
|
def append(self, draw_func):
|
|
@@ -5648,17 +5593,19 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes_splitting_pattern(
|
|
|
5648
5593
|
"""
|
|
5649
5594
|
...
|
|
5650
5595
|
|
|
5651
|
-
def
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
:param context:
|
|
5655
|
-
"""
|
|
5656
|
-
...
|
|
5657
|
-
|
|
5658
|
-
def draw_header(self, context):
|
|
5596
|
+
def draw_item(
|
|
5597
|
+
self, _context, layout, _data, item, icon, _active_data, _active_propname, index
|
|
5598
|
+
):
|
|
5659
5599
|
"""
|
|
5660
5600
|
|
|
5661
|
-
:param
|
|
5601
|
+
:param _context:
|
|
5602
|
+
:param layout:
|
|
5603
|
+
:param _data:
|
|
5604
|
+
:param item:
|
|
5605
|
+
:param icon:
|
|
5606
|
+
:param _active_data:
|
|
5607
|
+
:param _active_propname:
|
|
5608
|
+
:param index:
|
|
5662
5609
|
"""
|
|
5663
5610
|
...
|
|
5664
5611
|
|
|
@@ -5784,13 +5731,6 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes_splitting_pattern(
|
|
|
5784
5731
|
"""Returns the property from the path, raise an exception when not found."""
|
|
5785
5732
|
...
|
|
5786
5733
|
|
|
5787
|
-
def poll(self, context):
|
|
5788
|
-
"""
|
|
5789
|
-
|
|
5790
|
-
:param context:
|
|
5791
|
-
"""
|
|
5792
|
-
...
|
|
5793
|
-
|
|
5794
5734
|
def pop(self):
|
|
5795
5735
|
"""Remove and return the value of the custom property assigned to key or default
|
|
5796
5736
|
when not found (matches Python's dictionary function of the same name).
|
|
@@ -5841,6 +5781,67 @@ class VIEWLAYER_PT_freestyle_linestyle_strokes_splitting_pattern(
|
|
|
5841
5781
|
"""
|
|
5842
5782
|
...
|
|
5843
5783
|
|
|
5784
|
+
class ViewLayerFreestyleButtonsPanel:
|
|
5785
|
+
bl_context: typing.Any
|
|
5786
|
+
bl_order: typing.Any
|
|
5787
|
+
bl_region_type: typing.Any
|
|
5788
|
+
bl_space_type: typing.Any
|
|
5789
|
+
|
|
5790
|
+
def poll(self, context):
|
|
5791
|
+
"""
|
|
5792
|
+
|
|
5793
|
+
:param context:
|
|
5794
|
+
"""
|
|
5795
|
+
...
|
|
5796
|
+
|
|
5797
|
+
class ViewLayerFreestyleEditorButtonsPanel(ViewLayerFreestyleButtonsPanel):
|
|
5798
|
+
bl_context: typing.Any
|
|
5799
|
+
bl_order: typing.Any
|
|
5800
|
+
bl_region_type: typing.Any
|
|
5801
|
+
bl_space_type: typing.Any
|
|
5802
|
+
|
|
5803
|
+
def poll(self, context):
|
|
5804
|
+
"""
|
|
5805
|
+
|
|
5806
|
+
:param context:
|
|
5807
|
+
"""
|
|
5808
|
+
...
|
|
5809
|
+
|
|
5810
|
+
class ViewLayerFreestyleLineStyle(
|
|
5811
|
+
ViewLayerFreestyleEditorButtonsPanel, ViewLayerFreestyleButtonsPanel
|
|
5812
|
+
):
|
|
5813
|
+
COMPAT_ENGINES: typing.Any
|
|
5814
|
+
bl_context: typing.Any
|
|
5815
|
+
bl_order: typing.Any
|
|
5816
|
+
bl_region_type: typing.Any
|
|
5817
|
+
bl_space_type: typing.Any
|
|
5818
|
+
|
|
5819
|
+
def poll(self, context):
|
|
5820
|
+
"""
|
|
5821
|
+
|
|
5822
|
+
:param context:
|
|
5823
|
+
"""
|
|
5824
|
+
...
|
|
5825
|
+
|
|
5826
|
+
class ViewLayerFreestyleLinestyleStrokesSubPanel(
|
|
5827
|
+
ViewLayerFreestyleEditorButtonsPanel,
|
|
5828
|
+
ViewLayerFreestyleLineStyle,
|
|
5829
|
+
ViewLayerFreestyleButtonsPanel,
|
|
5830
|
+
):
|
|
5831
|
+
COMPAT_ENGINES: typing.Any
|
|
5832
|
+
bl_context: typing.Any
|
|
5833
|
+
bl_order: typing.Any
|
|
5834
|
+
bl_parent_id: typing.Any
|
|
5835
|
+
bl_region_type: typing.Any
|
|
5836
|
+
bl_space_type: typing.Any
|
|
5837
|
+
|
|
5838
|
+
def poll(self, context):
|
|
5839
|
+
"""
|
|
5840
|
+
|
|
5841
|
+
:param context:
|
|
5842
|
+
"""
|
|
5843
|
+
...
|
|
5844
|
+
|
|
5844
5845
|
def draw_modifier_box_error(box, _modifier, message): ...
|
|
5845
5846
|
def draw_modifier_box_header(box, modifier): ...
|
|
5846
5847
|
def draw_modifier_color_ramp_common(box, modifier, has_range): ...
|