Logo
Explore Help
Register Sign In
griefith/test
1
0
Fork 0
You've already forked test
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
8e8fdf875d080f2bebedf25815768de02147f4be
test/release/scripts/presets/fluid/water.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 = 1.0
bpy.context.fluid.domain_settings.viscosity_exponent = 6
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 582ms Template: 2ms
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