[V5.99] Shifting Power Port Text Offset

Power port text automatically shifts when the port is placed, resulting in wasted SCH sheet space.

Using the default GND port, the text initially appears to be located in an efficient manner, until the part is placed, and then the text always shifts down to the next lower 0.1" increment.

The port in the library editor looks to be well designed, with the text shown at the desired position.
Library:
image

After placement:
image

Changing the grid setting does not seem to change the result.

Is there a procedure or setting that would avoid this?

See attached video:
2021-08-10 12-00-23.mkv (3.0 MB)

Thanks,

Chris
Application: KiCad Schematic Editor (64-bit)

Version: (5.99.0-11638-g5bf0b99813), release build

Libraries:
wxWidgets 3.1.5
libcurl/7.74.0-DEV Schannel zlib/1.2.11

Platform: Windows 10 (build 19042), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
Date: Aug 4 2021 20:59:35
wxWidgets: 3.1.5 (wchar_t,STL containers)
Boost: 1.75.0
OCC: 7.5.0
Curl: 7.74.0-DEV
ngspice: 34
Compiler: Visual C++ 1928 without C++ ABI

Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON

I don’t know if this will solve your issue, but try playing with the options in Preferences -> Schematic Editor -> Editing Options -> Symbol Field Automatic Placement.

Specifically, try unchecking “always align autoplaced fields to the 50mil grid”

Unchecking “always align autoplaced fields to the 50mil grid” results in a different outcome, but not what one would expect.

The net text is now closer, but not like how the library component is created. The library component has the text as center/center justification and at -150mil (according to the library text diaglog).

Once the power port is placed, the text seems to take on a strange offset, and placed at the next increment of -0.1", no matter what the SCH grid setting is.

Notice how in this image the text is closer, but not at the distance as specified in the default power library.

Indeed, the Y-position of the text looks to bemangled. I’m sensing a metric/English kerfuffle.


Any ideas?

-Chris

@gkeeth - My apologies! I skipped ahead.

Yes, deselecting:
Preferences -> Schematic Editor -> Editing Options -> Automatically place symbol fields
seems to solve this issue.

Thanks for helping me out, and bringing this new user up to speed.

Have a good day!

-Chris

1 Like

I always delete the text “GND”; it is redundant.

That might not always be the case. A typical design of mine as at least 10 “gnd” so a unique label is key

Once you’re obligated to take the Red Pill (like with high voltage or galvanically isolated designs), then you come to realize that like the spoon, there is No Ground.

Creating and controlling ground currents becomes an enlightening (hehe) experience, and is worth considering for every design.

Hence, the labels compose as manifest essential.

Bingo :slight_smile:
My EMI filters alone have four “gnd”

  1. return of supply
  2. PE to uniquely identify it
  3. EMI gnd
  4. 2nd EMI gnd to break HF circulating currents

That’s before I have even gotten to my 3level inverter :slight_smile: I don’t think any have ever been called GND because none are :slight_smile: gnd is a crutch

By the way, I’ve created a python script that generates the necessary library code for constructing a series of power and ground ports, given a list of names (like +3V3, 2V5, 5V, 10V, 12V, GND, NotGND, RedPillGND, etc).

You can then paste the code into your own power port library.

This allows me to match our current SCH designs, and their style, with KiCad.

Let me know if you’re a pythoner, and are interested.

Again, the text is redundant. The symbol itself should convey the intent of the return path.

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