fake-bpy-module 20240321__py3-none-any.whl → 20240322__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.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +27 -11
- aud/__init__.pyi +130 -123
- bgl/__init__.pyi +1831 -216
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +19 -10
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +19 -23
- bl_i18n_utils/utils/__init__.pyi +81 -143
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +120 -49
- bl_operators/anim/__init__.pyi +903 -297
- bl_operators/assets/__init__.pyi +348 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1262 -470
- bl_operators/console/__init__.pyi +542 -160
- bl_operators/constraint/__init__.pyi +452 -140
- bl_operators/file/__init__.pyi +339 -114
- bl_operators/freestyle/__init__.pyi +440 -132
- bl_operators/geometry_nodes/__init__.pyi +2131 -842
- bl_operators/image/__init__.pyi +330 -97
- bl_operators/mesh/__init__.pyi +339 -109
- bl_operators/node/__init__.pyi +1506 -621
- bl_operators/object/__init__.pyi +1828 -668
- bl_operators/object_align/__init__.pyi +124 -35
- bl_operators/object_quick_effects/__init__.pyi +470 -149
- bl_operators/object_randomize_transform/__init__.pyi +114 -35
- bl_operators/presets/__init__.pyi +3056 -1374
- bl_operators/rigidbody/__init__.pyi +336 -106
- bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
- bl_operators/sequencer/__init__.pyi +579 -204
- bl_operators/spreadsheet/__init__.pyi +110 -38
- bl_operators/userpref/__init__.pyi +3201 -1236
- bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
- bl_operators/uvcalc_transform/__init__.pyi +295 -83
- bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
- bl_operators/view3d/__init__.pyi +542 -184
- bl_operators/wm/__init__.pyi +5554 -2159
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +346 -146
- bl_ui/anim/__init__.pyi +107 -47
- bl_ui/asset_shelf/__init__.pyi +111 -33
- bl_ui/generic_ui_list/__init__.pyi +349 -146
- bl_ui/node_add_menu/__init__.pyi +138 -53
- bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
- bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
- bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
- bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
- bl_ui/properties_animviz/__init__.pyi +14 -12
- bl_ui/properties_collection/__init__.pyi +601 -218
- bl_ui/properties_constraint/__init__.pyi +10115 -10647
- bl_ui/properties_data_armature/__init__.pyi +1550 -648
- bl_ui/properties_data_bone/__init__.pyi +1317 -511
- bl_ui/properties_data_camera/__init__.pyi +1852 -719
- bl_ui/properties_data_curve/__init__.pyi +2015 -781
- bl_ui/properties_data_curves/__init__.pyi +713 -262
- bl_ui/properties_data_empty/__init__.pyi +252 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
- bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
- bl_ui/properties_data_lattice/__init__.pyi +374 -123
- bl_ui/properties_data_light/__init__.pyi +1319 -489
- bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
- bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
- bl_ui/properties_data_metaball/__init__.pyi +610 -197
- bl_ui/properties_data_modifier/__init__.pyi +1143 -506
- bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
- bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
- bl_ui/properties_data_speaker/__init__.pyi +618 -195
- bl_ui/properties_data_volume/__init__.pyi +1052 -408
- bl_ui/properties_freestyle/__init__.pyi +3366 -1450
- bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
- bl_ui/properties_mask_common/__init__.pyi +803 -371
- bl_ui/properties_material/__init__.pyi +2038 -831
- bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
- bl_ui/properties_object/__init__.pyi +1863 -745
- bl_ui/properties_output/__init__.pyi +2482 -1071
- bl_ui/properties_paint_common/__init__.pyi +317 -424
- bl_ui/properties_particle/__init__.pyi +7235 -2942
- bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
- bl_ui/properties_physics_common/__init__.pyi +164 -51
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
- bl_ui/properties_physics_field/__init__.pyi +1294 -486
- bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
- bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
- bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
- bl_ui/properties_render/__init__.pyi +7177 -2939
- bl_ui/properties_scene/__init__.pyi +1881 -760
- bl_ui/properties_texture/__init__.pyi +3539 -1399
- bl_ui/properties_view_layer/__init__.pyi +2368 -940
- bl_ui/properties_workspace/__init__.pyi +517 -202
- bl_ui/properties_world/__init__.pyi +862 -269
- bl_ui/space_clip/__init__.pyi +9127 -4137
- bl_ui/space_console/__init__.pyi +666 -286
- bl_ui/space_dopesheet/__init__.pyi +3287 -1504
- bl_ui/space_filebrowser/__init__.pyi +3958 -1935
- bl_ui/space_graph/__init__.pyi +2406 -1142
- bl_ui/space_image/__init__.pyi +9242 -4526
- bl_ui/space_info/__init__.pyi +664 -285
- bl_ui/space_nla/__init__.pyi +2014 -932
- bl_ui/space_node/__init__.pyi +4549 -1949
- bl_ui/space_outliner/__init__.pyi +1619 -745
- bl_ui/space_properties/__init__.pyi +340 -105
- bl_ui/space_sequencer/__init__.pyi +9396 -4264
- bl_ui/space_spreadsheet/__init__.pyi +110 -60
- bl_ui/space_statusbar/__init__.pyi +107 -32
- bl_ui/space_text/__init__.pyi +1907 -872
- bl_ui/space_time/__init__.pyi +812 -327
- bl_ui/space_toolsystem_common/__init__.pyi +203 -99
- bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
- bl_ui/space_topbar/__init__.pyi +3131 -1437
- bl_ui/space_userpref/__init__.pyi +11510 -4926
- bl_ui/space_view3d/__init__.pyi +31358 -14417
- bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
- bl_ui/utils/__init__.pyi +7 -16
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +253 -247
- bmesh/utils/__init__.pyi +54 -54
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +316 -415
- bpy/ops/anim/__init__.pyi +428 -566
- bpy/ops/armature/__init__.pyi +360 -488
- bpy/ops/asset/__init__.pyi +146 -183
- bpy/ops/boid/__init__.pyi +50 -67
- bpy/ops/brush/__init__.pyi +72 -96
- bpy/ops/buttons/__init__.pyi +128 -142
- bpy/ops/cachefile/__init__.pyi +124 -137
- bpy/ops/camera/__init__.pyi +22 -28
- bpy/ops/clip/__init__.pyi +768 -1005
- bpy/ops/cloth/__init__.pyi +10 -13
- bpy/ops/collection/__init__.pyi +36 -50
- bpy/ops/console/__init__.pyi +150 -203
- bpy/ops/constraint/__init__.pyi +150 -201
- bpy/ops/curve/__init__.pyi +474 -607
- bpy/ops/curves/__init__.pyi +170 -221
- bpy/ops/cycles/__init__.pyi +18 -26
- bpy/ops/dpaint/__init__.pyi +34 -46
- bpy/ops/ed/__init__.pyi +122 -149
- bpy/ops/export_anim/__init__.pyi +18 -21
- bpy/ops/export_mesh/__init__.pyi +26 -29
- bpy/ops/export_scene/__init__.pyi +307 -342
- bpy/ops/file/__init__.pyi +342 -436
- bpy/ops/fluid/__init__.pyi +88 -117
- bpy/ops/font/__init__.pyi +252 -311
- bpy/ops/geometry/__init__.pyi +86 -113
- bpy/ops/gizmogroup/__init__.pyi +22 -27
- bpy/ops/gpencil/__init__.pyi +1444 -1864
- bpy/ops/graph/__init__.pyi +642 -822
- bpy/ops/grease_pencil/__init__.pyi +426 -576
- bpy/ops/image/__init__.pyi +612 -733
- bpy/ops/import_anim/__init__.pyi +26 -29
- bpy/ops/import_curve/__init__.pyi +6 -9
- bpy/ops/import_mesh/__init__.pyi +18 -23
- bpy/ops/import_scene/__init__.pyi +86 -101
- bpy/ops/info/__init__.pyi +60 -77
- bpy/ops/lattice/__init__.pyi +64 -85
- bpy/ops/marker/__init__.pyi +106 -137
- bpy/ops/mask/__init__.pyi +318 -420
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -93
- bpy/ops/mesh/__init__.pyi +1988 -2460
- bpy/ops/nla/__init__.pyi +330 -428
- bpy/ops/node/__init__.pyi +852 -1115
- bpy/ops/object/__init__.pyi +2420 -3081
- bpy/ops/outliner/__init__.pyi +498 -661
- bpy/ops/paint/__init__.pyi +518 -667
- bpy/ops/paintcurve/__init__.pyi +64 -84
- bpy/ops/palette/__init__.pyi +48 -66
- bpy/ops/particle/__init__.pyi +264 -355
- bpy/ops/pose/__init__.pyi +336 -438
- bpy/ops/poselib/__init__.pyi +70 -92
- bpy/ops/preferences/__init__.pyi +336 -440
- bpy/ops/ptcache/__init__.pyi +46 -62
- bpy/ops/render/__init__.pyi +114 -147
- bpy/ops/rigidbody/__init__.pyi +102 -135
- bpy/ops/scene/__init__.pyi +270 -364
- bpy/ops/screen/__init__.pyi +378 -477
- bpy/ops/script/__init__.pyi +18 -26
- bpy/ops/sculpt/__init__.pyi +400 -488
- bpy/ops/sculpt_curves/__init__.pyi +40 -53
- bpy/ops/sequencer/__init__.pyi +1040 -1279
- bpy/ops/sound/__init__.pyi +208 -226
- bpy/ops/spreadsheet/__init__.pyi +30 -40
- bpy/ops/surface/__init__.pyi +108 -126
- bpy/ops/text/__init__.pyi +382 -486
- bpy/ops/text_editor/__init__.pyi +10 -13
- bpy/ops/texture/__init__.pyi +26 -35
- bpy/ops/transform/__init__.pyi +790 -905
- bpy/ops/ui/__init__.pyi +216 -291
- bpy/ops/uilist/__init__.pyi +20 -29
- bpy/ops/uv/__init__.pyi +600 -742
- bpy/ops/view2d/__init__.pyi +156 -195
- bpy/ops/view3d/__init__.pyi +576 -742
- bpy/ops/wm/__init__.pyi +2360 -2702
- bpy/ops/workspace/__init__.pyi +42 -57
- bpy/ops/world/__init__.pyi +6 -8
- bpy/path/__init__.pyi +110 -81
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86353 -87337
- bpy/utils/__init__.pyi +242 -154
- bpy/utils/previews/__init__.pyi +57 -57
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/anim_utils/__init__.pyi +11 -31
- bpy_extras/asset_utils/__init__.pyi +4 -1
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -1
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3748 -1248
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/METADATA +1 -1
- fake_bpy_module-20240322.dist-info/RECORD +343 -0
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +463 -470
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +27 -17
- gpu/capabilities/__init__.pyi +19 -20
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +26 -6
- gpu_extras/presets/__init__.pyi +51 -16
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +2520 -1085
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +491 -423
- mathutils/bvhtree/__init__.pyi +26 -31
- mathutils/geometry/__init__.pyi +176 -185
- mathutils/kdtree/__init__.pyi +14 -17
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +37 -15
- nodeitems_utils/__init__.pyi +45 -13
- rna_info/__init__.pyi +177 -76
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +56 -14
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- fake_bpy_module-20240321.dist-info/RECORD +0 -343
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/top_level.txt +0 -0
|
@@ -20,21 +20,21 @@ class ChainPredicateIterator:
|
|
|
20
20
|
|
|
21
21
|
def __init__(
|
|
22
22
|
self,
|
|
23
|
-
upred:
|
|
24
|
-
bpred:
|
|
23
|
+
upred: freestyle.types.UnaryPredicate1D,
|
|
24
|
+
bpred: freestyle.types.BinaryPredicate1D,
|
|
25
25
|
restrict_to_selection: bool = True,
|
|
26
26
|
restrict_to_unvisited: bool = True,
|
|
27
|
-
begin
|
|
27
|
+
begin=None,
|
|
28
28
|
orientation: bool = True,
|
|
29
29
|
):
|
|
30
30
|
"""Builds a ChainPredicateIterator from a unary predicate, a binary
|
|
31
31
|
predicate, a starting ViewEdge and its orientation or using the copy constructor.
|
|
32
32
|
|
|
33
33
|
:param upred: The unary predicate that the next ViewEdge must satisfy.
|
|
34
|
-
:type upred:
|
|
34
|
+
:type upred: freestyle.types.UnaryPredicate1D
|
|
35
35
|
:param bpred: The binary predicate that the next ViewEdge must
|
|
36
36
|
satisfy together with the actual pointed ViewEdge.
|
|
37
|
-
:type bpred:
|
|
37
|
+
:type bpred: freestyle.types.BinaryPredicate1D
|
|
38
38
|
:param restrict_to_selection: Indicates whether to force the chaining
|
|
39
39
|
to stay within the set of selected ViewEdges or not.
|
|
40
40
|
:type restrict_to_selection: bool
|
|
@@ -42,7 +42,6 @@ class ChainPredicateIterator:
|
|
|
42
42
|
already been chained must be ignored ot not.
|
|
43
43
|
:type restrict_to_unvisited: bool
|
|
44
44
|
:param begin: The ViewEdge from where to start the iteration.
|
|
45
|
-
:type begin: typing.Optional['freestyle.types.ViewEdge']
|
|
46
45
|
:param orientation: If true, we'll look for the next ViewEdge among
|
|
47
46
|
the ViewEdges that surround the ending ViewVertex of begin. If
|
|
48
47
|
false, we'll search over the ViewEdges surrounding the ending
|
|
@@ -51,12 +50,12 @@ class ChainPredicateIterator:
|
|
|
51
50
|
"""
|
|
52
51
|
...
|
|
53
52
|
|
|
54
|
-
def __init__(self, brother:
|
|
53
|
+
def __init__(self, brother: ChainPredicateIterator):
|
|
55
54
|
"""Builds a ChainPredicateIterator from a unary predicate, a binary
|
|
56
55
|
predicate, a starting ViewEdge and its orientation or using the copy constructor.
|
|
57
56
|
|
|
58
57
|
:param brother: A ChainPredicateIterator object.
|
|
59
|
-
:type brother:
|
|
58
|
+
:type brother: ChainPredicateIterator
|
|
60
59
|
"""
|
|
61
60
|
...
|
|
62
61
|
|
|
@@ -73,10 +72,7 @@ class ChainSilhouetteIterator:
|
|
|
73
72
|
"""
|
|
74
73
|
|
|
75
74
|
def __init__(
|
|
76
|
-
self,
|
|
77
|
-
restrict_to_selection: bool = True,
|
|
78
|
-
begin: typing.Optional["freestyle.types.ViewEdge"] = None,
|
|
79
|
-
orientation: bool = True,
|
|
75
|
+
self, restrict_to_selection: bool = True, begin=None, orientation: bool = True
|
|
80
76
|
):
|
|
81
77
|
"""Builds a ChainSilhouetteIterator from the first ViewEdge used for
|
|
82
78
|
iteration and its orientation or the copy constructor.
|
|
@@ -85,7 +81,6 @@ class ChainSilhouetteIterator:
|
|
|
85
81
|
to stay within the set of selected ViewEdges or not.
|
|
86
82
|
:type restrict_to_selection: bool
|
|
87
83
|
:param begin: The ViewEdge from where to start the iteration.
|
|
88
|
-
:type begin: typing.Optional['freestyle.types.ViewEdge']
|
|
89
84
|
:param orientation: If true, we'll look for the next ViewEdge among
|
|
90
85
|
the ViewEdges that surround the ending ViewVertex of begin. If
|
|
91
86
|
false, we'll search over the ViewEdges surrounding the ending
|
|
@@ -94,12 +89,12 @@ class ChainSilhouetteIterator:
|
|
|
94
89
|
"""
|
|
95
90
|
...
|
|
96
91
|
|
|
97
|
-
def __init__(self, brother:
|
|
92
|
+
def __init__(self, brother: ChainSilhouetteIterator):
|
|
98
93
|
"""Builds a ChainSilhouetteIterator from the first ViewEdge used for
|
|
99
94
|
iteration and its orientation or the copy constructor.
|
|
100
95
|
|
|
101
96
|
:param brother: A ChainSilhouetteIterator object.
|
|
102
|
-
:type brother:
|
|
97
|
+
:type brother: ChainSilhouetteIterator
|
|
103
98
|
"""
|
|
104
99
|
...
|
|
105
100
|
|
|
@@ -113,8 +108,6 @@ class pyChainSilhouetteGenericIterator:
|
|
|
113
108
|
def __init__(self, stayInSelection: bool = True, stayInUnvisited: bool = True):
|
|
114
109
|
"""Builds a pyChainSilhouetteGenericIterator object.
|
|
115
110
|
|
|
116
|
-
:param self:
|
|
117
|
-
:type self:
|
|
118
111
|
:param stayInSelection: True if it is allowed to go out of the selection
|
|
119
112
|
:type stayInSelection: bool
|
|
120
113
|
:param stayInUnvisited: May the same ViewEdge be chained twice
|
|
@@ -122,12 +115,14 @@ class pyChainSilhouetteGenericIterator:
|
|
|
122
115
|
"""
|
|
123
116
|
...
|
|
124
117
|
|
|
125
|
-
def init(self):
|
|
118
|
+
def init(self):
|
|
119
|
+
""" """
|
|
120
|
+
...
|
|
121
|
+
|
|
126
122
|
def traverse(self, iter):
|
|
127
123
|
"""
|
|
128
124
|
|
|
129
125
|
:param iter:
|
|
130
|
-
:type iter:
|
|
131
126
|
"""
|
|
132
127
|
...
|
|
133
128
|
|
|
@@ -138,12 +133,14 @@ class pyChainSilhouetteIterator:
|
|
|
138
133
|
types. A ViewEdge is only chained once.
|
|
139
134
|
"""
|
|
140
135
|
|
|
141
|
-
def init(self):
|
|
136
|
+
def init(self):
|
|
137
|
+
""" """
|
|
138
|
+
...
|
|
139
|
+
|
|
142
140
|
def traverse(self, iter):
|
|
143
141
|
"""
|
|
144
142
|
|
|
145
143
|
:param iter:
|
|
146
|
-
:type iter:
|
|
147
144
|
"""
|
|
148
145
|
...
|
|
149
146
|
|
|
@@ -154,18 +151,18 @@ class pyExternalContourChainingIterator:
|
|
|
154
151
|
"""
|
|
155
152
|
|
|
156
153
|
:param ve:
|
|
157
|
-
:type ve:
|
|
158
154
|
:param orientation:
|
|
159
|
-
:type orientation:
|
|
160
155
|
"""
|
|
161
156
|
...
|
|
162
157
|
|
|
163
|
-
def init(self):
|
|
158
|
+
def init(self):
|
|
159
|
+
""" """
|
|
160
|
+
...
|
|
161
|
+
|
|
164
162
|
def traverse(self, iter):
|
|
165
163
|
"""
|
|
166
164
|
|
|
167
165
|
:param iter:
|
|
168
|
-
:type iter:
|
|
169
166
|
"""
|
|
170
167
|
...
|
|
171
168
|
|
|
@@ -177,8 +174,6 @@ class pyFillOcclusionsAbsoluteAndRelativeChainingIterator:
|
|
|
177
174
|
def __init__(self, percent: float, l: float):
|
|
178
175
|
"""Builds a pyFillOcclusionsAbsoluteAndRelativeChainingIterator object.
|
|
179
176
|
|
|
180
|
-
:param self:
|
|
181
|
-
:type self:
|
|
182
177
|
:param percent: The maximal length of the occluded part as a
|
|
183
178
|
percentage of the total chain length.
|
|
184
179
|
:type percent: float
|
|
@@ -187,12 +182,14 @@ class pyFillOcclusionsAbsoluteAndRelativeChainingIterator:
|
|
|
187
182
|
"""
|
|
188
183
|
...
|
|
189
184
|
|
|
190
|
-
def init(self):
|
|
185
|
+
def init(self):
|
|
186
|
+
""" """
|
|
187
|
+
...
|
|
188
|
+
|
|
191
189
|
def traverse(self, iter):
|
|
192
190
|
"""
|
|
193
191
|
|
|
194
192
|
:param iter:
|
|
195
|
-
:type iter:
|
|
196
193
|
"""
|
|
197
194
|
...
|
|
198
195
|
|
|
@@ -202,19 +199,19 @@ class pyFillOcclusionsAbsoluteChainingIterator:
|
|
|
202
199
|
def __init__(self, length: int):
|
|
203
200
|
"""Builds a pyFillOcclusionsAbsoluteChainingIterator object.
|
|
204
201
|
|
|
205
|
-
:param self:
|
|
206
|
-
:type self:
|
|
207
202
|
:param length: The maximum length of the occluded part in pixels.
|
|
208
203
|
:type length: int
|
|
209
204
|
"""
|
|
210
205
|
...
|
|
211
206
|
|
|
212
|
-
def init(self):
|
|
207
|
+
def init(self):
|
|
208
|
+
""" """
|
|
209
|
+
...
|
|
210
|
+
|
|
213
211
|
def traverse(self, iter):
|
|
214
212
|
"""
|
|
215
213
|
|
|
216
214
|
:param iter:
|
|
217
|
-
:type iter:
|
|
218
215
|
"""
|
|
219
216
|
...
|
|
220
217
|
|
|
@@ -224,20 +221,20 @@ class pyFillOcclusionsRelativeChainingIterator:
|
|
|
224
221
|
def __init__(self, percent: float):
|
|
225
222
|
"""Builds a pyFillOcclusionsRelativeChainingIterator object.
|
|
226
223
|
|
|
227
|
-
:param self:
|
|
228
|
-
:type self:
|
|
229
224
|
:param percent: The maximal length of the occluded part, expressed
|
|
230
225
|
in a percentage of the total chain length.
|
|
231
226
|
:type percent: float
|
|
232
227
|
"""
|
|
233
228
|
...
|
|
234
229
|
|
|
235
|
-
def init(self):
|
|
230
|
+
def init(self):
|
|
231
|
+
""" """
|
|
232
|
+
...
|
|
233
|
+
|
|
236
234
|
def traverse(self, iter):
|
|
237
235
|
"""
|
|
238
236
|
|
|
239
237
|
:param iter:
|
|
240
|
-
:type iter:
|
|
241
238
|
"""
|
|
242
239
|
...
|
|
243
240
|
|
|
@@ -249,8 +246,6 @@ class pyFillQi0AbsoluteAndRelativeChainingIterator:
|
|
|
249
246
|
def __init__(self, percent: float, l: float):
|
|
250
247
|
"""Builds a pyFillQi0AbsoluteAndRelativeChainingIterator object.
|
|
251
248
|
|
|
252
|
-
:param self:
|
|
253
|
-
:type self:
|
|
254
249
|
:param percent: The maximal length of the occluded part as a
|
|
255
250
|
percentage of the total chain length.
|
|
256
251
|
:type percent: float
|
|
@@ -259,12 +254,14 @@ class pyFillQi0AbsoluteAndRelativeChainingIterator:
|
|
|
259
254
|
"""
|
|
260
255
|
...
|
|
261
256
|
|
|
262
|
-
def init(self):
|
|
257
|
+
def init(self):
|
|
258
|
+
""" """
|
|
259
|
+
...
|
|
260
|
+
|
|
263
261
|
def traverse(self, iter):
|
|
264
262
|
"""
|
|
265
263
|
|
|
266
264
|
:param iter:
|
|
267
|
-
:type iter:
|
|
268
265
|
"""
|
|
269
266
|
...
|
|
270
267
|
|
|
@@ -278,19 +275,19 @@ class pyNoIdChainSilhouetteIterator:
|
|
|
278
275
|
def __init__(self, stayInSelection: bool = True):
|
|
279
276
|
"""Builds a pyNoIdChainSilhouetteIterator object.
|
|
280
277
|
|
|
281
|
-
:param self:
|
|
282
|
-
:type self:
|
|
283
278
|
:param stayInSelection: True if it is allowed to go out of the selection
|
|
284
279
|
:type stayInSelection: bool
|
|
285
280
|
"""
|
|
286
281
|
...
|
|
287
282
|
|
|
288
|
-
def init(self):
|
|
283
|
+
def init(self):
|
|
284
|
+
""" """
|
|
285
|
+
...
|
|
286
|
+
|
|
289
287
|
def traverse(self, iter):
|
|
290
288
|
"""
|
|
291
289
|
|
|
292
290
|
:param iter:
|
|
293
|
-
:type iter:
|
|
294
291
|
"""
|
|
295
292
|
...
|
|
296
293
|
|
|
@@ -302,8 +299,6 @@ class pySketchyChainSilhouetteIterator:
|
|
|
302
299
|
def __init__(self, nRounds: int = 3, stayInSelection: bool = True):
|
|
303
300
|
"""Builds a pySketchyChainSilhouetteIterator object.
|
|
304
301
|
|
|
305
|
-
:param self:
|
|
306
|
-
:type self:
|
|
307
302
|
:param nRounds: Number of times every Viewedge is chained.
|
|
308
303
|
:type nRounds: int
|
|
309
304
|
:param stayInSelection: if False, edges outside of the selection can be chained.
|
|
@@ -311,13 +306,15 @@ class pySketchyChainSilhouetteIterator:
|
|
|
311
306
|
"""
|
|
312
307
|
...
|
|
313
308
|
|
|
314
|
-
def init(self):
|
|
309
|
+
def init(self):
|
|
310
|
+
""" """
|
|
311
|
+
...
|
|
312
|
+
|
|
315
313
|
def make_sketchy(self, ve):
|
|
316
314
|
"""Creates the sketchy effect by causing the chain to run from
|
|
317
315
|
the start again. (loop over itself again)
|
|
318
316
|
|
|
319
317
|
:param ve:
|
|
320
|
-
:type ve:
|
|
321
318
|
"""
|
|
322
319
|
...
|
|
323
320
|
|
|
@@ -325,7 +322,6 @@ class pySketchyChainSilhouetteIterator:
|
|
|
325
322
|
"""
|
|
326
323
|
|
|
327
324
|
:param iter:
|
|
328
|
-
:type iter:
|
|
329
325
|
"""
|
|
330
326
|
...
|
|
331
327
|
|
|
@@ -335,11 +331,13 @@ class pySketchyChainingIterator:
|
|
|
335
331
|
ViewEdge.
|
|
336
332
|
"""
|
|
337
333
|
|
|
338
|
-
def init(self):
|
|
334
|
+
def init(self):
|
|
335
|
+
""" """
|
|
336
|
+
...
|
|
337
|
+
|
|
339
338
|
def traverse(self, iter):
|
|
340
339
|
"""
|
|
341
340
|
|
|
342
341
|
:param iter:
|
|
343
|
-
:type iter:
|
|
344
342
|
"""
|
|
345
343
|
...
|