Files
VoxelForge/Standalone/Research/WorldAssemblerM3/Linux56/BuildMotifFixtureR24.py
T
Fr0zkaandClaude Opus 5.5 5e2fc53d39 planner: four-strate owner plan spawns (L66); pinned 2-strate regression fixture
- Core caps each passage mouth reach to its own strate's usable content band (owner
  DA_Strate1 exports ReachMax=5000 owner voxels, which put the SW->FI lower mouth 79.5 m
  below FI, inside TN).
- Unreal adapter: SW route search keeps the old 64 m candidates first, then a bounded
  single-mouth search with shorter lengths; logs candidate/rejection counts.
- Internal-chain passage floor/support tweaks (only with >2 strates): ripple 1-2 4.78->2.90 cm,
  2-3 3.57->0.10 cm. Interfaces still 0/3 walkable (59/3/2 unsupported).
- verify.py: legacy tiers use Standalone/data/regression/owner_world_2strate_l61.json; new
  four-strate stage reads its expectations from owner_world.json (currently red on interfaces).
- Unreal trace L14 vs HEAD, same assets (16-chunk FlatPlain): 12.20 vs 12.56 worker-s; no x2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016dhxM43dnWvUu2B5Ph1iG1
2026-10-26 22:13:22 +01:00

69 lines
2.3 KiB
Python

#!/usr/bin/env python3
"""Build the versioned L56 flat-field and sparse-motif fixture."""
from __future__ import annotations
import argparse
import json
import os
from pathlib import Path
ROOT = Path(__file__).resolve().parents[4]
OWNER = Path(os.environ.get("VOXELFORGE_OWNER_DATA",
ROOT / "Standalone/data/owner_world.json"))
OUT_DEFAULT = Path(os.environ.get("VOXELFORGE_VERIFY_OUT", ROOT / "Saved/Linux/l56"))
def main() -> None:
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("--out", type=Path, default=OUT_DEFAULT / "fixtures")
args = parser.parse_args()
args.out.mkdir(parents=True, exist_ok=True)
fixture = json.loads(OWNER.read_text(encoding="utf-8"))
fixture["surface_profile_override"] = {
"version": 1,
"kind": "flatField",
"minimum_arena_clearance_m": 0.0,
}
fixture["motif_family_override"] = {
"version": 1,
"strate_index": 1,
"placement_policy": "seed,strate,stable_id",
"motifs": [
{
"stable_id": "motif/monolith-01-v1",
"kind": "cappedCylinder",
"radius_m": 1.4,
"height_m": 24.0,
"route_side_offset_m": 28.0,
"placement_radius_m": 4.0,
"fillet_radius_m": 0.55,
"blend_width_m": 1.6,
"minimum_spacing_m": 15.0,
"yaw_quarter_turns": 0,
"attachment": "seated_floor",
},
{
"stable_id": "motif/platform-01-v1",
"kind": "roundedBox",
"half_extents_m": [3.2, 2.8, 0.75],
"route_side_offset_m": -35.0,
"placement_radius_m": 4.0,
"fillet_radius_m": 0.55,
"blend_width_m": 1.6,
"minimum_spacing_m": 15.0,
"yaw_quarter_turns": 0,
"attachment": "seated_floor",
},
],
}
path = args.out / "style-override-motifs-slice1.json"
path.write_text(json.dumps(fixture, indent=2) + "\n", encoding="utf-8")
print(f"[L56MotifFixture] path={path} profile=flatField motifs=2 "
"placement=seed,strate,stable_id status=PASS")
if __name__ == "__main__":
main()