-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsimple_joint.json
More file actions
86 lines (86 loc) · 2.09 KB
/
Copy pathsimple_joint.json
File metadata and controls
86 lines (86 loc) · 2.09 KB
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
{
"scene_type": "distance_barrier_rb_problem",
"solver": "ipc_solver",
"timestep": 0.01,
"max_time": 3.5,
"distance_barrier_constraint": {
"initial_barrier_activation_distance": 1e-2,
"minimum_separation_distance": 1e-4
},
"ipc_solver": {
"velocity_conv_tol": 1e-2
},
"friction_constraints": {
"iterations": -1
},
"rigid_body_problem": {
"coefficient_restitution": -1,
"coefficient_friction": 0.0,
"gravity": [
0,
0,
0
],
"orthogonality_stiffness": 1e7,
"rigid_bodies": [
{
"mesh": "simple_joint\\A.stl",
"density": 7e-9
},
{
"mesh": "simple_joint\\B.stl",
"density": 7e-9,
"force": [0.0, 2.0, 0.0]
}
],
"linear_constraints": [
{
"type": "pin_world",
"body_name": "A",
"body_point": [
1.0,
0.0,
0.0
]
},
{
"type": "pin_world",
"body_name": "A",
"body_point": [
0.0,
1.0,
0.0
]
},
{
"type": "pin_world",
"body_name": "A",
"body_point": [
0.0,
0.0,
1.0
]
},
{
"type": "pin_joint",
"bodyA_name": "A",
"bodyA_point": [
0.0,
0.0,
-22.0
],
"bodyB_name": "B"
},
{
"type": "pin_joint",
"bodyA_name": "A",
"bodyA_point": [
0.0,
0.0,
20.0
],
"bodyB_name": "B"
}
]
}
}