MitjaNemec / ReplicateLayout

GNU General Public License v2.0
90 stars 12 forks source link

Add grouping replicated items #57

Closed SiTLOOMS closed 1 year ago

SiTLOOMS commented 1 year ago

Added grouping replicated layouts (footprints/tracks/zones/text/drawings) by groups corresponding to hierarchical sheets. Also new placed items (tracks/zones/text/drawings) safed from adding into source group.

SiTLOOMS commented 1 year ago

@MitjaNemec , first of all thank you very much for your work. It's great and makes things a lot more handy. I moved from version 5 to 7.x a few days ago and found the greate "group only" option, but ran into an issue (I think it is) where all newly placed items were placed in the source layout's group. Tried to "solve" and accidentally came to this. I think it might be useful to work with replicated layouts, e.g. to clear the PCB before updating the entire layouts (I found that the "remove existing" option didn't completely clear previously replicated items when using "Replicate Group Only").

MitjaNemec commented 1 year ago

This is great, and it resolves #41. I really appreciate your contribution.

When reviewing I have trouble opening wxformbuilder design file replicate_layout_GUI.fbp. Which wxformbuilder version did you use to edit it?

This should also allow me to get rid of "remove duplicates" and "remove existing tracks" options and just put "remove existing group items" option which should be much easier to code and faster to execute.

SiTLOOMS commented 1 year ago

Glad about it. Thank you.

I used version 3.10.1-287-g77fa8e08 from https://github.com/wxFormBuilder/wxFormBuilder . Both linux and windows builds worked well for me. image image