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.
 
 
 
 
 

1087 lines
30 KiB

{
"scene_type": "volume_rb_problem",
"max_iterations": 1000,
"timestep_size": 0.001,
"distance_barrier_constraint": {
"custom_initial_epsilon": 0.1,
"detection_method": "hash_grid",
"active_constraint_scale": 1.01
},
"barrier_solver": {
"e_b": 1e-06,
"m": 1,
"t_init": 100,
"t_inc": 100,
"c": 0.1,
"inner_solver": "newton_solver"
},
"rigid_body_problem": {
"gravity": [
0.0,
0.0,
0.0
],
"coefficient_restitution": 1.0,
"rigid_bodies": [{
"vertices": [
[
5.0,
-2.5
],
[
-5.0,
-2.5
],
[
-5.0,
2.5
],
[
5.0,
2.5
],
[
5.1,
2.6
],
[
-5.1,
2.6
],
[
-5.1,
-2.6
],
[
5.1,
-2.6
]
],
"polygons": [
[
[
5.1,
2.6
],
[
-5.1,
2.6
],
[
-5.0,
2.5
],
[
5.0,
2.5
]
],
[
[
-5.1,
2.6
],
[
-5.1,
-2.6
],
[
-5.0,
-2.5
],
[
-5.0,
2.5
]
],
[
[
-5.1,
-2.6
],
[
5.1,
-2.6
],
[
5.0,
-2.5
],
[
-5.0,
-2.5
]
],
[
[
5.1,
-2.6
],
[
5.1,
2.6
],
[
5.0,
2.5
],
[
5.0,
-2.5
]
]
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
],
[
4,
5
],
[
5,
6
],
[
6,
7
],
[
7,
4
]
],
"oriented": true,
"velocity": [
0.0,
0.0,
0.0
],
"is_dof_fixed": [
true,
true,
true
]
},
{
"vertices": [
[
2.49,
2.49
],
[
-2.49,
2.49
],
[
-2.49,
-2.49
],
[
2.49,
-2.49
]
],
"polygons": [
[
[
2.49,
2.49
],
[
-2.49,
2.49
],
[
-2.49,
-2.49
],
[
2.49,
-2.49
]
]
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"masses": [
250.0,
250.0,
250.0,
250.0
],
"density": 40.321930291446904,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"velocity": [
100,
0.0,
0.0
],
"position": [
-2.49,
0
],
"theta": 0
},
{
"vertices": [
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
],
"polygons": [
[
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
]
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"masses": [
0.25,
0.25,
0.25,
0.25
],
"density": 7.999999999999998,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"velocity": [
0.0,
0.0,
0.0
],
"position": [
2.714779417280229,
0.9468332120386456
],
"theta": 27.124351923223973
},
{
"vertices": [
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
],
"polygons": [
[
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
]
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"masses": [
0.25,
0.25,
0.25,
0.25
],
"density": 7.999999999999998,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"velocity": [
0.0,
0.0,
0.0
],
"position": [
2.697486005186346,
-0.3359188829088193
],
"theta": 29.065235087999525
},
{
"vertices": [
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
],
"polygons": [
[
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
]
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"masses": [
0.25,
0.25,
0.25,
0.25
],
"density": 7.999999999999998,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"velocity": [
0.0,
0.0,
0.0
],
"position": [
2.225383729555847,
1.723801203441151
],
"theta": 43.36482422254632
},
{
"vertices": [
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
],
"polygons": [
[
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
]
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"masses": [
0.25,
0.25,
0.25,
0.25
],
"density": 7.999999999999998,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"velocity": [
0.0,
0.0,
0.0
],
"position": [
2.6271376469127796,
0.2993960688133024
],
"theta": 41.65184872316975
},
{
"vertices": [
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
],
"polygons": [
[
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
]
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"masses": [
0.25,
0.25,
0.25,
0.25
],
"density": 7.999999999999998,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"velocity": [
0.0,
0.0,
0.0
],
"position": [
0.6125586560707026,
-1.8166310813132212
],
"theta": 0.9098278848146574
},
{
"vertices": [
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
],
"polygons": [
[
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
]
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"masses": [
0.25,
0.25,
0.25,
0.25
],
"density": 7.999999999999998,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"velocity": [
0.0,
0.0,
0.0
],
"position": [
3.963527320410927,
1.2238897041793422
],
"theta": 39.15054667110686
},
{
"vertices": [
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
],
"polygons": [
[
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
]
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"masses": [
0.25,
0.25,
0.25,
0.25
],
"density": 7.999999999999998,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"velocity": [
0.0,
0.0,
0.0
],
"position": [
4.605920705824162,
1.316297682553584
],
"theta": 20.766571301381934
},
{
"vertices": [
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
],
"polygons": [
[
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
]
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"masses": [
0.25,
0.25,
0.25,
0.25
],
"density": 7.999999999999998,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"velocity": [
0.0,
0.0,
0.0
],
"position": [
3.734328375660404,
-1.679592526176694
],
"theta": 28.796445959738573
},
{
"vertices": [
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
],
"polygons": [
[
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
]
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"masses": [
0.25,
0.25,
0.25,
0.25
],
"density": 7.999999999999998,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"velocity": [
0.0,
0.0,
0.0
],
"position": [
0.9307544645998043,
1.9565432350181693
],
"theta": 23.483174478753224
},
{
"vertices": [
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
],
"polygons": [
[
[
0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
0.1767766952966369
],
[
-0.1767766952966369,
-0.1767766952966369
],
[
0.1767766952966369,
-0.1767766952966369
]
]
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
0
]
],
"masses": [
0.25,
0.25,
0.25,
0.25
],
"density": 7.999999999999998,
"is_dof_fixed": [
false,
false,
false
],
"oriented": true,
"velocity": [
0.0,
0.0,
0.0
],
"position": [
2.1245125359583037,
-1.0359553067396414
],
"theta": 34.84051602453975
}
]
},
"ncp_solver": {
"max_iterations": 10000,
"do_line_search": false,
"solve_for_active_cstr": true,
"convergence_tolerance": -1,
"update_type": "g_gradient",
"lcp_solver": "lcp_newton"
},
"volume_constraint": {
"detection_method": "hash_grid",
"volume_epsilon": 1e-10,
"custom_hashgrid_cellsize": -1,
"time_epsilon": 0.0001
}
}