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

[query] Shielding 2 separate wires #411

Open
akikinho opened this issue Jul 17, 2024 · 3 comments
Open

[query] Shielding 2 separate wires #411

akikinho opened this issue Jul 17, 2024 · 3 comments

Comments

@akikinho
Copy link

akikinho commented Jul 17, 2024

Hello,
I would like to know how to shield 2 separate wires connected to 2 pins into a cable? I attempted it by using tweak, but I am not so sure.

shield

Thank you and Best Regards,

@kvid
Copy link
Collaborator

kvid commented Jul 17, 2024

This seems to be a duplicate of #330. If you agree, please join that discussion, and close this issue as not planned. If not, then explain here what makes this issue different.

What is shown in the image you included above?

@akikinho
Copy link
Author

akikinho commented Jul 17, 2024

Hello @kvid, here is the yaml input file. The shield has to be around 10A and 11A

connectors:
    CX:
        pincount: 23
        type: Plug Housing
        subtype: female
        pins: [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]
        hide_disconnected_pins: true
    
    S: &splice  # generic autogenerated splice
        style: simple
        type: splice
        show_name: true
        
cables:
    WIRE SPLICE 10_A:
        gauge: 1 
        #length: 0.2
        type: TXL
        # color_code: IEC
        wirecount: 3
        show_equiv: true # auto-calculate AWG equivalent
        colors: [GN,GN,GN]
        shield: true # add cable shielding
        category: bundle
        wirelabels: [10B,10H,10A]
        
    WIRE SPLICE 11_A:
        gauge: 1 
        #length: 0.2
        type: TXL
        # color_code: IEC
        wirecount: 3
        show_equiv: true # auto-calculate AWG equivalent
        colors: [YE,YE,YE]
        shield: true # add cable shielding
        category: bundle
        wirelabels: [11B,11H,11A]
        
connections:
-
    - CX: [5]
    - WIRE SPLICE 10_A: [3]   #10A
    - S.SPLICE 10_A
-
    - CX: [6]
    - WIRE SPLICE 11_A: [3]   #11A
    - S.SPLICE 11_A

@kvid
Copy link
Collaborator

kvid commented Jul 19, 2024

@akikinho wrote:

Hello @kvid, here is the yaml input file. The shield has to be around 10A and 11A
[...]

The YAML input you provided above is perfectly valid for v0.4.1 and produces a harnes with two shielded bundles of 3 wires each where the shield normally is interpreted to contain all 3 wires, but it's possible to add notes that explain such details differently.

If you expect a way to specify which wire(s) are shielded individually or together with some subset of other wire(s), and visualize this somehow, then your request is a duplicate of #330, and my recommendation above still holds. If this is not what you expect, then you need to describe in detail the differences between your expected output and the output using the currently latest version. A sketch where you hand draw on top of the generated output might be useful.

PS: I still don't understand what is shown in the image you included in the original message above?

PPS: A few possible YAML simplifications:

  • Your CX.pins attribute is redundant because the default value is [1-23] due to your CX.pincount: 23
  • Your colors: [GN,GN,GN] and colors: [YE,YE,YE] attributes can be simplified to colors: [GN] and colors: [YE] respectively and they will each be triplicated due to your wirecount: 3 in both bundles
  • Update: As an alternative to the latter point above, you can keep the colors attributes unchanged and remove the wirecount attributes because they will then be computed from the number of colors.

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

No branches or pull requests

2 participants