diameter[layer] | int (see note) |
drill | int |
drillsymbol | int |
x, y | int (center point) |
See also UL_BOARD, UL_PACKAGE
Note
diameter[] is only defined vor layers LAYER_TSTOP and LAYER_BSTOP and returns the diameter of the solder stop mask in the given layer.
drillsymbol returns the number of the drill symbol that has been assigned to this drill diameter (see the manual for a list of defined drill symbols). A value of 0 means that no symbol has been assigned to this drill diameter.
Example
board(B) { B.holes(H) { printf("Hole: (%d %d), drill=%d\n", H.x, H.y, H.drill); } }
Index | Copyright © 2005 CadSoft Computer GmbH |