Setting Zone's electrical properties - minimum width through Design Rules

Hi,

Situation: I’m importing another board from Altium to KiCad (KiCad 8). The issue I’m facing now, is that some Altium’s rules can be applied by default on planes (zones in KiCad).

Here’s a picture after import:

I have several zones with this issue and if I update one of them, KiCad’s default values take over and the zone’s connection is broken:

In my opinion, I could apply one rule that will be applied to all zones, like in Altium.
I tried the following:

(rule width_zone_to_pads
	(condition "A.Type == 'Zone'")
	(constraint track_width (min 0.1mm)))

without success…

I could change the attribute on every zones, but it is a waste of time (as I got several, like said previously):

As I saw in the PCB file, this attribute is called min_thickness:

        (zone
                (net 1)
                (net_name "+3V3")
                (layer "B.Cu")
                (uuid "removed")
                (hatch edge 0.5)
                (priority 81)
                (connect_pads yes
                        (clearance 0.5)
                )
                (min_thickness 0.25)
                (filled_areas_thickness no)
                (...

I’m already messing around a lot with ‘grep’ & ‘sed’ commands, but I’d prefer to use KiCad’s tools, as much as possible.

Is there another way to reach this goal?

Best regards!

  • enable properties panel on left side
  • selection filter: enable “Only zones”
  • CTRL+A to select all zones
  • now change value for minimum width in properties panel
  • ENTER to commit the changed value, LMB-click to deselect all zones, then recalculate all zones
1 Like

Thanks a lot for the quick answer!

Though, I’m wondering, is it a choice to not have made it possible through design rules?

Just guessing, but track_width is probably the wrong setting for zones. Not sure if it’s possible, though.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.