新聞中心

        EEPW首頁 > EDA/PCB > 設計應用 > Protel到Allegro/CCT格式轉換

        Protel到Allegro/CCT格式轉換

        作者: 時間:2012-05-08 來源:網絡 收藏

        FILE fp1, fp2;

        AfxMessageBox(hello);

        fp1=fopen(pick.txt, rt);

        if (fp1==NULL) AfxMessageBox(Can not open the file!!!);

        fp2=fopen(place.txt,wt);

        if (fp2==NULL) AfxMessageBox(Can not create the file!!!);

        char refdes[5], Pattern[5];

        float midx,midy,refx,refy,padx,pady,rotation;

        char tb[1];

        char tmp=';

        fprintf(fp2,%sn, # script);

        fprintf(fp2,%sn, version 13.6);

        fprintf(fp2,%sn, place refdes);

        while (!feof(fp1)) ;

        char yy=tb[0];

        if (yy!=‘T‘) fprintf(fp2, pop mirrorn);

        fprintf(fp2, pick %f %f n, padx,pady);

        fprintf(fp2, next n);

        };

        fprintf(fp2, done);

        fclose(fp1);

        fclose(fp2);

        以上簡單介紹了轉化的方法,希望能對讀者的設計工作有所幫助。


        上一頁 1 2 下一頁

        評論


        相關推薦

        技術專區

        關閉
        主站蜘蛛池模板: 平山县| 江华| 神农架林区| 定日县| 伊通| 玉林市| 沈阳市| 榕江县| 军事| 高阳县| 邹城市| 稻城县| 合水县| 河津市| 通辽市| 北京市| 静乐县| 文化| 彭水| 秀山| 湟源县| 贺州市| 洮南市| 英超| 丹巴县| 当涂县| 建昌县| 革吉县| 惠东县| 金坛市| 岐山县| 昌乐县| 治多县| 景德镇市| 和政县| 滁州市| 仁布县| 阜新市| 饶河县| 大冶市| 中方县|