tessng-network-builder

Build TESSNG road networks live in the currently opened TESSNG project from staged modeling prompts, especially mixed-flow intersections and A-B-C arterial corridors with motor lanes, nonmotor lanes,…

0
安装

正文

TESSNG Live Network Builder

Core Rule

Build in the currently opened TESSNG project. Do not copy a finished .tess, do not open a benchmark .tess, and do not save unless the user explicitly asks for saving.

Treat examples as modeling intent, not as files to reproduce. The skill exists to create the target by disciplined staged construction and self-checking.

Workflow

  1. Check the TESSNG AI HTTP gateway and runtime state.
  2. Confirm the current project is empty before destructive setup. If it is not empty, ask the user before clearing.
  3. Run staged construction with scripts/build_live_network.py.
  4. After every stage, query TESSNG read-only tools and compare the scene against that stage's acceptance checklist.
  5. If a stage fails, issue a repair prompt for that stage only, then re-check.
  6. Run final acceptance and report what exists in the live TESSNG scene.

Commands

Dry-run prompts without touching TESSNG:

python scripts/build_live_network.py --scenario abc-arterial --dry-run

Build in the live TESSNG project through the local HTTP gateway:

python scripts/build_live_network.py --scenario abc-arterial --base-url http://127.0.0.1:8000

Build only a B-like mixed-flow intersection:

python scripts/build_live_network.py --scenario mixed-intersection --base-url http://127.0.0.1:8000

Run one phase only:

python scripts/stage_05_pedestrian_regions.py --scenario mixed-intersection --base-url http://127.0.0.1:8000

Stage Scripts

  • stage_01_preflight.py: gateway, tool list, current project state.
  • stage_02_motor_geometry.py: intersection/corridor motor-road geometry.
  • stage_03_lane_turns.py: lane functions, arrows, and motor connectors.
  • stage_04_nonmotor.py: nonmotor lanes aligned with road directions.
  • stage_05_pedestrian_regions.py: sidewalks, crosswalks, and corner fan areas.
  • stage_06_pedestrian_paths.py: pedestrian paths and connectivity.
  • stage_07_crosswalk_signals.py: two-direction crosswalk signal lamps.
  • stage_08_signal_control.py: four-phase signal plans and green-wave offsets when applicable.
  • stage_09_demand_routes.py: dispatch points, decision points, routes, and ratios.
  • stage_10_detectors.py: flow collectors, queue counters, travel-time detectors.
  • stage_11_acceptance.py: final object and geometry checklist.

Read references/modeling_contract.md for the non-negotiable modeling constraints and references/stage_prompts.md for the stage prompt text.

将提示词发送给你的 AI 安装该技能

来源

本作品搬运自 SkillHub查看原始页面
原作者李旭红
上游community(经 SkillHub 收录)
授权协议unknown
内容版权归原作者所有,易渡仅作收录与标注