File: padstackreplace.html

package info (click to toggle)
pcb-rnd 3.1.7b-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,108 kB
  • sloc: ansic: 213,400; yacc: 6,241; sh: 4,698; awk: 3,016; makefile: 2,254; lex: 1,166; python: 519; xml: 261; lisp: 154; tcl: 67; perl: 34; javascript: 6; ruby: 5
file content (13 lines) | stat: -rw-r--r-- 770 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
Replacing padstacks, especially within multiple subcircuits, is a tedious
task because the prototype of the new padstack needs to be added in each
local padstack prototype library (e.g. one per subcircuit). The PadstackReplace()
action can automate this.
<p>
First argument is destination padstack, the object that is going to be changed.
It is either <i>object</i> for a single padstack under the cursor, or <i>selected</i>
for all selected padstacks. Both work on padstacks within subcircuits.
<p>
The second argument is source padstack, from which the prototype (geometry)
is copied. It can be <i>tool</i> for using the via tool's padstac prototype
(which is usually from the current style) or <i>buffer</i> which uses the
first padstack found in the current buffer.