Chip resistors, capacitors, LEDs

Script overview

Component nameVRML generatorFootprint generator
Chip resistorchip-r.plfp-chip.pl
Chip capacitior, ceramic, non-polarizedchip-c.plfp-chip.pl
Chip LEDchip-l.plfp-chip.pl

VRML Model generators

 
Variable reference
PAD_COLORColor of metal pads
BODY_COLORColor of resistor body
LABEL_COLORColor of label
LABEL_BACKGROUNDColor of label background
LABEL_SIZERelative label size
LABELdevice label; if not defined,
label is not displayed
LABELOFFSETlabel Y-offset; default: -0.225,
only in compatibility mode
  chip-r.pl [-?] [-d] L T W H

  Options:
    -?,--help               - this help screen
    -d,--debug              - display debug coordinates and planes
    -c,--compatibility-mode - compatibility mode (font alignment)
  Parameters:
    L - length
    T - length of pad
    W - width
    H - height

 
Variable reference
PAD_COLORColor of metal leads
BODY_COLORColor of capacitor body
]

  chip-c.pl [-?] [-d] L T W H

  Options:
    -?,--help  - this help screen
    -d,--debug - display debug coordinates and planes
  Parameters:
    L - length
    T - length of pad
    W - width
    H - height

 
Variable reference
PAD_COLORColor of metal leads
BODY_COLORColor of LED body
DIFFUSER_COLORColor of diffuser
]

  chip-l.pl [-?] [-d]  L T W H [D]

  Options:
    -?,--help  - this help screen
    -d,--debug - display debug coordinates and planes
  Parameters:
    L - length
    T - length of pad
    W - width
    H - height
  Optional parameters:
    D - diffuser height

Footprint generator

  fp-chip.pl [-?] [-r | -c | -p | -i | -l] nm C1 X1 Y1 R1 R2
             [cx] [mx] [rd] [C2 Y2]

  Options:
    -?,--help                - this help screen
    -r,--resistor            - resistor
    -c,--capacitor           - capacitor
    -p,--polarized-capacitor - polarized capacitor
    -i,--inductor            - inductor
    -l,--led                 - LED
  Parameters:
    nm - footprint name
    C1 - offset of left-side pad (or both pads)
    X1 - hight of pad
    Y1 - width of left pad (or both pads)
    R1 - silkscreen width
    R2 - silkscreen height
  Optional parameters:
    cx - clearance
    mx - mask
    rd - reference designator

    C2 - offset of right-side pad
    Y2 - width of right pad

Dimensions





Print Friendly