Change Details
README |
95 | 95 | with minimum dimensions and centred on the hole. Trapezoidal and |
96 | 96 | roundrect pads are not supported in gEDA. |
97 | 97 | |
| 98 | |
98 | 99 | Footprint definition file format |
99 | 100 | -------------------------------- |
100 | 101 | |
file.c |
183 | 183 | free(name); |
184 | 184 | } else { |
185 | 185 | if (!geda(stdout, NULL)) |
186 | | perror("stdout"); |
| 186 | perror("stdout"); |
187 | 187 | } |
188 | 188 | } |
189 | 189 | |
geda.c |
75 | 75 | start->x = center.x; |
76 | 76 | finish->y = (max.y - size.x/2); |
77 | 77 | finish->x = center.x; |
78 | | } |
| 78 | } |
79 | 79 | } |
80 | 80 | |
81 | 81 | static void do_geda_drill(FILE *file, const struct inst *pad, struct coord *padSize) |
82 | 82 | { |
83 | 83 | const struct inst *hole = pad->u.pad.hole; |
84 | 84 | struct coord center, size; |
85 | | |
| 85 | |
86 | 86 | if (!hole) |
87 | 87 | return; |
88 | 88 | |
... | ... | |
187 | 187 | units_to_geda(inst->base.x), |
188 | 188 | -units_to_geda(inst->base.y), |
189 | 189 | units_to_geda(inst->u.arc.r), |
190 | | units_to_geda(inst->u.arc.r), |
| 190 | units_to_geda(inst->u.arc.r), |
191 | 191 | units_to_geda(inst->u.arc.width)); |
192 | 192 | } |
193 | 193 | |
... | ... | |
198 | 198 | |
199 | 199 | /* |
200 | 200 | * Xcenter, Ycenter, Width, Height, startAngle, stopAngle, Width |
201 | | * |
202 | 201 | */ |
203 | 202 | b = inst->u.arc.a1 - 180; |
204 | 203 | while (b <= 0) |
Download the corresponding diff file