Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SKiDL BUG]Paralel wires get overlayed #144

Open
legalmachinery opened this issue Dec 19, 2021 · 2 comments
Open

[SKiDL BUG]Paralel wires get overlayed #144

legalmachinery opened this issue Dec 19, 2021 · 2 comments
Labels

Comments

@legalmachinery
Copy link

Hi, paralel wires in my scheme appear to be overlayed as per the attached scheme. Is there any way to get them drawn separately please. Thank you.

OS Debian 10, Python 3.7, skidl latest.
pico_tiny

@devbisme
Copy link
Owner

This is to be expected since the routing done by generate_schematic is very rudimentary. I'm working through @shanemmattner's code and extending it (in the gensch branch), but I don't expect to have a fix for problems like this in the near future. All you can do right now is manually rearrange the wiring in EESCHEMA.

@s39674
Copy link

s39674 commented Feb 27, 2022

@legalmachinery can you please explain how did you even get to this point? (installation steps, how did you get that ic to show up) i can't even get to outputting any schematic. All i get is this error:

Traceback (most recent call last):
  File "/home/serveruser/Documents/skidl-gensch/skidl/skidlbaseobj.py", line 43, in __getattr__
    return self.__getattribute__("fields")[key]
KeyError: 'x'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/serveruser/Documents/skidl-gensch/skidlTestTree.py", line 57, in <module>
    generate_schematic()
  File "/home/serveruser/Documents/skidl-gensch/skidl/circuit.py", line 965, in generate_schematic
    gen_func(**kwargs)
  File "/home/serveruser/Documents/skidl-gensch/skidl/tools/kicad/gen_schematic.py", line 1150, in gen_schematic
    preprocess_parts_and_nets(circuit)
  File "/home/serveruser/Documents/skidl-gensch/skidl/tools/kicad/gen_schematic.py", line 160, in preprocess_parts_and_nets
    pin.pt = Point(pin.x, pin.y)
  File "/home/serveruser/Documents/skidl-gensch/skidl/skidlbaseobj.py", line 45, in __getattr__
    raise AttributeError
AttributeError

Is it trying to access an attribute named: "x" in the pin class? i search through that class and i can't seem to find any variable with that name.

should i put this on a separate bug report? thanks!

OS Debian , Python 3.9, skidl-gensch latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants