autopew.graph.network¶
- class
autopew.graph.network.
Net
[source]¶Network of transformations between objects.
This object stores the individual node objects including their properties and registration points, in addition to the edges which involve specific coordinate transforms.
add_edge
(A, B, transform=None, **kwargs)[source]¶Add an edge between components A and B. Optionally specify the specific transform.
Parameters:
- A, B (
str
) – Names of components to link.- transform (
function
) – Function to transform coordinates from A space to B space.- inverse_transform (
function
) – Function to transform coordinates from B space to A space.
edges
¶
link
(A, B, transform=<function autolink>, inverse_transform=<function autolink>, **kwargs)[source]¶Link nodes A and B with transforms along edges.
nodes
¶