The basic idea is, take input from user on how many LEDs (from a range of possible values) are required and its size (from a fixed list of values) and the origin about which the LEDs are to be placed in a circle.
Then the program will internally determine which LEDs are to be put onto the board (in contrast to schematic). After this it shall place the LEDs on the board and move and rotate them using values calculated in a formula.
I know that taking user input can be done using ULP. However, adding and manipulating components requires use of script which is different from ULP.
Why in the world does eagle have this distinction between ULP and Script!?
How do I accomplish this task in eagle such that ULP takes inputs and applies the required add move and rotate commands to add move and rotate LEDs in a simple loop?
I know this can be done manually, I want to understand how this simple task can be automated in Eagle so I can get around to doing more complex things later.