Mail Archives: geda-help/2012/02/27/23:08:49
I forgot to mention that I am running Gerbv version 2.6.0 under Windows
Vista. I doubt this is related, but you never know.
Rick
On 2/25/2012 12:52 PM, rickman wrote:
> I am having trouble reading a drill file into GerbV without error.
> When I have read up on drill file formats they seem "fairly" standard,
> but I think the trick is the tool table. RS-274X seems to have fixed
> that issue for Gerber files, but I guess this is not so standard for
> drill files?
>
> In GerbV I have tried selecting a drill "pad" in the drill layer and
> displayed the properties. It says
>
> Object type: Flashed aperture
> Aperture used: D2
> Aperture type: CIRCLE
> Location: (0.99, 1.275)
> Layer name: <unnamed layer>
> Net label: <unlabeled net>
> In file: beaglebone_revC1_NCDRILL.drl
>
> The drill file uses T commands to select the tool so maybe the
> property display feature doesn't really work with the drill file info?
>
> The problem with the whole thing seems to be that the drill table is
> not read from the drill file. This file has it in a header of comments.
>
> ;LEADER: 12
> ;HEADER:
> ;CODE : ASCII
> ;FILE : beaglebone_revC1-1-6.drl for board beaglebone_revC1.brd ...
> layers TOP and BOTTOM
> ;T01 Holesize 1. = 8.000000 Tolerance = +3.000000/-3.000000 PLATED
> MILS Quantity = 795
> ;T02 Holesize 2. = 12.000000 Tolerance = +3.000000/-3.000000 PLATED
> MILS Quantity = 28
> ;T03 Holesize 3. = 38.000000 Tolerance = +3.000000/-3.000000 PLATED
> MILS Quantity = 18
> ;T04 Holesize 4. = 40.000000 Tolerance = +3.000000/-3.000000 PLATED
> MILS Quantity = 101
> ;T05 Holesize 5. = 63.000000 Tolerance = +3.000000/-3.000000 PLATED
> MILS Quantity = 2
> ;T06 Holesize 6. = 125.000000 Tolerance = +3.000000/-3.000000 PLATED
> MILS Quantity = 4
> ;T07 Holesize 7. = 30.000000 Tolerance = +5.000000/-5.000000
> NON_PLATED MILS Quantity = 1
> ;T08 Holesize 8. = 128.000000 Tolerance = +5.000000/-5.000000
> NON_PLATED MILS Quantity = 2
> %
> G90
> T01
> X00291000Y00105000
> X00282000Y00097000
> ...
>
> This file gives these error messages on loading...
>
> Tool 01 used without being defined
> Setting a default size of 0.024"
> Tool 02 used without being defined
> Setting a default size of 0.032"
> ...
>
> I can't find a way to set the tool sizes manually. Is there some way
> I can get this to work properly?
>
> Also, the "autodetect" feature doesn't seem to work correctly and sets
> the digits to 4 when they should be 5. I am able to manually set that
> however.
>
> I don't have control over the creation of these files. It is from an
> open source project which is using a commercial tool for layout.
>
> Regards,
>
> Rick
>
- Raw text -