mirror of https://codeberg.org/topola/topola.git
Autorouter: general modules descriptions
This commit is contained in:
parent
e1d80fe2c4
commit
3fb01e9f48
|
|
@ -1,6 +1,7 @@
|
||||||
//! Manages autorouting of ratlines in a layout, tracking status and processed
|
//! Manages autorouting of ratlines in a layout, tracking status and processed
|
||||||
//! routing steps. Provides access to navigation meshes, traces, ghost shapes,
|
//! routing steps. Provides access to navigation meshes, traces, ghost shapes,
|
||||||
//! and obstacles encountered during routing.
|
//! and obstacles encountered during routing.
|
||||||
|
|
||||||
use petgraph::graph::EdgeIndex;
|
use petgraph::graph::EdgeIndex;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
//! Manages the comparison of detours between two ratlines, tracking their
|
||||||
|
//! routing statuses and lengths. Facilitates stepwise processing of routing
|
||||||
|
//! while providing access to navigation meshes, traces, ghost shapes, and
|
||||||
|
//! obstacles encountered.
|
||||||
|
|
||||||
use petgraph::graph::EdgeIndex;
|
use petgraph::graph::EdgeIndex;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
//! Manages command history operations, allowing for undoing and redoing commands.
|
||||||
|
//! Handles error scenarios related to command history, maintaining lists of executed
|
||||||
|
//! and undone commands for easy navigation.
|
||||||
|
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
//! This module defines the Invoker structure, which manages the execution of
|
||||||
|
//! routing commands within the autorouting system.
|
||||||
|
|
||||||
use std::cmp::Ordering;
|
use std::cmp::Ordering;
|
||||||
|
|
||||||
use contracts::debug_requires;
|
use contracts::debug_requires;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
//! This module provides functionality for measuring the total length of selected
|
||||||
|
//! bands in a PCB layout. It interacts with the autorouter to calculate and return
|
||||||
|
//! the length of specified band selections.
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
board::mesadata::AccessMesadata,
|
board::mesadata::AccessMesadata,
|
||||||
drawing::graph::PrimitiveIndex,
|
drawing::graph::PrimitiveIndex,
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
//! This module provides functionality for placing vias in a PCB layout.
|
||||||
|
//! It manages the process of inserting a via with a specified weight and
|
||||||
|
//! checks if the via has already been placed.
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
board::mesadata::AccessMesadata,
|
board::mesadata::AccessMesadata,
|
||||||
drawing::graph::PrimitiveIndex,
|
drawing::graph::PrimitiveIndex,
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
//! This module defines data structures and methods for managing a graph
|
||||||
|
//! used in layout triangulation and routing tasks. It includes vertex and edge
|
||||||
|
//! structures for representing graph nodes and edges with associated metadata,
|
||||||
|
//! as well as functions for constructing and manipulating these graphs.
|
||||||
|
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
use enum_dispatch::enum_dispatch;
|
use enum_dispatch::enum_dispatch;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
//! This module provides functionality to remove bands from the layout in an
|
||||||
|
//! autorouting context. It defines a struct that interacts with the autorouter
|
||||||
|
//! to remove selected bands, and implements necessary traits for working
|
||||||
|
//! with navigation meshes, traces, and obstacles.
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
board::mesadata::AccessMesadata,
|
board::mesadata::AccessMesadata,
|
||||||
drawing::graph::PrimitiveIndex,
|
drawing::graph::PrimitiveIndex,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue