Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-16 Thread Cirilo Bernardo
In addition to that, the error in the approximation can be made as small as we wish and it's not difficult to achieve <1 micron error if you really want Gerber outputs to be that precise. This is "approximation" in the mathematical sense and not in the general use of the language, so we control the

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-16 Thread Nick Østergaard
What was mentiomed was to approximate for example beziers with arcs. That would still be accurate when exported to gerbers, because one could use arcs which are supported in gerbers IIRC. Den 16/09/2016 15.34 skrev "Wayne Stambaugh" : > I would like to see arc support in copper layers as well but

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-16 Thread Wayne Stambaugh
I would like to see arc support in copper layers as well but we need to approach this carefully. One thing KiCad has been pretty good at is not producing broken gerber files. A lot of code would have to be written to support this fully. When I here words like "approximate", it makes me nervous.

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-16 Thread Mário Luzeiro
Hi all, If ever anyone implement a new form, please have an eye on, and mind on, that the new form also will need a 3DViewer implementation. It may be just a need to convert it with segm approximation (if its not already come as segments from pcbnew board). Cheers, Mario Luzeiro _

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-14 Thread Piotr Esden-Tempski
I personally would love to see bezier/spline support in KiCad. When seeing PCB designs by people like Boldport one wishes the “normal” engineering tools would support “organic" traces too. Obviously due to the limitations of the Gerber file format circle approximation would be necessary. If that

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-14 Thread Nick Østergaard
Yes, of course arcs are more important. But Cirilo mentioned that one could use arcs to appromimate the beiziers for DRC and gerber generation purposes 2016-09-14 13:44 GMT+02:00 José Ignacio : > I don't see length matching splines to be any easier than length > matching polylines. If anything hav

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-14 Thread José Ignacio
I don't see length matching splines to be any easier than length matching polylines. If anything having arcs is a lot more important than beziers as arcs can form circles while beziers can't exactly (you need NURBS for that). Also iirc Gerbers support arcs natively so it would end up generating bet

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-14 Thread Simon Wells
i have no idea whether it is actually valid but could/would bezier curves be used in differential pairs that are also length matched? so that it would keep the seperation for the differential but would also allow the lengths to be equal? On Wed, Sep 14, 2016 at 10:51 PM, jp charras wrote: >> On W

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-14 Thread jp charras
> On Wed, Sep 14, 2016 at 7:44 PM, Nick Østergaard > wrote: > > For some RF applications people would like to use curves for traces. So > DRC support for > beizier/arcs would be nice here. I perfectly understand the interest of arcs in traces. But what the int

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-14 Thread Cirilo Bernardo
On Wed, Sep 14, 2016 at 7:44 PM, Nick Østergaard 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

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-14 Thread Nick Østergaard
For some RF applications people would like to use curves for traces. So DRC support for beizier/arcs would be nice here. Den 14/09/2016 08.14 skrev "jp charras" : > 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

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-13 Thread jp charras
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 a

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-13 Thread Cirilo Bernardo
On Wed, Sep 14, 2016 at 9:19 AM, Tomasz Wlostowski < tomasz.wlostow...@cern.ch> wrote: > 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 kerne

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-13 Thread Tomasz Wlostowski
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 B

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-13 Thread Cirilo Bernardo
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

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-13 Thread jp charras
Le 13/09/2016 à 11:36, Tomasz Wlostowski a écrit : > Hi all, > > Looking at the sources of the DRAWSEGMENT class (with the hopes of > refactoring it a bit to enable arbitrary copper shapes), I noticed that > it supports Bezier curves. They are also supported by the file format > parser/writer. The

Re: [Kicad-developers] Bezier curves in DRAWSEGMENT class

2016-09-13 Thread Nick Østergaard
It seems it has been there for long, there are only few mentions of it on the list while I have been subscribed, but I find: https://www.mail-archive.com/kicad-developers@lists.launchpad.net/msg20577.html https://lists.launchpad.net/kicad-developers/msg20046.html It does not really mention anythi