Write Creo Parametric part relations (the text I paste into Tools > Relations) for a flange. These parameters already exist: PCD (bolt circle diameter, mm), N (number of bolt holes), START_ANG (angle of the first hole in degrees, measured from the X axis). The first hole's centre is located by d5 (X distance from the part centre) and d6 (Y distance from the part centre). The holes are an axis pattern where p20 is the number of instances and d22 is the angle between instances. d7 is the hole diameter.
Rules: put the first hole on the bolt circle at START_ANG; make the pattern N holes evenly spaced around 360 degrees; d7 = 6 when N is 6 or less, 8 when N is 7 to 12, and 10 when N is more than 12.
Reply with the relations only, plus at most three short lines of notes.
