Comments (8)
I am not certain this is really a bug. Could you please attach replicate_layout.log
which should be in the project folder.
from kicad_action_plugins.
Here are the lines that get added to replicate_layout.log
when I do what I did in the screen capture:
11-20 09:10:34 replicate_layout.action_replicate_layout 293:Action plugin Replicate layout started
11-20 09:10:34 replicate_layout.action_replicate_layout 327:Preparing replicator with Q10 as a reference
11-20 09:10:34 replicate_layout.replicatelayout 128:Initializing replicator object
11-20 09:10:34 replicate_layout.action_replicate_layout 331:Calculating initial spacing
11-20 09:10:34 replicate_layout.replicatelayout 193:Calculating spacing
11-20 09:10:34 replicate_layout.action_replicate_layout 335:Showing dialog
11-20 09:10:40 replicate_layout.replicatelayout 193:Calculating spacing
11-20 09:10:46 replicate_layout.replicatelayout 193:Calculating spacing
11-20 09:10:46 replicate_layout.action_replicate_layout 379:Replicating layout
11-20 09:10:46 replicate_layout.replicatelayout 985:Replicating layout
11-20 09:10:46 replicate_layout.replicatelayout 330:Preparing for replication
11-20 09:10:46 replicate_layout.replicatelayout 662:Replicating modules
11-20 09:10:46 replicate_layout.replicatelayout 807:Replicating tracks
11-20 09:10:46 replicate_layout.replicatelayout 891:Replicating zones
11-20 09:10:46 replicate_layout.replicatelayout 775:Replicating text
11-20 09:10:46 replicate_layout.action_replicate_layout 386:Replication complete
from kicad_action_plugins.
Thanks for your effort, but sadly I did not get enough info as my instrumentation logs just some basic info .
So I'd like to ask you if you can run the newest version of the plugin c0dd25d and send me the log file again as it should offer more detail. Or you can just send me whole project.
Edit: Changed commit SHA, as I've pushed additional commits
from kicad_action_plugins.
Thank you for putting in this extra instrumentation.
Running the most recent commit I get the following output:
11-25 11:00:00 replicate_layout.action_replicate_layout 295:Action plugin Replicate layout started
11-25 11:00:07 replicate_layout.action_replicate_layout 295:Action plugin Replicate layout started
11-25 11:00:07 replicate_layout.action_replicate_layout 329:Preparing replicator with Q7 as a reference
11-25 11:00:07 replicate_layout.replicatelayout 128:Initializing replicator object
11-25 11:00:07 replicate_layout.action_replicate_layout 333:Calculating initial spacing
11-25 11:00:07 replicate_layout.replicatelayout 193:Calculating spacing
11-25 11:00:07 replicate_layout.action_replicate_layout 337:Showing dialog
11-25 11:00:15 replicate_layout.replicatelayout 193:Calculating spacing
11-25 11:00:17 replicate_layout.replicatelayout 193:Calculating spacing
11-25 11:00:17 replicate_layout.action_replicate_layout 381:Replicating layout
11-25 11:00:17 replicate_layout.replicatelayout 986:Replicating layout
11-25 11:00:17 replicate_layout.replicatelayout 987:Will replicate sheets:
[u'5BEB8B38']
11-25 11:00:17 replicate_layout.replicatelayout 988:Pivot modules are:
Q6
Q7
R2
11-25 11:00:17 replicate_layout.replicatelayout 330:Preparing for replication
11-25 11:00:17 replicate_layout.replicatelayout 662:Replicating modules
11-25 11:00:17 replicate_layout.replicatelayout 676:Replicating module: Q1
11-25 11:00:17 replicate_layout.replicatelayout 676:Replicating module: Q2
11-25 11:00:17 replicate_layout.replicatelayout 676:Replicating module: Q3
11-25 11:00:17 replicate_layout.replicatelayout 676:Replicating module: Q4
11-25 11:00:17 replicate_layout.replicatelayout 676:Replicating module: R3
11-25 11:00:17 replicate_layout.replicatelayout 676:Replicating module: R4
11-25 11:00:17 replicate_layout.replicatelayout 808:Replicating tracks
11-25 11:00:17 replicate_layout.replicatelayout 892:Replicating zones
11-25 11:00:17 replicate_layout.replicatelayout 776:Replicating text
11-25 11:00:17 replicate_layout.action_replicate_layout 388:Replication complete
Please also find my project (stripped down to just show this issue) here: reproducer.zip
Thanks again!
from kicad_action_plugins.
Thanks for the report and the project. As I am currently quite busy it will be a while before I start working on this, but I will look into it
from kicad_action_plugins.
So as of today, there is a partial fix for this issue. But I've uncovered a big architectural issue regarding complex hierarchy setups regarding replication. As I have plans to completely rewrite the plugin in order to enable replication with custom layout (as per https://forum.kicad.info/t/replicate-layout-action-plugin/8539/13?u=mitjan) I will have to think whether I address this issue in full, or I stop the development here, and proceed with rewrite.
from kicad_action_plugins.
Thank you @MitjaNemec - I just tried out your changes locally, and those help me a lot in what I was trying to accomplish. This is greatly appreciated!
from kicad_action_plugins.
Thanks for the feedback.
from kicad_action_plugins.
Related Issues (20)
- Replicate layout pluign: can't find destination sheets HOT 10
- replicate layout error HOT 6
- replicated vias only show up after reopening file in 5.99_test HOT 1
- replicate layout not working 5.99_test HOT 9
- Save/restore "index out of range" HOT 3
- Replication Plugin can't handle hierarchical sheet on hierarchical sheet HOT 7
- Replicate changed layers HOT 4
- save_restore_layout can't work in kicad6.0RC1 HOT 12
- New issue with Replicate layout pluign: no destination sheets are displayed HOT 3
- I made a circle placement for 6.0
- v6 Inconsistency between schematic and board gives error HOT 1
- error in readme.md
- Fatal Error HOT 1
- Vias are only partially replicated HOT 2
- Global labels HOT 4
- Compatibility with 6.99 build
- I press ok and replication does not occur, nothing happens at all. The window does not close. HOT 1
- Traceback, KeyError: 'Property not found: Sheetfile" HOT 1
- Save/restore layout : destination hierarchy does not match source level issue HOT 13
- [bug] Save/Restore Layout - File Name Handling HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kicad_action_plugins.