← Back to team overview

kicad-developers team mailing list archive

Re: Edge.Cuts layer in the module editor

 

Le 02/09/2014 20:16, Maciej Sumiński a écrit :
> On 09/02/2014 08:04 PM, jp charras wrote:
>> Orson, Be careful with Edge.Cuts layer in modules. If they are
>> not currently allowed, this is because I have a good reason.
> 
>> In specctra export, and therefore in 3d viewer, we *need* a
>> closed polygon for board outline.
> 
>> Currently, yo build this outline, when searching for a Edge.Cuts
>>  segment end near a given segment end, the max distance allowed
>> to find this segment is very small (currently 2 microns).
> 
>> It means if you create the board outline and the footprint
>> outline (and/or place it) using 2 different grids, I am pretty
>> sure you'll have an issue when searching "connected" segments to
>> build the board outline).
> 
>> You may have to enhance this search (for instance the max
>> distance could be related to segments thickness). see 
>> SPECCTRA_DB::fillBOUNDARY().
> 
> Hi Jean-Pierre,
> 
> Thank you for the remarks. During the tests I had minor problems
> to place footprints so they were considered continous, but
> eventually it worked fine. Computing the maximum distance basing on
> the segment thickness sounds like a good idea. Do you agree to the
> proposed changes given I modify maximum distance restriction to be
> calculated on the spot?

Yes, I agree.
A maximum distance calculated (with a good criteria) on the spot is
better than a very small distance, fixed distance, like now.

> 
> Regards, Orson
> 
>> Otherwise, just allowing Edge.Cuts segments in footprints is
>> just a bug. This is the only one reason they are not currently
>> allowed.
> 
> 
> 

-- 
Jean-Pierre CHARRAS


References