trenchfoot 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of trenchfoot might be problematic. Click here for more details.
- trenchfoot/Dockerfile +5 -0
- trenchfoot/README.md +125 -0
- trenchfoot/__init__.py +67 -0
- trenchfoot/generate_scenarios.py +667 -0
- trenchfoot/gmsh_sloped_trench_mesher.py +508 -0
- trenchfoot/plot_mesh.py +126 -0
- trenchfoot/render_colors.py +59 -0
- trenchfoot/scenarios/S01_straight_vwalls/meshes/trench_scene_culled.obj +46 -0
- trenchfoot/scenarios/S01_straight_vwalls/metrics.json +35 -0
- trenchfoot/scenarios/S01_straight_vwalls/point_clouds/culled/resolution0p050.pth +0 -0
- trenchfoot/scenarios/S01_straight_vwalls/point_clouds/full/resolution0p050.pth +0 -0
- trenchfoot/scenarios/S01_straight_vwalls/preview.png +0 -0
- trenchfoot/scenarios/S01_straight_vwalls/preview_oblique.png +0 -0
- trenchfoot/scenarios/S01_straight_vwalls/preview_side.png +0 -0
- trenchfoot/scenarios/S01_straight_vwalls/preview_top.png +0 -0
- trenchfoot/scenarios/S01_straight_vwalls/scene.json +30 -0
- trenchfoot/scenarios/S01_straight_vwalls/trench_scene.obj +46 -0
- trenchfoot/scenarios/S01_straight_vwalls/volumetric/trench_volume.msh +1017 -0
- trenchfoot/scenarios/S02_straight_slope_pipe/meshes/trench_scene_culled.obj +60 -0
- trenchfoot/scenarios/S02_straight_slope_pipe/metrics.json +38 -0
- trenchfoot/scenarios/S02_straight_slope_pipe/point_clouds/culled/resolution0p050.pth +0 -0
- trenchfoot/scenarios/S02_straight_slope_pipe/point_clouds/full/resolution0p050.pth +0 -0
- trenchfoot/scenarios/S02_straight_slope_pipe/preview.png +0 -0
- trenchfoot/scenarios/S02_straight_slope_pipe/preview_oblique.png +0 -0
- trenchfoot/scenarios/S02_straight_slope_pipe/preview_side.png +0 -0
- trenchfoot/scenarios/S02_straight_slope_pipe/preview_top.png +0 -0
- trenchfoot/scenarios/S02_straight_slope_pipe/scene.json +39 -0
- trenchfoot/scenarios/S02_straight_slope_pipe/trench_scene.obj +14404 -0
- trenchfoot/scenarios/S02_straight_slope_pipe/volumetric/trench_volume.msh +2389 -0
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/meshes/trench_scene_culled.obj +87 -0
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/metrics.json +42 -0
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/point_clouds/culled/resolution0p050.pth +0 -0
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/point_clouds/full/resolution0p050.pth +0 -0
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/preview.png +0 -0
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/preview_oblique.png +0 -0
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/preview_side.png +0 -0
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/preview_top.png +0 -0
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/scene.json +68 -0
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/trench_scene.obj +28803 -0
- trenchfoot/scenarios/S03_L_slope_two_pipes_box/volumetric/trench_volume.msh +4463 -0
- trenchfoot/scenarios/S04_U_slope_multi_noise/meshes/trench_scene_culled.obj +150 -0
- trenchfoot/scenarios/S04_U_slope_multi_noise/metrics.json +46 -0
- trenchfoot/scenarios/S04_U_slope_multi_noise/preview.png +0 -0
- trenchfoot/scenarios/S04_U_slope_multi_noise/preview_oblique.png +0 -0
- trenchfoot/scenarios/S04_U_slope_multi_noise/preview_side.png +0 -0
- trenchfoot/scenarios/S04_U_slope_multi_noise/preview_top.png +0 -0
- trenchfoot/scenarios/S04_U_slope_multi_noise/scene.json +79 -0
- trenchfoot/scenarios/S04_U_slope_multi_noise/trench_scene.obj +49402 -0
- trenchfoot/scenarios/S04_U_slope_multi_noise/volumetric/trench_volume.msh +7610 -0
- trenchfoot/scenarios/S05_wide_slope_pair/metrics.json +42 -0
- trenchfoot/scenarios/S05_wide_slope_pair/preview_oblique.png +0 -0
- trenchfoot/scenarios/S05_wide_slope_pair/preview_side.png +0 -0
- trenchfoot/scenarios/S05_wide_slope_pair/preview_top.png +0 -0
- trenchfoot/scenarios/S05_wide_slope_pair/scene.json +71 -0
- trenchfoot/scenarios/S05_wide_slope_pair/trench_scene.obj +28803 -0
- trenchfoot/scenarios/S06_bumpy_wide_loop/metrics.json +43 -0
- trenchfoot/scenarios/S06_bumpy_wide_loop/preview_oblique.png +0 -0
- trenchfoot/scenarios/S06_bumpy_wide_loop/preview_side.png +0 -0
- trenchfoot/scenarios/S06_bumpy_wide_loop/preview_top.png +0 -0
- trenchfoot/scenarios/S06_bumpy_wide_loop/scene.json +82 -0
- trenchfoot/scenarios/S06_bumpy_wide_loop/trench_scene.obj +35084 -0
- trenchfoot/scenarios/SUMMARY.json +159 -0
- trenchfoot/scene_spec_example.json +74 -0
- trenchfoot/trench_scene_generator_v3.py +798 -0
- trenchfoot-0.1.0.dist-info/METADATA +104 -0
- trenchfoot-0.1.0.dist-info/RECORD +69 -0
- trenchfoot-0.1.0.dist-info/WHEEL +4 -0
- trenchfoot-0.1.0.dist-info/entry_points.txt +3 -0
- trenchfoot-0.1.0.dist-info/licenses/LICENSE +661 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"surface_area_by_group": {
|
|
3
|
+
"trench_bottom": 26.504396832960197,
|
|
4
|
+
"trench_cap_for_volume": 28.808998594189276,
|
|
5
|
+
"trench_walls": 34.429523398715844,
|
|
6
|
+
"ground_surface": 359.7523699449386,
|
|
7
|
+
"pipe0_pipe_side": 6.910270292212328,
|
|
8
|
+
"pipe0_pipe_cap_neg": 0.12557400812234465,
|
|
9
|
+
"pipe0_pipe_cap_pos": 0.12557400813799544,
|
|
10
|
+
"pipe1_pipe_side": 4.221546945396322,
|
|
11
|
+
"pipe1_pipe_cap_neg": 0.08036736513610723,
|
|
12
|
+
"pipe1_pipe_cap_pos": 0.08036736601144187,
|
|
13
|
+
"box0": 4.26
|
|
14
|
+
},
|
|
15
|
+
"closed_surface_sets": {
|
|
16
|
+
"trench_closed_groups": [
|
|
17
|
+
"trench_walls",
|
|
18
|
+
"trench_bottom",
|
|
19
|
+
"trench_cap_for_volume"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"volumes": {
|
|
23
|
+
"trench_from_surface": -11.943502106756187,
|
|
24
|
+
"trench_flux_integral_div1": -11.943502106756188
|
|
25
|
+
},
|
|
26
|
+
"footprint_area_top": 28.808998594189276,
|
|
27
|
+
"footprint_area_bottom": 26.504396832960197,
|
|
28
|
+
"width_top": 2.4,
|
|
29
|
+
"width_bottom": 2.2079999999999997,
|
|
30
|
+
"noise": {
|
|
31
|
+
"enable": true,
|
|
32
|
+
"amplitude": 0.015,
|
|
33
|
+
"corr_length": 0.8,
|
|
34
|
+
"octaves": 3,
|
|
35
|
+
"gain": 0.45,
|
|
36
|
+
"seed": 17,
|
|
37
|
+
"apply_to": [
|
|
38
|
+
"trench_walls",
|
|
39
|
+
"trench_bottom"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path_xy": [
|
|
3
|
+
[
|
|
4
|
+
0,
|
|
5
|
+
0
|
|
6
|
+
],
|
|
7
|
+
[
|
|
8
|
+
9,
|
|
9
|
+
0
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
9,
|
|
13
|
+
3
|
|
14
|
+
]
|
|
15
|
+
],
|
|
16
|
+
"width": 2.4,
|
|
17
|
+
"depth": 1.2,
|
|
18
|
+
"wall_slope": 0.08,
|
|
19
|
+
"ground_margin": 1.5,
|
|
20
|
+
"ground": {
|
|
21
|
+
"z0": 0.0,
|
|
22
|
+
"slope": [
|
|
23
|
+
0.02,
|
|
24
|
+
-0.015
|
|
25
|
+
],
|
|
26
|
+
"size_margin": 6.0
|
|
27
|
+
},
|
|
28
|
+
"pipes": [
|
|
29
|
+
{
|
|
30
|
+
"radius": 0.2,
|
|
31
|
+
"length": 5.5,
|
|
32
|
+
"angle_deg": 10,
|
|
33
|
+
"s_center": 0.35,
|
|
34
|
+
"z": -0.7,
|
|
35
|
+
"offset_u": 0.3,
|
|
36
|
+
"clearance_scale": 0.9
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"radius": 0.16,
|
|
40
|
+
"length": 4.2,
|
|
41
|
+
"angle_deg": -15,
|
|
42
|
+
"s_center": 0.7,
|
|
43
|
+
"z": -0.8,
|
|
44
|
+
"offset_u": -0.4,
|
|
45
|
+
"clearance_scale": 1.1
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"boxes": [
|
|
49
|
+
{
|
|
50
|
+
"along": 1.2,
|
|
51
|
+
"across": 0.9,
|
|
52
|
+
"height": 0.5,
|
|
53
|
+
"s": 0.55,
|
|
54
|
+
"offset_u": -0.25,
|
|
55
|
+
"z": -0.6
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"spheres": [],
|
|
59
|
+
"noise": {
|
|
60
|
+
"enable": true,
|
|
61
|
+
"amplitude": 0.015,
|
|
62
|
+
"corr_length": 0.8,
|
|
63
|
+
"octaves": 3,
|
|
64
|
+
"gain": 0.45,
|
|
65
|
+
"seed": 17,
|
|
66
|
+
"apply_to": [
|
|
67
|
+
"trench_walls",
|
|
68
|
+
"trench_bottom"
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
}
|