Skip to content

liutie67/traffic-wire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traffic Wire

Automating the "last mile" of traffic engineering design.

让交通工程设计的“最后一公里”实现自动化。

About The Project

关于项目

TrafficWire is designed to automate the tedious process of wiring and routing electromechanical devices in CAD drawings (.dxf).

Originally developed for tunnel electromechanical systems, TrafficWire intelligently identifies device nodes (such as cameras, VMS screens, and sensors) based on blocks or geometric boundaries. It then automatically generates clean, orthogonal (Manhattan-style) connection paths to central control units.

Traffic Wire 旨在自动化 CAD 图纸中机电设备的布线工作。 该项目最初是为隧道机电系统开发的,它能智能识别设备节点(如摄像头、情报板、传感器),并自动生成连接到控制中心的、整洁的的正交(曼哈顿风格)路径。

Key capabilities include:

  • Smart Detection: Identifies devices via Block references or text-enclosed-by-polylines.
  • Orthogonal Routing: Generates professional, non-overlapping horizontal and vertical paths.
  • Conflict Resolution: Automatically detects line intersections and renders "jumper" arcs (bridges) to ensure visual clarity.
  • Auto-Annotation: Calculates and labels cable lengths and types in real-time.

Vision

愿景

Our vision is to revolutionize infrastructure design by transforming static CAD drafting into an intelligent, rule-based automation process.

我们的愿景是通过将静态的 CAD 绘图转变为智能的、基于规则的自动化流程,从而彻底改变基础设施设计行业。我们致力于将 TrafficWire 从单一的隧道工具扩展为交通工程领域的通用布线引擎。

While currently focused on tunnel scenarios, we aim to expand TrafficWire into a universal routing engine for the broader Highway & Traffic Engineering sector. Future goals include:

  • Algorithmic Optimization: Implementing A* pathfinding for complex obstacle avoidance.
  • Broad Adaptation: Supporting lighting arrays, ventilation control systems, and fire alarm loops.
  • Data-Driven Design: Bridging the gap between 2D CAD drawings and engineering quantity take-offs (BOM).

About

Traffic Wire: An automated CAD routing and wiring engine for Intelligent Transportation Systems (ITS) and tunnel electromechanical design. Powered by Python and ezdxf.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages