← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Dragging with tracks in GAL

 

Hi John,

I apologize for duplicating your effort, I should have checked your
patches first. Your patch goes a little bit further than what I did, and
also implements simple dragging for tracks and modules. I applied your
patch for testing, but I had some issues with ratsnest. I still consider
it as a good starting point. I will have a look how it can be merged
with the current code. Thank you!

Regards,
Orson

On 02/08/2017 02:47 AM, John Beard wrote:
> Hi,
> 
> Here is a really basic concept patch for component dragging with
> tracks ('G') in pcbnew GAL.
> 
> It uses the same dragging mechanism as legacy for modules and pads. If
> it's not desired to continue to use that code for the time being, at
> least this provides the TOOL_ACTION hook and outlines where new code
> would have to be added.
> 
> However, the drag.h interface is pretty small, so I don't think using
> it is too objectionable for the time being.
> 
> For dragging traces, the much nicer PNS dragging is used, but this
> doesn't work with a block selection. I'm not that familiar with the
> PNS, so I'm not sure where to start to do that.
> 
> Cheers,
> 
> John
> 
> 
> 
> _______________________________________________
> 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
> 


References