Home > Community > Forums > PCB Design > Make NC Template Struct / Changing Drill Legend to display 0.000

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Make NC Template Struct / Changing Drill Legend to display 0.000 

Last post 04-10-2013 2:51 PM by Xquest05. 3 replies.
Started by Xquest05 08 Apr 2013 04:05 PM. Topic has 3 replies and 575 views
Page 1 of 1 (4 items)
Sort Posts:
  • 04-08-2013 4:05 PM

    • Xquest05
    • Not Ranked
    • Joined on 10-27-2010
    • San Diego, CA
    • Posts 4
    • Points 50
    Make NC Template Struct / Changing Drill Legend to display 0.000 Reply

    Changing the NC Drill Legend to  display values to a three placement after the decimal point.

    In the Precision section of this file, I have been trying to add a three zero placement to this function.  Although, it hasn't been working per the suggested parameters.  There have been several attempts to alter the configuration but none have proved affective.  Even when the >0 was added, a 'syntax error' was generated.  Are there any successful attempts to add a three zero placement after the decimal point.  0.000, 0.120, 0.800 etc.

    see example of code below:

    ;   ?Precision
    ;   ----------
    ;
    ;   Precision specifies the number of decimal digits to follow the
    ;   decimal point in size and tolerance values appearing in the table.
    ;
    ;   -1 = as many as are needed ... minimum 1 (DEFAULT)
    ;    0 = suppress decimal point and decimal digits
    ;   >0 = always put <n> decimal digits after the decimal point,
    ;        adding any trailing 0's as necessary
    ;
     ?Precision             -1

    • Post Points: 20
  • 04-09-2013 2:15 AM

    • oldmouldy
    • Top 10 Contributor
    • Joined on 07-15-2008
    • Woking, Surrey
    • Posts 1,385
    • Points 23,615
    Re: Make NC Template Struct / Changing Drill Legend to display 0.000 Reply

    This seems to work correctly, with a board in mm, 4 decimal places, I get 4 decimal places where required when I add the Drill Legend. Modify a DLT file for fixed Precision of 3, 3 in the Precision rather than -1, re-add the Drill Legend and now get 3 decimal places. (no syntax error)

    Which exact version are you using?

    • Post Points: 35
  • 04-10-2013 2:39 PM

    • Xquest05
    • Not Ranked
    • Joined on 10-27-2010
    • San Diego, CA
    • Posts 4
    • Points 50
    Re: Make NC Template Struct / Changing Drill Legend to display 0.000 Reply
    Allegro 16.5.  Opened the file in Notepad, is there a better one?
    • Post Points: 5
  • 04-10-2013 2:51 PM

    • Xquest05
    • Not Ranked
    • Joined on 10-27-2010
    • San Diego, CA
    • Posts 4
    • Points 50
    Re: Make NC Template Struct / Changing Drill Legend to display 0.000 Reply
    retry- got it thanks
    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by Xquest05 at 08 Apr 2013 04:05 PM. Topic has 3 replies.