-
Notifications
You must be signed in to change notification settings - Fork 227
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
[feature] How to short multiple pins on one connector? #48
Comments
There is primitive functionality to attach two pins of the same connector. Please see the end of this modified example: connectors:
X1:
type: D-Sub
subtype: female
pinout: [DCD, RX, TX, DTR, GND, DSR, RTS, CTS, RI]
X2:
type: Molex KK 254
subtype: female
pinout: [GND, RX, TX]
cables:
W1:
gauge: 0.25 mm2
length: 0.2
color_code: DIN
wirecount: 3
shield: true
connections:
-
- X1: [5,2,3]
- W1: [1,2,3]
- X2: [1,3,2]
-
- X1: 5
- W1: s
- # short pins 6,7,8 together (specifically: short pin 6 to 7 (first column), and pin 7 to 8 (second column)
- X1: [6,7]
- X1: [7,8] See the output below. It's not pretty, so I am open for suggestions on how to best visualize this. I guess there is also a difference between running a wire between two pins, and connectors that allow some other sort of shorting internally. |
maybe it would be necessary to specify a starting and ending angle and a width, so that the shortage can be shorter? edit: a color setting is missing if i'm not mistaking |
Thanks for quick reply,
Short term, it would be nice to include this option in examles so everibody
know about it.
Long term, consider shorter length of connection line.
Regards,
Aleksandar
…On Wed, Jul 1, 2020, 10:49 AM Sven ***@***.***> wrote:
maybe it would be necessary to specify a starting and ending angle and a
width, so that the shortage can be shorter?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#48 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL75PNRDKR3EXHXSVGP2V63RZL2C5ANCNFSM4OMN26HQ>
.
|
Yes, I do agree the current implementation is ugly and missing information... any ideas and/or pull requests on this topic are welcome! |
my python is too weak to help i think.
|
I need small help, I'm using your dev branch because of new features that are still not in master. I see that pins shorting feature is moved to version 0.3. Until than, dev branch complains with the following "Exception: X1 is not in cables" when I define that connector X1 must have shorted pins 3 and 10: What is a new syntax for this shorting in dev branch? |
Sorry for the super late reply!
PS: Long explanation: |
Hi, I have a small issue with those loops. EDIT: Just saw that this is already reported in #286 |
Yes, I think loops and internal shorts is something we should tackle soon, since a lot of users request this and complain about the current implementation... which is understandable :) |
@azivkovic3l, @quotschmacher, @dbozec, and others with similar use cases - I added today a suggested work-around for over-sized loops in #286 (comment) Update: This work-around is no longer needed with v0.4.1 that includes PR #381. |
Sorry for late reply @kvid : |
@dbozec wrote:
Please also try the same (complex) YAML input with the currently latest v0.4.1 that hopefully should improve the output in such use cases (without needing my tweak suggestion). |
Great, it's a lot better, thank you ! |
No description provided.
The text was updated successfully, but these errors were encountered: