Tricks and tips for ElectronicDesign
Eagle
Eagle has scriptability. Eg moving components is possible with simple commands. However, moving connected traces and vias can be a problem.
Circular placement
Let's assume we want to place 10 or 11 pads on a circle (centered 0,0 - offsetting is really simple).
In the example:
- 22mm from the center
- 2.54mm from each other
The octave (matlab) formula would be:\nÿ1ÿ
- x: 0.00000 49.97223 99.78 149.25133 198.23 246.54314 294.04 340.55225 385.93 430.02692 472.69
- y: 866.14 864.69895 860.36 853.18553 843.15 830.31198 814.70 796.38286 775.41 751.84995 725.79
- Naturally, mirroring around the X is just a - sign.
- Also, only the bold coordinates are used (for 11 pads) or only the non-bold ones (for 10 pads).
- You can easily verify with Pithagoras formulat that x^2 + y^2 = 866.14^2 for every coordinate-pair
- and distance of neighbour bold (or non-bold) coordinates is appr. 100 mil