# Procedures for creating examples of seams between blocks. # Last edited on 2021-03-16 21:02:50 by jstolfi import seam_example_IMP import seam import contact import block import move import move_parms import path import pyx # SAMPLE SEAMS FOR THE UNIT TEST PROGRAM # These test data assume that the width of the filling trace is 1.0 mm, since # then the nominal sausages of the sides actually touch each other. def misc_A(mp_trace): # Returns a list {SMS} of four {Seam} objects between the four # blocks returned by {block_example.misc_D}. Also returns the # list {BCS} of the blocks. # # The sides {side(SMS[k],i)} of the seams are # # k d side0 side1 obs # - - ------ ------ ----- # # where {d} is the {is_directed} flag. The contacts in those seams are # as follows: # # side0 side1 # ------ ------ # k i b c m b c m obs # - - ------ ------ ----- # return seam_example_IMP.misc_A(mp_trace)