Most of CAD systems does't output drill file with Excellent-compliant definition of format and tooling sizes definition. If CAM sytem doesn't recongnize the drill data from which vendor's sytem, you have to pre-process the drill data using your script. GC-Prevue let you to define the unit and drill size if it can't decide which format the drill data is. For detail, just read the online help.
Is it any way to determine based on rep, drl, lst files only:
- units (english, metric?)
- drill size
- format of drill data
- format of gerber files
- digits (integer, decimal ?)
- coordinates (absolute, incremental ?)
- zero suppresion (leading, trailing ?)
When I'm trying to import, for example gerber data from:
As we can see all holes are the same hole diameter.
Could you please help me to import demo gerber form c:\DownStreamTech\CAM350 10.5\Demos\RS274X\ in a proper way?
It will probably resolve issues of our PCB supplier.
Thank you very much
I don't have CAM350 to try your examples.
But have a look in your drl file with a text editor. It is plain text.
The file should look something like this:
Try copying pasting the above text in a drl file and import it. It should just work.
The first line after % defines the tool size. There should be such entries for each drill diameter.
If the tool diameter is not in the drl then an additional tool table must be used (lst or rep probably)
But you can play with the CAM setting to get this format of file which includes the tool size.
I got the answer, but you will don't like it.The problem with your PCB supplier is, that they can't read the drill format properly (Absolute, Leading, etc). The second problem is, that drill files, exported from PADS doesn't have header, which describes drill-format. I imported into CAM350 thes demo Gerbers and after that I exported them through CAM350. Exported from CAM350 has headers (see Exported.zip).
So, there are two conclusions:
1. Change your PCB supplier because he is incompetent;
2. Mentor Graphics should add a header into the drill file.
By the way - when you open a Gerber with a text edittor you will see something like that:
That's mean Absolute, Leading, 2:4, Inch.
Kind regards and good luck!
Exported.zip 42.0 KB
It will be nice to mark this answer as "Helpfull" or "Answered" to be more visible and to help other colleagues.
1. From some reasons Mentor Graphics designers decided not to add haader including the most important (format) data into drl file during drl generation...
2. CAM350 is an unusual CAM software and can to setect (which way?) real format of drl file.
3. Before we will be open gerber data in GC-Prevue we need to import them into CAM350 and then export drl file again from CAM350 directly.
4. Then format header will be included in drl file.
5. Drl file is ready to import by GC-Prevue.
How to do it without CAM350 software?
Original drl file is:
You can do it with some tests. The standard format for Inches is 2:4. For metric - 3:3. But the output from Allegro is 4:5 or 5:5. So, you have limited tries - less than 10. One of them is the right on. I told you, that you will not my answer, but that's the life. You can support your PCB manufacturer if you write a "Read_me"-file and to describe in it the drill format.
Do you know maybe if some freeware software / tool for detecting drl file format esists ?
Unfortunately no - I'm sorry.
BTW - it's crazy from Mentor Graphics developers side they decided not to include format header for drl files.
It's stupid. Isn't it?
I fully agree. It will cost some rows inot the PADS source code.
Ok. Let's say, these three first parameters (rounded by red) we can find in any other gerber file from package (no drl file) in section:
But it is not enough to import drl file to GC-prevue directly.
Still not possible for me without using CAM350 (still all holes are the same hole diameter). Looks CAM350 is the only one rescue to import drl file from PADS into GC-Prevue