pcbnew - recent 3D viewer improvements

Bug #1235367 reported by madworm
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Unassigned

Bug Description

First the good: I like it a lot! Round board edges a eye-soothing.

There is one issue though. Maybe it is specific to my machine (Intel mobile 945GM).

When 'display copper thickness' is not enabled and the board is rotated to any angle other than 90°, the graphics get messed up. It seems the viewer can't decide whether to draw the copper plane or the pcb material.

---

Application: Pcbnew
Version: (2013-10-04 BZR 4365)-product
Build: wxWidgets 2.8.12 (no debug,Unicode,compiler with C++ ABI 1002,GCC 4.7.2,STL containers,compatible with 2.6)
Platform: Linux 3.7.10-1.16-desktop x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.54.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=OFF
         KICAD_SCRIPTING_MODULES=OFF
         KICAD_SCRIPTING_WXPYTHON=OFF

Revision history for this message
madworm (madworm-de-inkscape) wrote :
Revision history for this message
madworm (madworm-de-inkscape) wrote :

As the problem is gone when the copper thickness is displayed, I suspect the error might go away if there is a minute vertical offset between the copper and the board - i.e. letting the copper plane hover above the board ever so slightly.

Revision history for this message
madworm (madworm-de-inkscape) wrote :

This patch fixes the graphics error for me.

The board substrate thickness is scaled to 99% and centred between the front / back layers.

As far as I have tested, it works with or without 'display copper thickness'. Going to more than 2 copper layers works too.

Revision history for this message
madworm (madworm-de-inkscape) wrote :

The graphics issue doesn't occur on my main machine, but it's got a decent graphics card with openGL support.

On the bright side, the patch doesn't do any harm on that machine.

Looking at the image again, it might be some sort of numerical noise that 'makes it hard' to decide which colour to use (copper or substrate).

Revision history for this message
jean-pierre charras (jp-charras) wrote :

Some artifacts should be fixed, now.

Revision history for this message
madworm (madworm-de-inkscape) wrote :

A partial victory ;-)

The realistic mode is great!

The artefacts are gone on the back-layer, but still present on the front-layer.

Now the artefacts are created by a vertical overlap of the silkscreen and the mask layer.

Revision history for this message
madworm (madworm-de-inkscape) wrote :

The mask layer offset was wrong.

Revision history for this message
Nick Østergaard (nickoe) wrote :

madworm, is the silkscreen versus mask layer artifact still appearing for you, else this should be marked as fix committed IMO.

Revision history for this message
madworm (madworm-de-inkscape) wrote :

Looks very good right now (4803).

Bug closed.

Changed in kicad:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.