T 180 # We begin the path with an initial angle of 180 degrees # Path 7 times [arc radius=210, angle= 360(1-1/7) degrees # and seven segments of length 200 ] A 210 308.57142857142857142960 L 200 A 210 308.57142857142857142960 L 200 A 210 308.57142857142857142960 L 200 A 210 308.57142857142857142960 L 200 A 210 308.57142857142857142960 L 200 A 210 308.57142857142857142960 L 200 A 210 308.57142857142857142960 L 200 X # Center the path on the paper W 0.1 # Pen with 0.1 points D 105 # Disc of 105 cogs H 0 > 105 9# And hole 105 V 0 > 72 9 # Deviation from 0 degrees to 72 # and increments of 9 degrees R 50 # Resolution N # Count the number of cycles # required to close the disc's drawing C 255 0 0 > 0 0 255 4 # set the color Red -> Blue 4 values + 0 0 255 > 255 0 0 4 # and then Blue-> Red 4 values G 8 D -105# now, set the Disc "inside" the path H 0 > 105 9 # deviations changes sign G 8 # Peace and love, brothers.