Coder Social home page Coder Social logo

Comments (6)

MitjaNemec avatar MitjaNemec commented on August 15, 2024

Can you be more specific, which pins are you trying to swap. Also log for first and second swap would be nice to have.

from kicad_action_plugins.

robert128 avatar robert128 commented on August 15, 2024

Here is what the symbol looks like after some swaps:

swap_pins_image

As you can see, those labels aren't on a net. The nets they would have come from are clear on the left side of the symbol, all short nets with a label. Looks like I can swap a pair of pins over and over, but often if I try to swap one of those swapped pins with another pin, it fails.

Here is the swap file that I saved when I had an error message trying to swap:
swap_pins.log

After a day of swapping without trouble, I finally checked the schematic against the layout, and found that the schematic often wasn't getting the changes in the layout. I had to do many of the changes by hand.

I'm sorry I haven't been able to identify any clear patterns for what's happening. I thought it was all related to the labeling issue I highlighted above, but now I'm not so sure.

Here's a new log that includes the swaps that weren't reflected in the schematic.
swap_pins.log

from kicad_action_plugins.

MitjaNemec avatar MitjaNemec commented on August 15, 2024

Firstly, I apologize for the data loss.

Secondly, looking at the logs, you are doing some serious testing, and I really appreciate it. I've written the plugin and I've tested it on real projects that I am working on, but my designs are much simpler.

Thirdly, I've located the bug which caused a crash mentioned in the first post and I've pushed the fix.

Regarding the labeling issue, from the your figure did you have the labels connected directly to the pins before swapping? If so, is the main problem the orientation of the labels?

And finally for the data loss, I have one suspect, but as it is late and my head is not working anymore, I am going to deal with this tomorrow.

from kicad_action_plugins.

robert128 avatar robert128 commented on August 15, 2024

Don't worry about the data loss, it's no big deal. I just wanted to give you an accurate account of what is happening.

I'm not in a rush, I'm really thankful that you volunteer your time to make Kicad a more useful tool. I'll try the new update to see if I learn anything else.

from kicad_action_plugins.

robert128 avatar robert128 commented on August 15, 2024

Here's another exception and log:

swap_pins

swap_pins.log

from kicad_action_plugins.

MitjaNemec avatar MitjaNemec commented on August 15, 2024

Man you are really testing it.

This looks like a new issue. If you can recreate it I'd like you to update the plugin as I should have a bit more instrumentation available.

from kicad_action_plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.