Changes in KiCad nightly coordinates and plot

55 views
Skip to first unread message

Salvador E. Tropea

unread,
Jun 2, 2023, 10:00:01 AM6/2/23
to dev...@kicad.org
Hi All!

The last nightly run of my tests failed in a lot of places. According to
the logs it was 7.99.0-unknown-e536fa966c~172~ubuntu22.10.1

Not only the plots changed, but also the coordinates, as an example: I
export files in boardview using info from the PCB footprints from the
Python API and I'm getting tons of small rounding errors, like this:

-U25 3719 635 3847 521 912 1
+U25 3719 636 3847 521 912 1

Another example, the GenCAD export:

@@ -147,8 +147,8 @@
 LAYER TOP
 ROTATION 90
 SHAPE "C1" 0 0
-TEXT 0 0.046063 0.0393701 90 0 SILKSCREEN_TOP "C1" 0 0 0.0837552 0.0541339
-TEXT 0 -0.046063 0.0393701 90 0 SILKSCREEN_TOP "C" 0 0 0.0462598 0.0541339
+TEXT 0 0.046063 0.0393701 90 0 SILKSCREEN_TOP "C1" 0 0 0.0867079 0.0667913
+TEXT 0 -0.046063 0.0393701 90 0 SILKSCREEN_TOP "C" 0 0 0.0492126 0.0667913
 SHEET "RefDes: C1, Value: C"

 COMPONENT "C2"

This is quite visible in the plots, I'm attaching a diff between the old
and the new image. Red means this pixel is different (more than 5% of
color difference).

Is this a glitch? Made on purpose?

Regards, SET
diff.png

Jon Evans

unread,
Jun 2, 2023, 10:26:21 AM6/2/23
to dev...@kicad.org
I'm guessing this is https://gitlab.com/kicad/code/kicad/-/commit/c31b5eb7d8b89cc3e7630fa0550e3a911b1204a5 which was an intentional change.  The old numbers were more rounding errors than the new ones.

--
You received this message because you are subscribed to the Google Groups "KiCad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devlist+u...@kicad.org.
To view this discussion on the web visit https://groups.google.com/a/kicad.org/d/msgid/devlist/701d8e66-1e85-6d5a-3ee3-c085af53c602%40inti.gob.ar.

Salvador E. Tropea

unread,
Jun 2, 2023, 12:58:22 PM6/2/23
to dev...@kicad.org
Reply all
Reply to author
Forward
0 new messages