fake-bpy-module 20250828__py3-none-any.whl → 20260119__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.
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +0 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +0 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +0 -11
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +0 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/bl_extract_messages/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +2 -0
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- _bpy_internal/__init__.pyi +3 -1
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_internal/filesystem/__init__.pyi +5 -0
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_types/__init__.pyi +115 -117
- {rna_info → _rna_info}/__init__.pyi +0 -1
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +66 -142
- bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
- bl_app_templates_system/__init__.pyi +5 -0
- bl_app_templates_system/py.typed +0 -0
- bl_math/__init__.pyi +2 -12
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +0 -2
- bl_operators/anim/__init__.pyi +47 -24
- bl_operators/assets/__init__.pyi +0 -6
- bl_operators/bone_selection_sets/__init__.pyi +0 -28
- bl_operators/clip/__init__.pyi +0 -20
- bl_operators/connect_to_output/__init__.pyi +0 -2
- bl_operators/console/__init__.pyi +0 -10
- bl_operators/constraint/__init__.pyi +0 -8
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +0 -6
- bl_operators/freestyle/__init__.pyi +0 -8
- bl_operators/geometry_nodes/__init__.pyi +0 -8
- bl_operators/grease_pencil/__init__.pyi +0 -2
- bl_operators/image/__init__.pyi +0 -10
- bl_operators/image_as_planes/__init__.pyi +0 -4
- bl_operators/mesh/__init__.pyi +0 -47
- bl_operators/node/__init__.pyi +277 -57
- bl_operators/object/__init__.pyi +0 -37
- bl_operators/object_align/__init__.pyi +0 -2
- bl_operators/object_quick_effects/__init__.pyi +0 -8
- bl_operators/object_randomize_transform/__init__.pyi +0 -2
- bl_operators/presets/__init__.pyi +1 -51
- bl_operators/rigidbody/__init__.pyi +0 -6
- bl_operators/screen_play_rendered_anim/__init__.pyi +0 -2
- bl_operators/sequencer/__init__.pyi +0 -16
- bl_operators/spreadsheet/__init__.pyi +0 -2
- bl_operators/userpref/__init__.pyi +0 -50
- bl_operators/uvcalc_follow_active/__init__.pyi +1 -3
- bl_operators/uvcalc_lightmap/__init__.pyi +0 -2
- bl_operators/uvcalc_transform/__init__.pyi +21 -12
- bl_operators/vertexpaint_dirt/__init__.pyi +0 -2
- bl_operators/view3d/__init__.pyi +0 -16
- bl_operators/wm/__init__.pyi +0 -92
- bl_operators/world/__init__.pyi +0 -2
- bl_ui/__init__.pyi +3 -4
- bl_ui/anim/__init__.pyi +0 -2
- bl_ui/asset_shelf/__init__.pyi +0 -2
- bl_ui/generic_ui_list/__init__.pyi +1 -17
- bl_ui/node_add_menu/__init__.pyi +261 -6
- bl_ui/node_add_menu_compositor/__init__.pyi +96 -80
- bl_ui/node_add_menu_geometry/__init__.pyi +266 -306
- bl_ui/node_add_menu_shader/__init__.pyi +49 -50
- bl_ui/node_add_menu_texture/__init__.pyi +16 -62
- bl_ui/properties_collection/__init__.pyi +0 -14
- bl_ui/properties_constraint/__init__.pyi +55 -209
- bl_ui/properties_data_armature/__init__.pyi +0 -36
- bl_ui/properties_data_bone/__init__.pyi +0 -20
- bl_ui/properties_data_camera/__init__.pyi +0 -30
- bl_ui/properties_data_curve/__init__.pyi +0 -30
- bl_ui/properties_data_curves/__init__.pyi +0 -16
- bl_ui/properties_data_empty/__init__.pyi +0 -4
- bl_ui/properties_data_grease_pencil/__init__.pyi +0 -40
- bl_ui/properties_data_lattice/__init__.pyi +0 -8
- bl_ui/properties_data_light/__init__.pyi +0 -20
- bl_ui/properties_data_lightprobe/__init__.pyi +0 -28
- bl_ui/properties_data_mesh/__init__.pyi +1 -42
- bl_ui/properties_data_metaball/__init__.pyi +0 -12
- bl_ui/properties_data_modifier/__init__.pyi +12 -19
- bl_ui/properties_data_pointcloud/__init__.pyi +0 -12
- bl_ui/properties_data_shaderfx/__init__.pyi +0 -2
- bl_ui/properties_data_speaker/__init__.pyi +0 -12
- bl_ui/properties_data_volume/__init__.pyi +0 -18
- bl_ui/properties_freestyle/__init__.pyi +0 -50
- bl_ui/properties_grease_pencil_common/__init__.pyi +0 -159
- bl_ui/properties_mask_common/__init__.pyi +0 -14
- bl_ui/properties_material/__init__.pyi +0 -32
- bl_ui/properties_material_gpencil/__init__.pyi +23 -45
- bl_ui/properties_object/__init__.pyi +35 -42
- bl_ui/properties_output/__init__.pyi +0 -40
- bl_ui/properties_paint_common/__init__.pyi +23 -19
- bl_ui/properties_particle/__init__.pyi +0 -106
- bl_ui/properties_physics_cloth/__init__.pyi +0 -28
- bl_ui/properties_physics_common/__init__.pyi +0 -2
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -44
- bl_ui/properties_physics_field/__init__.pyi +0 -20
- bl_ui/properties_physics_fluid/__init__.pyi +0 -56
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -2
- bl_ui/properties_physics_rigidbody/__init__.pyi +0 -16
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -26
- bl_ui/properties_physics_softbody/__init__.pyi +0 -30
- bl_ui/properties_render/__init__.pyi +58 -86
- bl_ui/properties_scene/__init__.pyi +0 -34
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +0 -54
- bl_ui/properties_view_layer/__init__.pyi +7 -28
- bl_ui/properties_workspace/__init__.pyi +0 -8
- bl_ui/properties_world/__init__.pyi +0 -22
- bl_ui/space_clip/__init__.pyi +82 -166
- bl_ui/space_console/__init__.pyi +0 -12
- bl_ui/space_dopesheet/__init__.pyi +67 -76
- bl_ui/space_filebrowser/__init__.pyi +0 -60
- bl_ui/space_graph/__init__.pyi +0 -66
- bl_ui/space_image/__init__.pyi +28 -162
- bl_ui/space_info/__init__.pyi +0 -12
- bl_ui/space_nla/__init__.pyi +0 -58
- bl_ui/space_node/__init__.pyi +99 -132
- bl_ui/space_outliner/__init__.pyi +0 -30
- bl_ui/space_properties/__init__.pyi +29 -6
- bl_ui/space_sequencer/__init__.pyi +159 -987
- bl_ui/space_spreadsheet/__init__.pyi +0 -6
- bl_ui/space_statusbar/__init__.pyi +0 -2
- bl_ui/space_text/__init__.pyi +0 -32
- bl_ui/space_time/__init__.pyi +29 -22
- bl_ui/space_toolsystem_toolbar/__init__.pyi +7 -2
- bl_ui/space_topbar/__init__.pyi +7 -52
- bl_ui/space_userpref/__init__.pyi +77 -225
- bl_ui/space_view3d/__init__.pyi +69 -551
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +22 -799
- bl_ui/utils/__init__.pyi +0 -17
- blf/__init__.pyi +6 -50
- bmesh/__init__.pyi +0 -7
- bmesh/geometry/__init__.pyi +0 -3
- bmesh/ops/__init__.pyi +5 -450
- bmesh/types/__init__.pyi +298 -639
- bmesh/utils/__init__.pyi +16 -43
- bpy/app/__init__.pyi +66 -58
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +0 -6
- bpy/app/translations/__init__.pyi +1 -16
- bpy/msgbus/__init__.pyi +1 -4
- bpy/ops/action/__init__.pyi +17 -186
- bpy/ops/anim/__init__.pyi +38 -279
- bpy/ops/armature/__init__.pyi +20 -191
- bpy/ops/asset/__init__.pyi +11 -97
- bpy/ops/boid/__init__.pyi +7 -38
- bpy/ops/brush/__init__.pyi +3 -104
- bpy/ops/buttons/__init__.pyi +4 -71
- bpy/ops/cachefile/__init__.pyi +2 -63
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +43 -427
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +3 -35
- bpy/ops/console/__init__.pyi +10 -88
- bpy/ops/constraint/__init__.pyi +3 -80
- bpy/ops/curve/__init__.pyi +23 -254
- bpy/ops/curves/__init__.pyi +54 -149
- bpy/ops/cycles/__init__.pyi +1 -14
- bpy/ops/dpaint/__init__.pyi +3 -21
- bpy/ops/ed/__init__.pyi +10 -82
- bpy/ops/export_anim/__init__.pyi +2 -10
- bpy/ops/export_scene/__init__.pyi +1 -155
- bpy/ops/extensions/__init__.pyi +15 -150
- bpy/ops/file/__init__.pyi +29 -216
- bpy/ops/fluid/__init__.pyi +13 -70
- bpy/ops/font/__init__.pyi +10 -134
- bpy/ops/geometry/__init__.pyi +3 -124
- bpy/ops/gizmogroup/__init__.pyi +1 -12
- bpy/ops/gpencil/__init__.pyi +5 -49
- bpy/ops/graph/__init__.pyi +20 -315
- bpy/ops/grease_pencil/__init__.pyi +62 -523
- bpy/ops/image/__init__.pyi +19 -379
- bpy/ops/import_anim/__init__.pyi +2 -16
- bpy/ops/import_curve/__init__.pyi +0 -6
- bpy/ops/import_scene/__init__.pyi +0 -50
- bpy/ops/info/__init__.pyi +4 -35
- bpy/ops/lattice/__init__.pyi +3 -33
- bpy/ops/marker/__init__.pyi +4 -49
- bpy/ops/mask/__init__.pyi +17 -176
- bpy/ops/material/__init__.pyi +3 -15
- bpy/ops/mball/__init__.pyi +1 -30
- bpy/ops/mesh/__init__.pyi +34 -932
- bpy/ops/nla/__init__.pyi +22 -183
- bpy/ops/node/__init__.pyi +420 -625
- bpy/ops/object/__init__.pyi +197 -1239
- bpy/ops/outliner/__init__.pyi +47 -327
- bpy/ops/paint/__init__.pyi +29 -282
- bpy/ops/paintcurve/__init__.pyi +4 -36
- bpy/ops/palette/__init__.pyi +3 -27
- bpy/ops/particle/__init__.pyi +20 -160
- bpy/ops/pointcloud/__init__.pyi +3 -35
- bpy/ops/pose/__init__.pyi +29 -234
- bpy/ops/poselib/__init__.pyi +19 -66
- bpy/ops/preferences/__init__.pyi +9 -177
- bpy/ops/ptcache/__init__.pyi +5 -31
- bpy/ops/render/__init__.pyi +10 -68
- bpy/ops/rigidbody/__init__.pyi +6 -56
- bpy/ops/scene/__init__.pyi +23 -168
- bpy/ops/screen/__init__.pyi +36 -202
- bpy/ops/script/__init__.pyi +1 -12
- bpy/ops/sculpt/__init__.pyi +42 -313
- bpy/ops/sculpt_curves/__init__.pyi +6 -21
- bpy/ops/sequencer/__init__.pyi +187 -644
- bpy/ops/sound/__init__.pyi +3 -109
- bpy/ops/spreadsheet/__init__.pyi +5 -32
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +27 -225
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +3 -18
- bpy/ops/transform/__init__.pyi +10 -382
- bpy/ops/ui/__init__.pyi +29 -154
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +195 -288
- bpy/ops/view2d/__init__.pyi +3 -73
- bpy/ops/view3d/__init__.pyi +37 -339
- bpy/ops/wm/__init__.pyi +129 -1317
- bpy/ops/workspace/__init__.pyi +7 -39
- bpy/ops/world/__init__.pyi +2 -10
- bpy/path/__init__.pyi +0 -34
- bpy/props/__init__.pyi +332 -203
- bpy/stub_internal/rna_enums/__init__.pyi +102 -82
- bpy/types/__init__.pyi +51712 -89245
- bpy/utils/__init__.pyi +4 -75
- bpy/utils/previews/__init__.pyi +1 -10
- bpy/utils/units/__init__.pyi +0 -12
- bpy_extras/anim_utils/__init__.pyi +24 -16
- bpy_extras/bmesh_utils/__init__.pyi +0 -1
- bpy_extras/id_map_utils/__init__.pyi +14 -6
- bpy_extras/image_utils/__init__.pyi +0 -9
- bpy_extras/io_utils/__init__.pyi +4 -23
- bpy_extras/keyconfig_utils/__init__.pyi +1 -1
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -8
- bpy_extras/object_utils/__init__.pyi +0 -14
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260119.dist-info}/METADATA +4 -1
- fake_bpy_module-20260119.dist-info/RECORD +385 -0
- {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260119.dist-info}/top_level.txt +15 -14
- freestyle/chainingiterators/__init__.pyi +0 -22
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +0 -51
- freestyle/shaders/__init__.pyi +0 -65
- freestyle/types/__init__.pyi +139 -777
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +0 -6
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +1 -10
- gpu/platform/__init__.pyi +0 -5
- gpu/shader/__init__.pyi +22 -6
- gpu/state/__init__.pyi +59 -38
- gpu/texture/__init__.pyi +0 -2
- gpu/types/__init__.pyi +84 -152
- gpu_extras/batch/__init__.pyi +0 -4
- gpu_extras/presets/__init__.pyi +6 -8
- idprop/types/__init__.pyi +6 -6
- imbuf/__init__.pyi +2 -9
- imbuf/types/__init__.pyi +5 -25
- keyingsets_builtins/__init__.pyi +1 -45
- mathutils/__init__.pyi +106 -2168
- mathutils/bvhtree/__init__.pyi +3 -25
- mathutils/geometry/__init__.pyi +41 -133
- mathutils/interpolate/__init__.pyi +3 -4
- mathutils/kdtree/__init__.pyi +0 -11
- mathutils/noise/__init__.pyi +0 -62
- fake_bpy_module-20250828.dist-info/RECORD +0 -370
- {animsys_refactor → _animsys_refactor}/__init__.pyi +0 -0
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bl_console_utils → _bl_console_utils}/__init__.pyi +0 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +0 -0
- {bl_console_utils → _bl_console_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_cli/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_languages_menu/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/bl_previews_render/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +0 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +0 -0
- {bl_rna_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_text_utils → _bl_text_utils}/__init__.pyi +0 -0
- {bl_text_utils → _bl_text_utils}/external_editor/__init__.pyi +0 -0
- {bl_text_utils → _bl_text_utils}/py.typed +0 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
- {bl_ui_utils → _bl_ui_utils}/py.typed +0 -0
- /_bpy_internal/{freedesktop → platform/freedesktop}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {console_python → _console_python}/__init__.pyi +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/__init__.pyi +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/__init__.pyi +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/__init__.pyi +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
- {fake_bpy_module-20250828.dist-info → fake_bpy_module-20260119.dist-info}/WHEEL +0 -0
|
@@ -31,9 +31,7 @@ class ContourUP1D:
|
|
|
31
31
|
contour if it is bordered by a different shape on each of its sides.
|
|
32
32
|
|
|
33
33
|
:param inter: An Interface1D object.
|
|
34
|
-
:type inter: freestyle.types.Interface1D
|
|
35
34
|
:return: True if the Interface1D is a contour, false otherwise.
|
|
36
|
-
:rtype: bool
|
|
37
35
|
"""
|
|
38
36
|
|
|
39
37
|
class DensityLowerThanUP1D:
|
|
@@ -44,10 +42,8 @@ class DensityLowerThanUP1D:
|
|
|
44
42
|
|
|
45
43
|
:param threshold: The value of the threshold density. Any Interface1D
|
|
46
44
|
having a density lower than this threshold will match.
|
|
47
|
-
:type threshold: float
|
|
48
45
|
:param sigma: The sigma value defining the density evaluation window
|
|
49
46
|
size used in the `freestyle.functions.DensityF0D` functor.
|
|
50
|
-
:type sigma: float
|
|
51
47
|
"""
|
|
52
48
|
|
|
53
49
|
def __call__(self, inter: freestyle.types.Interface1D) -> bool:
|
|
@@ -55,9 +51,7 @@ class DensityLowerThanUP1D:
|
|
|
55
51
|
than a user-defined density value.
|
|
56
52
|
|
|
57
53
|
:param inter: An Interface1D object.
|
|
58
|
-
:type inter: freestyle.types.Interface1D
|
|
59
54
|
:return: True if the density is lower than a threshold.
|
|
60
|
-
:rtype: bool
|
|
61
55
|
"""
|
|
62
56
|
|
|
63
57
|
class EqualToChainingTimeStampUP1D:
|
|
@@ -67,7 +61,6 @@ class EqualToChainingTimeStampUP1D:
|
|
|
67
61
|
"""Builds a EqualToChainingTimeStampUP1D object.
|
|
68
62
|
|
|
69
63
|
:param ts: A time stamp value.
|
|
70
|
-
:type ts: int
|
|
71
64
|
"""
|
|
72
65
|
|
|
73
66
|
def __call__(self, inter: freestyle.types.Interface1D) -> bool:
|
|
@@ -75,9 +68,7 @@ class EqualToChainingTimeStampUP1D:
|
|
|
75
68
|
user-defined value.
|
|
76
69
|
|
|
77
70
|
:param inter: An Interface1D object.
|
|
78
|
-
:type inter: freestyle.types.Interface1D
|
|
79
71
|
:return: True if the time stamp is equal to a user-defined value.
|
|
80
|
-
:rtype: bool
|
|
81
72
|
"""
|
|
82
73
|
|
|
83
74
|
class EqualToTimeStampUP1D:
|
|
@@ -87,7 +78,6 @@ class EqualToTimeStampUP1D:
|
|
|
87
78
|
"""Builds a EqualToTimeStampUP1D object.
|
|
88
79
|
|
|
89
80
|
:param ts: A time stamp value.
|
|
90
|
-
:type ts: int
|
|
91
81
|
"""
|
|
92
82
|
|
|
93
83
|
def __call__(self, inter: freestyle.types.Interface1D) -> bool:
|
|
@@ -95,9 +85,7 @@ class EqualToTimeStampUP1D:
|
|
|
95
85
|
user-defined value.
|
|
96
86
|
|
|
97
87
|
:param inter: An Interface1D object.
|
|
98
|
-
:type inter: freestyle.types.Interface1D
|
|
99
88
|
:return: True if the time stamp is equal to a user-defined value.
|
|
100
|
-
:rtype: bool
|
|
101
89
|
"""
|
|
102
90
|
|
|
103
91
|
class ExternalContourUP1D:
|
|
@@ -109,10 +97,8 @@ class ExternalContourUP1D:
|
|
|
109
97
|
one of its sides.
|
|
110
98
|
|
|
111
99
|
:param inter: An Interface1D object.
|
|
112
|
-
:type inter: freestyle.types.Interface1D
|
|
113
100
|
:return: True if the Interface1D is an external contour, false
|
|
114
101
|
otherwise.
|
|
115
|
-
:rtype: bool
|
|
116
102
|
"""
|
|
117
103
|
|
|
118
104
|
class FalseBP1D:
|
|
@@ -124,11 +110,8 @@ class FalseBP1D:
|
|
|
124
110
|
"""Always returns false.
|
|
125
111
|
|
|
126
112
|
:param inter1: The first Interface1D object.
|
|
127
|
-
:type inter1: freestyle.types.Interface1D
|
|
128
113
|
:param inter2: The second Interface1D object.
|
|
129
|
-
:type inter2: freestyle.types.Interface1D
|
|
130
114
|
:return: False.
|
|
131
|
-
:rtype: bool
|
|
132
115
|
"""
|
|
133
116
|
|
|
134
117
|
class FalseUP0D:
|
|
@@ -138,9 +121,7 @@ class FalseUP0D:
|
|
|
138
121
|
"""Always returns false.
|
|
139
122
|
|
|
140
123
|
:param it: An Interface0DIterator object.
|
|
141
|
-
:type it: freestyle.types.Interface0DIterator
|
|
142
124
|
:return: False.
|
|
143
|
-
:rtype: bool
|
|
144
125
|
"""
|
|
145
126
|
|
|
146
127
|
class FalseUP1D:
|
|
@@ -150,9 +131,7 @@ class FalseUP1D:
|
|
|
150
131
|
"""Always returns false.
|
|
151
132
|
|
|
152
133
|
:param inter: An Interface1D object.
|
|
153
|
-
:type inter: freestyle.types.Interface1D
|
|
154
134
|
:return: False.
|
|
155
|
-
:rtype: bool
|
|
156
135
|
"""
|
|
157
136
|
|
|
158
137
|
class Length2DBP1D:
|
|
@@ -165,11 +144,8 @@ class Length2DBP1D:
|
|
|
165
144
|
of inter2.
|
|
166
145
|
|
|
167
146
|
:param inter1: The first Interface1D object.
|
|
168
|
-
:type inter1: freestyle.types.Interface1D
|
|
169
147
|
:param inter2: The second Interface1D object.
|
|
170
|
-
:type inter2: freestyle.types.Interface1D
|
|
171
148
|
:return: True or false.
|
|
172
|
-
:rtype: bool
|
|
173
149
|
"""
|
|
174
150
|
|
|
175
151
|
class MaterialBP1D:
|
|
@@ -190,7 +166,6 @@ class QuantitativeInvisibilityUP1D:
|
|
|
190
166
|
|
|
191
167
|
:param qi: The Quantitative Invisibility you want the Interface1D to
|
|
192
168
|
have.
|
|
193
|
-
:type qi: int
|
|
194
169
|
"""
|
|
195
170
|
|
|
196
171
|
def __call__(self, inter: freestyle.types.Interface1D) -> bool:
|
|
@@ -200,10 +175,8 @@ class QuantitativeInvisibilityUP1D:
|
|
|
200
175
|
equals a certain user-defined value.
|
|
201
176
|
|
|
202
177
|
:param inter: An Interface1D object.
|
|
203
|
-
:type inter: freestyle.types.Interface1D
|
|
204
178
|
:return: True if Quantitative Invisibility equals a user-defined
|
|
205
179
|
value.
|
|
206
|
-
:rtype: bool
|
|
207
180
|
"""
|
|
208
181
|
|
|
209
182
|
class SameShapeIdBP1D:
|
|
@@ -215,11 +188,8 @@ class SameShapeIdBP1D:
|
|
|
215
188
|
"""Returns true if inter1 and inter2 belong to the same shape.
|
|
216
189
|
|
|
217
190
|
:param inter1: The first Interface1D object.
|
|
218
|
-
:type inter1: freestyle.types.Interface1D
|
|
219
191
|
:param inter2: The second Interface1D object.
|
|
220
|
-
:type inter2: freestyle.types.Interface1D
|
|
221
192
|
:return: True or false.
|
|
222
|
-
:rtype: bool
|
|
223
193
|
"""
|
|
224
194
|
|
|
225
195
|
class ShapeUP1D:
|
|
@@ -229,9 +199,7 @@ class ShapeUP1D:
|
|
|
229
199
|
"""Builds a ShapeUP1D object.
|
|
230
200
|
|
|
231
201
|
:param first: The first Id component.
|
|
232
|
-
:type first: int
|
|
233
202
|
:param second: The second Id component.
|
|
234
|
-
:type second: int
|
|
235
203
|
"""
|
|
236
204
|
|
|
237
205
|
def __call__(self, inter: freestyle.types.Interface1D) -> bool:
|
|
@@ -239,10 +207,8 @@ class ShapeUP1D:
|
|
|
239
207
|
same `freestyle.types.Id` as the one specified by the user.
|
|
240
208
|
|
|
241
209
|
:param inter: An Interface1D object.
|
|
242
|
-
:type inter: freestyle.types.Interface1D
|
|
243
210
|
:return: True if Interface1D belongs to the shape of the
|
|
244
211
|
user-specified Id.
|
|
245
|
-
:rtype: bool
|
|
246
212
|
"""
|
|
247
213
|
|
|
248
214
|
class TrueBP1D:
|
|
@@ -254,11 +220,8 @@ class TrueBP1D:
|
|
|
254
220
|
"""Always returns true.
|
|
255
221
|
|
|
256
222
|
:param inter1: The first Interface1D object.
|
|
257
|
-
:type inter1: freestyle.types.Interface1D
|
|
258
223
|
:param inter2: The second Interface1D object.
|
|
259
|
-
:type inter2: freestyle.types.Interface1D
|
|
260
224
|
:return: True.
|
|
261
|
-
:rtype: bool
|
|
262
225
|
"""
|
|
263
226
|
|
|
264
227
|
class TrueUP0D:
|
|
@@ -268,9 +231,7 @@ class TrueUP0D:
|
|
|
268
231
|
"""Always returns true.
|
|
269
232
|
|
|
270
233
|
:param it: An Interface0DIterator object.
|
|
271
|
-
:type it: freestyle.types.Interface0DIterator
|
|
272
234
|
:return: True.
|
|
273
|
-
:rtype: bool
|
|
274
235
|
"""
|
|
275
236
|
|
|
276
237
|
class TrueUP1D:
|
|
@@ -280,9 +241,7 @@ class TrueUP1D:
|
|
|
280
241
|
"""Always returns true.
|
|
281
242
|
|
|
282
243
|
:param inter: An Interface1D object.
|
|
283
|
-
:type inter: freestyle.types.Interface1D
|
|
284
244
|
:return: True.
|
|
285
|
-
:rtype: bool
|
|
286
245
|
"""
|
|
287
246
|
|
|
288
247
|
class ViewMapGradientNormBP1D:
|
|
@@ -298,15 +257,12 @@ class ViewMapGradientNormBP1D:
|
|
|
298
257
|
|
|
299
258
|
:param level: The level of the pyramid from which the pixel must be
|
|
300
259
|
read.
|
|
301
|
-
:type level: int
|
|
302
260
|
:param integration_type: The integration method used to compute a single value
|
|
303
261
|
from a set of values.
|
|
304
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
305
262
|
:param sampling: The resolution used to sample the chain:
|
|
306
263
|
GetViewMapGradientNormF0D is evaluated at each sample point and
|
|
307
264
|
the result is obtained by combining the resulting values into a
|
|
308
265
|
single one, following the method specified by integration_type.
|
|
309
|
-
:type sampling: float
|
|
310
266
|
"""
|
|
311
267
|
|
|
312
268
|
def __call__(
|
|
@@ -316,11 +272,8 @@ class ViewMapGradientNormBP1D:
|
|
|
316
272
|
higher for inter1 than for inter2.
|
|
317
273
|
|
|
318
274
|
:param inter1: The first Interface1D object.
|
|
319
|
-
:type inter1: freestyle.types.Interface1D
|
|
320
275
|
:param inter2: The second Interface1D object.
|
|
321
|
-
:type inter2: freestyle.types.Interface1D
|
|
322
276
|
:return: True or false.
|
|
323
|
-
:rtype: bool
|
|
324
277
|
"""
|
|
325
278
|
|
|
326
279
|
class WithinImageBoundaryUP1D:
|
|
@@ -330,13 +283,9 @@ class WithinImageBoundaryUP1D:
|
|
|
330
283
|
"""Builds an WithinImageBoundaryUP1D object.
|
|
331
284
|
|
|
332
285
|
:param xmin: X lower bound of the image boundary.
|
|
333
|
-
:type xmin: float
|
|
334
286
|
:param ymin: Y lower bound of the image boundary.
|
|
335
|
-
:type ymin: float
|
|
336
287
|
:param xmax: X upper bound of the image boundary.
|
|
337
|
-
:type xmax: float
|
|
338
288
|
:param ymax: Y upper bound of the image boundary.
|
|
339
|
-
:type ymax: float
|
|
340
289
|
"""
|
|
341
290
|
|
|
342
291
|
def __call__(self, inter) -> None:
|
freestyle/shaders/__init__.pyi
CHANGED
|
@@ -23,7 +23,6 @@ class BackboneStretcherShader:
|
|
|
23
23
|
"""Builds a BackboneStretcherShader object.
|
|
24
24
|
|
|
25
25
|
:param amount: The stretching amount value.
|
|
26
|
-
:type amount: float
|
|
27
26
|
"""
|
|
28
27
|
|
|
29
28
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
@@ -31,7 +30,6 @@ class BackboneStretcherShader:
|
|
|
31
30
|
respective directions: v(1)v(0) and v(n-1)v(n).
|
|
32
31
|
|
|
33
32
|
:param stroke: A Stroke object.
|
|
34
|
-
:type stroke: freestyle.types.Stroke
|
|
35
33
|
"""
|
|
36
34
|
|
|
37
35
|
class BezierCurveShader:
|
|
@@ -43,7 +41,6 @@ class BezierCurveShader:
|
|
|
43
41
|
:param error: The error were allowing for the approximation. This
|
|
44
42
|
error is the max distance allowed between the new curve and the
|
|
45
43
|
original geometry.
|
|
46
|
-
:type error: float
|
|
47
44
|
"""
|
|
48
45
|
|
|
49
46
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
@@ -51,7 +48,6 @@ class BezierCurveShader:
|
|
|
51
48
|
Bezier Curve approximation of the original backbone geometry.
|
|
52
49
|
|
|
53
50
|
:param stroke: A Stroke object.
|
|
54
|
-
:type stroke: freestyle.types.Stroke
|
|
55
51
|
"""
|
|
56
52
|
|
|
57
53
|
class BlenderTextureShader:
|
|
@@ -63,7 +59,6 @@ class BlenderTextureShader:
|
|
|
63
59
|
"""Builds a BlenderTextureShader object.
|
|
64
60
|
|
|
65
61
|
:param texture: A line style texture slot or a shader node tree to define a set of textures.
|
|
66
|
-
:type texture: bpy.types.LineStyleTextureSlot | bpy.types.ShaderNodeTree
|
|
67
62
|
"""
|
|
68
63
|
|
|
69
64
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
@@ -71,7 +66,6 @@ class BlenderTextureShader:
|
|
|
71
66
|
simulate marks.
|
|
72
67
|
|
|
73
68
|
:param stroke: A Stroke object.
|
|
74
|
-
:type stroke: freestyle.types.Stroke
|
|
75
69
|
"""
|
|
76
70
|
|
|
77
71
|
class CalligraphicShader:
|
|
@@ -88,16 +82,12 @@ class CalligraphicShader:
|
|
|
88
82
|
|
|
89
83
|
:param thickness_min: The minimum thickness in the direction
|
|
90
84
|
perpendicular to the main direction.
|
|
91
|
-
:type thickness_min: float
|
|
92
85
|
:param thickness_max: The maximum thickness in the main direction.
|
|
93
|
-
:type thickness_max: float
|
|
94
86
|
:param orientation: The 2D vector giving the main direction.
|
|
95
|
-
:type orientation: collections.abc.Sequence[float] | mathutils.Vector
|
|
96
87
|
:param clamp: If true, the strokes are drawn in black when the stroke
|
|
97
88
|
direction is between -90 and 90 degrees with respect to the main
|
|
98
89
|
direction and drawn in white otherwise. If false, the strokes
|
|
99
90
|
are always drawn in black.
|
|
100
|
-
:type clamp: bool
|
|
101
91
|
"""
|
|
102
92
|
|
|
103
93
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
@@ -107,7 +97,6 @@ class CalligraphicShader:
|
|
|
107
97
|
perpendicular to this one, and an interpolation in between.
|
|
108
98
|
|
|
109
99
|
:param stroke: A Stroke object.
|
|
110
|
-
:type stroke: freestyle.types.Stroke
|
|
111
100
|
"""
|
|
112
101
|
|
|
113
102
|
class ColorNoiseShader:
|
|
@@ -117,16 +106,13 @@ class ColorNoiseShader:
|
|
|
117
106
|
"""Builds a ColorNoiseShader object.
|
|
118
107
|
|
|
119
108
|
:param amplitude: The amplitude of the noise signal.
|
|
120
|
-
:type amplitude: float
|
|
121
109
|
:param period: The period of the noise signal.
|
|
122
|
-
:type period: float
|
|
123
110
|
"""
|
|
124
111
|
|
|
125
112
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
126
113
|
"""Shader to add noise to the stroke colors.
|
|
127
114
|
|
|
128
115
|
:param stroke: A Stroke object.
|
|
129
|
-
:type stroke: freestyle.types.Stroke
|
|
130
116
|
"""
|
|
131
117
|
|
|
132
118
|
class ConstantColorShader:
|
|
@@ -138,20 +124,15 @@ class ConstantColorShader:
|
|
|
138
124
|
"""Builds a ConstantColorShader object.
|
|
139
125
|
|
|
140
126
|
:param red: The red component.
|
|
141
|
-
:type red: float
|
|
142
127
|
:param green: The green component.
|
|
143
|
-
:type green: float
|
|
144
128
|
:param blue: The blue component.
|
|
145
|
-
:type blue: float
|
|
146
129
|
:param alpha: The alpha value.
|
|
147
|
-
:type alpha: float
|
|
148
130
|
"""
|
|
149
131
|
|
|
150
132
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
151
133
|
"""Assigns a constant color to every vertex of the Stroke.
|
|
152
134
|
|
|
153
135
|
:param stroke: A Stroke object.
|
|
154
|
-
:type stroke: freestyle.types.Stroke
|
|
155
136
|
"""
|
|
156
137
|
|
|
157
138
|
class ConstantThicknessShader:
|
|
@@ -161,14 +142,12 @@ class ConstantThicknessShader:
|
|
|
161
142
|
"""Builds a ConstantThicknessShader object.
|
|
162
143
|
|
|
163
144
|
:param thickness: The thickness that must be assigned to the stroke.
|
|
164
|
-
:type thickness: float
|
|
165
145
|
"""
|
|
166
146
|
|
|
167
147
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
168
148
|
"""Assigns an absolute constant thickness to every vertex of the Stroke.
|
|
169
149
|
|
|
170
150
|
:param stroke: A Stroke object.
|
|
171
|
-
:type stroke: freestyle.types.Stroke
|
|
172
151
|
"""
|
|
173
152
|
|
|
174
153
|
class ConstrainedIncreasingThicknessShader:
|
|
@@ -180,11 +159,8 @@ class ConstrainedIncreasingThicknessShader:
|
|
|
180
159
|
"""Builds a ConstrainedIncreasingThicknessShader object.
|
|
181
160
|
|
|
182
161
|
:param thickness_min: The minimum thickness.
|
|
183
|
-
:type thickness_min: float
|
|
184
162
|
:param thickness_max: The maximum thickness.
|
|
185
|
-
:type thickness_max: float
|
|
186
163
|
:param ratio: The thickness/length ratio that we dont want to exceed.
|
|
187
|
-
:type ratio: float
|
|
188
164
|
"""
|
|
189
165
|
|
|
190
166
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
@@ -193,7 +169,6 @@ class ConstrainedIncreasingThicknessShader:
|
|
|
193
169
|
fat short lines.
|
|
194
170
|
|
|
195
171
|
:param stroke: A Stroke object.
|
|
196
|
-
:type stroke: freestyle.types.Stroke
|
|
197
172
|
"""
|
|
198
173
|
|
|
199
174
|
class GuidingLinesShader:
|
|
@@ -206,7 +181,6 @@ class GuidingLinesShader:
|
|
|
206
181
|
middle of the initial stroke bounding box. offset is the value
|
|
207
182
|
of the displacement which is applied to this line along its
|
|
208
183
|
normal.
|
|
209
|
-
:type offset: float
|
|
210
184
|
"""
|
|
211
185
|
|
|
212
186
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
@@ -218,7 +192,6 @@ class GuidingLinesShader:
|
|
|
218
192
|
approximation is.
|
|
219
193
|
|
|
220
194
|
:param stroke: A Stroke object.
|
|
221
|
-
:type stroke: freestyle.types.Stroke
|
|
222
195
|
"""
|
|
223
196
|
|
|
224
197
|
class IncreasingColorShader:
|
|
@@ -238,21 +211,13 @@ class IncreasingColorShader:
|
|
|
238
211
|
"""Builds an IncreasingColorShader object.
|
|
239
212
|
|
|
240
213
|
:param red_min: The first color red component.
|
|
241
|
-
:type red_min: float
|
|
242
214
|
:param green_min: The first color green component.
|
|
243
|
-
:type green_min: float
|
|
244
215
|
:param blue_min: The first color blue component.
|
|
245
|
-
:type blue_min: float
|
|
246
216
|
:param alpha_min: The first color alpha value.
|
|
247
|
-
:type alpha_min: float
|
|
248
217
|
:param red_max: The second color red component.
|
|
249
|
-
:type red_max: float
|
|
250
218
|
:param green_max: The second color green component.
|
|
251
|
-
:type green_max: float
|
|
252
219
|
:param blue_max: The second color blue component.
|
|
253
|
-
:type blue_max: float
|
|
254
220
|
:param alpha_max: The second color alpha value.
|
|
255
|
-
:type alpha_max: float
|
|
256
221
|
"""
|
|
257
222
|
|
|
258
223
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
@@ -261,7 +226,6 @@ class IncreasingColorShader:
|
|
|
261
226
|
between the first and the last vertex.
|
|
262
227
|
|
|
263
228
|
:param stroke: A Stroke object.
|
|
264
|
-
:type stroke: freestyle.types.Stroke
|
|
265
229
|
"""
|
|
266
230
|
|
|
267
231
|
class IncreasingThicknessShader:
|
|
@@ -271,9 +235,7 @@ class IncreasingThicknessShader:
|
|
|
271
235
|
"""Builds an IncreasingThicknessShader object.
|
|
272
236
|
|
|
273
237
|
:param thickness_A: The first thickness value.
|
|
274
|
-
:type thickness_A: float
|
|
275
238
|
:param thickness_B: The second thickness value.
|
|
276
|
-
:type thickness_B: float
|
|
277
239
|
"""
|
|
278
240
|
|
|
279
241
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
@@ -284,7 +246,6 @@ class IncreasingThicknessShader:
|
|
|
284
246
|
linearly interpolated from A to B.
|
|
285
247
|
|
|
286
248
|
:param stroke: A Stroke object.
|
|
287
|
-
:type stroke: freestyle.types.Stroke
|
|
288
249
|
"""
|
|
289
250
|
|
|
290
251
|
class PolygonalizationShader:
|
|
@@ -297,7 +258,6 @@ class PolygonalizationShader:
|
|
|
297
258
|
with respect to the original geometry. The smaller, the closer
|
|
298
259
|
the new stroke is to the original one. This error corresponds to
|
|
299
260
|
the maximum distance between the new stroke and the old one.
|
|
300
|
-
:type error: float
|
|
301
261
|
"""
|
|
302
262
|
|
|
303
263
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
@@ -308,7 +268,6 @@ class PolygonalizationShader:
|
|
|
308
268
|
error is reached.
|
|
309
269
|
|
|
310
270
|
:param stroke: A Stroke object.
|
|
311
|
-
:type stroke: freestyle.types.Stroke
|
|
312
271
|
"""
|
|
313
272
|
|
|
314
273
|
class RoundCapShader:
|
|
@@ -331,14 +290,12 @@ class SamplingShader:
|
|
|
331
290
|
"""Builds a SamplingShader object.
|
|
332
291
|
|
|
333
292
|
:param sampling: The sampling to use for the stroke resampling.
|
|
334
|
-
:type sampling: float
|
|
335
293
|
"""
|
|
336
294
|
|
|
337
295
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
338
296
|
"""Resamples the stroke.
|
|
339
297
|
|
|
340
298
|
:param stroke: A Stroke object.
|
|
341
|
-
:type stroke: freestyle.types.Stroke
|
|
342
299
|
"""
|
|
343
300
|
|
|
344
301
|
class SmoothingShader:
|
|
@@ -358,21 +315,13 @@ class SmoothingShader:
|
|
|
358
315
|
"""Builds a SmoothingShader object.
|
|
359
316
|
|
|
360
317
|
:param num_iterations: The number of iterations.
|
|
361
|
-
:type num_iterations: int
|
|
362
318
|
:param factor_point: 0.1
|
|
363
|
-
:type factor_point: float
|
|
364
319
|
:param factor_curvature: 0.0
|
|
365
|
-
:type factor_curvature: float
|
|
366
320
|
:param factor_curvature_difference: 0.2
|
|
367
|
-
:type factor_curvature_difference: float
|
|
368
321
|
:param aniso_point: 0.0
|
|
369
|
-
:type aniso_point: float
|
|
370
322
|
:param aniso_normal: 0.0
|
|
371
|
-
:type aniso_normal: float
|
|
372
323
|
:param aniso_curvature: 0.0
|
|
373
|
-
:type aniso_curvature: float
|
|
374
324
|
:param carricature_factor: 1.0
|
|
375
|
-
:type carricature_factor: float
|
|
376
325
|
"""
|
|
377
326
|
|
|
378
327
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
@@ -382,7 +331,6 @@ class SmoothingShader:
|
|
|
382
331
|
prevent the diffusion across corners.
|
|
383
332
|
|
|
384
333
|
:param stroke: A Stroke object.
|
|
385
|
-
:type stroke: freestyle.types.Stroke
|
|
386
334
|
"""
|
|
387
335
|
|
|
388
336
|
class SpatialNoiseShader:
|
|
@@ -399,15 +347,10 @@ class SpatialNoiseShader:
|
|
|
399
347
|
"""Builds a SpatialNoiseShader object.
|
|
400
348
|
|
|
401
349
|
:param amount: The amplitude of the noise.
|
|
402
|
-
:type amount: float
|
|
403
350
|
:param scale: The noise frequency.
|
|
404
|
-
:type scale: float
|
|
405
351
|
:param num_octaves: The number of octaves
|
|
406
|
-
:type num_octaves: int
|
|
407
352
|
:param smooth: True if you want the noise to be smooth.
|
|
408
|
-
:type smooth: bool
|
|
409
353
|
:param pure_random: True if you dont want any coherence.
|
|
410
|
-
:type pure_random: bool
|
|
411
354
|
"""
|
|
412
355
|
|
|
413
356
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
@@ -415,7 +358,6 @@ class SpatialNoiseShader:
|
|
|
415
358
|
more noisy.
|
|
416
359
|
|
|
417
360
|
:param stroke: A Stroke object.
|
|
418
|
-
:type stroke: freestyle.types.Stroke
|
|
419
361
|
"""
|
|
420
362
|
|
|
421
363
|
class SquareCapShader:
|
|
@@ -432,14 +374,12 @@ class StrokeTextureStepShader:
|
|
|
432
374
|
"""Builds a StrokeTextureStepShader object.
|
|
433
375
|
|
|
434
376
|
:param step: The spacing along the stroke.
|
|
435
|
-
:type step: float
|
|
436
377
|
"""
|
|
437
378
|
|
|
438
379
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
439
380
|
"""Assigns a spacing factor to the texture coordinates of the Stroke.
|
|
440
381
|
|
|
441
382
|
:param stroke: A Stroke object.
|
|
442
|
-
:type stroke: freestyle.types.Stroke
|
|
443
383
|
"""
|
|
444
384
|
|
|
445
385
|
class ThicknessNoiseShader:
|
|
@@ -449,16 +389,13 @@ class ThicknessNoiseShader:
|
|
|
449
389
|
"""Builds a ThicknessNoiseShader object.
|
|
450
390
|
|
|
451
391
|
:param amplitude: The amplitude of the noise signal.
|
|
452
|
-
:type amplitude: float
|
|
453
392
|
:param period: The period of the noise signal.
|
|
454
|
-
:type period: float
|
|
455
393
|
"""
|
|
456
394
|
|
|
457
395
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
458
396
|
"""Adds some noise to the stroke thickness.
|
|
459
397
|
|
|
460
398
|
:param stroke: A Stroke object.
|
|
461
|
-
:type stroke: freestyle.types.Stroke
|
|
462
399
|
"""
|
|
463
400
|
|
|
464
401
|
class TipRemoverShader:
|
|
@@ -469,14 +406,12 @@ class TipRemoverShader:
|
|
|
469
406
|
|
|
470
407
|
:param tip_length: The length of the piece of stroke we want to remove
|
|
471
408
|
at each extremity.
|
|
472
|
-
:type tip_length: float
|
|
473
409
|
"""
|
|
474
410
|
|
|
475
411
|
def shade(self, stroke: freestyle.types.Stroke) -> None:
|
|
476
412
|
"""Removes the strokes extremities.
|
|
477
413
|
|
|
478
414
|
:param stroke: A Stroke object.
|
|
479
|
-
:type stroke: freestyle.types.Stroke
|
|
480
415
|
"""
|
|
481
416
|
|
|
482
417
|
class py2DCurvatureColorShader:
|