Skip to content

Commit

Permalink
directionality convention for #35
Browse files Browse the repository at this point in the history
  • Loading branch information
fstwn committed May 20, 2020
1 parent f2bfef7 commit 6971b89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/Cockatoo/KnitNetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -2610,9 +2610,9 @@ def CreateDual(self, mode=-1):
node_a = (cycle_a, DualNetwork.node[cycle_a])
node_b = (cycle_b, DualNetwork.node[cycle_b])
if d["warp"]:
DualNetwork.CreateWeftEdge(node_a, node_b)
DualNetwork.CreateWeftEdge(node_b, node_a)
elif d["weft"]:
DualNetwork.CreateWarpEdge(node_b, node_a)
DualNetwork.CreateWarpEdge(node_a, node_b)

# loop over all nodes of the network and set crease and end attributes
for node in DualNetwork.nodes_iter():
Expand Down

0 comments on commit 6971b89

Please sign in to comment.