Start a new topic

Won't accept a Dcode above 10000

Won't accept a Dcode above 10000
1 Comment

[QUOTE]Our CAD package outputs some Dcodes above D10000 which DFMNow! can't handle although our other Gerber viewer GC Prevue hasn't had a problem importing these files.

Relevant error line is:
Error: Dcode 10008 is Invalid (Must be between 10 and 10000).
FATAL: Unable to parse Gerber file. ()(File Byte Location: 12573)

Full report is:

DFM Now! V6,  Version 6.4.15
Copyright (c) 2006-2012  Numerical Innovations (a Division of CTI)
DFM Now!
*Cancel*
>
'_Import Gerber
>
//////////////////////////////////////////////
Import Log
//////////////////////////////////////////////
Start time: 12/07/12  12:42:32
File: C:\james\5800 issue 4 20121127\5800 Issue 04(Layer 4).gbr
.
Warning: Custom Aperture T746, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 1107)
Warning: Custom Aperture T8077, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 1801)
Warning: Custom Aperture T8881, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 2417)
Warning: Custom Aperture T8938, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 3033)
Warning: Custom Aperture T9778, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 3710)
Warning: Custom Aperture T9779, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 4386)
Warning: Custom Aperture T9909, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 5003)
Warning: Custom Aperture T9944, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 5620)
Warning: Custom Aperture T9957, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 6291)
Warning: Custom Aperture T9959, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 6935)
Warning: Custom Aperture T9961, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 7551)
Warning: Custom Aperture T9962, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 8168)
Warning: Custom Aperture T9967, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 9013)
Warning: Custom Aperture T9968, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 9750)
Warning: Custom Aperture T9969, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 10367)
Warning: Custom Aperture T9970, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 10923)
Warning: Custom Aperture T9972, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 11447)
Warning: Custom Aperture T9975, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 11998)
Warning: Custom Aperture T10008, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 12555)
Error: Dcode 10008 is Invalid (Must be between 10 and 10000).
FATAL: Unable to parse Gerber file. ()(File Byte Location: 12573)
File: C:\james\5800 issue 4 20121127\5800 Issue 04(Layer 1).gbr
.
Warning: Custom Aperture T1074, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 1014)
Warning: Custom Aperture T8077, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 1710)
Warning: Custom Aperture T8690, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 2386)
Warning: Custom Aperture T8881, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 3002)
Warning: Custom Aperture T8938, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 3618)
Warning: Custom Aperture T9764, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 4294)
Warning: Custom Aperture T9776, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 4911)
Warning: Custom Aperture T9778, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 5588)
Warning: Custom Aperture T9779, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 6264)
Warning: Custom Aperture T9857, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 6881)
Warning: Custom Aperture T9909, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 7498)
Warning: Custom Aperture T9944, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 8115)
Warning: Custom Aperture T9946, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 8879)
Warning: Custom Aperture T9947, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 9616)
Warning: Custom Aperture T9949, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 10200)
Warning: Custom Aperture T9951, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 10784)
Warning: Custom Aperture T9952, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 11281)
Warning: Custom Aperture T9954, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 12044)
Warning: Custom Aperture T9957, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 12715)
Warning: Custom Aperture T9959, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 13359)
File: C:\james\5800 issue 4 20121127\5800 Issue 04(Layer 2).gbr
.
Warning: Custom Aperture T9957, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 996)
File: C:\james\5800 issue 4 20121127\5800 Issue 04(Layer 3).gbr
.
Warning: Custom Aperture T9957, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 996)
.
Finish time: 12/07/12  12:42:33
Start time: 12/07/12  12:42:32
File: C:\james\5800 issue 4 20121127\5800 Issue 04(Layer 4).gbr
.
Warning: Custom Aperture T746, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 1107)
Warning: Custom Aperture T8077, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 1801)
Warning: Custom Aperture T8881, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 2417)
Warning: Custom Aperture T8938, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 3033)
Warning: Custom Aperture T9778, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 3710)
Warning: Custom Aperture T9779, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 4386)
Warning: Custom Aperture T9909, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 5003)
Warning: Custom Aperture T9944, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 5620)
Warning: Custom Aperture T9957, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 6291)
Warning: Custom Aperture T9959, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 6935)
Warning: Custom Aperture T9961, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 7551)
Warning: Custom Aperture T9962, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 8168)
Warning: Custom Aperture T9967, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 9013)
Warning: Custom Aperture T9968, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 9750)
Warning: Custom Aperture T9969, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 10367)
Warning: Custom Aperture T9970, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 10923)
Warning: Custom Aperture T9972, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 11447)
Warning: Custom Aperture T9975, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 11998)
Warning: Custom Aperture T10008, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 12555)
Error: Dcode 10008 is Invalid (Must be between 10 and 10000).
FATAL: Unable to parse Gerber file. ()(File Byte Location: 12573)
File: C:\james\5800 issue 4 20121127\5800 Issue 04(Layer 1).gbr
.
Warning: Custom Aperture T1074, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 1014)
Warning: Custom Aperture T8077, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 1710)
Warning: Custom Aperture T8690, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 2386)
Warning: Custom Aperture T8881, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 3002)
Warning: Custom Aperture T8938, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 3618)
Warning: Custom Aperture T9764, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 4294)
Warning: Custom Aperture T9776, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 4911)
Warning: Custom Aperture T9778, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 5588)
Warning: Custom Aperture T9779, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 6264)
Warning: Custom Aperture T9857, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 6881)
Warning: Custom Aperture T9909, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 7498)
Warning: Custom Aperture T9944, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 8115)
Warning: Custom Aperture T9946, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 8879)
Warning: Custom Aperture T9947, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 9616)
Warning: Custom Aperture T9949, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 10200)
Warning: Custom Aperture T9951, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 10784)
Warning: Custom Aperture T9952, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 11281)
Warning: Custom Aperture T9954, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 12044)
Warning: Custom Aperture T9957, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 12715)
Warning: Custom Aperture T9959, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 13359)
File: C:\james\5800 issue 4 20121127\5800 Issue 04(Layer 2).gbr
.
Warning: Custom Aperture T9957, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 996)
File: C:\james\5800 issue 4 20121127\5800 Issue 04(Layer 3).gbr
.
Warning: Custom Aperture T9957, statement "RoundedRectanglepad" is ignored.  (File Byte Location: 996)
.
Finish time: 12/07/12  12:42:33
 
Count: Files=4 Polygons=425 Draws=3990 Flashes=598
>
5013 Total Objects Imported
*Cancel*
*Cancel*
*Cancel*
*Cancel*[/QUOTE]


Just curious how many Dcodes does your CAD tool output to?  (20,0000; 30,000; or more.)

Typically 10,000 Dcodes is good for 99.9% of the users, so if we can determine what your requirements are; perhaps we can increase the amount of Dcodes supported
Login or Signup to post a comment