[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: PCB paste layer, revisited.
Bert Timmerman <bert.timmerman@xxxxxxxxx> wrote:
> FWIW, I think we could use the attribute mechanism (as in gschem) to
> apply/override stuff to a pin/pad on a specified layer.
>
> An example for pin to show the principle:
>
> <example>
> Element[0x0 "LED_T1T75" "" "" 0 0 12000 -7000 0 100 0x0]
> (
> Pin[5000 0 7500 2000 9500 4600 "" "1" 0x01]
> (
> Attribute("Pad" "2 2000 7500") <-- "layernumber clearance annulus"
> )
> Pin[-5000 0 7500 2000 9500 4600 "" "2" 0x01]
> (
> Attribute("Pad" "2 2000 7500")
> )
> ElementLine[10000 5700 10000 -5700 1000]
> ElementArc[0 0 11500 11500 210 300 1000]
>
> )
> </example>
I think the padstacks should be defined elsewhere, and we should only have a
reference for it in the PCB file. Same goes for pads in padstack. So I prefer
light footprints. Just my EUR 0.02.
> I don't know how terrible this would break the file format, the
> Attribute is there already.
>
> And I don't know if the parse expects attributes attached to a pin.
>
> Another example for pad:
>
> <example>
> Element["" "0603 1.6mm x 0.8mm, 0.3mm terminal" "" "" 0 0 0 0 0 100 ""]
> (
> Pad[-2953 984 -2953 -984 1968 1600 3168 "1" "1" "square"]
> (
> Attribute("Paste" "-2953 984 -2953 -984 1768 1800 3168")
> )
> Pad[2953 984 2953 -984 1968 1600 3168 "2" "2" "square"]
> (
> Attribute("Paste" "2953 984 2953 -984 1768 1800 3168")
> )
> ElementLine[-3937 -3268 5237 -3268 1000]
> ElementLine[-3937 3268 5237 3268 1000]
> ElementLine[5237 -3268 5237 3268 1000]
> ElementLine[-5237 -1968 -5237 1968 1000]
> ElementArc[-3937 -1968 1300 1300 0 -90 1000]
> ElementArc[-3937 1968 1300 1300 0 90 1000]
> )
> </example>
>
> Or just add a "Paste" tag to the file format:
>
> <example>
> Element["" "0603 1.6mm x 0.8mm, 0.3mm terminal" "" "" 0 0 0 0 0 100 ""]
> (
> Pad[-2953 984 -2953 -984 1968 1600 3168 "1" "1" "square"]
> (
> Paste[-2953 984 -2953 -984 1768 1800 3168]
> )
> Pad[2953 984 2953 -984 1968 1600 3168 "2" "2" "square"]
> (
> Paste[2953 984 2953 -984 1768 1800 3168]
> )
> ElementLine[-3937 -3268 5237 -3268 1000]
> ElementLine[-3937 3268 5237 3268 1000]
> ElementLine[5237 -3268 5237 3268 1000]
> ElementLine[-5237 -1968 -5237 1968 1000]
> ElementArc[-3937 -1968 1300 1300 0 -90 1000]
> ElementArc[-3937 1968 1300 1300 0 90 1000]
> )
> </example>
>
> Kind regards,
>
> Bert Timmerman.
>
>> _______________________________________________
>> geda-user mailing list
>> geda-user@xxxxxxxxxxxxxx
>> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
>
>
>
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
>
--
Levente
http://web.interware.hu/lekovacs
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user