@tushar-br/editing-pack 1.0.188 → 1.0.190
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.
- package/package.json +1 -1
- package/staging_area/Blender/blender.pdb.ts_part_0 +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/__init__.py +0 -173
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/__pycache__/camera.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/__pycache__/engine.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/__pycache__/operators.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/__pycache__/presets.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/__pycache__/properties.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/__pycache__/ui.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/__pycache__/version_update.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/geom/shader_data.h +0 -452
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/geom/triangle.h +0 -278
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/geom/triangle_intersect.h +0 -166
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/geom/volume.h +0 -104
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/globals.h +0 -13
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/image.h +0 -12
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/displacement_shader.h +0 -43
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/guiding.h +0 -641
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/init_from_bake.h +0 -344
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/init_from_camera.h +0 -110
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/intersect_closest.h +0 -443
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/intersect_dedicated_light.h +0 -232
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/intersect_shadow.h +0 -183
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/intersect_subsurface.h +0 -24
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/intersect_volume_stack.h +0 -250
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/megakernel.h +0 -114
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/mnee.h +0 -1123
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/path_state.h +0 -425
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/shade_background.h +0 -210
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/shade_dedicated_light.h +0 -243
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/shade_light.h +0 -95
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/shade_shadow.h +0 -192
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/shade_surface.h +0 -885
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/shade_volume.h +0 -2947
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/shadow_catcher.h +0 -79
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/shadow_linking.h +0 -69
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/shadow_state_template.h +0 -99
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/state.h +0 -276
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/state_flow.h +0 -255
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/state_template.h +0 -152
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/state_util.h +0 -602
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/subsurface.h +0 -251
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/subsurface_disk.h +0 -220
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/subsurface_random_walk.h +0 -462
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/surface_shader.h +0 -1198
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/volume_shader.h +0 -539
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/integrator/volume_stack.h +0 -258
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/light/area.h +0 -537
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/light/background.h +0 -500
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/light/common.h +0 -86
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/light/distant.h +0 -167
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/light/distribution.h +0 -60
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/light/light.h +0 -499
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/light/point.h +0 -240
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/light/sample.h +0 -545
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/light/spot.h +0 -347
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/light/tree.h +0 -951
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/light/triangle.h +0 -339
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/osl/camera.h +0 -81
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/osl/closures_setup.h +0 -1259
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/osl/closures_template.h +0 -277
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/osl/osl.h +0 -287
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/osl/services_gpu.h +0 -1327
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/osl/types.h +0 -157
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/sample/lcg.h +0 -53
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/sample/mapping.h +0 -251
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/sample/mis.h +0 -41
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/sample/pattern.h +0 -188
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/sample/sobol_burley.h +0 -203
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/sample/tabulated_sobol.h +0 -178
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/sample/util.h +0 -79
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/ao.h +0 -148
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/aov.h +0 -49
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/attribute.h +0 -326
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/bevel.h +0 -334
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/blackbody.h +0 -35
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/brick.h +0 -147
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/brightness.h +0 -32
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/bump.h +0 -72
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/camera.h +0 -42
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/checker.h +0 -54
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/clamp.h +0 -40
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/closure.h +0 -1559
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/color_util.h +0 -409
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/convert.h +0 -66
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/displace.h +0 -240
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/fractal_noise.h +0 -550
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/fresnel.h +0 -80
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/gabor.h +0 -392
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/gamma.h +0 -27
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/geometry.h +0 -280
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/gradient.h +0 -80
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/hsv.h +0 -54
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/ies.h +0 -38
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/image.h +0 -273
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/invert.h +0 -33
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/light_path.h +0 -150
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/magic.h +0 -132
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/map_range.h +0 -164
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/mapping.h +0 -74
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/mapping_util.h +0 -37
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/math.h +0 -73
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/math_util.h +0 -278
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/mix.h +0 -125
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/node_types_template.h +0 -115
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/noise.h +0 -761
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/noisetex.h +0 -370
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/normal.h +0 -38
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/radial_tiling.h +0 -81
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/radial_tiling_shared.h +0 -1179
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/ramp.h +0 -185
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/ramp_util.h +0 -80
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/sepcomb_color.h +0 -62
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/sepcomb_vector.h +0 -45
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/sky.h +0 -309
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/svm.h +0 -492
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/tex_coord.h +0 -506
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/types.h +0 -530
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/util.h +0 -160
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/value.h +0 -34
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/vector_rotate.h +0 -79
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/vector_transform.h +0 -130
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/vertex_color.h +0 -107
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/voronoi.h +0 -1248
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/wave.h +0 -137
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/wavelength.h +0 -36
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/white_noise.h +0 -74
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/svm/wireframe.h +0 -116
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/tables.h +0 -124
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/types.h +0 -1923
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/util/colorspace.h +0 -54
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/util/differential.h +0 -169
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/util/ies.h +0 -145
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/util/lookup_table.h +0 -74
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/util/nanovdb.h +0 -436
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/util/profiler.h +0 -28
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/kernel/util/texture_3d.h +0 -232
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/atomic.h +0 -315
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/color.h +0 -439
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/defines.h +0 -131
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/guiding.h +0 -40
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/half.h +0 -178
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/hash.h +0 -650
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/math.h +0 -24
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/math_base.h +0 -953
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/math_dual.h +0 -59
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/math_fast.h +0 -650
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/math_float2.h +0 -274
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/math_float3.h +0 -847
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/math_float4.h +0 -666
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/math_float8.h +0 -471
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/math_int2.h +0 -59
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/math_int3.h +0 -117
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/math_int4.h +0 -296
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/math_int8.h +0 -353
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/math_intersect.h +0 -452
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/projection.h +0 -308
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/projection_inverse.h +0 -95
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/rect.h +0 -61
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/static_assert.h +0 -21
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/texture.h +0 -100
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/transform.h +0 -650
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types.h +0 -32
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_base.h +0 -94
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_dual.h +0 -134
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_float2.h +0 -71
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_float3.h +0 -200
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_float4.h +0 -134
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_float8.h +0 -134
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_int2.h +0 -44
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_int3.h +0 -158
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_int4.h +0 -91
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_int8.h +0 -94
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_rgbe.h +0 -109
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_spectrum.h +0 -28
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_uchar2.h +0 -39
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_uchar3.h +0 -39
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_uchar4.h +0 -45
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_uint2.h +0 -37
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_uint3.h +0 -91
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_uint4.h +0 -37
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/source/util/types_ushort4.h +0 -19
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/ui.py +0 -2645
- package/staging_area/Blender/5.0/scripts/addons_core/cycles/version_update.py +0 -330
- package/staging_area/Blender/5.0/scripts/addons_core/hydra_storm/__init__.py +0 -33
- package/staging_area/Blender/5.0/scripts/addons_core/hydra_storm/engine.py +0 -47
- package/staging_area/Blender/5.0/scripts/addons_core/hydra_storm/properties.py +0 -62
- package/staging_area/Blender/5.0/scripts/addons_core/hydra_storm/ui.py +0 -280
- package/staging_area/Blender/5.0/scripts/addons_core/io_anim_bvh/__init__.py +0 -397
- package/staging_area/Blender/5.0/scripts/addons_core/io_anim_bvh/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_anim_bvh/export_bvh.py +0 -294
- package/staging_area/Blender/5.0/scripts/addons_core/io_anim_bvh/import_bvh.py +0 -795
- package/staging_area/Blender/5.0/scripts/addons_core/io_curve_svg/__init__.py +0 -115
- package/staging_area/Blender/5.0/scripts/addons_core/io_curve_svg/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_curve_svg/import_svg.py +0 -1911
- package/staging_area/Blender/5.0/scripts/addons_core/io_curve_svg/svg_colors.py +0 -153
- package/staging_area/Blender/5.0/scripts/addons_core/io_curve_svg/svg_util.py +0 -107
- package/staging_area/Blender/5.0/scripts/addons_core/io_curve_svg/svg_util_test.py +0 -166
- package/staging_area/Blender/5.0/scripts/addons_core/io_mesh_uv_layout/__init__.py +0 -302
- package/staging_area/Blender/5.0/scripts/addons_core/io_mesh_uv_layout/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_mesh_uv_layout/export_uv_eps.py +0 -82
- package/staging_area/Blender/5.0/scripts/addons_core/io_mesh_uv_layout/export_uv_png.py +0 -119
- package/staging_area/Blender/5.0/scripts/addons_core/io_mesh_uv_layout/export_uv_svg.py +0 -54
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_fbx/__init__.py +0 -740
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_fbx/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_fbx/data_types.py +0 -62
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_fbx/encode_bin.py +0 -434
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_fbx/export_fbx_bin.py +0 -3819
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_fbx/fbx2json.py +0 -341
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_fbx/fbx_utils.py +0 -1931
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_fbx/fbx_utils_threading.py +0 -194
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_fbx/import_fbx.py +0 -4045
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_fbx/json2fbx.py +0 -165
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_fbx/parse_fbx.py +0 -274
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/__init__.py +0 -2250
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/__init__.py +0 -3
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/__pycache__/blender_default.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/__pycache__/conversion.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/__pycache__/data_path.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/__pycache__/extras.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/__pycache__/gltf2_blender_math.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/__pycache__/gltf2_blender_ui.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/__pycache__/gltf2_blender_utils.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/__pycache__/json_util.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/__pycache__/material_helpers.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/blender_default.py +0 -15
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/conversion.py +0 -229
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/data_path.py +0 -110
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/extras.py +0 -89
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/gltf2_blender_math.py +0 -209
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/gltf2_blender_ui.py +0 -751
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/gltf2_blender_utils.py +0 -70
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/json_util.py +0 -27
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/com/material_helpers.py +0 -32
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/__pycache__/cache.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/__pycache__/sampler.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/accessors.py +0 -189
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/action.py +0 -1062
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/anim_utils.py +0 -321
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/animations.py +0 -22
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/drivers.py +0 -83
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/fcurves/animation.py +0 -35
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/fcurves/channel_target.py +0 -53
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/fcurves/channels.py +0 -378
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/fcurves/keyframes.py +0 -207
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/fcurves/sampler.py +0 -231
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/keyframes.py +0 -127
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/armature/action_sampled.py +0 -55
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/armature/channel_target.py +0 -54
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/armature/channels.py +0 -236
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/armature/keyframes.py +0 -95
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/armature/sampler.py +0 -230
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/data/channel_target.py +0 -48
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/data/channels.py +0 -118
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/data/keyframes.py +0 -152
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/data/sampler.py +0 -135
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/object/action_sampled.py +0 -58
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/object/channel_target.py +0 -51
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/object/channels.py +0 -136
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/object/keyframes.py +0 -88
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/object/sampler.py +0 -171
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/sampling_cache.py +0 -754
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/shapekeys/action_sampled.py +0 -43
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/shapekeys/channel_target.py +0 -38
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/shapekeys/channels.py +0 -79
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/shapekeys/keyframes.py +0 -145
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/sampled/shapekeys/sampler.py +0 -111
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/scene_animation.py +0 -244
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/animation/tracks.py +0 -846
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/cache.py +0 -182
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/cameras.py +0 -152
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/export.py +0 -412
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/exporter.py +0 -536
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/gather.py +0 -157
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/joints.py +0 -110
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/light_spots.py +0 -47
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/lights.py +0 -212
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/__pycache__/encode_image.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/__pycache__/image.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/__pycache__/search_node_tree.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/__pycache__/texture.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/__pycache__/texture_info.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/__pycache__/unlit.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/encode_image.py +0 -491
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/extensions/anisotropy.py +0 -259
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/extensions/clearcoat.py +0 -156
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/extensions/emission.py +0 -115
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/extensions/ior.py +0 -45
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/extensions/sheen.py +0 -129
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/extensions/specular.py +0 -140
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/extensions/transmission.py +0 -76
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/extensions/variants.py +0 -19
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/extensions/volume.py +0 -118
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/image.py +0 -514
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/material_utils.py +0 -13
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/material_viewport.py +0 -32
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/materials.py +0 -714
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/pbr_metallic_roughness.py +0 -257
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/search_node_tree.py +0 -1120
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/texture.py +0 -248
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/texture_info.py +0 -291
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/material/unlit.py +0 -191
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/mesh.py +0 -160
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/nodes.py +0 -577
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/primitive_attributes.py +0 -252
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/primitive_extract.py +0 -1662
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/primitives.py +0 -366
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/sampler.py +0 -187
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/skins.py +0 -148
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/exp/tree.py +0 -976
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/KHR_materials_anisotropy.py +0 -116
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/KHR_materials_pbrSpecularGlossiness.py +0 -203
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/KHR_materials_unlit.py +0 -56
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/KHR_materials_anisotropy.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/KHR_materials_pbrSpecularGlossiness.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/KHR_materials_unlit.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/animation.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/animation_node.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/animation_pointer.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/animation_utils.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/animation_weight.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/blender_gltf.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/camera.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/draco_compression_extension.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/image.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/light.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/material.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/material_utils.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/mesh.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/node.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/pbrMetallicRoughness.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/scene.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/texture.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/__pycache__/vnode.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/animation.py +0 -170
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/animation_node.py +0 -170
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/animation_pointer.py +0 -787
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/animation_utils.py +0 -174
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/animation_weight.py +0 -95
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/blender_gltf.py +0 -633
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/camera.py +0 -75
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/draco_compression_extension.py +0 -138
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/image.py +0 -102
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/light.py +0 -143
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/material.py +0 -113
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/material_utils.py +0 -196
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/mesh.py +0 -920
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/node.py +0 -348
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/pbrMetallicRoughness.py +0 -903
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/scene.py +0 -133
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/texture.py +0 -233
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/blender/imp/vnode.py +0 -661
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/extern_draco.dll +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/__init__.py +0 -5
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/com/__pycache__/constants.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/com/__pycache__/debug.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/com/__pycache__/draco.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/com/__pycache__/gltf2_io.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/com/__pycache__/gltf2_io_extensions.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/com/__pycache__/path.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/com/constants.py +0 -159
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/com/debug.py +0 -129
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/com/draco.py +0 -46
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/com/gltf2_io.py +0 -1217
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/com/gltf2_io_extensions.py +0 -30
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/com/lights_punctual.py +0 -68
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/com/path.py +0 -19
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/com/variants.py +0 -32
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/exp/__pycache__/binary_data.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/exp/__pycache__/image_data.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/exp/__pycache__/user_extensions.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/exp/binary_data.py +0 -35
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/exp/buffer.py +0 -54
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/exp/draco.py +0 -174
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/exp/export.py +0 -122
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/exp/image_data.py +0 -80
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/exp/user_extensions.py +0 -17
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/imp/__init__.py +0 -5
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/imp/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/imp/__pycache__/gltf2_io_binary.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/imp/__pycache__/gltf2_io_gltf.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/imp/__pycache__/user_extensions.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/imp/gltf2_io_binary.py +0 -215
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/imp/gltf2_io_gltf.py +0 -198
- package/staging_area/Blender/5.0/scripts/addons_core/io_scene_gltf2/io/imp/user_extensions.py +0 -13
- package/staging_area/Blender/5.0/scripts/addons_core/node_wrangler/README.md +0 -5
- package/staging_area/Blender/5.0/scripts/addons_core/node_wrangler/__init__.py +0 -64
- package/staging_area/Blender/5.0/scripts/addons_core/node_wrangler/interface.py +0 -526
- package/staging_area/Blender/5.0/scripts/addons_core/node_wrangler/operators.py +0 -2421
- package/staging_area/Blender/5.0/scripts/addons_core/node_wrangler/preferences.py +0 -398
- package/staging_area/Blender/5.0/scripts/addons_core/node_wrangler/utils/constants.py +0 -192
- package/staging_area/Blender/5.0/scripts/addons_core/node_wrangler/utils/draw.py +0 -219
- package/staging_area/Blender/5.0/scripts/addons_core/node_wrangler/utils/nodes.py +0 -299
- package/staging_area/Blender/5.0/scripts/addons_core/node_wrangler/utils/paths.py +0 -169
- package/staging_area/Blender/5.0/scripts/addons_core/node_wrangler/utils/paths_test.py +0 -290
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/__init__.py +0 -56
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/__pycache__/asset_browser.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/__pycache__/functions.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/__pycache__/gui.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/__pycache__/keymaps.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/__pycache__/operators.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/__pycache__/pose_creation.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/__pycache__/pose_usage.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/asset_browser.py +0 -99
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/functions.py +0 -57
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/gui.py +0 -229
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/keymaps.py +0 -29
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/operators.py +0 -299
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/pose_creation.py +0 -413
- package/staging_area/Blender/5.0/scripts/addons_core/pose_library/pose_usage.py +0 -85
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/__init__.py +0 -907
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/base_generate.py +0 -536
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/base_rig.py +0 -351
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/feature_set_list.py +0 -357
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/feature_sets/__init__.py +0 -16
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/generate.py +0 -762
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/metarig_menu.py +0 -271
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/metarigs/Animals/__init__.py +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/metarigs/Animals/bird.py +0 -1397
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/metarigs/Animals/cat.py +0 -2854
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/metarigs/Animals/horse.py +0 -1401
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/metarigs/Animals/shark.py +0 -692
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/metarigs/Animals/wolf.py +0 -3088
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/metarigs/Basic/basic_human.py +0 -618
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/metarigs/Basic/basic_quadruped.py +0 -715
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/metarigs/__init__.py +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/metarigs/human.py +0 -2625
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/operators/__init__.py +0 -34
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/operators/action_layers.py +0 -658
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/operators/copy_mirror_parameters.py +0 -316
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/operators/generic_ui_list.py +0 -191
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/operators/upgrade_face.py +0 -457
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rig_lists.py +0 -116
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rig_ui_template.py +0 -1445
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/__init__.py +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/basic/__init__.py +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/basic/copy_chain.py +0 -167
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/basic/pivot.py +0 -242
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/basic/raw_copy.py +0 -228
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/basic/super_copy.py +0 -191
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/chain_rigs.py +0 -388
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/experimental/__init__.py +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/experimental/super_chain.py +0 -853
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/face/basic_tongue.py +0 -195
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/face/skin_eye.py +0 -843
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/face/skin_jaw.py +0 -880
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/faces/__init__.py +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/faces/super_face.py +0 -2378
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/limbs/__init__.py +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/limbs/arm.py +0 -209
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/limbs/front_paw.py +0 -270
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/limbs/leg.py +0 -746
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/limbs/limb_rigs.py +0 -1287
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/limbs/limb_utils.py +0 -78
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/limbs/paw.py +0 -360
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/limbs/rear_paw.py +0 -172
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/limbs/simple_tentacle.py +0 -169
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/limbs/spline_tentacle.py +0 -1486
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/limbs/super_finger.py +0 -699
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/limbs/super_limb.py +0 -46
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/limbs/super_palm.py +0 -426
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/skin/anchor.py +0 -142
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/skin/basic_chain.py +0 -565
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/skin/glue.py +0 -325
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/skin/skin_nodes.py +0 -604
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/skin/skin_parents.py +0 -505
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/skin/skin_rigs.py +0 -250
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/skin/stretchy_chain.py +0 -422
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/skin/transform/basic.py +0 -141
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/spines/__init__.py +0 -0
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/spines/basic_spine.py +0 -387
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/spines/basic_tail.py +0 -242
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/spines/spine_rigs.py +0 -295
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/spines/super_head.py +0 -424
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/spines/super_spine.py +0 -150
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/utils.py +0 -175
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rigs/widgets.py +0 -483
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/rot_mode.py +0 -311
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/ui.py +0 -1834
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/__init__.py +0 -40
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/action_layers.py +0 -454
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/animation.py +0 -1024
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/bones.py +0 -742
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/collections.py +0 -83
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/components.py +0 -102
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/errors.py +0 -28
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/layers.py +0 -396
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/mechanism.py +0 -669
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/metaclass.py +0 -170
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/misc.py +0 -533
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/naming.py +0 -366
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/node_merger.py +0 -345
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/objects.py +0 -206
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/rig.py +0 -747
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/switch_parent.py +0 -533
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/widgets.py +0 -531
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/widgets_basic.py +0 -305
- package/staging_area/Blender/5.0/scripts/addons_core/rigify/utils/widgets_special.py +0 -226
- package/staging_area/Blender/5.0/scripts/addons_core/ui_translate/__init__.py +0 -60
- package/staging_area/Blender/5.0/scripts/addons_core/ui_translate/settings.py +0 -194
- package/staging_area/Blender/5.0/scripts/addons_core/ui_translate/update_addon.py +0 -378
- package/staging_area/Blender/5.0/scripts/addons_core/ui_translate/update_repo.py +0 -248
- package/staging_area/Blender/5.0/scripts/addons_core/ui_translate/update_ui.py +0 -267
- package/staging_area/Blender/5.0/scripts/addons_core/viewport_vr_preview/__init__.py +0 -55
- package/staging_area/Blender/5.0/scripts/addons_core/viewport_vr_preview/action_map.py +0 -177
- package/staging_area/Blender/5.0/scripts/addons_core/viewport_vr_preview/action_map_io.py +0 -346
- package/staging_area/Blender/5.0/scripts/addons_core/viewport_vr_preview/configs/default.py +0 -434
- package/staging_area/Blender/5.0/scripts/addons_core/viewport_vr_preview/defaults.py +0 -1587
- package/staging_area/Blender/5.0/scripts/addons_core/viewport_vr_preview/gui.py +0 -295
- package/staging_area/Blender/5.0/scripts/addons_core/viewport_vr_preview/operators.py +0 -540
- package/staging_area/Blender/5.0/scripts/addons_core/viewport_vr_preview/preferences.py +0 -67
- package/staging_area/Blender/5.0/scripts/addons_core/viewport_vr_preview/properties.py +0 -228
- package/staging_area/Blender/5.0/scripts/addons_core/viewport_vr_preview/versioning.py +0 -38
- package/staging_area/Blender/5.0/scripts/freestyle/modules/freestyle/__init__.py +0 -14
- package/staging_area/Blender/5.0/scripts/freestyle/modules/freestyle/chainingiterators.py +0 -644
- package/staging_area/Blender/5.0/scripts/freestyle/modules/freestyle/functions.py +0 -313
- package/staging_area/Blender/5.0/scripts/freestyle/modules/freestyle/predicates.py +0 -670
- package/staging_area/Blender/5.0/scripts/freestyle/modules/freestyle/shaders.py +0 -1248
- package/staging_area/Blender/5.0/scripts/freestyle/modules/freestyle/types.py +0 -159
- package/staging_area/Blender/5.0/scripts/freestyle/modules/freestyle/utils.py +0 -541
- package/staging_area/Blender/5.0/scripts/freestyle/modules/parameter_editor.py +0 -1589
- package/staging_area/Blender/5.0/scripts/freestyle/styles/anisotropic_diffusion.py +0 -41
- package/staging_area/Blender/5.0/scripts/freestyle/styles/apriori_and_causal_density.py +0 -34
- package/staging_area/Blender/5.0/scripts/freestyle/styles/apriori_density.py +0 -33
- package/staging_area/Blender/5.0/scripts/freestyle/styles/backbone_stretcher.py +0 -28
- package/staging_area/Blender/5.0/scripts/freestyle/styles/blueprint_circles.py +0 -39
- package/staging_area/Blender/5.0/scripts/freestyle/styles/blueprint_ellipses.py +0 -39
- package/staging_area/Blender/5.0/scripts/freestyle/styles/blueprint_squares.py +0 -40
- package/staging_area/Blender/5.0/scripts/freestyle/styles/cartoon.py +0 -32
- package/staging_area/Blender/5.0/scripts/freestyle/styles/contour.py +0 -33
- package/staging_area/Blender/5.0/scripts/freestyle/styles/curvature2d.py +0 -29
- package/staging_area/Blender/5.0/scripts/freestyle/styles/external_contour.py +0 -33
- package/staging_area/Blender/5.0/scripts/freestyle/styles/external_contour_sketchy.py +0 -39
- package/staging_area/Blender/5.0/scripts/freestyle/styles/external_contour_smooth.py +0 -37
- package/staging_area/Blender/5.0/scripts/freestyle/styles/haloing.py +0 -43
- package/staging_area/Blender/5.0/scripts/freestyle/styles/ignore_small_occlusions.py +0 -30
- package/staging_area/Blender/5.0/scripts/freestyle/styles/invisible_lines.py +0 -32
- package/staging_area/Blender/5.0/scripts/freestyle/styles/japanese_bigbrush.py +0 -53
- package/staging_area/Blender/5.0/scripts/freestyle/styles/long_anisotropically_dense.py +0 -67
- package/staging_area/Blender/5.0/scripts/freestyle/styles/multiple_parameterization.py +0 -41
- package/staging_area/Blender/5.0/scripts/freestyle/styles/nature.py +0 -32
- package/staging_area/Blender/5.0/scripts/freestyle/styles/near_lines.py +0 -32
- package/staging_area/Blender/5.0/scripts/freestyle/styles/occluded_by_specific_object.py +0 -36
- package/staging_area/Blender/5.0/scripts/freestyle/styles/polygonalize.py +0 -32
- package/staging_area/Blender/5.0/scripts/freestyle/styles/qi0.py +0 -31
- package/staging_area/Blender/5.0/scripts/freestyle/styles/qi0_not_external_contour.py +0 -38
- package/staging_area/Blender/5.0/scripts/freestyle/styles/qi1.py +0 -32
- package/staging_area/Blender/5.0/scripts/freestyle/styles/qi2.py +0 -32
- package/staging_area/Blender/5.0/scripts/freestyle/styles/sequentialsplit_sketchy.py +0 -39
- package/staging_area/Blender/5.0/scripts/freestyle/styles/sketchy_multiple_parameterization.py +0 -37
- package/staging_area/Blender/5.0/scripts/freestyle/styles/sketchy_topology_broken.py +0 -39
- package/staging_area/Blender/5.0/scripts/freestyle/styles/sketchy_topology_preserved.py +0 -36
- package/staging_area/Blender/5.0/scripts/freestyle/styles/split_at_highest_2d_curvatures.py +0 -34
- package/staging_area/Blender/5.0/scripts/freestyle/styles/split_at_tvertices.py +0 -33
- package/staging_area/Blender/5.0/scripts/freestyle/styles/suggestive.py +0 -33
- package/staging_area/Blender/5.0/scripts/freestyle/styles/thickness_fof_depth_discontinuity.py +0 -32
- package/staging_area/Blender/5.0/scripts/freestyle/styles/tipremover.py +0 -32
- package/staging_area/Blender/5.0/scripts/freestyle/styles/tvertex_remover.py +0 -32
- package/staging_area/Blender/5.0/scripts/freestyle/styles/uniformpruning_zsort.py +0 -31
- package/staging_area/Blender/5.0/scripts/modules/__pycache__/_bpy_restrict_state.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/__pycache__/_bpy_types.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/__pycache__/_console_python.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/__pycache__/_keyingsets_utils.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/__pycache__/_rna_xml.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/__pycache__/addon_utils.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/__pycache__/bl_app_template_utils.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/__pycache__/nodeitems_utils.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/__pycache__/rna_keymap_ui.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/__pycache__/rna_prop_ui.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/_animsys_refactor.py +0 -230
- package/staging_area/Blender/5.0/scripts/modules/_bl_console_utils/__init__.py +0 -7
- package/staging_area/Blender/5.0/scripts/modules/_bl_console_utils/autocomplete/__init__.py +0 -7
- package/staging_area/Blender/5.0/scripts/modules/_bl_console_utils/autocomplete/complete_calltip.py +0 -174
- package/staging_area/Blender/5.0/scripts/modules/_bl_console_utils/autocomplete/complete_import.py +0 -180
- package/staging_area/Blender/5.0/scripts/modules/_bl_console_utils/autocomplete/complete_namespace.py +0 -192
- package/staging_area/Blender/5.0/scripts/modules/_bl_console_utils/autocomplete/intellisense.py +0 -138
- package/staging_area/Blender/5.0/scripts/modules/_bl_i18n_utils/__init__.py +0 -5
- package/staging_area/Blender/5.0/scripts/modules/_bl_i18n_utils/bl_extract_messages.py +0 -1363
- package/staging_area/Blender/5.0/scripts/modules/_bl_i18n_utils/merge_po.py +0 -132
- package/staging_area/Blender/5.0/scripts/modules/_bl_i18n_utils/settings.py +0 -824
- package/staging_area/Blender/5.0/scripts/modules/_bl_i18n_utils/settings_user.py +0 -7
- package/staging_area/Blender/5.0/scripts/modules/_bl_i18n_utils/utils.py +0 -1709
- package/staging_area/Blender/5.0/scripts/modules/_bl_i18n_utils/utils_cli.py +0 -144
- package/staging_area/Blender/5.0/scripts/modules/_bl_i18n_utils/utils_languages_menu.py +0 -68
- package/staging_area/Blender/5.0/scripts/modules/_bl_i18n_utils/utils_rtl.py +0 -179
- package/staging_area/Blender/5.0/scripts/modules/_bl_i18n_utils/utils_spell_check.py +0 -955
- package/staging_area/Blender/5.0/scripts/modules/_bl_previews_utils/bl_previews_render.py +0 -537
- package/staging_area/Blender/5.0/scripts/modules/_bl_rna_utils/__init__.py +0 -0
- package/staging_area/Blender/5.0/scripts/modules/_bl_rna_utils/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/_bl_rna_utils/__pycache__/data_path.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/_bl_rna_utils/data_path.py +0 -76
- package/staging_area/Blender/5.0/scripts/modules/_bl_text_utils/__init__.py +0 -0
- package/staging_area/Blender/5.0/scripts/modules/_bl_text_utils/external_editor.py +0 -54
- package/staging_area/Blender/5.0/scripts/modules/_bl_ui_utils/__init__.py +0 -0
- package/staging_area/Blender/5.0/scripts/modules/_bl_ui_utils/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/_bl_ui_utils/__pycache__/layout.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/_bl_ui_utils/layout.py +0 -21
- package/staging_area/Blender/5.0/scripts/modules/_blendfile_header.py +0 -234
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/__init__.py +0 -3
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/addons/__init__.py +0 -3
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/addons/cli.py +0 -42
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/assets/__init__.py +0 -3
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/assets/remote_library_listing/__init__.py +0 -3
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/assets/remote_library_listing/blender_asset_library_openapi.py +0 -98
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/assets/remote_library_listing/blender_asset_library_openapi.yaml +0 -83
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/extensions/__init__.py +0 -3
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/extensions/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/extensions/__pycache__/junction_module.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/extensions/__pycache__/wheel_manager.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/extensions/junction_module.py +0 -165
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/extensions/permissions.py +0 -16
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/extensions/stale_file_manager.py +0 -417
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/extensions/tags.py +0 -54
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/extensions/wheel_manager.py +0 -686
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/freedesktop.py +0 -598
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/grease_pencil/__init__.py +0 -3
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/grease_pencil/stroke.py +0 -402
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/http/__init__.py +0 -3
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/http/downloader.py +0 -1348
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/system_info/text_generate_runtime.py +0 -256
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/system_info/url_prefill_runtime.py +0 -60
- package/staging_area/Blender/5.0/scripts/modules/_bpy_internal/system_info/url_prefill_startup.py +0 -107
- package/staging_area/Blender/5.0/scripts/modules/_bpy_restrict_state.py +0 -50
- package/staging_area/Blender/5.0/scripts/modules/_bpy_types.py +0 -1563
- package/staging_area/Blender/5.0/scripts/modules/_console_python.py +0 -368
- package/staging_area/Blender/5.0/scripts/modules/_console_shell.py +0 -73
- package/staging_area/Blender/5.0/scripts/modules/_graphviz_export.py +0 -194
- package/staging_area/Blender/5.0/scripts/modules/_keyingsets_utils.py +0 -355
- package/staging_area/Blender/5.0/scripts/modules/_rna_info.py +0 -984
- package/staging_area/Blender/5.0/scripts/modules/_rna_manual_reference.py +0 -4446
- package/staging_area/Blender/5.0/scripts/modules/_rna_xml.py +0 -422
- package/staging_area/Blender/5.0/scripts/modules/addon_utils.py +0 -1992
- package/staging_area/Blender/5.0/scripts/modules/bl_app_override/__init__.py +0 -211
- package/staging_area/Blender/5.0/scripts/modules/bl_app_override/helpers.py +0 -153
- package/staging_area/Blender/5.0/scripts/modules/bl_app_template_utils.py +0 -177
- package/staging_area/Blender/5.0/scripts/modules/bl_keymap_utils/__init__.py +0 -9
- package/staging_area/Blender/5.0/scripts/modules/bl_keymap_utils/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/bl_keymap_utils/__pycache__/io.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/bl_keymap_utils/__pycache__/keymap_from_toolbar.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/bl_keymap_utils/__pycache__/keymap_hierarchy.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/bl_keymap_utils/io.py +0 -308
- package/staging_area/Blender/5.0/scripts/modules/bl_keymap_utils/keymap_from_toolbar.py +0 -394
- package/staging_area/Blender/5.0/scripts/modules/bl_keymap_utils/keymap_hierarchy.py +0 -247
- package/staging_area/Blender/5.0/scripts/modules/bl_keymap_utils/platform_helpers.py +0 -55
- package/staging_area/Blender/5.0/scripts/modules/bl_keymap_utils/versioning.py +0 -328
- package/staging_area/Blender/5.0/scripts/modules/blend_render_info.py +0 -123
- package/staging_area/Blender/5.0/scripts/modules/bpy/__init__.py +0 -75
- package/staging_area/Blender/5.0/scripts/modules/bpy/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/bpy/__pycache__/ops.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/bpy/__pycache__/path.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/bpy/ops.py +0 -184
- package/staging_area/Blender/5.0/scripts/modules/bpy/path.py +0 -459
- package/staging_area/Blender/5.0/scripts/modules/bpy/utils/__init__.py +0 -1382
- package/staging_area/Blender/5.0/scripts/modules/bpy/utils/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/bpy/utils/__pycache__/previews.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/bpy/utils/previews.py +0 -136
- package/staging_area/Blender/5.0/scripts/modules/bpy/utils/toolsystem.py +0 -11
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/__init__.py +0 -20
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/__pycache__/asset_utils.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/__pycache__/io_utils.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/__pycache__/node_utils.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/__pycache__/object_utils.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/anim_utils.py +0 -1038
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/asset_utils.py +0 -50
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/bmesh_utils.py +0 -56
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/id_map_utils.py +0 -53
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/image_utils.py +0 -194
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/io_utils.py +0 -620
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/keyconfig_utils.py +0 -141
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/mesh_utils.py +0 -464
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/node_shader_utils.py +0 -829
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/node_utils.py +0 -88
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/object_utils.py +0 -289
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/view3d_utils.py +0 -181
- package/staging_area/Blender/5.0/scripts/modules/bpy_extras/wm_utils/progress_report.py +0 -160
- package/staging_area/Blender/5.0/scripts/modules/gpu_extras/__init__.py +0 -8
- package/staging_area/Blender/5.0/scripts/modules/gpu_extras/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/gpu_extras/__pycache__/presets.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/modules/gpu_extras/batch.py +0 -80
- package/staging_area/Blender/5.0/scripts/modules/gpu_extras/presets.py +0 -102
- package/staging_area/Blender/5.0/scripts/modules/nodeitems_utils.py +0 -178
- package/staging_area/Blender/5.0/scripts/modules/rna_keymap_ui.py +0 -505
- package/staging_area/Blender/5.0/scripts/modules/rna_prop_ui.py +0 -269
- package/staging_area/Blender/5.0/scripts/presets/camera/1_inch.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/1_slash_1.8_inch.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/1_slash_2.3_inch.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/1_slash_2.5_inch.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/1_slash_2.7_inch.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/1_slash_3.2_inch.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/2_slash_3_inch.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/APS-C.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/APS-C_(Canon).py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/APS-H_(Canon).py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Analog_16mm.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Analog_35mm.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Analog_65mm.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Analog_IMAX.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Analog_Super_16.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Analog_Super_35.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Arri_Alexa_65.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Arri_Alexa_LF.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Arri_Alexa_Mini_&_SXT.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Blackmagic_Pocket_&_Studio.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Blackmagic_Pocket_4K.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Blackmagic_Pocket_6k.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Blackmagic_URSA_4.6K.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Foveon_(Sigma).py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Fullframe.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/MFT.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/Medium-format_(Hasselblad).py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/RED_Dragon_5K.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/RED_Dragon_6K.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/RED_Helium_8K.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/camera/RED_Monstro_8K.py +0 -4
- package/staging_area/Blender/5.0/scripts/presets/cloth/Cotton.py +0 -25
- package/staging_area/Blender/5.0/scripts/presets/cloth/Denim.py +0 -25
- package/staging_area/Blender/5.0/scripts/presets/cloth/Leather.py +0 -25
- package/staging_area/Blender/5.0/scripts/presets/cloth/Rubber.py +0 -25
- package/staging_area/Blender/5.0/scripts/presets/cloth/Silk.py +0 -25
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_A.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_B.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_C.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_D50.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_D55.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_D65.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_D75.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_D93.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_E.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_F1.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_F10.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_F11.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_F12.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_F2.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_F3.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_F4.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_F5.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_F6.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_F7.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_F8.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_F9.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_LED-B1.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_LED-B2.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_LED-B3.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_LED-B4.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_LED-B5.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_LED-BH1.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_LED-RGB1.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_LED-V1.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/color_management/white_balance/Illuminant_LED-V2.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/cycles/integrator/Default.py +0 -14
- package/staging_area/Blender/5.0/scripts/presets/cycles/integrator/Direct_Light.py +0 -14
- package/staging_area/Blender/5.0/scripts/presets/cycles/integrator/Fast_Global_Illumination.py +0 -14
- package/staging_area/Blender/5.0/scripts/presets/cycles/integrator/Full_Global_Illumination.py +0 -14
- package/staging_area/Blender/5.0/scripts/presets/cycles/integrator/Limited_Global_Illumination.py +0 -14
- package/staging_area/Blender/5.0/scripts/presets/cycles/performance/Default.py +0 -11
- package/staging_area/Blender/5.0/scripts/presets/cycles/performance/Faster_Render.py +0 -11
- package/staging_area/Blender/5.0/scripts/presets/cycles/performance/Lower_Memory.py +0 -11
- package/staging_area/Blender/5.0/scripts/presets/cycles/sampling/Final.py +0 -12
- package/staging_area/Blender/5.0/scripts/presets/cycles/sampling/Preview.py +0 -12
- package/staging_area/Blender/5.0/scripts/presets/cycles/viewport_sampling/Final.py +0 -11
- package/staging_area/Blender/5.0/scripts/presets/cycles/viewport_sampling/Preview.py +0 -11
- package/staging_area/Blender/5.0/scripts/presets/eevee/raytracing/Default.py +0 -22
- package/staging_area/Blender/5.0/scripts/presets/ffmpeg/DVD_(note_colon__this_changes_render_resolution).py +0 -24
- package/staging_area/Blender/5.0/scripts/presets/ffmpeg/H264_in_MP4.py +0 -18
- package/staging_area/Blender/5.0/scripts/presets/ffmpeg/H264_in_Matroska.py +0 -17
- package/staging_area/Blender/5.0/scripts/presets/ffmpeg/H264_in_Matroska_for_scrubbing.py +0 -14
- package/staging_area/Blender/5.0/scripts/presets/ffmpeg/Ogg_Theora.py +0 -18
- package/staging_area/Blender/5.0/scripts/presets/ffmpeg/WebM_(VP9+Opus).py +0 -9
- package/staging_area/Blender/5.0/scripts/presets/ffmpeg/Xvid.py +0 -18
- package/staging_area/Blender/5.0/scripts/presets/fluid/Honey.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/fluid/Oil.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/fluid/Water.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/framerate/12.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/framerate/120.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/framerate/23.98.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/framerate/24.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/framerate/240.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/framerate/25.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/framerate/29.97.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/framerate/30.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/framerate/50.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/framerate/59.94.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/framerate/6.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/framerate/60.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/framerate/8.py +0 -3
- package/staging_area/Blender/5.0/scripts/presets/framerate/Custom.py +0 -1
- package/staging_area/Blender/5.0/scripts/presets/framerate/__pycache__/30.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/presets/gpencil_material/Fill_Only.py +0 -25
- package/staging_area/Blender/5.0/scripts/presets/gpencil_material/Stroke_Only.py +0 -25
- package/staging_area/Blender/5.0/scripts/presets/gpencil_material/Stroke_and_Fill.py +0 -25
- package/staging_area/Blender/5.0/scripts/presets/hair_dynamics/Default.py +0 -17
- package/staging_area/Blender/5.0/scripts/presets/interface_theme/Blender_Dark.xml +0 -6
- package/staging_area/Blender/5.0/scripts/presets/interface_theme/Blender_Light.xml +0 -1246
- package/staging_area/Blender/5.0/scripts/presets/keyconfig/Blender.py +0 -384
- package/staging_area/Blender/5.0/scripts/presets/keyconfig/Blender_27x.py +0 -106
- package/staging_area/Blender/5.0/scripts/presets/keyconfig/Industry_Compatible.py +0 -41
- package/staging_area/Blender/5.0/scripts/presets/keyconfig/__pycache__/Blender.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/presets/keyconfig/keymap_data/__pycache__/blender_default.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/presets/keyconfig/keymap_data/blender_default.py +0 -9083
- package/staging_area/Blender/5.0/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py +0 -3896
- package/staging_area/Blender/5.0/scripts/presets/pixel_density/Custom.py +0 -1
- package/staging_area/Blender/5.0/scripts/presets/pixel_density/Pixels_slash_Centimeter.py +0 -2
- package/staging_area/Blender/5.0/scripts/presets/pixel_density/Pixels_slash_Inch.py +0 -2
- package/staging_area/Blender/5.0/scripts/presets/pixel_density/Pixels_slash_Meter.py +0 -2
- package/staging_area/Blender/5.0/scripts/presets/render/4K_DCI_2160p.py +0 -8
- package/staging_area/Blender/5.0/scripts/presets/render/4K_UHDTV_2160p.py +0 -8
- package/staging_area/Blender/5.0/scripts/presets/render/4K_UW_1600p.py +0 -8
- package/staging_area/Blender/5.0/scripts/presets/render/DVCPRO_HD_1080p.py +0 -8
- package/staging_area/Blender/5.0/scripts/presets/render/DVCPRO_HD_720p.py +0 -8
- package/staging_area/Blender/5.0/scripts/presets/render/HDTV_1080p.py +0 -8
- package/staging_area/Blender/5.0/scripts/presets/render/HDTV_720p.py +0 -8
- package/staging_area/Blender/5.0/scripts/presets/render/HDV_1080p.py +0 -8
- package/staging_area/Blender/5.0/scripts/presets/render/HDV_NTSC_1080p.py +0 -8
- package/staging_area/Blender/5.0/scripts/presets/render/HDV_PAL_1080p.py +0 -8
- package/staging_area/Blender/5.0/scripts/presets/render/TV_NTSC_16_colon_9.py +0 -8
- package/staging_area/Blender/5.0/scripts/presets/render/TV_NTSC_4_colon_3.py +0 -8
- package/staging_area/Blender/5.0/scripts/presets/render/TV_PAL_16_colon_9.py +0 -8
- package/staging_area/Blender/5.0/scripts/presets/render/TV_PAL_4_colon_3.py +0 -8
- package/staging_area/Blender/5.0/scripts/presets/safe_areas/14_colon_9_in_16_colon_9.py +0 -7
- package/staging_area/Blender/5.0/scripts/presets/safe_areas/16_colon_9.py +0 -7
- package/staging_area/Blender/5.0/scripts/presets/safe_areas/4_colon_3_in_16_colon_9.py +0 -7
- package/staging_area/Blender/5.0/scripts/presets/text_editor/Internal.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/text_editor/Visual_Studio_Code.py +0 -12
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/1_inch.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/1_slash_1.8_inch.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/1_slash_2.3_inch.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/1_slash_2.5_inch.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/1_slash_2.7_inch.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/1_slash_3.2_inch.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/2_slash_3_inch.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/APS-C.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/APS-C_(Canon).py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/APS-H_(Canon).py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Analog_16mm.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Analog_35mm.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Analog_65mm.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Analog_IMAX.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Analog_Super_16.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Analog_Super_35.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Arri_Alexa_65.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Arri_Alexa_LF.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Arri_Alexa_Mini_&_SXT.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Blackmagic_Pocket_&_Studio.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Blackmagic_Pocket_4K.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Blackmagic_Pocket_6k.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Blackmagic_URSA_4.6K.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Foveon_(Sigma).py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Fullframe.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/MFT.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/Medium-format_(Hasselblad).py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/RED_Dragon_5K.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/RED_Dragon_6K.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/RED_Helium_8K.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_camera/RED_Monstro_8K.py +0 -6
- package/staging_area/Blender/5.0/scripts/presets/tracking_settings/Blurry_Footage.py +0 -18
- package/staging_area/Blender/5.0/scripts/presets/tracking_settings/Default.py +0 -18
- package/staging_area/Blender/5.0/scripts/presets/tracking_settings/Fast_Motion.py +0 -18
- package/staging_area/Blender/5.0/scripts/presets/tracking_settings/Planar.py +0 -18
- package/staging_area/Blender/5.0/scripts/presets/tracking_track_color/Default.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/tracking_track_color/Far_Plane.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/tracking_track_color/Near_Plane.py +0 -5
- package/staging_area/Blender/5.0/scripts/presets/tracking_track_color/Object.py +0 -5
- package/staging_area/Blender/5.0/scripts/startup/__pycache__/keyingsets_builtins.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/__pycache__/nodeitems_builtins.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_app_templates_system/2D_Animation/__init__.py +0 -56
- package/staging_area/Blender/5.0/scripts/startup/bl_app_templates_system/2D_Animation/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_app_templates_system/2D_Animation/startup.blend +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_app_templates_system/Sculpting/__init__.py +0 -30
- package/staging_area/Blender/5.0/scripts/startup/bl_app_templates_system/Sculpting/startup.blend +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_app_templates_system/Storyboarding/__init__.py +0 -51
- package/staging_area/Blender/5.0/scripts/startup/bl_app_templates_system/Storyboarding/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_app_templates_system/Storyboarding/startup.blend +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_app_templates_system/VFX/startup.blend +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_app_templates_system/Video_Editing/__init__.py +0 -51
- package/staging_area/Blender/5.0/scripts/startup/bl_app_templates_system/Video_Editing/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_app_templates_system/Video_Editing/startup.blend +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__init__.py +0 -88
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/add_mesh_torus.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/anim.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/assets.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/bone_selection_sets.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/clip.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/connect_to_output.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/console.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/constraint.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/copy_global_transform.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/file.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/freestyle.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/geometry_nodes.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/grease_pencil.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/image.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/image_as_planes.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/mesh.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/node.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/object.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/object_align.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/object_quick_effects.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/object_randomize_transform.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/presets.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/rigidbody.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/screen_play_rendered_anim.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/sequencer.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/spreadsheet.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/userpref.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/uvcalc_follow_active.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/uvcalc_lightmap.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/uvcalc_transform.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/vertexpaint_dirt.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/view3d.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/wm.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/__pycache__/world.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/add_mesh_torus.py +0 -262
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/anim.py +0 -924
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/assets.py +0 -157
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/bmesh/find_adjacent.py +0 -341
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/bone_selection_sets.py +0 -439
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/clip.py +0 -1044
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/connect_to_output.py +0 -360
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/console.py +0 -156
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/constraint.py +0 -121
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/copy_global_transform.py +0 -823
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/file.py +0 -308
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/freestyle.py +0 -226
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/geometry_nodes.py +0 -394
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/grease_pencil.py +0 -63
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/image.py +0 -322
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/image_as_planes.py +0 -1216
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/mesh.py +0 -61
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/node.py +0 -1340
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/node_editor/__pycache__/node_functions.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/node_editor/node_functions.py +0 -97
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/object.py +0 -1014
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/object_align.py +0 -407
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/object_quick_effects.py +0 -680
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/object_randomize_transform.py +0 -181
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/presets.py +0 -1057
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/rigidbody.py +0 -323
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/screen_play_rendered_anim.py +0 -219
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/sequencer.py +0 -438
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/spreadsheet.py +0 -46
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/userpref.py +0 -1324
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/uvcalc_follow_active.py +0 -313
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/uvcalc_lightmap.py +0 -688
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/uvcalc_transform.py +0 -551
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/vertexpaint_dirt.py +0 -198
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/view3d.py +0 -316
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/wm.py +0 -3722
- package/staging_area/Blender/5.0/scripts/startup/bl_operators/world.py +0 -168
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__init__.py +0 -299
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/__init__.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/anim.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/asset_shelf.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/generic_ui_list.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/node_add_menu.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/node_add_menu_compositor.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/node_add_menu_geometry.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/node_add_menu_shader.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/node_add_menu_texture.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_animviz.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_collection.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_constraint.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_armature.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_bone.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_camera.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_curve.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_curves.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_empty.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_grease_pencil.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_lattice.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_light.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_lightprobe.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_mesh.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_metaball.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_modifier.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_pointcloud.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_shaderfx.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_speaker.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_data_volume.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_freestyle.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_grease_pencil_common.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_mask_common.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_material.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_material_gpencil.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_object.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_output.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_paint_common.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_particle.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_physics_cloth.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_physics_common.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_physics_dynamicpaint.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_physics_field.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_physics_fluid.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_physics_geometry_nodes.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_physics_rigidbody.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_physics_rigidbody_constraint.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_physics_softbody.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_render.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_scene.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_strip.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_strip_modifier.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_texture.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_view_layer.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_workspace.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/properties_world.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_clip.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_console.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_dopesheet.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_filebrowser.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_graph.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_image.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_info.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_nla.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_node.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_outliner.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_properties.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_sequencer.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_spreadsheet.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_statusbar.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_text.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_time.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_toolsystem_common.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_toolsystem_toolbar.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_topbar.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_userpref.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_view3d.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_view3d_sidebar.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/space_view3d_toolbar.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/__pycache__/utils.cpython-311.pyc +0 -0
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/anim.py +0 -62
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/asset_shelf.py +0 -41
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/generic_ui_list.py +0 -262
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/node_add_menu.py +0 -505
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/node_add_menu_compositor.py +0 -437
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/node_add_menu_geometry.py +0 -1158
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/node_add_menu_shader.py +0 -511
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/node_add_menu_texture.py +0 -167
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_animviz.py +0 -123
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_collection.py +0 -146
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_constraint.py +0 -1793
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_armature.py +0 -436
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_bone.py +0 -625
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_camera.py +0 -603
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_curve.py +0 -461
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_curves.py +0 -219
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_empty.py +0 -84
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_grease_pencil.py +0 -536
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_lattice.py +0 -105
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_light.py +0 -315
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_lightprobe.py +0 -413
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_mesh.py +0 -744
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_metaball.py +0 -137
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_modifier.py +0 -323
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_pointcloud.py +0 -175
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_shaderfx.py +0 -31
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_speaker.py +0 -157
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_data_volume.py +0 -239
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_freestyle.py +0 -1343
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_grease_pencil_common.py +0 -607
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_mask_common.py +0 -461
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_material.py +0 -460
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_material_gpencil.py +0 -272
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_object.py +0 -656
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_output.py +0 -736
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_paint_common.py +0 -1904
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_particle.py +0 -2308
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_physics_cloth.py +0 -524
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_physics_common.py +0 -360
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_physics_dynamicpaint.py +0 -974
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_physics_field.py +0 -487
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_physics_fluid.py +0 -1629
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_physics_geometry_nodes.py +0 -64
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_physics_rigidbody.py +0 -345
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_physics_rigidbody_constraint.py +0 -554
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_physics_softbody.py +0 -471
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_render.py +0 -1180
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_scene.py +0 -495
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_strip.py +0 -1056
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_strip_modifier.py +0 -49
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_texture.py +0 -997
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_view_layer.py +0 -348
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_workspace.py +0 -195
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/properties_world.py +0 -282
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_clip.py +0 -2112
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_console.py +0 -157
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_dopesheet.py +0 -1123
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_filebrowser.py +0 -950
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_graph.py +0 -615
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_image.py +0 -1896
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_info.py +0 -117
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_nla.py +0 -429
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_node.py +0 -1247
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_outliner.py +0 -559
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_properties.py +0 -205
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_sequencer.py +0 -2097
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_spreadsheet.py +0 -83
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_statusbar.py +0 -41
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_text.py +0 -479
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_time.py +0 -364
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_toolsystem_common.py +0 -1256
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_toolsystem_toolbar.py +0 -4123
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_topbar.py +0 -891
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_userpref.py +0 -3108
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_view3d.py +0 -9421
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_view3d_sidebar.py +0 -183
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/space_view3d_toolbar.py +0 -2438
- package/staging_area/Blender/5.0/scripts/startup/bl_ui/utils.py +0 -40
- package/staging_area/Blender/5.0/scripts/startup/keyingsets_builtins.py +0 -686
- package/staging_area/Blender/5.0/scripts/startup/nodeitems_builtins.py +0 -54
- package/staging_area/Blender/5.0/scripts/templates_osl/advanced_camera.osl +0 -76
- package/staging_area/Blender/5.0/scripts/templates_osl/basic_camera.osl +0 -14
- package/staging_area/Blender/5.0/scripts/templates_osl/basic_shader.osl +0 -10
- package/staging_area/Blender/5.0/scripts/templates_osl/cubemap_camera.osl +0 -42
- package/staging_area/Blender/5.0/scripts/templates_osl/empty_shader.osl +0 -6
- package/staging_area/Blender/5.0/scripts/templates_osl/gabor_noise.osl +0 -17
- package/staging_area/Blender/5.0/scripts/templates_osl/lyapunov_texture.osl +0 -141
- package/staging_area/Blender/5.0/scripts/templates_osl/noise.osl +0 -27
- package/staging_area/Blender/5.0/scripts/templates_osl/ramp_closure.osl +0 -20
- package/staging_area/Blender/5.0/scripts/templates_py/addon_add_object.py +0 -84
- package/staging_area/Blender/5.0/scripts/templates_py/background_job.py +0 -118
- package/staging_area/Blender/5.0/scripts/templates_py/batch_export.py +0 -42
- package/staging_area/Blender/5.0/scripts/templates_py/bmesh_simple.py +0 -22
- package/staging_area/Blender/5.0/scripts/templates_py/bmesh_simple_editmode.py +0 -23
- package/staging_area/Blender/5.0/scripts/templates_py/builtin_keyingset.py +0 -37
- package/staging_area/Blender/5.0/scripts/templates_py/custom_nodes.py +0 -172
- package/staging_area/Blender/5.0/scripts/templates_py/driver_functions.py +0 -35
- package/staging_area/Blender/5.0/scripts/templates_py/external_script_stub.py +0 -13
- package/staging_area/Blender/5.0/scripts/templates_py/gizmo_custom_geometry.py +0 -157
- package/staging_area/Blender/5.0/scripts/templates_py/gizmo_operator.py +0 -235
- package/staging_area/Blender/5.0/scripts/templates_py/gizmo_operator_target.py +0 -50
- package/staging_area/Blender/5.0/scripts/templates_py/gizmo_simple_2d.py +0 -59
- package/staging_area/Blender/5.0/scripts/templates_py/gizmo_simple_3d.py +0 -47
- package/staging_area/Blender/5.0/scripts/templates_py/image_processing.py +0 -35
- package/staging_area/Blender/5.0/scripts/templates_py/operator_file_export.py +0 -76
- package/staging_area/Blender/5.0/scripts/templates_py/operator_file_import.py +0 -79
- package/staging_area/Blender/5.0/scripts/templates_py/operator_mesh_add.py +0 -116
- package/staging_area/Blender/5.0/scripts/templates_py/operator_mesh_uv.py +0 -56
- package/staging_area/Blender/5.0/scripts/templates_py/operator_modal.py +0 -58
- package/staging_area/Blender/5.0/scripts/templates_py/operator_modal_draw.py +0 -83
- package/staging_area/Blender/5.0/scripts/templates_py/operator_modal_timer.py +0 -54
- package/staging_area/Blender/5.0/scripts/templates_py/operator_modal_view3d.py +0 -77
- package/staging_area/Blender/5.0/scripts/templates_py/operator_modal_view3d_raycast.py +0 -115
- package/staging_area/Blender/5.0/scripts/templates_py/operator_node.py +0 -66
- package/staging_area/Blender/5.0/scripts/templates_py/operator_simple.py +0 -42
- package/staging_area/Blender/5.0/scripts/templates_py/ui_asset_shelf.py +0 -29
- package/staging_area/Blender/5.0/scripts/templates_py/ui_list.py +0 -44
- package/staging_area/Blender/5.0/scripts/templates_py/ui_list_generic.py +0 -47
- package/staging_area/Blender/5.0/scripts/templates_py/ui_list_simple.py +0 -70
- package/staging_area/Blender/5.0/scripts/templates_py/ui_menu.py +0 -50
- package/staging_area/Blender/5.0/scripts/templates_py/ui_menu_simple.py +0 -27
- package/staging_area/Blender/5.0/scripts/templates_py/ui_panel.py +0 -73
- package/staging_area/Blender/5.0/scripts/templates_py/ui_panel_simple.py +0 -38
- package/staging_area/Blender/5.0/scripts/templates_py/ui_pie_menu.py +0 -31
- package/staging_area/Blender/5.0/scripts/templates_py/ui_previews_custom_icon.py +0 -76
- package/staging_area/Blender/5.0/scripts/templates_py/ui_previews_dynamic_enum.py +0 -141
- package/staging_area/Blender/5.0/scripts/templates_py/ui_tool_simple.py +0 -91
- package/staging_area/Blender/5.0/scripts/templates_toml/blender_manifest.toml +0 -75
- package/staging_area/Blender/blender-launcher.exe +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-console-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-console-l1-2-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-datetime-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-debug-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-errorhandling-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-fibers-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-file-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-file-l1-2-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-file-l2-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-handle-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-heap-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-interlocked-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-libraryloader-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-localization-l1-2-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-memory-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-namedpipe-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-processenvironment-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-processthreads-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-processthreads-l1-1-1.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-profile-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-rtlsupport-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-string-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-synch-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-synch-l1-2-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-sysinfo-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-timezone-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-core-util-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-conio-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-convert-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-environment-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-filesystem-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-heap-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-locale-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-math-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-multibyte-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-private-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-process-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-runtime-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-stdio-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-string-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-time-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/api-ms-win-crt-utility-l1-1-0.dll +0 -0
- package/staging_area/Blender/blender.crt/blender.crt.manifest +0 -54
- package/staging_area/Blender/blender.crt/concrt140.dll +0 -0
- package/staging_area/Blender/blender.crt/msvcp140.dll +0 -0
- package/staging_area/Blender/blender.crt/msvcp140_1.dll +0 -0
- package/staging_area/Blender/blender.crt/msvcp140_2.dll +0 -0
- package/staging_area/Blender/blender.crt/msvcp140_atomic_wait.dll +0 -0
- package/staging_area/Blender/blender.crt/msvcp140_codecvt_ids.dll +0 -0
- package/staging_area/Blender/blender.crt/vcruntime140.dll +0 -0
- package/staging_area/Blender/blender.crt/vcruntime140_1.dll +0 -0
|
@@ -1,1911 +0,0 @@
|
|
|
1
|
-
# SPDX-FileCopyrightText: 2004-2009 JM Soler
|
|
2
|
-
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
|
|
3
|
-
#
|
|
4
|
-
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
5
|
-
|
|
6
|
-
import re
|
|
7
|
-
import xml.dom.minidom
|
|
8
|
-
from math import cos, sin, tan, atan2, pi, ceil
|
|
9
|
-
|
|
10
|
-
import bpy
|
|
11
|
-
from mathutils import Vector, Matrix
|
|
12
|
-
from bpy.app.translations import pgettext_tip as tip_
|
|
13
|
-
|
|
14
|
-
from . import svg_colors
|
|
15
|
-
from .svg_util import (units,
|
|
16
|
-
srgb_to_linearrgb,
|
|
17
|
-
check_points_equal,
|
|
18
|
-
parse_array_of_floats,
|
|
19
|
-
read_float)
|
|
20
|
-
|
|
21
|
-
#### Common utilities ####
|
|
22
|
-
|
|
23
|
-
SVGEmptyStyles = {'useFill': None,
|
|
24
|
-
'fill': None}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
def SVGCreateCurve(context):
|
|
28
|
-
"""
|
|
29
|
-
Create new curve object to hold splines in
|
|
30
|
-
"""
|
|
31
|
-
|
|
32
|
-
cu = bpy.data.curves.new("Curve", 'CURVE')
|
|
33
|
-
obj = bpy.data.objects.new("Curve", cu)
|
|
34
|
-
|
|
35
|
-
context['collection'].objects.link(obj)
|
|
36
|
-
|
|
37
|
-
return obj
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
def SVGFinishCurve():
|
|
41
|
-
"""
|
|
42
|
-
Finish curve creation
|
|
43
|
-
"""
|
|
44
|
-
|
|
45
|
-
pass
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
def SVGFlipHandle(x, y, x1, y1):
|
|
49
|
-
"""
|
|
50
|
-
Flip handle around base point
|
|
51
|
-
"""
|
|
52
|
-
|
|
53
|
-
x = x + (x - x1)
|
|
54
|
-
y = y + (y - y1)
|
|
55
|
-
|
|
56
|
-
return x, y
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
def SVGParseCoord(coord, size):
|
|
60
|
-
"""
|
|
61
|
-
Parse coordinate component to common basis
|
|
62
|
-
|
|
63
|
-
Needed to handle coordinates set in cm, mm, inches.
|
|
64
|
-
"""
|
|
65
|
-
|
|
66
|
-
token, last_char = read_float(coord)
|
|
67
|
-
val = float(token)
|
|
68
|
-
unit = coord[last_char:].strip() # strip() in case there is a space
|
|
69
|
-
|
|
70
|
-
if unit == '%':
|
|
71
|
-
return float(size) / 100.0 * val
|
|
72
|
-
return val * units[unit]
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
def SVGRectFromNode(node, context):
|
|
76
|
-
"""
|
|
77
|
-
Get display rectangle from node
|
|
78
|
-
"""
|
|
79
|
-
|
|
80
|
-
w = context['rect'][0]
|
|
81
|
-
h = context['rect'][1]
|
|
82
|
-
|
|
83
|
-
if node.getAttribute('viewBox'):
|
|
84
|
-
viewBox = node.getAttribute('viewBox').replace(',', ' ').split()
|
|
85
|
-
w = SVGParseCoord(viewBox[2], w)
|
|
86
|
-
h = SVGParseCoord(viewBox[3], h)
|
|
87
|
-
else:
|
|
88
|
-
if node.getAttribute('width'):
|
|
89
|
-
w = SVGParseCoord(node.getAttribute('width'), w)
|
|
90
|
-
|
|
91
|
-
if node.getAttribute('height'):
|
|
92
|
-
h = SVGParseCoord(node.getAttribute('height'), h)
|
|
93
|
-
|
|
94
|
-
return (w, h)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
def SVGMatrixFromNode(node, context):
|
|
98
|
-
"""
|
|
99
|
-
Get transformation matrix from given node
|
|
100
|
-
"""
|
|
101
|
-
|
|
102
|
-
tagName = node.tagName.lower()
|
|
103
|
-
tags = ['svg:svg', 'svg:use', 'svg:symbol']
|
|
104
|
-
|
|
105
|
-
if tagName not in tags and 'svg:' + tagName not in tags:
|
|
106
|
-
return Matrix()
|
|
107
|
-
|
|
108
|
-
rect = context['rect']
|
|
109
|
-
has_user_coordinate = (len(context['rects']) > 1)
|
|
110
|
-
|
|
111
|
-
m = Matrix()
|
|
112
|
-
x = SVGParseCoord(node.getAttribute('x') or '0', rect[0])
|
|
113
|
-
y = SVGParseCoord(node.getAttribute('y') or '0', rect[1])
|
|
114
|
-
w = SVGParseCoord(node.getAttribute('width') or str(rect[0]), rect[0])
|
|
115
|
-
h = SVGParseCoord(node.getAttribute('height') or str(rect[1]), rect[1])
|
|
116
|
-
|
|
117
|
-
m = Matrix.Translation(Vector((x, y, 0.0)))
|
|
118
|
-
if has_user_coordinate:
|
|
119
|
-
if rect[0] != 0 and rect[1] != 0:
|
|
120
|
-
m = m @ Matrix.Scale(w / rect[0], 4, Vector((1.0, 0.0, 0.0)))
|
|
121
|
-
m = m @ Matrix.Scale(h / rect[1], 4, Vector((0.0, 1.0, 0.0)))
|
|
122
|
-
|
|
123
|
-
if node.getAttribute('viewBox'):
|
|
124
|
-
viewBox = node.getAttribute('viewBox').replace(',', ' ').split()
|
|
125
|
-
vx = SVGParseCoord(viewBox[0], w)
|
|
126
|
-
vy = SVGParseCoord(viewBox[1], h)
|
|
127
|
-
vw = SVGParseCoord(viewBox[2], w)
|
|
128
|
-
vh = SVGParseCoord(viewBox[3], h)
|
|
129
|
-
|
|
130
|
-
if vw == 0 or vh == 0:
|
|
131
|
-
return m
|
|
132
|
-
|
|
133
|
-
if has_user_coordinate or (w != 0 and h != 0):
|
|
134
|
-
sx = w / vw
|
|
135
|
-
sy = h / vh
|
|
136
|
-
scale = min(sx, sy)
|
|
137
|
-
else:
|
|
138
|
-
scale = 1.0
|
|
139
|
-
w = vw
|
|
140
|
-
h = vh
|
|
141
|
-
|
|
142
|
-
tx = (w - vw * scale) / 2
|
|
143
|
-
ty = (h - vh * scale) / 2
|
|
144
|
-
m = m @ Matrix.Translation(Vector((tx, ty, 0.0)))
|
|
145
|
-
|
|
146
|
-
m = m @ Matrix.Translation(Vector((-vx, -vy, 0.0)))
|
|
147
|
-
m = m @ Matrix.Scale(scale, 4, Vector((1.0, 0.0, 0.0)))
|
|
148
|
-
m = m @ Matrix.Scale(scale, 4, Vector((0.0, 1.0, 0.0)))
|
|
149
|
-
|
|
150
|
-
return m
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
def SVGParseTransform(transform):
|
|
154
|
-
"""
|
|
155
|
-
Parse transform string and return transformation matrix
|
|
156
|
-
"""
|
|
157
|
-
|
|
158
|
-
m = Matrix()
|
|
159
|
-
r = re.compile(r'\s*([A-z]+)\s*\((.*?)\)')
|
|
160
|
-
|
|
161
|
-
for match in r.finditer(transform):
|
|
162
|
-
func = match.group(1)
|
|
163
|
-
params = match.group(2)
|
|
164
|
-
params = params.replace(',', ' ').split()
|
|
165
|
-
|
|
166
|
-
proc = SVGTransforms.get(func)
|
|
167
|
-
if proc is None:
|
|
168
|
-
raise Exception('Unknown transform function: ' + func)
|
|
169
|
-
|
|
170
|
-
m = m @ proc(params)
|
|
171
|
-
|
|
172
|
-
return m
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
def SVGGetMaterial(color, context):
|
|
176
|
-
"""
|
|
177
|
-
Get material for specified color
|
|
178
|
-
"""
|
|
179
|
-
|
|
180
|
-
materials = context['materials']
|
|
181
|
-
rgb_re = re.compile(r'^\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,(\d+)\s*\)\s*$')
|
|
182
|
-
|
|
183
|
-
diff = None
|
|
184
|
-
if color.startswith('#'):
|
|
185
|
-
color = color[1:]
|
|
186
|
-
|
|
187
|
-
if len(color) == 3:
|
|
188
|
-
color = color[0] * 2 + color[1] * 2 + color[2] * 2
|
|
189
|
-
|
|
190
|
-
diff = (int(color[0:2], 16), int(color[2:4], 16), int(color[4:6], 16))
|
|
191
|
-
elif color in svg_colors.SVGColors:
|
|
192
|
-
diff = svg_colors.SVGColors[color]
|
|
193
|
-
elif rgb_re.match(color):
|
|
194
|
-
c = rgb_re.findall(color)[0]
|
|
195
|
-
diff = (float(c[0]), float(c[1]), float(c[2]))
|
|
196
|
-
else:
|
|
197
|
-
return None
|
|
198
|
-
|
|
199
|
-
diffuse_color = ([x / 255.0 for x in diff])
|
|
200
|
-
|
|
201
|
-
if context['do_colormanage']:
|
|
202
|
-
diffuse_color[0] = srgb_to_linearrgb(diffuse_color[0])
|
|
203
|
-
diffuse_color[1] = srgb_to_linearrgb(diffuse_color[1])
|
|
204
|
-
diffuse_color[2] = srgb_to_linearrgb(diffuse_color[2])
|
|
205
|
-
|
|
206
|
-
if color in materials:
|
|
207
|
-
return materials[color]
|
|
208
|
-
|
|
209
|
-
mat = bpy.data.materials.new(name='SVGMat')
|
|
210
|
-
mat.node_tree.nodes.clear()
|
|
211
|
-
node_tree = mat.node_tree
|
|
212
|
-
bsdf = node_tree.nodes.new("ShaderNodeBsdfDiffuse")
|
|
213
|
-
output = node_tree.nodes.new("ShaderNodeOutputMaterial")
|
|
214
|
-
output.location[0] += bsdf.width + 20.0
|
|
215
|
-
node_tree.links.new(bsdf.outputs["BSDF"], output.inputs["Surface"])
|
|
216
|
-
bsdf.inputs["Color"].default_value = (*diffuse_color, 0.0)
|
|
217
|
-
mat.diffuse_color = (*diffuse_color, 1.0)
|
|
218
|
-
|
|
219
|
-
materials[color] = mat
|
|
220
|
-
|
|
221
|
-
return mat
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
def SVGTransformTranslate(params):
|
|
225
|
-
"""
|
|
226
|
-
translate SVG transform command
|
|
227
|
-
"""
|
|
228
|
-
|
|
229
|
-
tx = float(params[0])
|
|
230
|
-
ty = float(params[1]) if len(params) > 1 else 0.0
|
|
231
|
-
|
|
232
|
-
return Matrix.Translation(Vector((tx, ty, 0.0)))
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
def SVGTransformMatrix(params):
|
|
236
|
-
"""
|
|
237
|
-
matrix SVG transform command
|
|
238
|
-
"""
|
|
239
|
-
|
|
240
|
-
a = float(params[0])
|
|
241
|
-
b = float(params[1])
|
|
242
|
-
c = float(params[2])
|
|
243
|
-
d = float(params[3])
|
|
244
|
-
e = float(params[4])
|
|
245
|
-
f = float(params[5])
|
|
246
|
-
|
|
247
|
-
return Matrix(((a, c, 0.0, e),
|
|
248
|
-
(b, d, 0.0, f),
|
|
249
|
-
(0, 0, 1.0, 0),
|
|
250
|
-
(0, 0, 0.0, 1)))
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
def SVGTransformScale(params):
|
|
254
|
-
"""
|
|
255
|
-
scale SVG transform command
|
|
256
|
-
"""
|
|
257
|
-
|
|
258
|
-
sx = float(params[0])
|
|
259
|
-
sy = float(params[1]) if len(params) > 1 else sx
|
|
260
|
-
|
|
261
|
-
m = Matrix()
|
|
262
|
-
|
|
263
|
-
m = m @ Matrix.Scale(sx, 4, Vector((1.0, 0.0, 0.0)))
|
|
264
|
-
m = m @ Matrix.Scale(sy, 4, Vector((0.0, 1.0, 0.0)))
|
|
265
|
-
|
|
266
|
-
return m
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
def SVGTransformSkewY(params):
|
|
270
|
-
"""
|
|
271
|
-
skewY SVG transform command
|
|
272
|
-
"""
|
|
273
|
-
|
|
274
|
-
ang = float(params[0]) * pi / 180.0
|
|
275
|
-
|
|
276
|
-
return Matrix(((1.0, 0.0, 0.0),
|
|
277
|
-
(tan(ang), 1.0, 0.0),
|
|
278
|
-
(0.0, 0.0, 1.0))).to_4x4()
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
def SVGTransformSkewX(params):
|
|
282
|
-
"""
|
|
283
|
-
skewX SVG transform command
|
|
284
|
-
"""
|
|
285
|
-
|
|
286
|
-
ang = float(params[0]) * pi / 180.0
|
|
287
|
-
|
|
288
|
-
return Matrix(((1.0, tan(ang), 0.0),
|
|
289
|
-
(0.0, 1.0, 0.0),
|
|
290
|
-
(0.0, 0.0, 1.0))).to_4x4()
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
def SVGTransformRotate(params):
|
|
294
|
-
"""
|
|
295
|
-
skewX SVG transform command
|
|
296
|
-
"""
|
|
297
|
-
|
|
298
|
-
ang = float(params[0]) * pi / 180.0
|
|
299
|
-
cx = cy = 0.0
|
|
300
|
-
|
|
301
|
-
if len(params) >= 3:
|
|
302
|
-
cx = float(params[1])
|
|
303
|
-
cy = float(params[2])
|
|
304
|
-
|
|
305
|
-
tm = Matrix.Translation(Vector((cx, cy, 0.0)))
|
|
306
|
-
rm = Matrix.Rotation(ang, 4, Vector((0.0, 0.0, 1.0)))
|
|
307
|
-
|
|
308
|
-
return tm @ rm @ tm.inverted()
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
SVGTransforms = {'translate': SVGTransformTranslate,
|
|
312
|
-
'scale': SVGTransformScale,
|
|
313
|
-
'skewX': SVGTransformSkewX,
|
|
314
|
-
'skewY': SVGTransformSkewY,
|
|
315
|
-
'matrix': SVGTransformMatrix,
|
|
316
|
-
'rotate': SVGTransformRotate}
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
def SVGParseStyles(node, context):
|
|
320
|
-
"""
|
|
321
|
-
Parse node to get different styles for displaying geometries
|
|
322
|
-
(materials, filling flags, etc..)
|
|
323
|
-
"""
|
|
324
|
-
|
|
325
|
-
styles = SVGEmptyStyles.copy()
|
|
326
|
-
|
|
327
|
-
style = node.getAttribute('style')
|
|
328
|
-
if style:
|
|
329
|
-
elems = style.split(';')
|
|
330
|
-
for elem in elems:
|
|
331
|
-
s = elem.split(':')
|
|
332
|
-
|
|
333
|
-
if len(s) != 2:
|
|
334
|
-
continue
|
|
335
|
-
|
|
336
|
-
name = s[0].strip().lower()
|
|
337
|
-
val = s[1].strip()
|
|
338
|
-
|
|
339
|
-
if name == 'fill':
|
|
340
|
-
val = val.lower()
|
|
341
|
-
if val == 'none':
|
|
342
|
-
styles['useFill'] = False
|
|
343
|
-
else:
|
|
344
|
-
styles['useFill'] = True
|
|
345
|
-
styles['fill'] = SVGGetMaterial(val, context)
|
|
346
|
-
|
|
347
|
-
if styles['useFill'] is None:
|
|
348
|
-
styles['useFill'] = True
|
|
349
|
-
styles['fill'] = SVGGetMaterial('#000', context)
|
|
350
|
-
|
|
351
|
-
return styles
|
|
352
|
-
|
|
353
|
-
if styles['useFill'] is None:
|
|
354
|
-
fill = node.getAttribute('fill')
|
|
355
|
-
if fill:
|
|
356
|
-
fill = fill.lower()
|
|
357
|
-
if fill == 'none':
|
|
358
|
-
styles['useFill'] = False
|
|
359
|
-
else:
|
|
360
|
-
styles['useFill'] = True
|
|
361
|
-
styles['fill'] = SVGGetMaterial(fill, context)
|
|
362
|
-
|
|
363
|
-
if styles['useFill'] is None and context['style']:
|
|
364
|
-
styles = context['style'].copy()
|
|
365
|
-
|
|
366
|
-
if styles['useFill'] is None:
|
|
367
|
-
styles['useFill'] = True
|
|
368
|
-
styles['fill'] = SVGGetMaterial('#000', context)
|
|
369
|
-
|
|
370
|
-
return styles
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
def id_names_from_node(node, ob):
|
|
374
|
-
if node.getAttribute('id'):
|
|
375
|
-
name = node.getAttribute('id')
|
|
376
|
-
ob.name = name
|
|
377
|
-
ob.data.name = name
|
|
378
|
-
|
|
379
|
-
#### SVG path helpers ####
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
class SVGPathData:
|
|
383
|
-
"""
|
|
384
|
-
SVG Path data token supplier
|
|
385
|
-
"""
|
|
386
|
-
|
|
387
|
-
__slots__ = ('_data', # List of tokens
|
|
388
|
-
'_index', # Index of current token in tokens list
|
|
389
|
-
'_len') # Length of tokens list
|
|
390
|
-
|
|
391
|
-
def __init__(self, d):
|
|
392
|
-
"""
|
|
393
|
-
Initialize new path data supplier
|
|
394
|
-
|
|
395
|
-
d - the definition of the outline of a shape
|
|
396
|
-
"""
|
|
397
|
-
|
|
398
|
-
spaces = ' ,\t'
|
|
399
|
-
commands = {'m', 'l', 'h', 'v', 'c', 's', 'q', '', 't', 'a', 'z'}
|
|
400
|
-
current_command = ''
|
|
401
|
-
tokens = []
|
|
402
|
-
|
|
403
|
-
i = 0
|
|
404
|
-
n = len(d)
|
|
405
|
-
while i < n:
|
|
406
|
-
c = d[i]
|
|
407
|
-
|
|
408
|
-
if c in spaces:
|
|
409
|
-
pass
|
|
410
|
-
elif c.lower() in commands:
|
|
411
|
-
tokens.append(c)
|
|
412
|
-
current_command = c
|
|
413
|
-
arg_index = 1
|
|
414
|
-
elif c in ['-', '.'] or c.isdigit():
|
|
415
|
-
# Special case for 'a/A' commands.
|
|
416
|
-
# Arguments 4 and 5 are either 0 or 1 and might not
|
|
417
|
-
# be separated from the next argument with space or comma.
|
|
418
|
-
if current_command.lower() == 'a':
|
|
419
|
-
if arg_index % 7 in [4, 5]:
|
|
420
|
-
token = d[i]
|
|
421
|
-
last_char = i + 1
|
|
422
|
-
else:
|
|
423
|
-
token, last_char = read_float(d, i)
|
|
424
|
-
else:
|
|
425
|
-
token, last_char = read_float(d, i)
|
|
426
|
-
|
|
427
|
-
arg_index += 1
|
|
428
|
-
tokens.append(token)
|
|
429
|
-
|
|
430
|
-
# in most cases len(token) and (last_char - i) are the same
|
|
431
|
-
# but with whitespace or ',' prefix they are not.
|
|
432
|
-
|
|
433
|
-
i += (last_char - i) - 1
|
|
434
|
-
|
|
435
|
-
i += 1
|
|
436
|
-
|
|
437
|
-
self._data = tokens
|
|
438
|
-
self._index = 0
|
|
439
|
-
self._len = len(tokens)
|
|
440
|
-
|
|
441
|
-
def eof(self):
|
|
442
|
-
"""
|
|
443
|
-
Check if end of data reached
|
|
444
|
-
"""
|
|
445
|
-
|
|
446
|
-
return self._index >= self._len
|
|
447
|
-
|
|
448
|
-
def cur(self):
|
|
449
|
-
"""
|
|
450
|
-
Return current token
|
|
451
|
-
"""
|
|
452
|
-
|
|
453
|
-
if self.eof():
|
|
454
|
-
return None
|
|
455
|
-
|
|
456
|
-
return self._data[self._index]
|
|
457
|
-
|
|
458
|
-
def lookupNext(self):
|
|
459
|
-
"""
|
|
460
|
-
get next token without moving pointer
|
|
461
|
-
"""
|
|
462
|
-
|
|
463
|
-
if self.eof():
|
|
464
|
-
return None
|
|
465
|
-
|
|
466
|
-
return self._data[self._index]
|
|
467
|
-
|
|
468
|
-
def next(self):
|
|
469
|
-
"""
|
|
470
|
-
Return current token and go to next one
|
|
471
|
-
"""
|
|
472
|
-
|
|
473
|
-
if self.eof():
|
|
474
|
-
return None
|
|
475
|
-
|
|
476
|
-
token = self._data[self._index]
|
|
477
|
-
self._index += 1
|
|
478
|
-
|
|
479
|
-
return token
|
|
480
|
-
|
|
481
|
-
def nextCoord(self):
|
|
482
|
-
"""
|
|
483
|
-
Return coordinate created from current token and move to next token
|
|
484
|
-
"""
|
|
485
|
-
|
|
486
|
-
token = self.next()
|
|
487
|
-
|
|
488
|
-
if token is None:
|
|
489
|
-
return None
|
|
490
|
-
|
|
491
|
-
return float(token)
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
class SVGPathParser:
|
|
495
|
-
"""
|
|
496
|
-
Parser of SVG path data
|
|
497
|
-
"""
|
|
498
|
-
|
|
499
|
-
__slots__ = ('_data', # Path data supplird
|
|
500
|
-
'_point', # Current point coordinate
|
|
501
|
-
'_handle', # Last handle coordinate
|
|
502
|
-
'_splines', # List of all splies created during parsing
|
|
503
|
-
'_spline', # Currently handling spline
|
|
504
|
-
'_commands', # Hash of all supported path commands
|
|
505
|
-
'_use_fill', # Splines would be filled, so expected to be closed
|
|
506
|
-
)
|
|
507
|
-
|
|
508
|
-
def __init__(self, d, use_fill):
|
|
509
|
-
"""
|
|
510
|
-
Initialize path parser
|
|
511
|
-
|
|
512
|
-
d - the definition of the outline of a shape
|
|
513
|
-
"""
|
|
514
|
-
|
|
515
|
-
self._data = SVGPathData(d)
|
|
516
|
-
self._point = None # Current point
|
|
517
|
-
self._handle = None # Last handle
|
|
518
|
-
self._splines = [] # List of splines in path
|
|
519
|
-
self._spline = None # Current spline
|
|
520
|
-
self._use_fill = use_fill
|
|
521
|
-
|
|
522
|
-
self._commands = {'M': self._pathMoveTo,
|
|
523
|
-
'L': self._pathLineTo,
|
|
524
|
-
'H': self._pathLineTo,
|
|
525
|
-
'V': self._pathLineTo,
|
|
526
|
-
'C': self._pathCurveToCS,
|
|
527
|
-
'S': self._pathCurveToCS,
|
|
528
|
-
'Q': self._pathCurveToQT,
|
|
529
|
-
'T': self._pathCurveToQT,
|
|
530
|
-
'A': self._pathCurveToA,
|
|
531
|
-
'Z': self._pathClose,
|
|
532
|
-
|
|
533
|
-
'm': self._pathMoveTo,
|
|
534
|
-
'l': self._pathLineTo,
|
|
535
|
-
'h': self._pathLineTo,
|
|
536
|
-
'v': self._pathLineTo,
|
|
537
|
-
'c': self._pathCurveToCS,
|
|
538
|
-
's': self._pathCurveToCS,
|
|
539
|
-
'q': self._pathCurveToQT,
|
|
540
|
-
't': self._pathCurveToQT,
|
|
541
|
-
'a': self._pathCurveToA,
|
|
542
|
-
'z': self._pathClose}
|
|
543
|
-
|
|
544
|
-
def _getCoordPair(self, relative, point):
|
|
545
|
-
"""
|
|
546
|
-
Get next coordinate pair
|
|
547
|
-
"""
|
|
548
|
-
|
|
549
|
-
x = self._data.nextCoord()
|
|
550
|
-
y = self._data.nextCoord()
|
|
551
|
-
|
|
552
|
-
if relative and point is not None:
|
|
553
|
-
x += point[0]
|
|
554
|
-
y += point[1]
|
|
555
|
-
|
|
556
|
-
return x, y
|
|
557
|
-
|
|
558
|
-
def _appendPoint(self, x, y, handle_left=None, handle_left_type='VECTOR',
|
|
559
|
-
handle_right=None, handle_right_type='VECTOR'):
|
|
560
|
-
"""
|
|
561
|
-
Append point to spline
|
|
562
|
-
|
|
563
|
-
If there's no active spline, create one and set it's first point
|
|
564
|
-
to current point coordinate
|
|
565
|
-
"""
|
|
566
|
-
|
|
567
|
-
if self._spline is None:
|
|
568
|
-
self._spline = {'points': [],
|
|
569
|
-
'closed': False}
|
|
570
|
-
|
|
571
|
-
self._splines.append(self._spline)
|
|
572
|
-
|
|
573
|
-
if len(self._spline['points']) > 0:
|
|
574
|
-
# Not sure about specifications, but Illustrator could create
|
|
575
|
-
# last point at the same position, as start point (which was
|
|
576
|
-
# reached by MoveTo command) to set needed handle coords.
|
|
577
|
-
# It's also could use last point at last position to make path
|
|
578
|
-
# filled.
|
|
579
|
-
|
|
580
|
-
first = self._spline['points'][0]
|
|
581
|
-
if check_points_equal((first['x'], first['y']), (x, y)):
|
|
582
|
-
if handle_left is not None:
|
|
583
|
-
first['handle_left'] = handle_left
|
|
584
|
-
first['handle_left_type'] = 'FREE'
|
|
585
|
-
|
|
586
|
-
if handle_left_type != 'VECTOR':
|
|
587
|
-
first['handle_left_type'] = handle_left_type
|
|
588
|
-
|
|
589
|
-
if self._data.eof() or self._data.lookupNext().lower() == 'm':
|
|
590
|
-
self._spline['closed'] = True
|
|
591
|
-
|
|
592
|
-
return
|
|
593
|
-
|
|
594
|
-
last = self._spline['points'][-1]
|
|
595
|
-
if last['handle_right_type'] == 'VECTOR' and handle_left_type == 'FREE':
|
|
596
|
-
last['handle_right'] = (last['x'], last['y'])
|
|
597
|
-
last['handle_right_type'] = 'FREE'
|
|
598
|
-
if last['handle_right_type'] == 'FREE' and handle_left_type == 'VECTOR':
|
|
599
|
-
handle_left = (x, y)
|
|
600
|
-
handle_left_type = 'FREE'
|
|
601
|
-
|
|
602
|
-
point = {'x': x,
|
|
603
|
-
'y': y,
|
|
604
|
-
|
|
605
|
-
'handle_left': handle_left,
|
|
606
|
-
'handle_left_type': handle_left_type,
|
|
607
|
-
|
|
608
|
-
'handle_right': handle_right,
|
|
609
|
-
'handle_right_type': handle_right_type}
|
|
610
|
-
|
|
611
|
-
self._spline['points'].append(point)
|
|
612
|
-
|
|
613
|
-
def _updateHandle(self, handle=None, handle_type=None):
|
|
614
|
-
"""
|
|
615
|
-
Update right handle of previous point when adding new point to spline
|
|
616
|
-
"""
|
|
617
|
-
|
|
618
|
-
point = self._spline['points'][-1]
|
|
619
|
-
|
|
620
|
-
if handle_type is not None:
|
|
621
|
-
point['handle_right_type'] = handle_type
|
|
622
|
-
|
|
623
|
-
if handle is not None:
|
|
624
|
-
point['handle_right'] = handle
|
|
625
|
-
|
|
626
|
-
def _pathMoveTo(self, code):
|
|
627
|
-
"""
|
|
628
|
-
MoveTo path command
|
|
629
|
-
"""
|
|
630
|
-
|
|
631
|
-
relative = code.islower()
|
|
632
|
-
x, y = self._getCoordPair(relative, self._point)
|
|
633
|
-
|
|
634
|
-
self._spline = None # Flag to start new spline
|
|
635
|
-
self._point = (x, y)
|
|
636
|
-
|
|
637
|
-
cur = self._data.cur()
|
|
638
|
-
while cur is not None and not cur.isalpha():
|
|
639
|
-
x, y = self._getCoordPair(relative, self._point)
|
|
640
|
-
|
|
641
|
-
if self._spline is None:
|
|
642
|
-
self._appendPoint(self._point[0], self._point[1])
|
|
643
|
-
|
|
644
|
-
self._appendPoint(x, y)
|
|
645
|
-
|
|
646
|
-
self._point = (x, y)
|
|
647
|
-
cur = self._data.cur()
|
|
648
|
-
|
|
649
|
-
self._handle = None
|
|
650
|
-
|
|
651
|
-
def _pathLineTo(self, code):
|
|
652
|
-
"""
|
|
653
|
-
LineTo path command
|
|
654
|
-
"""
|
|
655
|
-
|
|
656
|
-
c = code.lower()
|
|
657
|
-
|
|
658
|
-
cur = self._data.cur()
|
|
659
|
-
while cur is not None and not cur.isalpha():
|
|
660
|
-
if c == 'l':
|
|
661
|
-
x, y = self._getCoordPair(code == 'l', self._point)
|
|
662
|
-
elif c == 'h':
|
|
663
|
-
x = self._data.nextCoord()
|
|
664
|
-
y = self._point[1]
|
|
665
|
-
else:
|
|
666
|
-
x = self._point[0]
|
|
667
|
-
y = self._data.nextCoord()
|
|
668
|
-
|
|
669
|
-
if code == 'h':
|
|
670
|
-
x += self._point[0]
|
|
671
|
-
elif code == 'v':
|
|
672
|
-
y += self._point[1]
|
|
673
|
-
|
|
674
|
-
if self._spline is None:
|
|
675
|
-
self._appendPoint(self._point[0], self._point[1])
|
|
676
|
-
|
|
677
|
-
self._appendPoint(x, y)
|
|
678
|
-
|
|
679
|
-
self._point = (x, y)
|
|
680
|
-
cur = self._data.cur()
|
|
681
|
-
|
|
682
|
-
self._handle = None
|
|
683
|
-
|
|
684
|
-
def _pathCurveToCS(self, code):
|
|
685
|
-
"""
|
|
686
|
-
Cubic BEZIER CurveTo path command
|
|
687
|
-
"""
|
|
688
|
-
|
|
689
|
-
c = code.lower()
|
|
690
|
-
cur = self._data.cur()
|
|
691
|
-
while cur is not None and not cur.isalpha():
|
|
692
|
-
if c == 'c':
|
|
693
|
-
x1, y1 = self._getCoordPair(code.islower(), self._point)
|
|
694
|
-
x2, y2 = self._getCoordPair(code.islower(), self._point)
|
|
695
|
-
else:
|
|
696
|
-
if self._handle is not None:
|
|
697
|
-
x1, y1 = SVGFlipHandle(self._point[0], self._point[1],
|
|
698
|
-
self._handle[0], self._handle[1])
|
|
699
|
-
else:
|
|
700
|
-
x1, y1 = self._point
|
|
701
|
-
|
|
702
|
-
x2, y2 = self._getCoordPair(code.islower(), self._point)
|
|
703
|
-
|
|
704
|
-
x, y = self._getCoordPair(code.islower(), self._point)
|
|
705
|
-
|
|
706
|
-
if self._spline is None:
|
|
707
|
-
self._appendPoint(self._point[0], self._point[1],
|
|
708
|
-
handle_left_type='FREE', handle_left=self._point,
|
|
709
|
-
handle_right_type='FREE', handle_right=(x1, y1))
|
|
710
|
-
else:
|
|
711
|
-
self._updateHandle(handle=(x1, y1), handle_type='FREE')
|
|
712
|
-
|
|
713
|
-
self._appendPoint(x, y,
|
|
714
|
-
handle_left_type='FREE', handle_left=(x2, y2),
|
|
715
|
-
handle_right_type='FREE', handle_right=(x, y))
|
|
716
|
-
|
|
717
|
-
self._point = (x, y)
|
|
718
|
-
self._handle = (x2, y2)
|
|
719
|
-
cur = self._data.cur()
|
|
720
|
-
|
|
721
|
-
def _pathCurveToQT(self, code):
|
|
722
|
-
"""
|
|
723
|
-
Quadratic BEZIER CurveTo path command
|
|
724
|
-
"""
|
|
725
|
-
|
|
726
|
-
c = code.lower()
|
|
727
|
-
cur = self._data.cur()
|
|
728
|
-
|
|
729
|
-
while cur is not None and not cur.isalpha():
|
|
730
|
-
if c == 'q':
|
|
731
|
-
x1, y1 = self._getCoordPair(code.islower(), self._point)
|
|
732
|
-
else:
|
|
733
|
-
if self._handle is not None:
|
|
734
|
-
x1, y1 = SVGFlipHandle(self._point[0], self._point[1],
|
|
735
|
-
self._handle[0], self._handle[1])
|
|
736
|
-
else:
|
|
737
|
-
x1, y1 = self._point
|
|
738
|
-
|
|
739
|
-
x, y = self._getCoordPair(code.islower(), self._point)
|
|
740
|
-
|
|
741
|
-
if not check_points_equal((x, y), self._point):
|
|
742
|
-
if self._spline is None:
|
|
743
|
-
self._appendPoint(self._point[0], self._point[1],
|
|
744
|
-
handle_left_type='FREE', handle_left=self._point,
|
|
745
|
-
handle_right_type='FREE', handle_right=self._point)
|
|
746
|
-
|
|
747
|
-
self._appendPoint(x, y,
|
|
748
|
-
handle_left_type='FREE', handle_left=(x1, y1),
|
|
749
|
-
handle_right_type='FREE', handle_right=(x, y))
|
|
750
|
-
|
|
751
|
-
self._point = (x, y)
|
|
752
|
-
self._handle = (x1, y1)
|
|
753
|
-
cur = self._data.cur()
|
|
754
|
-
|
|
755
|
-
def _calcArc(self, rx, ry, ang, fa, fs, x, y):
|
|
756
|
-
"""
|
|
757
|
-
Calc arc paths
|
|
758
|
-
|
|
759
|
-
Copied and adopted from `paths_svg2obj.py` script for Blender 2.49:
|
|
760
|
-
``Copyright (c) jm soler juillet/novembre 2004-april 2009``.
|
|
761
|
-
"""
|
|
762
|
-
|
|
763
|
-
cpx = self._point[0]
|
|
764
|
-
cpy = self._point[1]
|
|
765
|
-
rx = abs(rx)
|
|
766
|
-
ry = abs(ry)
|
|
767
|
-
px = abs((cos(ang) * (cpx - x) + sin(ang) * (cpy - y)) * 0.5) ** 2.0
|
|
768
|
-
py = abs((cos(ang) * (cpy - y) - sin(ang) * (cpx - x)) * 0.5) ** 2.0
|
|
769
|
-
rpx = rpy = 0.0
|
|
770
|
-
|
|
771
|
-
if abs(rx) > 0.0:
|
|
772
|
-
px = px / (rx ** 2.0)
|
|
773
|
-
|
|
774
|
-
if abs(ry) > 0.0:
|
|
775
|
-
rpy = py / (ry ** 2.0)
|
|
776
|
-
|
|
777
|
-
pl = rpx + rpy
|
|
778
|
-
if pl > 1.0:
|
|
779
|
-
pl = pl ** 0.5
|
|
780
|
-
rx *= pl
|
|
781
|
-
ry *= pl
|
|
782
|
-
|
|
783
|
-
carx = sarx = cary = sary = 0.0
|
|
784
|
-
|
|
785
|
-
if abs(rx) > 0.0:
|
|
786
|
-
carx = cos(ang) / rx
|
|
787
|
-
sarx = sin(ang) / rx
|
|
788
|
-
|
|
789
|
-
if abs(ry) > 0.0:
|
|
790
|
-
cary = cos(ang) / ry
|
|
791
|
-
sary = sin(ang) / ry
|
|
792
|
-
|
|
793
|
-
x0 = carx * cpx + sarx * cpy
|
|
794
|
-
y0 = -sary * cpx + cary * cpy
|
|
795
|
-
x1 = carx * x + sarx * y
|
|
796
|
-
y1 = -sary * x + cary * y
|
|
797
|
-
d = (x1 - x0) * (x1 - x0) + (y1 - y0) * (y1 - y0)
|
|
798
|
-
|
|
799
|
-
if abs(d) > 0.0:
|
|
800
|
-
sq = 1.0 / d - 0.25
|
|
801
|
-
else:
|
|
802
|
-
sq = -0.25
|
|
803
|
-
|
|
804
|
-
if sq < 0.0:
|
|
805
|
-
sq = 0.0
|
|
806
|
-
|
|
807
|
-
sf = sq ** 0.5
|
|
808
|
-
if fs == fa:
|
|
809
|
-
sf = -sf
|
|
810
|
-
|
|
811
|
-
xc = 0.5 * (x0 + x1) - sf * (y1 - y0)
|
|
812
|
-
yc = 0.5 * (y0 + y1) + sf * (x1 - x0)
|
|
813
|
-
ang_0 = atan2(y0 - yc, x0 - xc)
|
|
814
|
-
ang_1 = atan2(y1 - yc, x1 - xc)
|
|
815
|
-
ang_arc = ang_1 - ang_0
|
|
816
|
-
|
|
817
|
-
if ang_arc < 0.0 and fs == 1:
|
|
818
|
-
ang_arc += 2.0 * pi
|
|
819
|
-
elif ang_arc > 0.0 and fs == 0:
|
|
820
|
-
ang_arc -= 2.0 * pi
|
|
821
|
-
|
|
822
|
-
n_segs = int(ceil(abs(ang_arc * 2.0 / (pi * 0.5 + 0.001))))
|
|
823
|
-
|
|
824
|
-
if self._spline is None:
|
|
825
|
-
self._appendPoint(cpx, cpy,
|
|
826
|
-
handle_left_type='FREE', handle_left=(cpx, cpy),
|
|
827
|
-
handle_right_type='FREE', handle_right=(cpx, cpy))
|
|
828
|
-
|
|
829
|
-
for i in range(n_segs):
|
|
830
|
-
ang0 = ang_0 + i * ang_arc / n_segs
|
|
831
|
-
ang1 = ang_0 + (i + 1) * ang_arc / n_segs
|
|
832
|
-
ang_demi = 0.25 * (ang1 - ang0)
|
|
833
|
-
t = 2.66666 * sin(ang_demi) * sin(ang_demi) / sin(ang_demi * 2.0)
|
|
834
|
-
x1 = xc + cos(ang0) - t * sin(ang0)
|
|
835
|
-
y1 = yc + sin(ang0) + t * cos(ang0)
|
|
836
|
-
x2 = xc + cos(ang1)
|
|
837
|
-
y2 = yc + sin(ang1)
|
|
838
|
-
x3 = x2 + t * sin(ang1)
|
|
839
|
-
y3 = y2 - t * cos(ang1)
|
|
840
|
-
|
|
841
|
-
coord1 = ((cos(ang) * rx) * x1 + (-sin(ang) * ry) * y1,
|
|
842
|
-
(sin(ang) * rx) * x1 + (cos(ang) * ry) * y1)
|
|
843
|
-
coord2 = ((cos(ang) * rx) * x3 + (-sin(ang) * ry) * y3,
|
|
844
|
-
(sin(ang) * rx) * x3 + (cos(ang) * ry) * y3)
|
|
845
|
-
coord3 = ((cos(ang) * rx) * x2 + (-sin(ang) * ry) * y2,
|
|
846
|
-
(sin(ang) * rx) * x2 + (cos(ang) * ry) * y2)
|
|
847
|
-
|
|
848
|
-
self._updateHandle(handle=coord1, handle_type='FREE')
|
|
849
|
-
|
|
850
|
-
self._appendPoint(coord3[0], coord3[1],
|
|
851
|
-
handle_left_type='FREE', handle_left=coord2,
|
|
852
|
-
handle_right_type='FREE', handle_right=coord3)
|
|
853
|
-
|
|
854
|
-
def _pathCurveToA(self, code):
|
|
855
|
-
"""
|
|
856
|
-
Elliptical arc CurveTo path command
|
|
857
|
-
"""
|
|
858
|
-
|
|
859
|
-
cur = self._data.cur()
|
|
860
|
-
|
|
861
|
-
while cur is not None and not cur.isalpha():
|
|
862
|
-
rx = float(self._data.next())
|
|
863
|
-
ry = float(self._data.next())
|
|
864
|
-
ang = float(self._data.next()) / 180 * pi
|
|
865
|
-
fa = float(self._data.next())
|
|
866
|
-
fs = float(self._data.next())
|
|
867
|
-
x, y = self._getCoordPair(code.islower(), self._point)
|
|
868
|
-
|
|
869
|
-
self._calcArc(rx, ry, ang, fa, fs, x, y)
|
|
870
|
-
|
|
871
|
-
self._point = (x, y)
|
|
872
|
-
self._handle = None
|
|
873
|
-
cur = self._data.cur()
|
|
874
|
-
|
|
875
|
-
def _pathClose(self, code):
|
|
876
|
-
"""
|
|
877
|
-
Close path command
|
|
878
|
-
"""
|
|
879
|
-
|
|
880
|
-
if self._spline:
|
|
881
|
-
self._spline['closed'] = True
|
|
882
|
-
|
|
883
|
-
cv = self._spline['points'][0]
|
|
884
|
-
self._point = (cv['x'], cv['y'])
|
|
885
|
-
|
|
886
|
-
def _pathCloseImplicitly(self):
|
|
887
|
-
"""
|
|
888
|
-
Close path implicitly without changing current point coordinate
|
|
889
|
-
"""
|
|
890
|
-
|
|
891
|
-
if self._spline:
|
|
892
|
-
self._spline['closed'] = True
|
|
893
|
-
|
|
894
|
-
def parse(self):
|
|
895
|
-
"""
|
|
896
|
-
Execute parser
|
|
897
|
-
"""
|
|
898
|
-
|
|
899
|
-
closed = False
|
|
900
|
-
|
|
901
|
-
while not self._data.eof():
|
|
902
|
-
code = self._data.next()
|
|
903
|
-
cmd = self._commands.get(code)
|
|
904
|
-
|
|
905
|
-
if cmd is None:
|
|
906
|
-
raise Exception('Unknown path command: {0}' . format(code))
|
|
907
|
-
|
|
908
|
-
if code in {'Z', 'z'}:
|
|
909
|
-
closed = True
|
|
910
|
-
else:
|
|
911
|
-
closed = False
|
|
912
|
-
|
|
913
|
-
if code in {'M', 'm'} and self._use_fill and not closed:
|
|
914
|
-
self._pathCloseImplicitly() # Ensure closed before MoveTo path command
|
|
915
|
-
|
|
916
|
-
cmd(code)
|
|
917
|
-
if self._use_fill and not closed:
|
|
918
|
-
self._pathCloseImplicitly() # Ensure closed at the end of parsing
|
|
919
|
-
|
|
920
|
-
def getSplines(self):
|
|
921
|
-
"""
|
|
922
|
-
Get splines definitions
|
|
923
|
-
"""
|
|
924
|
-
|
|
925
|
-
return self._splines
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
class SVGGeometry:
|
|
929
|
-
"""
|
|
930
|
-
Abstract SVG geometry
|
|
931
|
-
"""
|
|
932
|
-
|
|
933
|
-
__slots__ = ('_node', # XML node for geometry
|
|
934
|
-
'_context', # Global SVG context (holds matrices stack, i.e.)
|
|
935
|
-
'_creating') # Flag if geometry is already creating
|
|
936
|
-
# for this node
|
|
937
|
-
# need to detect cycles for USE node
|
|
938
|
-
|
|
939
|
-
def __init__(self, node, context):
|
|
940
|
-
"""
|
|
941
|
-
Initialize SVG geometry
|
|
942
|
-
"""
|
|
943
|
-
|
|
944
|
-
self._node = node
|
|
945
|
-
self._context = context
|
|
946
|
-
self._creating = False
|
|
947
|
-
|
|
948
|
-
if hasattr(node, 'getAttribute'):
|
|
949
|
-
defs = context['defines']
|
|
950
|
-
|
|
951
|
-
attr_id = node.getAttribute('id')
|
|
952
|
-
if attr_id and defs.get('#' + attr_id) is None:
|
|
953
|
-
defs['#' + attr_id] = self
|
|
954
|
-
|
|
955
|
-
className = node.getAttribute('class')
|
|
956
|
-
if className and defs.get(className) is None:
|
|
957
|
-
defs[className] = self
|
|
958
|
-
|
|
959
|
-
def _pushRect(self, rect):
|
|
960
|
-
"""
|
|
961
|
-
Push display rectangle
|
|
962
|
-
"""
|
|
963
|
-
|
|
964
|
-
self._context['rects'].append(rect)
|
|
965
|
-
self._context['rect'] = rect
|
|
966
|
-
|
|
967
|
-
def _popRect(self):
|
|
968
|
-
"""
|
|
969
|
-
Pop display rectangle
|
|
970
|
-
"""
|
|
971
|
-
|
|
972
|
-
self._context['rects'].pop()
|
|
973
|
-
self._context['rect'] = self._context['rects'][-1]
|
|
974
|
-
|
|
975
|
-
def _pushMatrix(self, matrix):
|
|
976
|
-
"""
|
|
977
|
-
Push transformation matrix
|
|
978
|
-
"""
|
|
979
|
-
|
|
980
|
-
current_matrix = self._context['matrix']
|
|
981
|
-
self._context['matrix_stack'].append(current_matrix)
|
|
982
|
-
self._context['matrix'] = current_matrix @ matrix
|
|
983
|
-
|
|
984
|
-
def _popMatrix(self):
|
|
985
|
-
"""
|
|
986
|
-
Pop transformation matrix
|
|
987
|
-
"""
|
|
988
|
-
|
|
989
|
-
old_matrix = self._context['matrix_stack'].pop()
|
|
990
|
-
self._context['matrix'] = old_matrix
|
|
991
|
-
|
|
992
|
-
def _pushStyle(self, style):
|
|
993
|
-
"""
|
|
994
|
-
Push style
|
|
995
|
-
"""
|
|
996
|
-
|
|
997
|
-
self._context['styles'].append(style)
|
|
998
|
-
self._context['style'] = style
|
|
999
|
-
|
|
1000
|
-
def _popStyle(self):
|
|
1001
|
-
"""
|
|
1002
|
-
Pop style
|
|
1003
|
-
"""
|
|
1004
|
-
|
|
1005
|
-
self._context['styles'].pop()
|
|
1006
|
-
self._context['style'] = self._context['styles'][-1]
|
|
1007
|
-
|
|
1008
|
-
def _transformCoord(self, point):
|
|
1009
|
-
"""
|
|
1010
|
-
Transform SVG-file coords
|
|
1011
|
-
"""
|
|
1012
|
-
|
|
1013
|
-
v = Vector((point[0], point[1], 0.0))
|
|
1014
|
-
|
|
1015
|
-
return self._context['matrix'] @ v
|
|
1016
|
-
|
|
1017
|
-
def getNodeMatrix(self):
|
|
1018
|
-
"""
|
|
1019
|
-
Get transformation matrix of node
|
|
1020
|
-
"""
|
|
1021
|
-
|
|
1022
|
-
return SVGMatrixFromNode(self._node, self._context)
|
|
1023
|
-
|
|
1024
|
-
def parse(self):
|
|
1025
|
-
"""
|
|
1026
|
-
Parse XML node to memory
|
|
1027
|
-
"""
|
|
1028
|
-
|
|
1029
|
-
pass
|
|
1030
|
-
|
|
1031
|
-
def _doCreateGeom(self, instancing):
|
|
1032
|
-
"""
|
|
1033
|
-
Internal handler to create real geometries
|
|
1034
|
-
"""
|
|
1035
|
-
|
|
1036
|
-
pass
|
|
1037
|
-
|
|
1038
|
-
def getTransformMatrix(self):
|
|
1039
|
-
"""
|
|
1040
|
-
Get matrix created from "transform" attribute
|
|
1041
|
-
"""
|
|
1042
|
-
|
|
1043
|
-
transform = self._node.getAttribute('transform')
|
|
1044
|
-
|
|
1045
|
-
if transform:
|
|
1046
|
-
return SVGParseTransform(transform)
|
|
1047
|
-
|
|
1048
|
-
return None
|
|
1049
|
-
|
|
1050
|
-
def createGeom(self, instancing):
|
|
1051
|
-
"""
|
|
1052
|
-
Create real geometries
|
|
1053
|
-
"""
|
|
1054
|
-
|
|
1055
|
-
if self._creating:
|
|
1056
|
-
return
|
|
1057
|
-
|
|
1058
|
-
self._creating = True
|
|
1059
|
-
|
|
1060
|
-
matrix = self.getTransformMatrix()
|
|
1061
|
-
if matrix is not None:
|
|
1062
|
-
self._pushMatrix(matrix)
|
|
1063
|
-
|
|
1064
|
-
self._doCreateGeom(instancing)
|
|
1065
|
-
|
|
1066
|
-
if matrix is not None:
|
|
1067
|
-
self._popMatrix()
|
|
1068
|
-
|
|
1069
|
-
self._creating = False
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
class SVGGeometryContainer(SVGGeometry):
|
|
1073
|
-
"""
|
|
1074
|
-
Container of SVG geometries
|
|
1075
|
-
"""
|
|
1076
|
-
|
|
1077
|
-
__slots__ = ('_geometries', # List of chold geometries
|
|
1078
|
-
'_styles') # Styles, used for displaying
|
|
1079
|
-
|
|
1080
|
-
def __init__(self, node, context):
|
|
1081
|
-
"""
|
|
1082
|
-
Initialize SVG geometry container
|
|
1083
|
-
"""
|
|
1084
|
-
|
|
1085
|
-
super().__init__(node, context)
|
|
1086
|
-
|
|
1087
|
-
self._geometries = []
|
|
1088
|
-
self._styles = SVGEmptyStyles
|
|
1089
|
-
|
|
1090
|
-
def parse(self):
|
|
1091
|
-
"""
|
|
1092
|
-
Parse XML node to memory
|
|
1093
|
-
"""
|
|
1094
|
-
|
|
1095
|
-
if type(self._node) is xml.dom.minidom.Element:
|
|
1096
|
-
self._styles = SVGParseStyles(self._node, self._context)
|
|
1097
|
-
|
|
1098
|
-
self._pushStyle(self._styles)
|
|
1099
|
-
|
|
1100
|
-
for node in self._node.childNodes:
|
|
1101
|
-
if type(node) is not xml.dom.minidom.Element:
|
|
1102
|
-
continue
|
|
1103
|
-
|
|
1104
|
-
ob = parseAbstractNode(node, self._context)
|
|
1105
|
-
if ob is not None:
|
|
1106
|
-
self._geometries.append(ob)
|
|
1107
|
-
|
|
1108
|
-
self._popStyle()
|
|
1109
|
-
|
|
1110
|
-
def _doCreateGeom(self, instancing):
|
|
1111
|
-
"""
|
|
1112
|
-
Create real geometries
|
|
1113
|
-
"""
|
|
1114
|
-
|
|
1115
|
-
for geom in self._geometries:
|
|
1116
|
-
geom.createGeom(instancing)
|
|
1117
|
-
|
|
1118
|
-
def getGeometries(self):
|
|
1119
|
-
"""
|
|
1120
|
-
Get list of parsed geometries
|
|
1121
|
-
"""
|
|
1122
|
-
|
|
1123
|
-
return self._geometries
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
class SVGGeometryPATH(SVGGeometry):
|
|
1127
|
-
"""
|
|
1128
|
-
SVG path geometry
|
|
1129
|
-
"""
|
|
1130
|
-
|
|
1131
|
-
__slots__ = ('_splines', # List of splines after parsing
|
|
1132
|
-
'_styles') # Styles, used for displaying
|
|
1133
|
-
|
|
1134
|
-
def __init__(self, node, context):
|
|
1135
|
-
"""
|
|
1136
|
-
Initialize SVG path
|
|
1137
|
-
"""
|
|
1138
|
-
|
|
1139
|
-
super().__init__(node, context)
|
|
1140
|
-
|
|
1141
|
-
self._splines = []
|
|
1142
|
-
self._styles = SVGEmptyStyles
|
|
1143
|
-
|
|
1144
|
-
def parse(self):
|
|
1145
|
-
"""
|
|
1146
|
-
Parse SVG path node
|
|
1147
|
-
"""
|
|
1148
|
-
|
|
1149
|
-
d = self._node.getAttribute('d')
|
|
1150
|
-
|
|
1151
|
-
self._styles = SVGParseStyles(self._node, self._context)
|
|
1152
|
-
|
|
1153
|
-
pathParser = SVGPathParser(d, self._styles['useFill'])
|
|
1154
|
-
pathParser.parse()
|
|
1155
|
-
|
|
1156
|
-
self._splines = pathParser.getSplines()
|
|
1157
|
-
|
|
1158
|
-
def _doCreateGeom(self, instancing):
|
|
1159
|
-
"""
|
|
1160
|
-
Create real geometries
|
|
1161
|
-
"""
|
|
1162
|
-
|
|
1163
|
-
ob = SVGCreateCurve(self._context)
|
|
1164
|
-
cu = ob.data
|
|
1165
|
-
|
|
1166
|
-
id_names_from_node(self._node, ob)
|
|
1167
|
-
|
|
1168
|
-
if self._styles['useFill']:
|
|
1169
|
-
cu.dimensions = '2D'
|
|
1170
|
-
cu.fill_mode = 'BOTH'
|
|
1171
|
-
cu.materials.append(self._styles['fill'])
|
|
1172
|
-
else:
|
|
1173
|
-
cu.dimensions = '3D'
|
|
1174
|
-
|
|
1175
|
-
for spline in self._splines:
|
|
1176
|
-
act_spline = None
|
|
1177
|
-
|
|
1178
|
-
if spline['closed'] and len(spline['points']) >= 2:
|
|
1179
|
-
first = spline['points'][0]
|
|
1180
|
-
last = spline['points'][-1]
|
|
1181
|
-
if (first['handle_left_type'] == 'FREE' and
|
|
1182
|
-
last['handle_right_type'] == 'VECTOR'):
|
|
1183
|
-
last['handle_right_type'] = 'FREE'
|
|
1184
|
-
last['handle_right'] = (last['x'], last['y'])
|
|
1185
|
-
if (last['handle_right_type'] == 'FREE' and
|
|
1186
|
-
first['handle_left_type'] == 'VECTOR'):
|
|
1187
|
-
first['handle_left_type'] = 'FREE'
|
|
1188
|
-
first['handle_left'] = (first['x'], first['y'])
|
|
1189
|
-
|
|
1190
|
-
for point in spline['points']:
|
|
1191
|
-
co = self._transformCoord((point['x'], point['y']))
|
|
1192
|
-
|
|
1193
|
-
if act_spline is None:
|
|
1194
|
-
cu.splines.new('BEZIER')
|
|
1195
|
-
|
|
1196
|
-
act_spline = cu.splines[-1]
|
|
1197
|
-
act_spline.use_cyclic_u = spline['closed']
|
|
1198
|
-
else:
|
|
1199
|
-
act_spline.bezier_points.add(1)
|
|
1200
|
-
|
|
1201
|
-
bezt = act_spline.bezier_points[-1]
|
|
1202
|
-
bezt.co = co
|
|
1203
|
-
|
|
1204
|
-
bezt.handle_left_type = point['handle_left_type']
|
|
1205
|
-
if point['handle_left'] is not None:
|
|
1206
|
-
handle = point['handle_left']
|
|
1207
|
-
bezt.handle_left = self._transformCoord(handle)
|
|
1208
|
-
|
|
1209
|
-
bezt.handle_right_type = point['handle_right_type']
|
|
1210
|
-
if point['handle_right'] is not None:
|
|
1211
|
-
handle = point['handle_right']
|
|
1212
|
-
bezt.handle_right = self._transformCoord(handle)
|
|
1213
|
-
|
|
1214
|
-
SVGFinishCurve()
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
class SVGGeometryDEFS(SVGGeometryContainer):
|
|
1218
|
-
"""
|
|
1219
|
-
Container for referenced elements
|
|
1220
|
-
"""
|
|
1221
|
-
|
|
1222
|
-
def createGeom(self, instancing):
|
|
1223
|
-
"""
|
|
1224
|
-
Create real geometries
|
|
1225
|
-
"""
|
|
1226
|
-
|
|
1227
|
-
pass
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
class SVGGeometrySYMBOL(SVGGeometryContainer):
|
|
1231
|
-
"""
|
|
1232
|
-
Referenced element
|
|
1233
|
-
"""
|
|
1234
|
-
|
|
1235
|
-
def _doCreateGeom(self, instancing):
|
|
1236
|
-
"""
|
|
1237
|
-
Create real geometries
|
|
1238
|
-
"""
|
|
1239
|
-
|
|
1240
|
-
self._pushMatrix(self.getNodeMatrix())
|
|
1241
|
-
|
|
1242
|
-
super()._doCreateGeom(False)
|
|
1243
|
-
|
|
1244
|
-
self._popMatrix()
|
|
1245
|
-
|
|
1246
|
-
def createGeom(self, instancing):
|
|
1247
|
-
"""
|
|
1248
|
-
Create real geometries
|
|
1249
|
-
"""
|
|
1250
|
-
|
|
1251
|
-
if not instancing:
|
|
1252
|
-
return
|
|
1253
|
-
|
|
1254
|
-
super().createGeom(instancing)
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
class SVGGeometryG(SVGGeometryContainer):
|
|
1258
|
-
"""
|
|
1259
|
-
Geometry group
|
|
1260
|
-
"""
|
|
1261
|
-
|
|
1262
|
-
pass
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
class SVGGeometryUSE(SVGGeometry):
|
|
1266
|
-
"""
|
|
1267
|
-
User of referenced elements
|
|
1268
|
-
"""
|
|
1269
|
-
|
|
1270
|
-
def _doCreateGeom(self, instancing):
|
|
1271
|
-
"""
|
|
1272
|
-
Create real geometries
|
|
1273
|
-
"""
|
|
1274
|
-
|
|
1275
|
-
ref = self._node.getAttribute('xlink:href')
|
|
1276
|
-
geom = self._context['defines'].get(ref)
|
|
1277
|
-
|
|
1278
|
-
if geom is not None:
|
|
1279
|
-
rect = SVGRectFromNode(self._node, self._context)
|
|
1280
|
-
self._pushRect(rect)
|
|
1281
|
-
|
|
1282
|
-
self._pushMatrix(self.getNodeMatrix())
|
|
1283
|
-
|
|
1284
|
-
geom.createGeom(True)
|
|
1285
|
-
|
|
1286
|
-
self._popMatrix()
|
|
1287
|
-
|
|
1288
|
-
self._popRect()
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
class SVGGeometryRECT(SVGGeometry):
|
|
1292
|
-
"""
|
|
1293
|
-
SVG rectangle
|
|
1294
|
-
"""
|
|
1295
|
-
|
|
1296
|
-
__slots__ = ('_rect', # coordinate and dimensions of rectangle
|
|
1297
|
-
'_radius', # Rounded corner radiuses
|
|
1298
|
-
'_styles') # Styles, used for displaying
|
|
1299
|
-
|
|
1300
|
-
def __init__(self, node, context):
|
|
1301
|
-
"""
|
|
1302
|
-
Initialize new rectangle
|
|
1303
|
-
"""
|
|
1304
|
-
|
|
1305
|
-
super().__init__(node, context)
|
|
1306
|
-
|
|
1307
|
-
self._rect = ('0', '0', '0', '0')
|
|
1308
|
-
self._radius = ('0', '0')
|
|
1309
|
-
self._styles = SVGEmptyStyles
|
|
1310
|
-
|
|
1311
|
-
def parse(self):
|
|
1312
|
-
"""
|
|
1313
|
-
Parse SVG rectangle node
|
|
1314
|
-
"""
|
|
1315
|
-
|
|
1316
|
-
self._styles = SVGParseStyles(self._node, self._context)
|
|
1317
|
-
|
|
1318
|
-
rect = []
|
|
1319
|
-
for attr in ['x', 'y', 'width', 'height']:
|
|
1320
|
-
val = self._node.getAttribute(attr)
|
|
1321
|
-
rect.append(val or '0')
|
|
1322
|
-
|
|
1323
|
-
self._rect = (rect)
|
|
1324
|
-
|
|
1325
|
-
rx = self._node.getAttribute('rx')
|
|
1326
|
-
ry = self._node.getAttribute('ry')
|
|
1327
|
-
|
|
1328
|
-
self._radius = (rx, ry)
|
|
1329
|
-
|
|
1330
|
-
def _appendCorner(self, spline, coord, firstTime, rounded):
|
|
1331
|
-
"""
|
|
1332
|
-
Append new corner to rectangle
|
|
1333
|
-
"""
|
|
1334
|
-
|
|
1335
|
-
handle = None
|
|
1336
|
-
if len(coord) == 3:
|
|
1337
|
-
handle = self._transformCoord(coord[2])
|
|
1338
|
-
coord = (coord[0], coord[1])
|
|
1339
|
-
|
|
1340
|
-
co = self._transformCoord(coord)
|
|
1341
|
-
|
|
1342
|
-
if not firstTime:
|
|
1343
|
-
spline.bezier_points.add(1)
|
|
1344
|
-
|
|
1345
|
-
bezt = spline.bezier_points[-1]
|
|
1346
|
-
bezt.co = co
|
|
1347
|
-
|
|
1348
|
-
if rounded:
|
|
1349
|
-
if handle:
|
|
1350
|
-
bezt.handle_left_type = 'VECTOR'
|
|
1351
|
-
bezt.handle_right_type = 'FREE'
|
|
1352
|
-
|
|
1353
|
-
bezt.handle_right = handle
|
|
1354
|
-
else:
|
|
1355
|
-
bezt.handle_left_type = 'FREE'
|
|
1356
|
-
bezt.handle_right_type = 'VECTOR'
|
|
1357
|
-
bezt.handle_left = co
|
|
1358
|
-
|
|
1359
|
-
else:
|
|
1360
|
-
bezt.handle_left_type = 'VECTOR'
|
|
1361
|
-
bezt.handle_right_type = 'VECTOR'
|
|
1362
|
-
|
|
1363
|
-
def _doCreateGeom(self, instancing):
|
|
1364
|
-
"""
|
|
1365
|
-
Create real geometries
|
|
1366
|
-
"""
|
|
1367
|
-
|
|
1368
|
-
# Run-time parsing -- percents would be correct only if
|
|
1369
|
-
# parsing them now
|
|
1370
|
-
crect = self._context['rect']
|
|
1371
|
-
rect = []
|
|
1372
|
-
|
|
1373
|
-
for i in range(4):
|
|
1374
|
-
rect.append(SVGParseCoord(self._rect[i], crect[i % 2]))
|
|
1375
|
-
|
|
1376
|
-
r = self._radius
|
|
1377
|
-
rx = ry = 0.0
|
|
1378
|
-
|
|
1379
|
-
if r[0] and r[1]:
|
|
1380
|
-
rx = min(SVGParseCoord(r[0], rect[0]), rect[2] / 2)
|
|
1381
|
-
ry = min(SVGParseCoord(r[1], rect[1]), rect[3] / 2)
|
|
1382
|
-
elif r[0]:
|
|
1383
|
-
rx = min(SVGParseCoord(r[0], rect[0]), rect[2] / 2)
|
|
1384
|
-
ry = min(rx, rect[3] / 2)
|
|
1385
|
-
rx = ry = min(rx, ry)
|
|
1386
|
-
elif r[1]:
|
|
1387
|
-
ry = min(SVGParseCoord(r[1], rect[1]), rect[3] / 2)
|
|
1388
|
-
rx = min(ry, rect[2] / 2)
|
|
1389
|
-
rx = ry = min(rx, ry)
|
|
1390
|
-
|
|
1391
|
-
radius = (rx, ry)
|
|
1392
|
-
|
|
1393
|
-
# Geometry creation
|
|
1394
|
-
ob = SVGCreateCurve(self._context)
|
|
1395
|
-
cu = ob.data
|
|
1396
|
-
|
|
1397
|
-
id_names_from_node(self._node, ob)
|
|
1398
|
-
|
|
1399
|
-
if self._styles['useFill']:
|
|
1400
|
-
cu.dimensions = '2D'
|
|
1401
|
-
cu.fill_mode = 'BOTH'
|
|
1402
|
-
cu.materials.append(self._styles['fill'])
|
|
1403
|
-
else:
|
|
1404
|
-
cu.dimensions = '3D'
|
|
1405
|
-
|
|
1406
|
-
cu.splines.new('BEZIER')
|
|
1407
|
-
|
|
1408
|
-
spline = cu.splines[-1]
|
|
1409
|
-
spline.use_cyclic_u = True
|
|
1410
|
-
|
|
1411
|
-
x, y = rect[0], rect[1]
|
|
1412
|
-
w, h = rect[2], rect[3]
|
|
1413
|
-
rx, ry = radius[0], radius[1]
|
|
1414
|
-
rounded = False
|
|
1415
|
-
|
|
1416
|
-
if rx or ry:
|
|
1417
|
-
#
|
|
1418
|
-
# 0 _______ 1
|
|
1419
|
-
# / \
|
|
1420
|
-
# / \
|
|
1421
|
-
# 7 2
|
|
1422
|
-
# | |
|
|
1423
|
-
# | |
|
|
1424
|
-
# 6 3
|
|
1425
|
-
# \ /
|
|
1426
|
-
# \ /
|
|
1427
|
-
# 5 _______ 4
|
|
1428
|
-
#
|
|
1429
|
-
|
|
1430
|
-
# Optional third component -- right handle coord
|
|
1431
|
-
coords = [(x + rx, y),
|
|
1432
|
-
(x + w - rx, y, (x + w, y)),
|
|
1433
|
-
(x + w, y + ry),
|
|
1434
|
-
(x + w, y + h - ry, (x + w, y + h)),
|
|
1435
|
-
(x + w - rx, y + h),
|
|
1436
|
-
(x + rx, y + h, (x, y + h)),
|
|
1437
|
-
(x, y + h - ry),
|
|
1438
|
-
(x, y + ry, (x, y))]
|
|
1439
|
-
|
|
1440
|
-
rounded = True
|
|
1441
|
-
else:
|
|
1442
|
-
coords = [(x, y), (x + w, y), (x + w, y + h), (x, y + h)]
|
|
1443
|
-
|
|
1444
|
-
firstTime = True
|
|
1445
|
-
for coord in coords:
|
|
1446
|
-
self._appendCorner(spline, coord, firstTime, rounded)
|
|
1447
|
-
firstTime = False
|
|
1448
|
-
|
|
1449
|
-
SVGFinishCurve()
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
class SVGGeometryELLIPSE(SVGGeometry):
|
|
1453
|
-
"""
|
|
1454
|
-
SVG ellipse
|
|
1455
|
-
"""
|
|
1456
|
-
|
|
1457
|
-
__slots__ = ('_cx', # X-coordinate of center
|
|
1458
|
-
'_cy', # Y-coordinate of center
|
|
1459
|
-
'_rx', # X-axis radius of circle
|
|
1460
|
-
'_ry', # Y-axis radius of circle
|
|
1461
|
-
'_styles') # Styles, used for displaying
|
|
1462
|
-
|
|
1463
|
-
def __init__(self, node, context):
|
|
1464
|
-
"""
|
|
1465
|
-
Initialize new ellipse
|
|
1466
|
-
"""
|
|
1467
|
-
|
|
1468
|
-
super().__init__(node, context)
|
|
1469
|
-
|
|
1470
|
-
self._cx = '0.0'
|
|
1471
|
-
self._cy = '0.0'
|
|
1472
|
-
self._rx = '0.0'
|
|
1473
|
-
self._ry = '0.0'
|
|
1474
|
-
self._styles = SVGEmptyStyles
|
|
1475
|
-
|
|
1476
|
-
def parse(self):
|
|
1477
|
-
"""
|
|
1478
|
-
Parse SVG ellipse node
|
|
1479
|
-
"""
|
|
1480
|
-
|
|
1481
|
-
self._styles = SVGParseStyles(self._node, self._context)
|
|
1482
|
-
|
|
1483
|
-
self._cx = self._node.getAttribute('cx') or '0'
|
|
1484
|
-
self._cy = self._node.getAttribute('cy') or '0'
|
|
1485
|
-
self._rx = self._node.getAttribute('rx') or '0'
|
|
1486
|
-
self._ry = self._node.getAttribute('ry') or '0'
|
|
1487
|
-
|
|
1488
|
-
def _doCreateGeom(self, instancing):
|
|
1489
|
-
"""
|
|
1490
|
-
Create real geometries
|
|
1491
|
-
"""
|
|
1492
|
-
|
|
1493
|
-
# Run-time parsing -- percents would be correct only if
|
|
1494
|
-
# parsing them now
|
|
1495
|
-
crect = self._context['rect']
|
|
1496
|
-
|
|
1497
|
-
cx = SVGParseCoord(self._cx, crect[0])
|
|
1498
|
-
cy = SVGParseCoord(self._cy, crect[1])
|
|
1499
|
-
rx = SVGParseCoord(self._rx, crect[0])
|
|
1500
|
-
ry = SVGParseCoord(self._ry, crect[1])
|
|
1501
|
-
|
|
1502
|
-
if not rx or not ry:
|
|
1503
|
-
# Automaic handles will work incorrect in this case
|
|
1504
|
-
return
|
|
1505
|
-
|
|
1506
|
-
# Create circle
|
|
1507
|
-
ob = SVGCreateCurve(self._context)
|
|
1508
|
-
cu = ob.data
|
|
1509
|
-
|
|
1510
|
-
id_names_from_node(self._node, ob)
|
|
1511
|
-
|
|
1512
|
-
if self._styles['useFill']:
|
|
1513
|
-
cu.dimensions = '2D'
|
|
1514
|
-
cu.fill_mode = 'BOTH'
|
|
1515
|
-
cu.materials.append(self._styles['fill'])
|
|
1516
|
-
else:
|
|
1517
|
-
cu.dimensions = '3D'
|
|
1518
|
-
|
|
1519
|
-
coords = [((cx - rx, cy),
|
|
1520
|
-
(cx - rx, cy + ry * 0.552),
|
|
1521
|
-
(cx - rx, cy - ry * 0.552)),
|
|
1522
|
-
|
|
1523
|
-
((cx, cy - ry),
|
|
1524
|
-
(cx - rx * 0.552, cy - ry),
|
|
1525
|
-
(cx + rx * 0.552, cy - ry)),
|
|
1526
|
-
|
|
1527
|
-
((cx + rx, cy),
|
|
1528
|
-
(cx + rx, cy - ry * 0.552),
|
|
1529
|
-
(cx + rx, cy + ry * 0.552)),
|
|
1530
|
-
|
|
1531
|
-
((cx, cy + ry),
|
|
1532
|
-
(cx + rx * 0.552, cy + ry),
|
|
1533
|
-
(cx - rx * 0.552, cy + ry))]
|
|
1534
|
-
|
|
1535
|
-
spline = None
|
|
1536
|
-
for coord in coords:
|
|
1537
|
-
co = self._transformCoord(coord[0])
|
|
1538
|
-
handle_left = self._transformCoord(coord[1])
|
|
1539
|
-
handle_right = self._transformCoord(coord[2])
|
|
1540
|
-
|
|
1541
|
-
if spline is None:
|
|
1542
|
-
cu.splines.new('BEZIER')
|
|
1543
|
-
spline = cu.splines[-1]
|
|
1544
|
-
spline.use_cyclic_u = True
|
|
1545
|
-
else:
|
|
1546
|
-
spline.bezier_points.add(1)
|
|
1547
|
-
|
|
1548
|
-
bezt = spline.bezier_points[-1]
|
|
1549
|
-
bezt.co = co
|
|
1550
|
-
bezt.handle_left_type = 'FREE'
|
|
1551
|
-
bezt.handle_right_type = 'FREE'
|
|
1552
|
-
bezt.handle_left = handle_left
|
|
1553
|
-
bezt.handle_right = handle_right
|
|
1554
|
-
|
|
1555
|
-
SVGFinishCurve()
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
class SVGGeometryCIRCLE(SVGGeometryELLIPSE):
|
|
1559
|
-
"""
|
|
1560
|
-
SVG circle
|
|
1561
|
-
"""
|
|
1562
|
-
|
|
1563
|
-
def parse(self):
|
|
1564
|
-
"""
|
|
1565
|
-
Parse SVG circle node
|
|
1566
|
-
"""
|
|
1567
|
-
|
|
1568
|
-
self._styles = SVGParseStyles(self._node, self._context)
|
|
1569
|
-
|
|
1570
|
-
self._cx = self._node.getAttribute('cx') or '0'
|
|
1571
|
-
self._cy = self._node.getAttribute('cy') or '0'
|
|
1572
|
-
|
|
1573
|
-
r = self._node.getAttribute('r') or '0'
|
|
1574
|
-
self._rx = self._ry = r
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
class SVGGeometryLINE(SVGGeometry):
|
|
1578
|
-
"""
|
|
1579
|
-
SVG line
|
|
1580
|
-
"""
|
|
1581
|
-
|
|
1582
|
-
__slots__ = ('_x1', # X-coordinate of beginning
|
|
1583
|
-
'_y1', # Y-coordinate of beginning
|
|
1584
|
-
'_x2', # X-coordinate of ending
|
|
1585
|
-
'_y2') # Y-coordinate of ending
|
|
1586
|
-
|
|
1587
|
-
def __init__(self, node, context):
|
|
1588
|
-
"""
|
|
1589
|
-
Initialize new line
|
|
1590
|
-
"""
|
|
1591
|
-
|
|
1592
|
-
super().__init__(node, context)
|
|
1593
|
-
|
|
1594
|
-
self._x1 = '0.0'
|
|
1595
|
-
self._y1 = '0.0'
|
|
1596
|
-
self._x2 = '0.0'
|
|
1597
|
-
self._y2 = '0.0'
|
|
1598
|
-
|
|
1599
|
-
def parse(self):
|
|
1600
|
-
"""
|
|
1601
|
-
Parse SVG line node
|
|
1602
|
-
"""
|
|
1603
|
-
|
|
1604
|
-
self._x1 = self._node.getAttribute('x1') or '0'
|
|
1605
|
-
self._y1 = self._node.getAttribute('y1') or '0'
|
|
1606
|
-
self._x2 = self._node.getAttribute('x2') or '0'
|
|
1607
|
-
self._y2 = self._node.getAttribute('y2') or '0'
|
|
1608
|
-
|
|
1609
|
-
def _doCreateGeom(self, instancing):
|
|
1610
|
-
"""
|
|
1611
|
-
Create real geometries
|
|
1612
|
-
"""
|
|
1613
|
-
|
|
1614
|
-
# Run-time parsing -- percents would be correct only if
|
|
1615
|
-
# parsing them now
|
|
1616
|
-
crect = self._context['rect']
|
|
1617
|
-
|
|
1618
|
-
x1 = SVGParseCoord(self._x1, crect[0])
|
|
1619
|
-
y1 = SVGParseCoord(self._y1, crect[1])
|
|
1620
|
-
x2 = SVGParseCoord(self._x2, crect[0])
|
|
1621
|
-
y2 = SVGParseCoord(self._y2, crect[1])
|
|
1622
|
-
|
|
1623
|
-
# Create cline
|
|
1624
|
-
ob = SVGCreateCurve(self._context)
|
|
1625
|
-
cu = ob.data
|
|
1626
|
-
|
|
1627
|
-
id_names_from_node(self._node, ob)
|
|
1628
|
-
|
|
1629
|
-
coords = [(x1, y1), (x2, y2)]
|
|
1630
|
-
spline = None
|
|
1631
|
-
|
|
1632
|
-
for coord in coords:
|
|
1633
|
-
co = self._transformCoord(coord)
|
|
1634
|
-
|
|
1635
|
-
if spline is None:
|
|
1636
|
-
cu.splines.new('BEZIER')
|
|
1637
|
-
spline = cu.splines[-1]
|
|
1638
|
-
spline.use_cyclic_u = True
|
|
1639
|
-
else:
|
|
1640
|
-
spline.bezier_points.add(1)
|
|
1641
|
-
|
|
1642
|
-
bezt = spline.bezier_points[-1]
|
|
1643
|
-
bezt.co = co
|
|
1644
|
-
bezt.handle_left_type = 'VECTOR'
|
|
1645
|
-
bezt.handle_right_type = 'VECTOR'
|
|
1646
|
-
|
|
1647
|
-
SVGFinishCurve()
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
class SVGGeometryPOLY(SVGGeometry):
|
|
1651
|
-
"""
|
|
1652
|
-
Abstract class for handling poly-geometries
|
|
1653
|
-
(polylines and polygons)
|
|
1654
|
-
"""
|
|
1655
|
-
|
|
1656
|
-
__slots__ = ('_points', # Array of points for poly geometry
|
|
1657
|
-
'_styles', # Styles, used for displaying
|
|
1658
|
-
'_closed') # Should generated curve be closed?
|
|
1659
|
-
|
|
1660
|
-
def __init__(self, node, context):
|
|
1661
|
-
"""
|
|
1662
|
-
Initialize new poly geometry
|
|
1663
|
-
"""
|
|
1664
|
-
|
|
1665
|
-
super().__init__(node, context)
|
|
1666
|
-
|
|
1667
|
-
self._points = []
|
|
1668
|
-
self._styles = SVGEmptyStyles
|
|
1669
|
-
self._closed = False
|
|
1670
|
-
|
|
1671
|
-
def parse(self):
|
|
1672
|
-
"""
|
|
1673
|
-
Parse poly node
|
|
1674
|
-
"""
|
|
1675
|
-
|
|
1676
|
-
self._styles = SVGParseStyles(self._node, self._context)
|
|
1677
|
-
|
|
1678
|
-
points = parse_array_of_floats(self._node.getAttribute('points'))
|
|
1679
|
-
|
|
1680
|
-
prev = None
|
|
1681
|
-
self._points = []
|
|
1682
|
-
|
|
1683
|
-
for p in points:
|
|
1684
|
-
if prev is None:
|
|
1685
|
-
prev = p
|
|
1686
|
-
else:
|
|
1687
|
-
self._points.append((prev, p))
|
|
1688
|
-
prev = None
|
|
1689
|
-
|
|
1690
|
-
def _doCreateGeom(self, instancing):
|
|
1691
|
-
"""
|
|
1692
|
-
Create real geometries
|
|
1693
|
-
"""
|
|
1694
|
-
|
|
1695
|
-
ob = SVGCreateCurve(self._context)
|
|
1696
|
-
cu = ob.data
|
|
1697
|
-
|
|
1698
|
-
id_names_from_node(self._node, ob)
|
|
1699
|
-
|
|
1700
|
-
if self._closed and self._styles['useFill']:
|
|
1701
|
-
cu.dimensions = '2D'
|
|
1702
|
-
cu.fill_mode = 'BOTH'
|
|
1703
|
-
cu.materials.append(self._styles['fill'])
|
|
1704
|
-
else:
|
|
1705
|
-
cu.dimensions = '3D'
|
|
1706
|
-
|
|
1707
|
-
spline = None
|
|
1708
|
-
|
|
1709
|
-
for point in self._points:
|
|
1710
|
-
co = self._transformCoord(point)
|
|
1711
|
-
|
|
1712
|
-
if spline is None:
|
|
1713
|
-
cu.splines.new('BEZIER')
|
|
1714
|
-
spline = cu.splines[-1]
|
|
1715
|
-
spline.use_cyclic_u = self._closed
|
|
1716
|
-
else:
|
|
1717
|
-
spline.bezier_points.add(1)
|
|
1718
|
-
|
|
1719
|
-
bezt = spline.bezier_points[-1]
|
|
1720
|
-
bezt.co = co
|
|
1721
|
-
bezt.handle_left_type = 'VECTOR'
|
|
1722
|
-
bezt.handle_right_type = 'VECTOR'
|
|
1723
|
-
|
|
1724
|
-
SVGFinishCurve()
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
class SVGGeometryPOLYLINE(SVGGeometryPOLY):
|
|
1728
|
-
"""
|
|
1729
|
-
SVG polyline geometry
|
|
1730
|
-
"""
|
|
1731
|
-
|
|
1732
|
-
pass
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
class SVGGeometryPOLYGON(SVGGeometryPOLY):
|
|
1736
|
-
"""
|
|
1737
|
-
SVG polygon geometry
|
|
1738
|
-
"""
|
|
1739
|
-
|
|
1740
|
-
def __init__(self, node, context):
|
|
1741
|
-
"""
|
|
1742
|
-
Initialize new polygon geometry
|
|
1743
|
-
"""
|
|
1744
|
-
|
|
1745
|
-
super().__init__(node, context)
|
|
1746
|
-
|
|
1747
|
-
self._closed = True
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
class SVGGeometrySVG(SVGGeometryContainer):
|
|
1751
|
-
"""
|
|
1752
|
-
Main geometry holder
|
|
1753
|
-
"""
|
|
1754
|
-
|
|
1755
|
-
def _doCreateGeom(self, instancing):
|
|
1756
|
-
"""
|
|
1757
|
-
Create real geometries
|
|
1758
|
-
"""
|
|
1759
|
-
|
|
1760
|
-
rect = SVGRectFromNode(self._node, self._context)
|
|
1761
|
-
|
|
1762
|
-
matrix = self.getNodeMatrix()
|
|
1763
|
-
|
|
1764
|
-
# Better SVG compatibility: match svg-document units
|
|
1765
|
-
# with blender units
|
|
1766
|
-
|
|
1767
|
-
viewbox = []
|
|
1768
|
-
unit = ''
|
|
1769
|
-
|
|
1770
|
-
if self._node.getAttribute('height'):
|
|
1771
|
-
raw_height = self._node.getAttribute('height')
|
|
1772
|
-
token, last_char = read_float(raw_height)
|
|
1773
|
-
document_height = float(token)
|
|
1774
|
-
unit = raw_height[last_char:].strip()
|
|
1775
|
-
|
|
1776
|
-
if self._node.getAttribute('viewBox'):
|
|
1777
|
-
viewbox = parse_array_of_floats(self._node.getAttribute('viewBox'))
|
|
1778
|
-
|
|
1779
|
-
if len(viewbox) == 4 and unit in ('cm', 'mm', 'in', 'pt', 'pc'):
|
|
1780
|
-
|
|
1781
|
-
# convert units to BU:
|
|
1782
|
-
unitscale = units[unit] / 90 * 1000 / 39.3701
|
|
1783
|
-
|
|
1784
|
-
# apply blender unit scale:
|
|
1785
|
-
unitscale = unitscale / bpy.context.scene.unit_settings.scale_length
|
|
1786
|
-
|
|
1787
|
-
matrix = matrix @ Matrix.Scale(unitscale, 4, Vector((1.0, 0.0, 0.0)))
|
|
1788
|
-
matrix = matrix @ Matrix.Scale(unitscale, 4, Vector((0.0, 1.0, 0.0)))
|
|
1789
|
-
|
|
1790
|
-
# match document origin with 3D space origin.
|
|
1791
|
-
if self._node.getAttribute('viewBox'):
|
|
1792
|
-
viewbox = parse_array_of_floats(self._node.getAttribute('viewBox'))
|
|
1793
|
-
matrix = matrix @ matrix.Translation([0.0, - viewbox[1] - viewbox[3], 0.0])
|
|
1794
|
-
|
|
1795
|
-
self._pushMatrix(matrix)
|
|
1796
|
-
self._pushRect(rect)
|
|
1797
|
-
|
|
1798
|
-
super()._doCreateGeom(False)
|
|
1799
|
-
|
|
1800
|
-
self._popRect()
|
|
1801
|
-
self._popMatrix()
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
class SVGLoader(SVGGeometryContainer):
|
|
1805
|
-
"""
|
|
1806
|
-
SVG file loader
|
|
1807
|
-
"""
|
|
1808
|
-
|
|
1809
|
-
def getTransformMatrix(self):
|
|
1810
|
-
"""
|
|
1811
|
-
Get matrix created from "transform" attribute
|
|
1812
|
-
"""
|
|
1813
|
-
|
|
1814
|
-
# SVG document doesn't support transform specification
|
|
1815
|
-
# it can't even hold attributes
|
|
1816
|
-
|
|
1817
|
-
return None
|
|
1818
|
-
|
|
1819
|
-
def __init__(self, context, filepath, do_colormanage):
|
|
1820
|
-
"""
|
|
1821
|
-
Initialize SVG loader
|
|
1822
|
-
"""
|
|
1823
|
-
import os
|
|
1824
|
-
|
|
1825
|
-
svg_name = os.path.basename(filepath)
|
|
1826
|
-
scene = context.scene
|
|
1827
|
-
collection = bpy.data.collections.new(name=svg_name)
|
|
1828
|
-
scene.collection.children.link(collection)
|
|
1829
|
-
|
|
1830
|
-
node = xml.dom.minidom.parse(filepath)
|
|
1831
|
-
|
|
1832
|
-
m = Matrix()
|
|
1833
|
-
m = m @ Matrix.Scale(1.0 / 90.0 * 0.3048 / 12.0, 4, Vector((1.0, 0.0, 0.0)))
|
|
1834
|
-
m = m @ Matrix.Scale(-1.0 / 90.0 * 0.3048 / 12.0, 4, Vector((0.0, 1.0, 0.0)))
|
|
1835
|
-
|
|
1836
|
-
rect = (0, 0)
|
|
1837
|
-
|
|
1838
|
-
self._context = {'defines': {},
|
|
1839
|
-
'rects': [rect],
|
|
1840
|
-
'rect': rect,
|
|
1841
|
-
'matrix_stack': [],
|
|
1842
|
-
'matrix': m,
|
|
1843
|
-
'materials': {},
|
|
1844
|
-
'styles': [None],
|
|
1845
|
-
'style': None,
|
|
1846
|
-
'do_colormanage': do_colormanage,
|
|
1847
|
-
'collection': collection}
|
|
1848
|
-
|
|
1849
|
-
super().__init__(node, self._context)
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
svgGeometryClasses = {
|
|
1853
|
-
'svg': SVGGeometrySVG,
|
|
1854
|
-
'path': SVGGeometryPATH,
|
|
1855
|
-
'defs': SVGGeometryDEFS,
|
|
1856
|
-
'symbol': SVGGeometrySYMBOL,
|
|
1857
|
-
'use': SVGGeometryUSE,
|
|
1858
|
-
'rect': SVGGeometryRECT,
|
|
1859
|
-
'ellipse': SVGGeometryELLIPSE,
|
|
1860
|
-
'circle': SVGGeometryCIRCLE,
|
|
1861
|
-
'line': SVGGeometryLINE,
|
|
1862
|
-
'polyline': SVGGeometryPOLYLINE,
|
|
1863
|
-
'polygon': SVGGeometryPOLYGON,
|
|
1864
|
-
'g': SVGGeometryG}
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
def parseAbstractNode(node, context):
|
|
1868
|
-
name = node.tagName.lower()
|
|
1869
|
-
|
|
1870
|
-
if name.startswith('svg:'):
|
|
1871
|
-
name = name[4:]
|
|
1872
|
-
|
|
1873
|
-
geomClass = svgGeometryClasses.get(name)
|
|
1874
|
-
|
|
1875
|
-
if geomClass is not None:
|
|
1876
|
-
ob = geomClass(node, context)
|
|
1877
|
-
ob.parse()
|
|
1878
|
-
|
|
1879
|
-
return ob
|
|
1880
|
-
|
|
1881
|
-
return None
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
def load_svg(context, filepath, do_colormanage):
|
|
1885
|
-
"""
|
|
1886
|
-
Load specified SVG file
|
|
1887
|
-
"""
|
|
1888
|
-
|
|
1889
|
-
if bpy.ops.object.mode_set.poll():
|
|
1890
|
-
bpy.ops.object.mode_set(mode='OBJECT')
|
|
1891
|
-
|
|
1892
|
-
loader = SVGLoader(context, filepath, do_colormanage)
|
|
1893
|
-
loader.parse()
|
|
1894
|
-
loader.createGeom(False)
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
def load(operator, context, filepath=""):
|
|
1898
|
-
|
|
1899
|
-
# error in code should raise exceptions but loading
|
|
1900
|
-
# non SVG files can give useful messages.
|
|
1901
|
-
do_colormanage = context.scene.display_settings.display_device != 'NONE'
|
|
1902
|
-
try:
|
|
1903
|
-
load_svg(context, filepath, do_colormanage)
|
|
1904
|
-
except (xml.parsers.expat.ExpatError, UnicodeEncodeError) as e:
|
|
1905
|
-
import traceback
|
|
1906
|
-
traceback.print_exc()
|
|
1907
|
-
|
|
1908
|
-
operator.report({'WARNING'}, tip_("Unable to parse XML, %s:%s for file %r") % (type(e).__name__, e, filepath))
|
|
1909
|
-
return {'CANCELLED'}
|
|
1910
|
-
|
|
1911
|
-
return {'FINISHED'}
|