diff options
author | Nathan Craddock <nzcraddock@gmail.com> | 2021-02-04 02:02:04 +0300 |
---|---|---|
committer | Nathan Craddock <nzcraddock@gmail.com> | 2021-02-04 03:34:27 +0300 |
commit | 01d49d1542cee0da2a7629443f9534bc5cec5a55 (patch) | |
tree | 01e8add6f03a5117e1a6d8e640e7140015c67db0 /release/scripts/presets/cloth/Silk.py | |
parent | d30320b4f59dfc22798f40c6af30f735393b60d3 (diff) |
Presets: Cleanup preset naming
Before committing D10224, bundled preset names that are lowercase need
updating to title case for display in the UI. This changes several of
the preset file names to title case, and fixes a couple of other naming
issues in the preset names. A few strings in the code are also changed
to reflect the new filename of the Blender keymap.
Diffstat (limited to 'release/scripts/presets/cloth/Silk.py')
-rw-r--r-- | release/scripts/presets/cloth/Silk.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/release/scripts/presets/cloth/Silk.py b/release/scripts/presets/cloth/Silk.py new file mode 100644 index 00000000000..af867cf9c60 --- /dev/null +++ b/release/scripts/presets/cloth/Silk.py @@ -0,0 +1,11 @@ +import bpy +bpy.context.cloth.settings.quality = 5 +bpy.context.cloth.settings.mass = 0.150 +bpy.context.cloth.settings.tension_stiffness = 5 +bpy.context.cloth.settings.compression_stiffness = 5 +bpy.context.cloth.settings.shear_stiffness = 5 +bpy.context.cloth.settings.bending_stiffness = 0.05 +bpy.context.cloth.settings.tension_damping = 0 +bpy.context.cloth.settings.compression_damping = 0 +bpy.context.cloth.settings.shear_damping = 0 +bpy.context.cloth.settings.air_damping = 1 |