kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #26201
Re: Bezier curves in DRAWSEGMENT class
On Wed, Sep 14, 2016 at 7:44 PM, Nick Østergaard <oe.nick@xxxxxxxxx> wrote:
> For some RF applications people would like to use curves for traces. So
> DRC support for beizier/arcs would be nice here.
>
>
That would be possible with polyline and would avoid the high computational
cost of finding an intersection with a Bezier (or any spline equation).
- Cirilo
> Den 14/09/2016 08.14 skrev "jp charras" <jp.charras@xxxxxxxxxx>:
>
>> Le 14/09/2016 à 01:19, Tomasz Wlostowski a écrit :
>> > On 14.09.2016 00:00, Cirilo Bernardo wrote:
>> >> I think it would be nice to support Bezier curves but aside from adding
>> >> support for editing those curves, I think we need a good enough 2D
>> >> geometry kernel so that we can improve zone outlines and perhaps
>> >> even allow tracks to be straight, arc, or Bezier curve. In general
>> though
>> >> I think good support for "PolyLine" would be of more general use; after
>> >> all any 2D Bezier curve can be easily approximated with a series of
>> >> circular arcs (which a Polyline can do).
>> >
>> > Cirilo, JP,
>> >
>> > I agree we need copper layer arc support. I'm reluctant to add Bezier
>> > curves unless they are approximated as polylines because of the
>> > complexity of necessary DRC functions. Writing an accurate arc-to-arc or
>> > arc-to-segment collision/distance check is already quite difficult.
>> >
>> > Besides, what would be the use of such curves for PCB design other than
>> > fancy graphics (silkscreen, etc)?
>> >
>> > Tom
>>
>> AFAIK, it was never intended to be used on copper layers, only for fancy
>> graphics.
>> It is not yet in use because the cost to use Bezier curves is high
>> (editor, locate functions ...)
>> and the benefit is low.
>>
>>
>> --
>> Jean-Pierre CHARRAS
>>
>> _______________________________________________
>> 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
>>
>
Follow ups
References