You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
167 lines
4.0 KiB
167 lines
4.0 KiB
{
|
|
"scene_type": "distance_barrier_rb_problem",
|
|
"timestep": 0.01,
|
|
"homotopy_solver": {
|
|
"inner_solver": "newton_solver",
|
|
"min_barrier_epsilon": 0.001
|
|
},
|
|
"rigid_body_problem": {
|
|
"gravity": [
|
|
0.0,
|
|
-1
|
|
],
|
|
"coefficient_restitution": 1.0,
|
|
"rigid_bodies": [
|
|
{
|
|
"vertices": [
|
|
[
|
|
-2.5,
|
|
20
|
|
],
|
|
[
|
|
-2.5,
|
|
22
|
|
],
|
|
[
|
|
-0.5,
|
|
22
|
|
],
|
|
[
|
|
-0.5,
|
|
20
|
|
]
|
|
],
|
|
"is_dof_fixed": [
|
|
false,
|
|
false,
|
|
false
|
|
],
|
|
"edges": [
|
|
[
|
|
0,
|
|
1
|
|
],
|
|
[
|
|
1,
|
|
2
|
|
],
|
|
[
|
|
2,
|
|
3
|
|
],
|
|
[
|
|
3,
|
|
0
|
|
]
|
|
],
|
|
"linear_velocity": [
|
|
0.0,
|
|
-1.0
|
|
],
|
|
"angular_velocity": [
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"vertices": [
|
|
[
|
|
-1.5,
|
|
40
|
|
],
|
|
[
|
|
-1.5,
|
|
42
|
|
],
|
|
[
|
|
2.5,
|
|
42
|
|
],
|
|
[
|
|
2.5,
|
|
40
|
|
]
|
|
],
|
|
"is_dof_fixed": [
|
|
false,
|
|
false,
|
|
false
|
|
],
|
|
"edges": [
|
|
[
|
|
0,
|
|
1
|
|
],
|
|
[
|
|
1,
|
|
2
|
|
],
|
|
[
|
|
2,
|
|
3
|
|
],
|
|
[
|
|
3,
|
|
0
|
|
]
|
|
],
|
|
"linear_velocity": [
|
|
0.0,
|
|
-1.0
|
|
],
|
|
"angular_velocity": [
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"vertices": [
|
|
[
|
|
-10,
|
|
11
|
|
],
|
|
[
|
|
-10,
|
|
12
|
|
],
|
|
[
|
|
10,
|
|
12
|
|
],
|
|
[
|
|
10,
|
|
11
|
|
]
|
|
],
|
|
"is_dof_fixed": [
|
|
true,
|
|
true,
|
|
true
|
|
],
|
|
"edges": [
|
|
[
|
|
0,
|
|
1
|
|
],
|
|
[
|
|
1,
|
|
2
|
|
],
|
|
[
|
|
2,
|
|
3
|
|
],
|
|
[
|
|
3,
|
|
0
|
|
]
|
|
],
|
|
"linear_velocity": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"angular_velocity": [
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|