pcb

GCode generator - drill file is mirrored

Bug #1390452 reported by VaclavPe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pcb
Invalid
Undecided
Unassigned

Bug Description

I created following test PCB file and generated GCode. drill.gcode file is mirrored - view is from the bottom, not from the top.

Tags: gcode-export
Revision history for this message
VaclavPe (vaclavpe) wrote :
Revision history for this message
Peter Clifton (pcjc2) wrote :

Attached test PCB is same as on Bug #1390450, no drill.code file is present in the zip. Is this the wrong test-case?

Changed in pcb:
status: New → Incomplete
Revision history for this message
VaclavPe (vaclavpe) wrote :

I do not think so. I could cover more bugs with single test case. I see GCode_test_bottom-0.9000.drill.gcode inside the attached archive.

The point is that drilling is done from the bottom. As you wrote in mailing list, probably most people used BOTTOM layer for tracks and TOP layer for components in through-hole years. Mee too. Now I mainly use SMT components. They are still on TOP side - and therefore tracks are on TOP side as well.

My idea was to create two files - topdrill and bottomdrill. And user can choose which one is more suitable for him/her.

tags: added: gcode-export
Traumflug (mah-jump-ing)
Changed in geda-project:
importance: Undecided → Medium
Revision history for this message
Bert Timmerman (bert-timmerman) wrote :

Hi VaclavPe,

I see the essential part of this report boils down as requesting to have both top and bottom drill files generated --> feature request.

Kind regards,

Bert Timmerman.

Changed in pcb:
status: Incomplete → Triaged
importance: Undecided → Medium
milestone: none → next-feature-release
Traumflug (mah-jump-ing)
Changed in geda-project:
importance: Medium → Wishlist
status: New → Triaged
Changed in pcb:
importance: Medium → High
Changed in pcb:
milestone: pcb-4.1.0 → pcb-4.1.1
Changed in pcb:
milestone: pcb-4.1.1 → pcb-4.2.1
Revision history for this message
Chad Parker (parker-charles) wrote :

I did a test of this.

Assuming that the gcode produces the pattern contained in the png file, the top layer is exported normally, and the bottom layer is exported mirrored. Since in order to mill the back side of a board, you would have to flip the board over, this is the correct behavior.

If the gcode ouput doesn't produce the pattern in the png file, that's a problem. I'm not sure how to test for that. But assuming the png output is correct, it seems as though there is no bug here. If you want something mirrored, put it on the bottom layer. If you want something to not be mirrored, put it on the top layer.

Since this is an old report, and I don't see a bug, I'm closing it.

Changed in pcb:
status: Triaged → Invalid
milestone: pcb-4.2.1 → none
importance: High → Undecided
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.