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,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"surface_area_by_group": {
|
|
3
|
+
"trench_bottom": 53.20937308936425,
|
|
4
|
+
"trench_cap_for_volume": 61.10535786473372,
|
|
5
|
+
"trench_walls": 73.07055073031871,
|
|
6
|
+
"ground_surface": 571.2848790415146,
|
|
7
|
+
"pipe0_pipe_side": 6.90745504769378,
|
|
8
|
+
"pipe0_pipe_cap_neg": 0.10171494665214975,
|
|
9
|
+
"pipe0_pipe_cap_pos": 0.10171494706638103,
|
|
10
|
+
"pipe1_pipe_side": 4.261533888433785,
|
|
11
|
+
"pipe1_pipe_cap_neg": 0.06153126413124749,
|
|
12
|
+
"pipe1_pipe_cap_pos": 0.06153126416703536,
|
|
13
|
+
"sphere0": 1.53629132028894
|
|
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": -29.549085746556727,
|
|
24
|
+
"trench_flux_integral_div1": -29.549085746556727
|
|
25
|
+
},
|
|
26
|
+
"footprint_area_top": 61.10535786473372,
|
|
27
|
+
"footprint_area_bottom": 53.20937308936425,
|
|
28
|
+
"width_top": 2.6,
|
|
29
|
+
"width_bottom": 2.2640000000000002,
|
|
30
|
+
"noise": {
|
|
31
|
+
"enable": true,
|
|
32
|
+
"amplitude": 0.035,
|
|
33
|
+
"corr_length": 0.5,
|
|
34
|
+
"octaves": 4,
|
|
35
|
+
"gain": 0.55,
|
|
36
|
+
"seed": 29,
|
|
37
|
+
"apply_to": [
|
|
38
|
+
"trench_walls",
|
|
39
|
+
"trench_bottom",
|
|
40
|
+
"pipe*_pipe_side"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"path_xy": [
|
|
3
|
+
[
|
|
4
|
+
0,
|
|
5
|
+
0
|
|
6
|
+
],
|
|
7
|
+
[
|
|
8
|
+
4,
|
|
9
|
+
-1
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
8,
|
|
13
|
+
0
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
8,
|
|
17
|
+
5
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
2,
|
|
21
|
+
5
|
|
22
|
+
],
|
|
23
|
+
[
|
|
24
|
+
-1,
|
|
25
|
+
2
|
|
26
|
+
]
|
|
27
|
+
],
|
|
28
|
+
"width": 2.6,
|
|
29
|
+
"depth": 1.4,
|
|
30
|
+
"wall_slope": 0.12,
|
|
31
|
+
"ground_margin": 2.0,
|
|
32
|
+
"ground": {
|
|
33
|
+
"z0": 0.2,
|
|
34
|
+
"slope": [
|
|
35
|
+
0.015,
|
|
36
|
+
0.03
|
|
37
|
+
],
|
|
38
|
+
"size_margin": 7.0
|
|
39
|
+
},
|
|
40
|
+
"pipes": [
|
|
41
|
+
{
|
|
42
|
+
"radius": 0.18,
|
|
43
|
+
"length": 6.0,
|
|
44
|
+
"angle_deg": 35,
|
|
45
|
+
"s_center": 0.3,
|
|
46
|
+
"z": -0.9,
|
|
47
|
+
"offset_u": 0.35,
|
|
48
|
+
"clearance_scale": 1.0
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"radius": 0.14,
|
|
52
|
+
"length": 4.8,
|
|
53
|
+
"angle_deg": -40,
|
|
54
|
+
"s_center": 0.6,
|
|
55
|
+
"z": -0.95,
|
|
56
|
+
"offset_u": -0.45,
|
|
57
|
+
"clearance_scale": 0.85
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"boxes": [],
|
|
61
|
+
"spheres": [
|
|
62
|
+
{
|
|
63
|
+
"radius": 0.35,
|
|
64
|
+
"s": 0.82,
|
|
65
|
+
"offset_u": 0.3,
|
|
66
|
+
"z": -0.65
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"noise": {
|
|
70
|
+
"enable": true,
|
|
71
|
+
"amplitude": 0.035,
|
|
72
|
+
"corr_length": 0.5,
|
|
73
|
+
"octaves": 4,
|
|
74
|
+
"gain": 0.55,
|
|
75
|
+
"seed": 29,
|
|
76
|
+
"apply_to": [
|
|
77
|
+
"trench_walls",
|
|
78
|
+
"trench_bottom",
|
|
79
|
+
"pipe*_pipe_side"
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
}
|