-
Notifications
You must be signed in to change notification settings - Fork 297
/
Copy pathAESPHConfigurationNodeTemplate.mel
74 lines (63 loc) · 3.41 KB
/
AESPHConfigurationNodeTemplate.mel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
global proc AESPHConfigurationNodeTemplate( string $nodeName )
{
editorTemplate -beginScrollLayout;
editorTemplate -beginLayout "General" -collapse 0;
editorTemplate -l "Pause" -addControl "pause";
editorTemplate -l "Time step size" -addControl "timeStepSize";
editorTemplate -l "Pause simulation at" -addControl "pauseAt";
editorTemplate -l "Stop simulation at" -addControl "stopAt";
editorTemplate -endLayout;
editorTemplate -beginLayout "Visualization" -collapse 0;
editorTemplate -l "Camera position" -addControl "cameraPosition";
editorTemplate -l "Camera lookat" -addControl "cameraLookat";
editorTemplate -l "# time steps / update" -addControl "numberOfStepsPerRenderUpdate";
editorTemplate -l "Render walls" -addControl "renderWalls";
editorTemplate -endLayout;
editorTemplate -beginLayout "Export" -collapse 0;
editorTemplate -l "Partio export" -addControl "enablePartioExport";
editorTemplate -l "Rigid body export" -addControl "enableRigidBodyExport";
editorTemplate -l "VTK export" -addControl "enableVTKExport";
editorTemplate -l "Rigid body VTK export" -addControl "enableRigidBodyVTKExport";
editorTemplate -l "Export FPS" -addControl "dataExportFPS";
editorTemplate -l "Export attributes" -addControl "particleAttributes";
editorTemplate -l "State export" -addControl "enableStateExport";
editorTemplate -l "State export FPS" -addControl "stateExportFPS";
editorTemplate -endLayout;
editorTemplate -beginLayout "Simulation" -collapse 0;
editorTemplate -l "2D simulation" -addControl "sim2D";
editorTemplate -l "Enable z-sort" -addControl "enableZSort";
editorTemplate -l "Particle radius" -addControl "particleRadius";
editorTemplate -l "Gravitation" -addControl "gravitation";
editorTemplate -l "Simulation method" -addControl "simulationMethod";
editorTemplate -l "Max. iterations" -addControl "maxIterations";
editorTemplate -l "Max. density error(%)" -addControl "maxError";
editorTemplate -l "Boundary handling method" -addControl "boundaryHandlingMethod";
editorTemplate -endLayout;
editorTemplate -beginLayout "CFL" -collapse 0;
editorTemplate -l "CFL - method" -addControl "cflMethod";
editorTemplate -l "CFL - factor" -addControl "cflFactor";
editorTemplate -l "CFL - min. time step size" -addControl "cflMinTimeStepSize";
editorTemplate -l "CFL - max. time step size" -addControl "cflMaxTimeStepSize";
editorTemplate -endLayout;
editorTemplate -beginLayout "Kernel" -collapse 0;
editorTemplate -l "Kernel" -addControl "kernel";
editorTemplate -l "Gradient of kernel" -addControl "gradKernel";
editorTemplate -endLayout;
editorTemplate -beginLayout "WCSPH" -collapse 0;
editorTemplate -l "Stiffness" -addControl "stiffness";
editorTemplate -l "Exponent (gamma)" -addControl "exponent";
editorTemplate -endLayout;
editorTemplate -beginLayout "PBF" -collapse 0;
editorTemplate -l "Velocity update method" -addControl "velocityUpdateMethod";
editorTemplate -endLayout;
editorTemplate -beginLayout "DFSPH" -collapse 0;
editorTemplate -l "Max. iterations (divergence)" -addControl "maxIterationsV";
editorTemplate -l "Max. divergence error (%)" -addControl "maxErrorV";
editorTemplate -l "Enable divergence solver" -addControl "enableDivergenceSolver";
editorTemplate -endLayout;
editorTemplate -beginLayout "Projective Fluids" -collapse 0;
editorTemplate -l "Stiffness" -addControl "stiffnessPF";
editorTemplate -endLayout;
editorTemplate -addExtraControls;
editorTemplate -endScrollLayout;
}