Re: [Kicad-developers] Bump for arc tracks

2017-06-30 Thread hauptmech
I was missing the piecewise linear approximation of the higher order shapes part. I don't know the answer. My instinct is that for arcs the direct analytic tests for proximity and intersection are faster tests on an accurate piecewise linear approximation. But on the other hand, if you only

Re: [Kicad-developers] Bump for arc tracks

2017-06-30 Thread Greg Smith
I don't think you are missing anything. I was thinking that converting everything to line segments might make DRC faster. I haven't dug into the DRC code, but perhaps it relies on collision functions provided by the shape type itself (which theoretically could be either "true" arc calculations,

Re: [Kicad-developers] Bump for arc tracks

2017-06-30 Thread hauptmech
Interesting idea. It might be a false comparison since we are choosing between a line segement chain and a curve segement chain composed of only lines. For the maths aspect, the computational speed is equal. For optimizations involving memory footprint and data structure traversal speed, I'm

Re: [Kicad-developers] Bump for arc tracks

2017-06-30 Thread Maciej Suminski
Hi hauptmech, Would you give more details about the Altium import? Are you working on a plugin or standalone tools? What do you plan to import (sch/pcb/libs)? Regards, Orson On 06/30/2017 11:05 AM, hauptmech wrote: > I asked earlier this year whether there was any interest in arc tracks > and

Re: [Kicad-developers] Bump for arc tracks

2017-06-30 Thread Greg Smith
Is SHAPE_LINE_CHAIN a core element that potentially an ARC might be translated to for display, DRC, or other output needs? If so, it seems that they would be separate with a conversion function from ARC to SHAPE_LINE_CHAIN and there would be SHAPE_ARC_CHAIN or SHAPE_SEGMENT_CHAIN (or similar)

Re: [Kicad-developers] Bump for arc tracks

2017-06-30 Thread hauptmech
At first glance it looks like SHAPE_LINE_CHAIN and TRACK are the points where the development clings to straight lines the most. One could add a single variable to line segment data structures so that they could also represent arcs. or One could add a layer of abstraction so that curves

Re: [Kicad-developers] Bump for arc tracks

2017-06-30 Thread Tomasz Wlostowski
On 30.06.2017 11:05, hauptmech wrote: > I asked earlier this year whether there was any interest in arc tracks > and got little response. > > My use case was importing altium files. > > Are any of the core developers likely to accept work in this direction? Hi, Sure, it would be awesome if

[Kicad-developers] Bump for arc tracks

2017-06-30 Thread hauptmech
I asked earlier this year whether there was any interest in arc tracks and got little response. My use case was importing altium files. Are any of the core developers likely to accept work in this direction? ___ Mailing list: