trenchfoot 0.2.6__tar.gz → 0.3.0__tar.gz
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-0.3.0/.pypi_token.env +1 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/CHANGELOG.md +24 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/PKG-INFO +1 -1
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S01_straight_vwalls/metrics.json +1 -1
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S01_straight_vwalls/preview_oblique.png +0 -0
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S01_straight_vwalls/preview_side.png +0 -0
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S01_straight_vwalls/preview_top.png +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S01_straight_vwalls/trench_scene.obj +11 -19
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S02_straight_slope_pipe/metrics.json +1 -1
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S02_straight_slope_pipe/preview_oblique.png +0 -0
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S02_straight_slope_pipe/preview_side.png +0 -0
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S02_straight_slope_pipe/preview_top.png +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S02_straight_slope_pipe/trench_scene.obj +305 -313
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S03_L_slope_two_pipes_box/metrics.json +1 -1
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S03_L_slope_two_pipes_box/preview_oblique.png +0 -0
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S03_L_slope_two_pipes_box/preview_side.png +0 -0
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S03_L_slope_two_pipes_box/preview_top.png +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S03_L_slope_two_pipes_box/trench_scene.obj +611 -619
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S04_U_slope_multi_noise/metrics.json +1 -1
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S04_U_slope_multi_noise/preview_oblique.png +0 -0
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S04_U_slope_multi_noise/preview_side.png +0 -0
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S04_U_slope_multi_noise/preview_top.png +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S04_U_slope_multi_noise/trench_scene.obj +970 -978
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S05_wide_slope_pair/metrics.json +1 -1
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S05_wide_slope_pair/preview_oblique.png +0 -0
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S05_wide_slope_pair/preview_side.png +0 -0
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S05_wide_slope_pair/preview_top.png +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S05_wide_slope_pair/trench_scene.obj +611 -619
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S06_bumpy_wide_loop/metrics.json +1 -1
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S06_bumpy_wide_loop/preview_oblique.png +0 -0
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S06_bumpy_wide_loop/preview_side.png +0 -0
- trenchfoot-0.3.0/packages/trenchfoot/scenarios/S06_bumpy_wide_loop/preview_top.png +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S06_bumpy_wide_loop/trench_scene.obj +682 -690
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/trench_scene_generator_v3.py +133 -12
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/pyproject.toml +1 -1
- trenchfoot-0.3.0/tests/test_sdf_readiness.py +385 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/uv.lock +1 -1
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S01_straight_vwalls/preview_oblique.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S01_straight_vwalls/preview_side.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S01_straight_vwalls/preview_top.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S02_straight_slope_pipe/preview_oblique.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S02_straight_slope_pipe/preview_side.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S02_straight_slope_pipe/preview_top.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S03_L_slope_two_pipes_box/preview_oblique.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S03_L_slope_two_pipes_box/preview_side.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S03_L_slope_two_pipes_box/preview_top.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S04_U_slope_multi_noise/preview_oblique.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S04_U_slope_multi_noise/preview_side.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S04_U_slope_multi_noise/preview_top.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S05_wide_slope_pair/preview_oblique.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S05_wide_slope_pair/preview_side.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S05_wide_slope_pair/preview_top.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S06_bumpy_wide_loop/preview_oblique.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S06_bumpy_wide_loop/preview_side.png +0 -0
- trenchfoot-0.2.6/packages/trenchfoot/scenarios/S06_bumpy_wide_loop/preview_top.png +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/.env +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/.github/workflows/ci.yml +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/.github_token.env +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/CLAUDE.md +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/LICENSE +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/README.md +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/STATUS.md +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/docs/scenario_gallery.md +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/__init__.py +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/Dockerfile +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/README.md +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/__init__.py +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/generate_scenarios.py +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/gmsh_sloped_trench_mesher.py +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/plot_mesh.py +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/render_colors.py +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S01_straight_vwalls/meshes/trench_scene_culled.obj +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S01_straight_vwalls/point_clouds/culled/resolution0p050.pth +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S01_straight_vwalls/point_clouds/full/resolution0p050.pth +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S01_straight_vwalls/preview.png +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S01_straight_vwalls/scene.json +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S01_straight_vwalls/volumetric/trench_volume.msh +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S02_straight_slope_pipe/meshes/trench_scene_culled.obj +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S02_straight_slope_pipe/point_clouds/culled/resolution0p050.pth +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S02_straight_slope_pipe/point_clouds/full/resolution0p050.pth +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S02_straight_slope_pipe/preview.png +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S02_straight_slope_pipe/scene.json +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S02_straight_slope_pipe/volumetric/trench_volume.msh +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S03_L_slope_two_pipes_box/meshes/trench_scene_culled.obj +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S03_L_slope_two_pipes_box/point_clouds/culled/resolution0p050.pth +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S03_L_slope_two_pipes_box/point_clouds/full/resolution0p050.pth +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S03_L_slope_two_pipes_box/preview.png +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S03_L_slope_two_pipes_box/scene.json +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S03_L_slope_two_pipes_box/volumetric/trench_volume.msh +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S04_U_slope_multi_noise/meshes/trench_scene_culled.obj +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S04_U_slope_multi_noise/preview.png +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S04_U_slope_multi_noise/scene.json +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S04_U_slope_multi_noise/volumetric/trench_volume.msh +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S05_wide_slope_pair/scene.json +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S05_wide_slope_pair/volumetric/trench_volume.msh +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S06_bumpy_wide_loop/scene.json +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S06_bumpy_wide_loop/volumetric/trench_volume.msh +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S07_circular_well/metrics.json +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S07_circular_well/preview_oblique.png +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S07_circular_well/preview_side.png +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S07_circular_well/preview_top.png +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S07_circular_well/scene.json +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S07_circular_well/trench_scene.obj +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/S07_circular_well/volumetric/trench_volume.msh +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scenarios/SUMMARY.json +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/packages/trenchfoot/scene_spec_example.json +0 -0
- {trenchfoot-0.2.6 → trenchfoot-0.3.0}/tests/test_trenchfoot_generation.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
PYPI_API_TOKEN="pypi-AgEIcHlwaS5vcmcCJDU5NWZhMThiLTcwZDAtNGQ1NS04NzY5LTUzOWFjNzUyMzBhOQACKlszLCJiYTQ1Nzc2Ni01MDg0LTQ4ZmYtOGU5Yi05MjY4NjM3MTNiY2EiXQAABiCDzIFj_CDx2Hr1RoMANFCByB8X_u1VLbmPLNpe-oOFow"
|
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.0] - 2026-01-07
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- **SDF metadata export**: Each scenario now exports `sdf_metadata.json` alongside the OBJ mesh, containing:
|
|
7
|
+
- Normal convention ("into_void")
|
|
8
|
+
- Geometry type ("open_trench")
|
|
9
|
+
- Trench opening polygon with z-level
|
|
10
|
+
- Surface group annotations (floor, walls, ground)
|
|
11
|
+
- Embedded object counts
|
|
12
|
+
- **SDF readiness tests**: 21 new tests in `tests/test_sdf_readiness.py` validating:
|
|
13
|
+
- Floor normals point up (+z)
|
|
14
|
+
- Wall normals point inward toward trench centerline
|
|
15
|
+
- Ground surface normals point up (+z)
|
|
16
|
+
- Metadata consistency with mesh geometry
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
- **Normal orientation consistency**: All floor and ground surfaces now have upward-pointing normals (+z). Previously, some faces (particularly on S07 circular well ground surface) had incorrect winding order causing downward normals, which broke SDF sign computation in downstream consumers.
|
|
20
|
+
- **`_ensure_upward_normals()` post-processing**: Added helper function that flips face winding order for any horizontal faces with downward normals, applied to all ground surface generation paths.
|
|
21
|
+
|
|
22
|
+
## [0.2.7] - 2025-12-24
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
- **Ground end fill**: Fixed gaps at trench ends by only extending the outer ring (ground boundary) while keeping the inner ring (trench opening) at its original position. The arc-length triangulation now correctly fills the end areas with ground geometry.
|
|
26
|
+
|
|
3
27
|
## [0.2.6] - 2025-12-24
|
|
4
28
|
|
|
5
29
|
### Fixed
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -39,27 +39,19 @@ v 6 1.5 0
|
|
|
39
39
|
v 5 1.5 0
|
|
40
40
|
v 0 1.5 0
|
|
41
41
|
v -1 1.5 0
|
|
42
|
-
v -1 -0.5 0
|
|
43
42
|
v 0 -0.5 0
|
|
44
43
|
v 5 -0.5 0
|
|
45
|
-
v 6 -0.5 0
|
|
46
|
-
v 6 0.5 0
|
|
47
44
|
v 5 0.5 0
|
|
48
45
|
v 0 0.5 0
|
|
49
|
-
v -1 0.5 0
|
|
50
46
|
f 21 22 29
|
|
51
|
-
f 22
|
|
52
|
-
f
|
|
53
|
-
f 23
|
|
54
|
-
f
|
|
55
|
-
f
|
|
56
|
-
f
|
|
57
|
-
f
|
|
58
|
-
f
|
|
59
|
-
f
|
|
60
|
-
f
|
|
61
|
-
f
|
|
62
|
-
f 27 28 35
|
|
63
|
-
f 28 36 35
|
|
64
|
-
f 28 21 36
|
|
65
|
-
f 21 29 36
|
|
47
|
+
f 22 23 29
|
|
48
|
+
f 23 30 29
|
|
49
|
+
f 23 24 30
|
|
50
|
+
f 24 25 30
|
|
51
|
+
f 25 31 30
|
|
52
|
+
f 25 26 31
|
|
53
|
+
f 26 27 31
|
|
54
|
+
f 27 32 31
|
|
55
|
+
f 27 28 32
|
|
56
|
+
f 28 21 32
|
|
57
|
+
f 21 29 32
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"trench_bottom": 5.039999999999999,
|
|
4
4
|
"trench_cap_for_volume": 7.199999999999999,
|
|
5
5
|
"trench_walls": 12.849882149360417,
|
|
6
|
-
"ground_surface":
|
|
6
|
+
"ground_surface": 18.400000000000002,
|
|
7
7
|
"pipe0_pipe_side": 6.59616709687007,
|
|
8
8
|
"pipe0_pipe_cap_neg": 0.07063537956855452,
|
|
9
9
|
"pipe0_pipe_cap_pos": 0.07063537956855452
|
|
Binary file
|
|
Binary file
|