TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
widen.hpp File Reference

Power track widening (doc 05 §39.1): after routing, new tracks that are narrower than they should be are made wider where the exact check allows it. More...

#include <map>
#include <string>
#include <vector>
#include "model/board.hpp"
#include "model/rules.hpp"

Go to the source code of this file.

Classes

struct  tmk::passes::WidenOptions
struct  tmk::passes::WidenOptions::Target
 Width targets by net (explicit options and component rules); a target below a track's width changes nothing. More...
struct  tmk::passes::WidenNet
struct  tmk::passes::WidenResult

Namespaces

namespace  tmk
namespace  tmk::passes

Functions

WidenResult tmk::passes::widen_tracks (const model::Board &board, const model::DesignRules &rules, std::vector< model::Track > &tracks, const std::vector< model::Via > &vias, const WidenOptions &opt)
 board is the board as the router saw it (without the new copper); tracks and vias are the run's new copper.

Detailed Description

Power track widening (doc 05 §39.1): after routing, new tracks that are narrower than they should be are made wider where the exact check allows it.

Only the width of new, unlocked tracks changes: nothing is moved, and no other copper is touched.

Definition in file widen.hpp.