Find and track the connections between net segments. More...
Classes | |
class | ConnectionMap |
Tracks the connections of the net segments in a revision at a time. More... | |
Functions | |
def | endpoints |
Return the absolute coordinates of the endpoints of a net instance. More... | |
def | s_conn_check_midpoint |
Checks if a point is on an orthogonal net segment and between its endpoints. More... | |
def | all_net_instances_in_revision |
Returns all net instances in a given revision. More... | |
def | all_net_instances_in_object |
Returns all net instances in a given object. More... | |
def | s_conn_update_line_object |
Return all connections of a net instance. More... | |
Variables | |
tuple | Connection |
A single connection between two objects. More... | |
Find and track the connections between net segments.
Instances of net segments (including bus segments and pins) are represented by a pair (path, ob)
where path
is a sequence of component objects, the symbol of each containing the next component or (in the case of the last component) the net, and ob
is the actual net object.
def xorn.geda.netlist.conn.all_net_instances_in_object | ( | ob, | |
path = () |
|||
) |
def xorn.geda.netlist.conn.all_net_instances_in_revision | ( | rev, | |
path = () |
|||
) |
def xorn.geda.netlist.conn.endpoints | ( | path, | |
ob | |||
) |
def xorn.geda.netlist.conn.s_conn_check_midpoint | ( | instance, | |
x, | |||
y | |||
) |
Checks if a point is on an orthogonal net segment and between its endpoints.
ValueError | if path contains an object which is not a component |
ValueError | if ob is not a net |
def xorn.geda.netlist.conn.s_conn_update_line_object | ( | path, | |
ob, | |||
instances_by_endpoint, | |||
horizontal_instances, | |||
vertical_instances | |||
) |
tuple xorn.geda.netlist.conn.Connection |
A single connection between two objects.
Each instance represents a single unidirectional connection between two objects. The connection type is always in reference to how ob1 is connected to ob0.