Logo
Explore Help
Register Sign In
Cr8-xyz/blender
1
0
Fork 0
You've already forked blender
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
7ff0f896e8578bbea87b6619f5905a98f97331ff
blender/release/scripts/presets/fluid/honey.py

4 lines
123 B
Python
Raw Normal View History

Fluid Simulation: * Replaced the hard coded viscosity presets with Python ones. * Added version check, so older files load fine. Loading new files into 2.62 also works fine.
2012-04-15 21:02:08 +00:00
import bpy
Mantaflow [Part 3]: Customized UI for Manta fluids With Mantaflow the current smoke modifier UI will accommodate both smoke and liquids. In addition, there is now an option for Mantaflow liquids in the quick effects section ("Quick Liquid"). Reviewed By: sergey Maniphest Tasks: T59995 Differential Revision: https://developer.blender.org/D3852
2019-12-16 15:42:07 +01:00
bpy.context.fluid.domain_settings.viscosity_base = 2.0
bpy.context.fluid.domain_settings.viscosity_exponent = 3
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 2546ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API