Slight misalignment in schematic wiring

For general questions regarding the software and for all questions that do not fit in any of the threads above.
Post Reply
Message
Author
mbelectronicdesign
Posts: 34
Joined: 19 Oct 2014, 12:56

Slight misalignment in schematic wiring

#1 Post by mbelectronicdesign » 08 Jul 2024, 19:36

I work in mm and set all my grid sizes accordingly - typically to 0.5 mm. Recently I used a library component for a BC549C in one of my schematics and found that the wiring to it would have kinks in it if I have snap to grid on. I saved the BC549C into my own library and edited the schematic pad positions to be aligned with mm but the problem seems to still persist. I think I'm missing something easy and obvious; I've been working with Diptrace for maybe 10 years and I'd like to think I know most of the ways to get things done but this one has me stuck.

Alex
Technical Support
Posts: 4078
Joined: 14 Jun 2010, 10:43

Re: Slight misalignment in schematic wiring

#2 Post by Alex » 11 Oct 2024, 04:06

Standard components were created on grid 0.1" (2.54 mm) or 0.05" (1.27 mm). If components with different pin spacing meet on a schematic (that is typically happen if they were created with different grids) then slight misalignment in wiring is possible.

goldfishcow
Posts: 1
Joined: 25 Jun 2025, 08:06

Re: Slight misalignment in schematic wiring

#3 Post by goldfishcow » 25 Jun 2025, 08:07

mbelectronicdesign wrote: 08 Jul 2024, 19:36 I work in mm and set all my grid sizes accordingly - typically to 0.5 mm. Recently I used a library component for a BC549C in one of my schematics and found that the wiring to it would have kinks in it if I have snap to grid on. I saved the BC549C into my own library and edited the schematic pad positions to be aligned with mm but the problem seems to still persist. I think I'm missing something easy and obvious; I've been working with Diptrace for maybe 10 years and I'd like to think I know most of the ways to get things done but this one has me stuck.
The issue is likely due to the original component being created on an imperial (mils) grid. Even after editing, pin origins or bounding box positions might still not align perfectly with your mm grid. To fix it:
Open the component in the Component Editor.
Set grid to 0.5 mm, enable snap to grid, and verify/move all pins and body elements to align exactly.
Save and re-place the updated part in your schematic (old placed components won’t auto-update fully).
This should eliminate the wiring kinks when using snap to grid.

Post Reply