← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH/RFC] Move exactly and duplicate in modedit

 

On 11/14/2014 10:55 PM, John Beard wrote:
> Hi all,
> 
> I have been working on a patch to allow two new behaviours in modedit:
> 
> * "Move exactly", which allows you to enter an exact offset when moving
>   a pad, edge or text. The main use of this for me is to make it easy to
>   build footprints according to datasheets where the pattern is defined
>   in relative terms. A new dialogue is introduced, and this allows
>   either a Cartesian or polar offset, followed by a rotation. A hotkey
>   is also defined (default Ctrl-M, since "M" is "move").
> 
> * "Duplicate", which clones the current item and picks it up, ready to
>   move. Ctrl-D is the default hotkey here, mirroring Inkscape. This is
>   mainly intended for use in conjunction with "move exactly", as a
>   complement to the current "shift-block-select and move with the grid"
>   method.
> 
> I am also planning to implement an "array" function in much the same
> way, but I'd like to see if people think this is useful so far.
> 
> I have a couple of questions about the move and duplicate patch so far:
> 
> * I have not implemented a block-duplicate, as it seems difficult to get
>   a friendly behaviour that works intuitively. If block-duplicate is
>   useful to anyone, how would they like it to work, especially in
>   conjunction with "move exactly" or "array"?
> 
> * I have not done anything in pcbnew, as geometric fiddlings seemed more
>   useful in modedit. Would it be useful in pcbnew?
> 
> General comments about the patch also sought, as it my first "big"
> patch!
> 
> Thanks,
> 
> John
> 

John,

I just commented on Cirilo's request and the same hold true for your
change as well.  Please push the branch with these changes to launchpad
and submit a merge request.  Since this is a new feature and we are
trying to work towards a stable release, I will need buy in from the
other developers to determine if this patch should be merged before the
stable release or not.

Thanks,

Wayne



Follow ups

References