delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2012/02/25/13:20:00

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
Message-ID: <4F491FDF.9030901@arius.com>
Date: Sat, 25 Feb 2012 12:52:31 -0500
From: rickman <gnuarm DOT geda AT arius DOT com>
Organization: Arius, Inc
User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version: 1.0
To: geda-help AT delorie DOT com
Subject: [geda-help] GerbV Support
Reply-To: geda-help AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019