This website requires JavaScript.

欧洲尺码日本尺码专线图片_国产精品久久久久9999县_亚洲AV日韩AV永久无码下载_成熟少妇XXXXX高清视频_成人网站国产99_亚洲精品国产精品无码国模_被暴雨淋湿爆乳少妇正在播放_av无码天堂一区二区三区

導(dǎo)入模塊
更新時(shí)間:2024-12-12 16:10
14082
0
文檔錯(cuò)誤過時(shí),
我要反饋

函數(shù)

gkl_json script_change_tmp_directory (const gkl_json &param, gkl_string &errorStr) 切換臨時(shí)目錄 更多...

 gkl_json script_identity_format (const gkl_json &param, gkl_string &errorStr) 識(shí)別文件格式,主要用于gerber文件和excellon格式識(shí)別 更多...

 gkl_json script_import_gerber (const gkl_json &param, gkl_string &errorStr) 識(shí)別文件格式,主要用于gerber文件和excellon格式識(shí)別 更多...

 gkl_json script_import_tgz (const gkl_json &param, gkl_string &errorStr) 導(dǎo)入tgz功能 更多...

 gkl_json script_import_dwg (const gkl_json &param, gkl_string &errorStr) 導(dǎo)入dwg功能 更多...

 gkl_json script_open_ddw (const gkl_json &param, gkl_string &errorStr) 導(dǎo)入dwg功能 更多...

 詳細(xì)描述

函數(shù)說明

◆ script_change_tmp_directory()

gkl_json script_change_tmp_directory(const gkl_json & param,gkl_string & errorStr )

切換臨時(shí)目錄

參見

script_change_tmp_directory()

參數(shù)

[in]stringddw 數(shù)據(jù)文件臨時(shí)解壓目錄 當(dāng)前進(jìn)程生效,所有數(shù)據(jù)庫打開都解壓到臨時(shí)目錄

返回

◆ script_identity_format()

gkl_json script_identity_format(const gkl_json & param,gkl_string & errorStr )

識(shí)別文件格式,主要用于gerber文件和excellon格式識(shí)別

參見

script_identity_format ()

參數(shù)

[in]jsonarray 輸入?yún)?shù)數(shù)組,文件名及文件絕對(duì)路徑

           [
              "E:/test_unit/0208/CAM for 5800-2A0S12-20RV12/5800-2A0S12-20RV12.GBL",
              "E:/test_unit/0208/CAM for 5800-2A0S12-20RV12/5800-2A0S12-20RV12.GTL",
              "E:\test_unit\0208\CAM for 5800-2A0S12-20RV12/5800-2A0S12-20RV12.DRL"
           ]

返回

json

           [
                  {
                    "path":"E:/test_unit/0208/CAM for 5800-2A0S12-20RV12/5800-2A0S12-20RV12.GBL",
                    "filename":"5800-2A0S12-20RV12.GBL",
                    "format_from_file":true,        true 省零絕對(duì)坐標(biāo)方式及單位參數(shù)來自文件內(nèi)定義 false 則不是來自文件定義,默認(rèn)參數(shù)
                    "format":"rs274x",              文件格式
                    "abs":true,                     絕對(duì)坐標(biāo)為true,相對(duì)坐標(biāo)為false
                    "leadzero":true,                true前省零,false后省零
                    "inter":2,                      整數(shù)位數(shù)
                    "decimal":4,                    小數(shù)位數(shù)
                    "unit":"inch"                   inch英制,mm公制
                  },
                  {
                    "path":"E:/test_unit/0208/CAM for 5800-2A0S12-20RV12/5800-2A0S12-20RV12.GTL",
                    "filename":"5800-2A0S12-20RV12.GTL",
                    "format_from_file":true,        省零單位等格式是否來自于文件定義
                    "format":"rs274x",
                    "abs":true,
                    "leadzero":true,
                    "inter":2,
                    "decimal":4,
                    "unit":"inch"
                  },
                  {
                      "path":"E:/test_unit/0208/CAM for 5800-2A0S12-20RV12/5800-2A0S12-20RV12.DRL",
                      "filename":"5800-2A0S12-20RV12.DRL",
                      "format_from_file":false,
                      "format":"excellon",
                      "abs":true,
                      "leadzero":true,
                      "inter":2,
                      "decimal":4,
                      "unit":"mm"
                  }
            ]

◆ script_import_dwg()

gkl_json script_import_dwg(const gkl_json & param,gkl_string & errorStr )

導(dǎo)入dwg功能

參見

script_import_dwg()

參數(shù)

[in]json    {
    "dwg":"E:/ok/37610w_y1330.dwg",
    "unit":"mm",                                      ----公制mm,英制輸入 "inch"
    "scale":1.0,                                      ----縮放比例
    "job" : "D:/Program Files/jlcCAM/work/dv91.ddw"   ----job文件全路徑,則不更新job列表,如果只輸入dv91料號(hào)名,則將在work文件夾下簡(jiǎn)歷ddw文件,為空字符則當(dāng)前job
    }

◆ script_import_gerber()

gkl_json script_import_gerber(const gkl_json & param,gkl_string & errorStr )

識(shí)別文件格式,主要用于gerber文件和excellon格式識(shí)別

參見

script_import_gerber()

參數(shù)

[in]jsonarray 輸入?yún)?shù)數(shù)組,文件名及文件絕對(duì)路徑

        {
            "job":"D:/Program Files/jlcCAM/work/dv91.ddw",  //job文件全路徑,則不更新job列表,如果只輸入dv91料號(hào)名,則將在work文件夾下簡(jiǎn)歷ddw文件,job名字為空,則導(dǎo)入到當(dāng)前job
            "step":"orig",                                  //導(dǎo)入step名字
            "files":[
                    {
                    "path":"E:/test_unit/0208/CAM for 5800-2A0S12-20RV12/5800-2A0S12-20RV12.GBL",
                    "filename":"5800-2A0S12-20RV12.GBL",
                    "layername":"bl",
                    "format_from_file":true,        true 省零絕對(duì)坐標(biāo)方式及單位參數(shù)來自文件內(nèi)定義 false 則不是來自文件定義,默認(rèn)參數(shù)
                    "format":"rs274x",              文件格式
                    "abs":true,                     絕對(duì)坐標(biāo)為true,相對(duì)坐標(biāo)為false
                    "leadzero":true,                true前省零,false后省零
                    "inter":2,                      整數(shù)位數(shù)
                    "decimal":4,                    小數(shù)位數(shù)
                    "unit":"inch"                   inch英制,mm公制
                    },
                    {
                    "path":"E:/test_unit/0208/CAM for 5800-2A0S12-20RV12/5800-2A0S12-20RV12.GTL",
                    "filename":"5800-2A0S12-20RV12.GTL",
                    "layername":"tl",
                    "format_from_file":true,        省零單位等格式是否來自于文件定義
                    "format":"rs274x",
                    "abs":true,
                    "leadzero":true,
                    "inter":2,
                    "decimal":4,
                    "unit":"inch"
                    },
                    {
                    "path":"E:/test_unit/0208/CAM for 5800-2A0S12-20RV12/5800-2A0S12-20RV12.DRL",
                    "filename":"5800-2A0S12-20RV12.DRL",
                    "layername":"drl",
                    "format_from_file":false,
                    "format":"excellon",
                    "abs":true,
                    "leadzero":true,
                    "inter":2,
                    "decimal":4,
                    "unit":"mm"
                    }
                ]
        }

返回

json

        [
            {
                "msgtype":0,   0說明存在解析有錯(cuò)誤
                "msg":"弧線越界"
            },
            {
                "msgtype":1,   1為警告信息,
                "msg":"存在自相交多邊形"
            }
        ]

◆ script_import_tgz()

gkl_json script_import_tgz(const gkl_json & param,gkl_string & errorStr )

導(dǎo)入tgz功能

參見

script_import_tgz()

參數(shù)

[in]json    {
        "tgz":"E:/ok/37610w_y1330.tgz",                   ----tgz文件路徑
        "step":["SET","EDIT"],                            ----如果step傳入?yún)?shù)為空,則所有step都導(dǎo)入,非空,則導(dǎo)入按優(yōu)先順序?qū)?,?dāng)前參數(shù)表示有SET優(yōu)先SET導(dǎo)入
        "layer":["to","ts","tl","bl","bs","bo","drl"],    ----如果layer傳入數(shù)組為空,則所有層都導(dǎo)入,非空,則只導(dǎo)入指定的層,tgz的其他層還存在,只是其他層不解析
        "prefix":"123_",                                  ----前綴名稱
        "filesymboltag":false,                            ----非必要字段,文件光圈是否加標(biāo)記,該字段為非必設(shè)參數(shù),未設(shè)置默認(rèn)為true,主要防止tgz symbol和system symbol沖突
        "job" : "D:/Program Files/jlcCAM/work/dv91.ddw"   ----job文件全路徑,則不更新job列表,如果只輸入dv91料號(hào)名,則將在work文件夾下簡(jiǎn)歷ddw文件,如果job字段==""則導(dǎo)入到當(dāng)前數(shù)據(jù)庫
    }

返回

json

    {
        "steps":[
        "123_SET",
        "123_EDIT"
        ],
        "layers":
        [
            "to",
            "ts",
            "tl",
            "bl"
        ]
    }

◆ script_open_ddw()

gkl_json script_open_ddw(const gkl_json & param,gkl_string & errorStr )

導(dǎo)入dwg功能

參見

script_open_ddw()

參數(shù)

[in]string"E:/ok/37610w_y1330.ddw" -工程文件路徑,如果在文件再work文件夾內(nèi),可以傳37610w_y1330料號(hào)名稱,例如:"37610w_y1330"

互動(dòng)評(píng)論 0
注意:此留言僅作為嘉立創(chuàng)與客戶日常交流之用,回復(fù)不是很及時(shí),急切問題請(qǐng)聯(lián)系我司工作人員處理!
登錄注冊(cè) 后才可以留言哦!
  • PCB幫助文檔
  • SMT幫助文檔
  • 鋼網(wǎng)幫助文檔
  • PCB討論
  • SMT討論
  • 鋼網(wǎng)討論