Via sizes won't stay exact

Bug #1394540 reported by TomCC
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
High
Tomasz Wlostowski

Bug Description

Hi!

Following issue:

1. Set DRC rules and "default" netclass in pcbnew as min track width 0,2 mm, min. via size 0,6 mm, min. drill size 0,3 mm.
2. Use Push and shove routing.
3. Start creating a track, using W to change track width to the specified minimums.
4. Again press W and note that instead of 0,6 and 0,3 the sizes are shown as 0,59999(or 8) and 0,299999.
5. Create a via and end the track.
6. Use DRC

DRC reports the created via as undersized.

Currently I'm bypassing this bug with Search and replace .kicad_pcb file editing.

Application: kicad
Version: (2014-10-27 BZR 5228)-product Release build
wxWidgets: Version 3.0.0 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.8.2,wx containers,compatible with 2.8)
Platform: Windows NT 6.2 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.54.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

If this is already fixed in newer versions, I apologise, I couldn't find a bug reporting it.

Tags: cern pns
Revision history for this message
TomCC (daremion) wrote :
Revision history for this message
Tomasz Wlostowski (twlostow) wrote :

Problem caused by using double<>int conversion, sometimes loosing accuracy. Will fix in the upcoming P&S release.

Changed in kicad:
assignee: nobody → Tomasz Wlostowski (twlostow)
Changed in kicad:
importance: Undecided → High
status: New → Triaged
tags: added: cern pns
Revision history for this message
Maciej Suminski (orsonmmz) wrote :

It has been fixed (switched to integer instead of double) when the Differential Pair router was merged (revision 5468).

Changed in kicad:
status: Triaged → Fix Committed
Revision history for this message
TomCC (daremion) wrote :

Thank you! just confirmed that the bug no longer occurs (happened to have a build from the next day after 5468 installed)

Jon Neal (reportingsjr)
Changed in kicad:
status: Fix Committed → 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.