[PCB_FORUM] Re: default-x.dlt file snafu

  • From: Dave Elder <dave.elder@xxxxxxxxxx>
  • To: icu-pcb-forum@xxxxxxxxxxxxx
  • Date: Fri, 11 Jan 2008 13:52:21 +1300

Hi Gary,

The following line in a dlt file returns the expected result for me:
((150.0 70.0) "Plated" "+/- 0.2")

Running SPB_16.01. Maybe it's a release problem

Cheers, Dave

Macindoe, Gary wrote, On 11/01/2008 12:35 p.m.:
Message

George,

 

Here is the line as modified per your suggestion, cut and pasted from my default-mil.dlt file:

 

((85.0 40.0) "Plated" "85.0 x 40.0 +/- 4.0")

 

 

With the line as above, when I go Manufacture -> NC -> Drill Legend… I get this error at the command line:

 

E- *Error* __ncMKSConvert: argument #1 should be a number (type template = "n") - (85.0 40.0)

 

Thanks,

Gary

 

 

Gary E. MacIndoe
PCB Design Engineer
Fort Collins, Colorado

amd.com

gary.macindoe@xxxxxxx


From: icu-pcb-forum-bounce@xxxxxxxxxxxxx [mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of george.h.patrick@xxxxxxxxxxxxx
Sent: Thursday, January 10, 2008 4:15 PM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] Re: default-x.dlt file snafu

 

 

Your line needs to read “((85.0 40.0) "Plated" "85.0 x 40.0 +/- 4.0")”,  not  “(85.0 x 40.0) "Plated" "85.0 x 40.0 +/- 4.0")".  The two parenthesis at the start are very important, and the "x" is getting confused for the second coordinate, which is probably the cause for the error :)  This is straight out of the comments, and how I have it set up to work here.

 

Skill code (which includes these files, clipboard files, and such) does not pay attention to carriage returns.  You can literally crunch them down into one line and they will still work (as long as you remove the comments).  It is OK that the two parentheses are on different lines, it doesn't matter.  You could probably even format the above line like

 

(

 

  (

    85.0

    40.0

  )

  

 

  "Plated"

  "85.0 x 40.0 +/- 4.0"

)

 

and it would probably still work (never tried this but it is consistent with other skill structures).

 

--
George Patrick
Tektronix, Inc.
Central Engineering, EDS Applications Support
P.O. Box 500, M/S 39-512
Beaverton, OR 97077-0001
Å 503-627-5272 (voice)     Æ 503-627-5587 (fax)
http://www.tektronix.com
    http://www.pcb-designer.com
 
"Off-Grid and Proud of it!"

-----Original Message-----
From: icu-pcb-forum-bounce@xxxxxxxxxxxxx [mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of Macindoe, Gary
Sent: Thursday, January 10, 2008 13:46
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] Re: default-x.dlt file snafu

 

Thanks George, but it’s just not working.

 

When I change to “85.0 40.0”, I get the error message:

 

E- *Error* lowerCase: argument #1 should be either a string or a symbol (type template = "S") - 40.0

 

 

BTW, I have the first “(“ up above, and the last “)” below the line for the slot.

 

 

So when my line reads “(85.0 x 40.0) "Plated" "85.0 x 40.0 +/- 4.0")”, error message:

 

E- *Error* length: argument must be a list or an array - "Plated"

 

 

Yes, I have a user field specified in the column definitions:

("User"    "TOLERANCE"    10)

 

My drill chart has Figure, Size, Tolerance, Plated and Qty columns and works great except for the slot.

It will not plug in the tolerance for the slot, but will for all of the plated and non-plated holes.

 

Thanks for your time, when I have time I’ll contact support.

 

Gary

 

Gary E. MacIndoe
PCB Design Engineer
Fort Collins, Colorado

amd.com

gary.macindoe@xxxxxxx


From: icu-pcb-forum-bounce@xxxxxxxxxxxxx [mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of george.h.patrick@xxxxxxxxxxxxx
Sent: Thursday, January 10, 2008 1:57 PM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] Re: default-x.dlt file snafu

 

 

Problem 1:  Your hole size is incorrectly specified.  You need to have (85.0 40.0) instead of 85.0 x 40.0. 

Problem 2: You need to enter ALL the text, not just the tolerance

 

The modified line would look line ((85.0 40.0) "Plated" "85.0 X 40.0 +/- 4 MIL") or whatever.  This is a SKILL thing, parentheses inside parenthesis.

 

Make sure you have a user field specified in your column definitions, we use

(("Figure"      "FIGURE"        6)
 ("Holesize"    "BIT DIA"       8)
 ("User"        "FINISHED HOLE" 24 "Left")
 ("Quantity"    "QTY"           6  "Right"))

 

--
George Patrick
Tektronix, Inc.
Central Engineering, EDS Applications Support
P.O. Box 500, M/S 39-512
Beaverton, OR 97077-0001
Å 503-627-5272 (voice)     Æ 503-627-5587 (fax)
http://www.tektronix.com
    http://www.pcb-designer.com
 
"Off-Grid and Proud of it!"

-----Original Message-----
From: icu-pcb-forum-bounce@xxxxxxxxxxxxx [mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of Macindoe, Gary
Sent: Thursday, January 10, 2008 12:33
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] default-x.dlt file snafu

 

Hey guys,

 

Anyone out there modify their drill chart file (“default-mil.dlt” for mils)?

 

I have a “CustomData” section where the hole size, Plated or Non-plated and the tolerance is listed.

With Allegro now defining slots, I can’t figure out how to get a slot tolerance to show up in the drill chart.

 

Here’s the line in the “CustomData” section for the slot that’s not working correctly:

 

(85.0 x 40.0 "Plated" "+/- 4.0")

 

 

The size and the word “Plated” shows up in the drill chart, but not the tolerance (+/- 4.0).

 

Any ideas?

 

Thanks,

Gary

 

Gary E. MacIndoe
PCB Design Engineer
Fort Collins, Colorado

amd.com

gary.macindoe@xxxxxxx

 

begin:vcard
fn:Dave Elder
n:Elder;Dave
org:Tait Electronics
adr:;;PO Box 1645;Christchurch;;;New Zealand
email;internet:dave.elder@xxxxxxxxxx
title:PCB Design Manager
tel;work:+64 3 3580327
tel;cell:+64 21 37 37 25
url:http://www.taitworld.com
version:2.1
end:vcard

Other related posts: