File size: 5,971 Bytes
66c9c8a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
    "WarpParticlesSimulate": {
        "version": 1,
        "categoryDefinitions": "../../../../config/warp_categories.json",
        "description": "Simulates particles.",
        "categories": ["warp"],
        "language": "Python",
        "uiName": "Particles Simulate",
        "cudaPointers": "cpu",
        "inputs": {
            "execIn": {
                "type": "execution",
                "description": "Input execution."
            },
            "enabled": {
                "type": "bool",
                "description": "Whether to enable the simulation.",
                "uiName": "Enabled",
                "default": true
            },
            "substepCount": {
                "type": "int",
                "description": "Number of substeps.",
                "uiName": "Substep Count",
                "default": 32
            },
            "gravity": {
                "type": "vectorf[3]",
                "description": "Gravity force.",
                "uiName": "Gravity",
                "default": [0.0, -980, 0.0]
            },
            "globalScale": {
                "type": "float",
                "description": "Global scale value for the simulation attributes.",
                "uiName": "Global Scale",
                "default": 100.0,
                "metadata": {
                    "min": 0.0
                }
            },
            "contactElasticStiffness": {
                "type": "float",
                "description": "Contact elastic stiffness. Multiple of the global scale value.",
                "uiName": "Contact Elastic Stiffness",
                "default": 100.0,
                "metadata": {
                    "min": 0.0
                }
            },
            "contactFrictionStiffness": {
                "type": "float",
                "description": "Contact friction stiffness. Multiple of the global scale value.",
                "uiName": "Contact Friction Stiffness",
                "default": 1.0,
                "metadata": {
                    "min": 0.0
                }
            },
            "contactFrictionCoeff": {
                "type": "float",
                "description": "Contact coefficient of friction.",
                "uiName": "Contact Friction Coeff",
                "default": 0.75,
                "metadata": {
                    "min": 0.0
                }
            },
            "contactDampingStiffness": {
                "type": "float",
                "description": "Contact damping stiffness. Multiple of the global scale value.",
                "uiName": "Contact Damping Stiffness",
                "default": 1.0,
                "metadata": {
                    "min": 0.0
                }
            },
            "particles": {
                "type": "bundle",
                "description": "Particles to simulate.",
                "uiName": "Particles",
                "memoryType": "cuda"
            },
            "particlesQueryRange": {
                "type": "float",
                "description": "Amount to expand the grid cell size to accommodate caching neighbours between steps. Multiple of the largest particle radius.",
                "uiName": "Particles Query Range",
                "default": 2.0,
                "metadata": {
                    "min": 1.0
                }
            },
            "particlesContactAdhesion": {
                "type": "float",
                "description": "Contact coefficient of adhesion.",
                "uiName": "Particles Contact Adhesion",
                "default": 0.25,
                "metadata": {
                    "min": 0.0
                }
            },
            "particlesContactCohesion": {
                "type": "float",
                "description": "Contact coefficient of cohesion.",
                "uiName": "Particles Contact Cohesion",
                "default": 0.1,
                "metadata": {
                    "min": 0.0
                }
            },
            "collider": {
                "type": "bundle",
                "description": "Collider geometry mesh.",
                "uiName": "Collider",
                "optional": true,
                "memoryType": "cuda"
            },
            "colliderContactDistance": {
                "type": "float",
                "description": "Distance to maintain from the collider's surface.",
                "uiName": "Collider Contact Distance",
                "default": 1,
                "metadata": {
                    "min": 0.0
                }
            },
            "colliderContactQueryRange": {
                "type": "float",
                "description": "Distance to start probing for contacts with the collider's surface. Multiple of the collider contact distance.",
                "uiName": "Collider Contact Query Range",
                "default": 100.0,
                "metadata": {
                    "min": 1.0
                }
            },
            "groundEnabled": {
                "type": "bool",
                "description": "Whether to add a ground collider.",
                "uiName": "Ground Enabled",
                "default": true
            },
            "groundAltitude": {
                "type": "float",
                "description": "Position of the ground on the Y axis.",
                "uiName": "Ground Altitude"
            },
            "time": {
                "type": "double",
                "description": "Time.",
                "uiName": "Time"
            }
        },
        "outputs": {
            "execOut": {
                "type": "execution",
                "description": "Output execution."
            },
            "particles": {
                "type": "bundle",
                "description": "Output particles geometry.",
                "uiName": "Particles",
                "memoryType": "cuda"
            }
        }
    }
}