← Back to team overview

kicad-developers team mailing list archive

Re: pcbnew block repetition feature

 

Hi Clemens,

I'm thinking only of modules-footprints, since copy&paste tracks and zones is very easy with copy block.

Of course, your examples are welcome.

My thought was something like this:
1- Place the components of a block
2- Select one item of the block and open a window showing a grid with
  a. All the twin components in the same .sch file
  b. Blank cells for the X and Y coordinates of each component
3- The user must fill the cells with relative distances from the selected item in step 2.
4- The program recalculates the positions of every footprint.

For example R101 and R102 in block one, R201 and 202 in block 2, R301 and R302 in block 3 and so on.
R101 is at (30.00 , 25.00) and R102 at (35.00 , 27.00)
I fill the grid with 20 and 0 for R201 and 40 and 0 for R301

Finally, I get R201 at (50.00 , 25.00), R202(55.00 , 27.00)
R301 at (70.00 , 25.00) and R302 at (75.00 , 27.00)

And there is no need to go to the schematic, even though we are using the .sch file to read the components.

Easy to say, complex to program with my C++ level.

Thanks!
Pedro.

El 18/10/16 a las 17:35, Clemens Koller escribió:
Hello, Pedro!


On 2016-10-18 15:53, Pedro Martin wrote:
Hi,

I want to add a new feature to pcbnew: block repetition, replication or
whatever its name is.

It is called Physical Design Reuse (PDR) at least in
some professional EDA toolchains.

Usually you select some objects in the layout to create a "Reuse". Then
you can safe/load/recreate that and pick suitable component references,
netnames, etc. out of the schematics in an intelligent way and place
the "Reuse(s)" in your Layout i.e. in an array.

If you need some details/ideas, I migh be able to provide some examples
from my EDA software (I'm currently just very busy).

Regards,

Clemens

_______________________________________________
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