-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Gerber excellon drill file problem #980
Comments
This is your first time submitting an issue with UVtools 🥳Please review your issue and ensure that the submit template was followed, the information is complete, and not related to any other open issue. It will be reviewed shortly. Debugging is very important and make the program better. Thanks for contributing and making the software better! 🙌 |
I just found a random drill file from Altium and it appears to have the same format (and problem) as Circuit Studios fixed by removing spindle speed and feed rate from tool definitions. |
There is more to this than I thought. I have attached DRILL.DRL, LAYER.GBL, PCB.GOO (all renamed *.TXT to allow attachment) which all look good and line up in Viewmate but when I try and generate a PCB exposure via UVTools I have problems. E.g.
I have not found a step by step instructions for subtracting a drill file from a copper layer. Am I doing something obviously wrong? |
Thanks Tiago... FYI, I am starting every time with a fresh ROOK.goo sliced file for Mars 4 Ultra from https://www.elegoo.com/pages/download. For the spindle/feed problem if I drag and drop DrillExample.TXT (changed to *.DRL) onto UVTools, make no changes in the PCB exposure window, generate PCB exposure, generate PCB traces then I get the error below. DrillExample.TXT is the drill file directly from Altium/Circuit Studio. I have to modify it as per DrillExampleFixed.TXT before UVTools (appears) to accept it. The modification is from... T1F00S00C0.3810 to T1C0.3810 |
For the hole errors I can reproduce by loading ROOK.goo, dragging only DrillExampleFixed.TXT into UVTools, selecting Invert checkbox and Mirror then generating PCB exposure. The image below shows the drill file open in ViewMate (gerber viewer) at top and UVTools at bottom. I have highlighted in red a couple of the differences. I think I can see these errors in the image you provided too? |
I thought that problems might be arising from DrillExampleFixed having holes relative to origin outside of the 153.36x77.76mm available on the Mars 4 Ultra so I moved my origin as per Drill2.TXT below however this file shows similar issues but with holes moved in different ways compared to DrillExampleFixed.TXT. |
Ok, I found it, it will be fixed on next release.
I see it too, the file is using a non fixed format for decimals causing misplacement, I will try to fix that. Meanwhile if you can set to export as real units (With decimal point |
FYI I have attached 3x files for the 3x Leading/Trailing Zeroes options. UVTools seems to behave differently depending on which is used. I have never changed these settings before but from now on I will probably use the "Keep leading and trailing" option as it is the most intuitive with format 4:4 resulting in 4 digits before and 4 digits after the decimal point. |
I'm close. I manually edited my drill file "Fixed.DRL" below to include a decimal point. I've also included the matching "Gerber.GBL". My procedure for generating the exposure is below...
This produces UNMIRRORED.goo below which looks correct but this is for the bottom side of a PCB so needs mirrored. If I use the procedure above but select the Mirror option then things look correct during preview but after generation I get MIRRORED.goo below where it looks like the gerber has mirrored but the drill file has not? I could obviously mirror things in my PCB CAD as a workaround but it would simplify my workflow if UVTools handled it? |
If UVtools can't mirror properly you can always generate normal and use Tool - Mirror |
System
Printer and Slicer
Description of the bug
I'm using Altium Circuit Studio 1.5.2 which generates drill files as per DrillExample.TXT below.
DrillExample.TXT
UVTools will not open the drill file unless I rename with *.DRL extension and remove the spindle speed and feed rate from the tool definitions as per DrillExampleFixed.DRL below (changed from *.DRL to *.TXT to allow attachement)...
DrillExampleFixed.TXT
Could UVTools handle this without manual intervention?
How to reproduce
Drag and drop sliced file for printer into UVTools and then drag and drop drill file.
Files
No response
The text was updated successfully, but these errors were encountered: