pcb

gcode exports only one line in each drill.gcode file

Bug #1419543 reported by Ferenc Mayer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pcb
Incomplete
High
Unassigned

Bug Description

I made a double side simple test pcb file using 2 top lines 2 bottom lines and connect them by 2+2=4 vias.
If I use g-code export the drill files created well but only added 1 drill hole parameter to each drill.gcode file.

In the pcb file contains 4 Vias:
...
Via[1600.00mil 1640.00mil 36.00mil 20.00mil 0.0000 25.00mil "" ""]
Via[1600.00mil 2010.00mil 36.00mil 20.00mil 0.0000 20.00mil "" ""]
Via[2320.00mil 1640.00mil 36.00mil 20.00mil 0.0000 25.00mil "" ""]
Via[2320.00mil 2010.00mil 36.00mil 20.00mil 0.0000 20.00mil "" ""]
...

After export files created:

test-0.5080.drill.gcode
(Created by G-code exporter)
(Sun Feb 8 22:39:32 2015)
(Units: mm)
(Board size: 152.40 x 127.00 mm)
(Drill file: 1 drills)
(Drill diameter: 0.508000 mm)
#100=2.000000 (safe Z)
#104=-2.000000 (drill depth)
(---------------------------------)
G17 G21 G90 G64 P0.003 M3 S3000 M7 F50.000000
G0 Z#100
G81 X111.760000 Y75.946000 Z#104 R#100 #ONLY THIS ONE LINE IS ADDED
M5 M9 M2
(end, total distance 0.00mm = 0.00in)

test-0.6350.drill.gcode
(Created by G-code exporter)
(Sun Feb 8 22:39:32 2015)
(Units: mm)
(Board size: 152.40 x 127.00 mm)
(Drill file: 1 drills)
(Drill diameter: 0.635000 mm)
#100=2.000000 (safe Z)
#104=-2.000000 (drill depth)
(---------------------------------)
G17 G21 G90 G64 P0.003 M3 S3000 M7 F50.000000
G0 Z#100
G81 X111.760000 Y85.344000 Z#104 R#100 #ONLY THIS ONE LINE IS ADDED
M5 M9 M2
(end, total distance 0.00mm = 0.00in)

the end of the test-bottom.gcode
(predrilling)
F#102
G81 X0.000000 Y0.000000 Z#101 R#100 #X AND Y VALUES = 0!
G81 X0.000000 Y0.000000 Z#101 R#100 #X AND Y VALUES = 0!
G81 X0.000000 Y0.000000 Z#101 R#100 #X AND Y VALUES = 0!
G81 X111.760000 Y85.344000 Z#101 R#100
(4 predrills)
(milling distance 45.39mm = 1.79in)
M5 M9 M2

Thank You

Tags: gcode-export
affects: geda → pcb
tags: added: gcode-export
Changed in pcb:
status: New → Confirmed
importance: Undecided → High
milestone: none → next-bug-release
Revision history for this message
Bert Timmerman (bert-timmerman) wrote :

I get two drill files for 0.508 mm and 0.635 mm drills with two lines each, with different X,Y pairs, only the Y-coordinates differ.

Revision history for this message
Bert Timmerman (bert-timmerman) wrote :
Revision history for this message
Bert Timmerman (bert-timmerman) wrote :
Traumflug (mah-jump-ing)
Changed in geda-project:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Ferenc Mayer (mayerf) wrote :

The above failure occur only if PCB runing on Oracle Virtualbox (ubuntu 14.01).
Without Virtualbox export ok!

Changed in pcb:
milestone: next-bug-release → future-bug-release
Changed in pcb:
milestone: pcb-4.1.1 → pcb-4.2.0
Changed in pcb:
milestone: pcb-4.2.0 → future-bug-fix-release
Revision history for this message
Chad Parker (parker-charles) wrote :

I can't reproduce this. If the issue persists, and requires further attention, please file a new bug report.

Changed in pcb:
status: Confirmed → Incomplete
milestone: future-bug-fix-release → none
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.