kicad-developers team mailing list archive
Mailing list archive
Re: Cost of different courtyard elements for the closed outline and DRC algorithms
SMD items are likely to be denser and have square pads. Not using shaped courtyards for them might make sense.
Electrolytic capacitors usually have a least one round pad, so the courtyard collision time will be less than the pad collision time (which has to check with many more objects). Square courtyards keep you from packing an offset array of them, and they keep you from putting smaller components in the corners. Using shaped courtyards for them would be a clear improvement.
There’s no doubt a lot of stuff in between those two….
> On 1 Jan 2019, at 21:18, Jean-Paul Louis <louijp@xxxxxxxxx> wrote:
> Let me strongly disagree with you. When you have a board with over 3000 SMT parts, rounded courtyards would be a disaster.
> I have build a lot of board with over 4000 parts, and that is not unreasonable in the professional world, So if you want to limit the use of Kicad to hobbyist, it is fine as complex shape courtyards is just a gimmick and has ZERO value in term of manufacturing engineering.
>> On Jan 1, 2019, at 2:39 PM, Seth Hillbrand <seth@xxxxxxxxxxxxx> wrote:
>> Hi Rene-
>> Am 2019-01-01 11:57, schrieb Rene Pöschl:
>>> Right now we have a few contributions for the library that use arcs
>>> quite extensively on the courtyard layer.
>>> I would therefore like a bit of input.
>>> Are arc generally more expensive than lines?
>> Yes. Arcs are generally computed as a series of segments, so they are up to 64x more computationally expensive. BUT... This is the difference between a tiny fraction of a millisecond and 64 tiny fractions of a millisecond. In other words, you wouldn't notice the difference in the DRC runtime even with a modest computer.
>>> Is there a difference if the arc is a multiple of 90 degree compared
>>> to any other angle.
>>> Is there a difference if the endpoints of two neighboring endpoints
>>> meed exactly vs they being within the tolerance range for counting as
>>> a closed outline (If i remember correctly then the tolerance was
>>> 0.01mm. I assume this is the radius of the tolerance circle.)
>> Right now this is hard-coded with a magic number to be 0.05mm. This seems to be a reasonable number and probably won't change without specific reason.
>> Personally, I don't see any reason to prohibit arcs in the courtyard. While one use of the layer is to provide mechanical keepout as others have mentioned, it serves other purposes as well and IPC 7351 184.108.40.206 explicitly states that it is to be used as a starting point for the minimum area of the component + landing pads. Therefore if a manufacturer wants to only use rectangles, they will simply convert each to a bounding box and add their specific manufacturing allowance. Designers will need to modify the courtyards in their designs based on the DFM feedback, so the initial courtyard should be considered a minimum suggestion.
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help : https://help.launchpad.net/ListHelp
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp