Author Topic: Different widths in track  (Read 11445 times)

0 Members and 1 Guest are viewing this topic.

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 1024
  • Country: ch
    • LinkedIn Profile
Different widths in track
« on: February 28, 2025, 01:09:28 pm »
Good afternoon

Doing a simple PCB with 4 Triacs...where the middle pin number 2 is the main line input...so I thought I could easily lay a track between those pins and change the width on the fly:



But as soon the track is connected to the next Triac, the whole track width is switched back to the starting width...and there is just one track now...
Any trick how to do that in KiCAD 9.0?

I remember many years ago that this could been done in OrCAD PCB easily...

 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 12494
  • Country: us
    • Personal site
Re: Different widths in track
« Reply #1 on: February 28, 2025, 04:21:27 pm »
Do two narrow stub segments, copy one of them and change the width of that segment in the properties, move and resize it to touch the other two.

I think the issue here is that KiCad tries to combine aligned segments into one while routing. But if the width is different after a manual change, it won't combine them. I think there may be a setting for that too, so disabling it may help do it on the fly too.

I usually route as is and then just adjust individual segments, but in this case if it optimizes them all into one, since they are linear, it will not work. Temporarily routing them crooked to make sure segments stay separate will work too.
« Last Edit: February 28, 2025, 04:24:11 pm by ataradov »
Alex
 

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 1024
  • Country: ch
    • LinkedIn Profile
Re: Different widths in track
« Reply #2 on: February 28, 2025, 04:34:07 pm »
I assume that the track in my case is straight...so it is only one segment.

But good idea for a quick hack (o;

Maybe I'll sign up to the KiCAD forum and ask there if there was a solution..don't believe it can only be done that complicated as OrCAD PCB386 (yeah, I'm old ;o) could do that decades ago (o;

 

Offline golden_labels

  • Super Contributor
  • ***
  • Posts: 2534
  • Country: pl
Re: Different widths in track
« Reply #3 on: February 28, 2025, 07:49:22 pm »
Ah, the never ending tug-o-war between freedom and convenience, episode № 68,581,483? :D

I can’t reproduce the situation in KiCad 9.0.0 or 8.0.8. I can draw one segment, then another, change its width, then finish with another narrower one starting at the other component. They remain separate.

The context menu for traces has a “Break track” action. See if you can draw a single trace and then use this twice to break it into three separate segments.

An alternative option could be drawing a thinner trace and using a fill zone to provide copper area. This will save you headache with clearances. The downside is that fill zones need to be done in the end, as moving footprints is cumbersome with them present.
Why 📎 | We live in times when half of people have IQ below 100.
 

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 1024
  • Country: ch
    • LinkedIn Profile
Re: Different widths in track
« Reply #4 on: February 28, 2025, 07:54:59 pm »
Just did this screen capture and posted it in the KiCAD forum....gonna test it on Linux tomorrow as well...this is on macOS 15.3.1.

This capture shows how I did the trace two times exactly the same with different outcome:

https://youtu.be/oZfEI_KtMi0

 

Offline golden_labels

  • Super Contributor
  • ***
  • Posts: 2534
  • Country: pl
Re: Different widths in track
« Reply #5 on: February 28, 2025, 08:17:58 pm »
Ok, you’re not crazy. I can reproduce this with 9.0.0 if I change track width on the fly.

No idea, how to avoid the situation. It seems disabling snapping (hold Shift while finishing a track) prevents this from happening, but of course we want snapping.
Why 📎 | We live in times when half of people have IQ below 100.
 

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 1024
  • Country: ch
    • LinkedIn Profile
Re: Different widths in track
« Reply #6 on: March 01, 2025, 05:31:20 am »
Seems a ticket was created just a week ago:

https://gitlab.com/kicad/code/kicad/-/issues/20031

 

Online PlainName

  • Super Contributor
  • ***
  • Posts: 8879
  • Country: 00
Re: Different widths in track
« Reply #7 on: March 03, 2025, 04:06:44 pm »
Can you not use neckdown for this?

the width will be taken from the netclass of the net being routed (or from any custom design rules that specify a different width for the net, such as inside a neckdown area)
 

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 1024
  • Country: ch
    • LinkedIn Profile
Re: Different widths in track
« Reply #8 on: March 03, 2025, 04:13:30 pm »
Hmm...never heard of neckdown before.....and don't exactly know what it is (o;

Also what puzzles me is the button right to the track width menu and what it does, nothing can be changed there:

 

Online PlainName

  • Super Contributor
  • ***
  • Posts: 8879
  • Country: 00
Re: Different widths in track
« Reply #9 on: March 03, 2025, 04:28:06 pm »
Don't know about Kicad but in other tools it is where a track automatically reduces to, for instance, fit between pads. The original width would be too wide to go through and transgress some clearance rule, so it is reduced where necessary to ensure the rule remains valid.

What you're doing seems to be the manual version of that, solely to keep away from the neighbouring pads.

Only google result that I can find is to:

https://forum.kicad.info/t/automatic-neckdown/46458/2

where jmk says: "You will find Custom Rules in File > Board Setup > Design Rules. Use the “Syntax Help” to help you create a Custom Rule for Neckdowns." Along with a link to:

https://docs.kicad.org/7.0/en/pcbnew/pcbnew.html#custom_design_rules

 

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 1024
  • Country: ch
    • LinkedIn Profile
Re: Different widths in track
« Reply #10 on: March 03, 2025, 04:46:09 pm »
Well someone from KiCAD acknowledged that this is a bug introduced in version 9.....so hopefully a new release will be published.

See the youtube link above....

But honestly being a while I did PCB designs and used KiCAD....just started again with it and pumped up my electronic lab as I was just being laid off by my employer after almost 10 years...and with almost 58 chances are almost to zero being employed again....

« Last Edit: March 03, 2025, 05:00:50 pm by davorin »
 
The following users thanked this post: Warhawk

Offline Warhawk

  • Frequent Contributor
  • **
  • Posts: 856
  • Country: 00
    • Personal resume
Re: Different widths in track
« Reply #11 on: March 03, 2025, 07:19:51 pm »
Well someone from KiCAD acknowledged that this is a bug introduced in version 9.....so hopefully a new release will be published.

See the youtube link above....

But honestly being a while I did PCB designs and used KiCAD....just started again with it and pumped up my electronic lab as I was just being laid off by my employer after almost 10 years...and with almost 58 chances are almost to zero being employed again....

davorin, I am sorry to hear that. I cross my fingers for you finding luck somewhere else.

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 1024
  • Country: ch
    • LinkedIn Profile
Re: Different widths in track
« Reply #12 on: March 03, 2025, 07:35:57 pm »
Thanks (o;

Good thing is that I have a lot of free time to finally bring my loads of ideas to live...

Like: Take an old vacuum tube radio...pull out a specific tube, plug in my replacement tube...and you got an internet radio...no changes to the radio needed (o;

Next projects are to turn the Ninja 8-in-1 oven into a SMT reflow oven...and revive my old pick-n-place machine for OpenPNP (o;

 

Offline JohanH

  • Frequent Contributor
  • **
  • Posts: 837
  • Country: fi
Re: Different widths in track
« Reply #13 on: March 03, 2025, 08:02:29 pm »
I noticed this as well in version 9. You can work around it. Right click and lock a track, then it's locked in place (and size) and you can add and change other segments. Then you just have to unlock it if you have to move it again.
 

Offline JMK

  • Contributor
  • Posts: 24
  • Country: au
Re: Different widths in track
« Reply #14 on: March 09, 2025, 07:06:19 am »
To change track widths on the fly:

Go to File > Board Setup > Design Rules > Pre-defined Sizes and enter all the track widths you require for this project.

Then, when placing a track, use hotkeys "W" and "Shift + W" to scroll through the list of track widths previously created in the Setup. Each click of the hotkey will increase or decrease the currently being drawn track segment to either the previous or next width in the Pre-defined Track Width list.
 
The following users thanked this post: Anthem

Offline davorinTopic starter

  • Supporter
  • ****
  • Posts: 1024
  • Country: ch
    • LinkedIn Profile
Re: Different widths in track
« Reply #15 on: March 09, 2025, 07:08:23 am »
Well that I know of (o;

The problem lies with KiCAD 9.0.0 as acknowledged by KiCAD themselves.
 

Offline asanx

  • Newbie
  • Posts: 2
  • Country: fi
Re: Different widths in track
« Reply #16 on: March 26, 2025, 08:40:27 am »
Hey! when joining these different sized traces press SHIFT + left mouse click.
It worked for me  :)
 

Offline golden_labels

  • Super Contributor
  • ***
  • Posts: 2534
  • Country: pl
Re: Different widths in track
« Reply #17 on: March 26, 2025, 10:39:54 am »
Hey! when joining these different sized traces press SHIFT + left mouse click.
It worked for me  :)
Yes, but as mentioned, it’s only useful if one doesn’t want to have snapping enabled. Shift disables snapping.
Why 📎 | We live in times when half of people have IQ below 100.
 

Offline asanx

  • Newbie
  • Posts: 2
  • Country: fi
Re: Different widths in track
« Reply #18 on: March 26, 2025, 11:41:50 am »
I press shift after it has snapped so idk if it matters that much, atleast i can do my work now :D
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->