• Blog
  • Parts Sources
  • Form Test
VccGnd

DipTrace and OSH Park

1/24/2014

0 Comments

 
Kuzyatech has a post on how to use DipTrace with OSH Park.  It covers Design Rule Check and exporting of files.

Based on that post, I made the following batch file to automate the renaming of files after export.
@echo off
if "%1" == "" goto error
mkdir OSHPARK
copy Top.gbr "OSHPARK\%1.GTL"
copy Bottom.gbr "OSHPARK\%1.GBL"
copy TopMask.gbr "OSHPARK\%1.GTS"
copy BottomMask.gbr "OSHPARK\%1.GBS"
copy TopSilk.gbr "OSHPARK\%1.GTO"
copy BottomSilk.gbr "OSHPARK\%1.GBO"
copy BoardOutline.gbr "OSHPARK\%1.GKO"
copy Through.drl "OSHPARK\%1.XLN"
@echo on
@echo now go zip up the OSHPARK directory
:end
@exit /b
:error
@echo diptrace2oshpark ProjectName
diptrace2oshpark.cmd
File Size: 0 kb
File Type: cmd
Download File

To use:

1.  Export files per Kuzyatech's post, but skip the renaming, and let DipTrace name the files as it wishes.  Make sure all the files get saved to the same folder.

2.  Copy batch script into same folder.

3.  From the command shell, execute the script in its new location, giving it your project name as an argument.  For example:
C:\ExportedFiles> diptrace2oshpark MyPCB

4.  There will be a new subfolder named OSHPARK that has the files that OSH Park requires, renamed appropriately.

5.  From inside the OSHPARK folder, zip the files into a zip file named after your project.  To verify, look inside the zip file and make sure that all the files are at the top level.

6.  Submit zip file to OSH Park.
0 Comments



Leave a Reply.

    VccGnd

    Hardware with a software twist.

    Archives

    February 2014
    January 2014
    September 2012
    August 2012
    July 2012

    Categories

    All
    7LED
    Android
    Ascii
    Crystal Free USB
    Crystal-Free USB
    Dev Boards
    MSP430
    Overviews
    PCB
    PIC8
    Sourcing

    RSS Feed

Powered by Create your own unique website with customizable templates.