##from:pcb ##for:resistor ##for:capacitor ##for:led # grab the input values and convert to 1/100 mil # how much to grow the pads by for soldermask [1/100 mil] # clearance from planes [1/100 mil] # silk screen width [1/100 mil] # courtyard silk screen width [1/100 mil] # element_flags, description, pcb-name, value, mark_x, mark_y, # text_x, text_y, text_direction, text_scale, text_flags Element[0x00000000 "Standard SMT resistor, capacitor etc" "" "1206" 0 0 -3150 -3150 0 100 ""] ( Attribute("openscad" "1206") # # Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags] Pad[-5905 -1181 -5905 1181 5118 2000 5718 "1" "1" "square"] Pad[5905 -1181 5905 1181 5118 2000 5718 "2" "2" "square"] ElementLine[-2362 -3740 2362 -3740 800] ElementLine[-2362 3740 2362 3740 800] # # This draws a 1 mil placement courtyard outline in silk. It should probably # not be included since you wont want to try and fab a 1 mil silk line. Then # again, it is most useful during parts placement. It really is time for some # additional non-fab layers... # ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval(-1*V1/2) eval( V2/2) CYW] # ElementLine[eval(-1*V1/2) eval(-1*V2/2) eval( V1/2) eval(-1*V2/2) CYW] # ElementLine[eval( V1/2) eval( V2/2) eval( V1/2) eval(-1*V2/2) CYW] # ElementLine[eval( V1/2) eval( V2/2) eval(-1*V1/2) eval( V2/2) CYW] )