料號STEP管理模塊
更新時間:2024-12-12 16:09
14134
0
文檔錯誤過時,
我要反饋

函數(shù) |
gkl_json script_get_job_name (const gkl_json ¶m, gkl_string &errorStr) 獲取job的名字 更多... |
gkl_json script_add_step (const gkl_json ¶m, gkl_string &errorStr) 獲取job的名字 更多... |
gkl_json script_del_step (const gkl_json ¶m, gkl_string &errorStr) 刪step 更多... |
gkl_json script_copy_step (const gkl_json ¶m, gkl_string &errorStr) 復(fù)制step 更多... |
gkl_json script_set_step_profile (const gkl_json ¶m, gkl_string &errorStr) 設(shè)置profile 更多... |
gkl_json script_step_rename (const gkl_json ¶m, gkl_string &errorStr) step重命名 更多... |
gkl_json script_add_drill_tail_step (const gkl_json ¶m, gkl_string &errorStr) 增加尾孔step 更多... |
gkl_json script_set_step_datum_point (const gkl_json ¶m, gkl_string &errorStr) 設(shè)置step的錨點 更多... |
gkl_json script_get_step_datum_point (const gkl_json ¶m, gkl_string &errorStr) gkl_json script_step_synchro (const gkl_json ¶m, gkl_string &errorStr) 詳細描述
函數(shù)說明
◆ script_add_drill_tail_step()
gkl_json script_add_drill_tail_step(const gkl_json & param,gkl_string & errorStr )
增加尾孔step
參見
參數(shù)
[in]json { "stepname":"drill", //step名字 "holespace":0.5, //孔距 "maxholesize":1.2, //最大孔徑 "minholesize":0.3, //最小孔徑 "marginwidth":300.2, //step寬度 "marginheight":10.2 //step高度 } |
返回
◆ script_add_step()
gkl_json script_add_step(const gkl_json & param,gkl_string & errorStr )
獲取job的名字
參見
參數(shù)
[in]stringstep名字
返回
◆ script_copy_step()
gkl_json script_copy_step(const gkl_json & param,gkl_string & errorStr )
復(fù)制step
參見
參數(shù)
[in]json { "src":"net", //源step "des":"edit", //目標(biāo)step "flip":false //是否陰陽處理 } |
返回
◆ script_del_step()
gkl_json script_del_step(const gkl_json & param,gkl_string & errorStr )
刪step
參見
參數(shù)
[in]stringstep名
返回
◆ script_get_job_name()
gkl_json script_get_job_name(const gkl_json & param,gkl_string & errorStr )
獲取job的名字
參見
參數(shù)
[in]無參
返回
string 料號名字
◆ script_get_step_datum_point()
gkl_json script_get_step_datum_point(const gkl_json & param,gkl_string & errorStr )
參見
參數(shù)
[in]string-—step名稱
返回
json
{ "x":0.5, //x坐標(biāo) "y":1.2, //y坐標(biāo) }
◆ script_set_step_datum_point()
gkl_json script_set_step_datum_point(const gkl_json & param,gkl_string & errorStr )
設(shè)置step的錨點
參見
參數(shù)
[in]json { "stepname":"edit", //step名字 "x":0.5, //x坐標(biāo) "y":1.2, //y坐標(biāo) } |
返回
◆ script_set_step_profile()
gkl_json script_set_step_profile(const gkl_json & param,gkl_string & errorStr )
設(shè)置profile
參見
參數(shù)
[in]json { "stepname":"edit", //step名字 "profile": //profile封閉多邊形點數(shù)組,單位根據(jù)用戶單位設(shè)置 [ {"x":0.0,"y":0.0}, {"x":100.0,"y":0.0}, {"x":100.0,"y":100.0}, {"x":0.0,"y":100.0} ] } |
返回
◆ script_step_rename()
gkl_json script_step_rename(const gkl_json & param,gkl_string & errorStr )
step重命名
參見
參數(shù)
[in]json { "stepname":"edit", //step名字 "newname":"123_edit" //step新的名字 } |
返回
◆ script_step_synchro()
gkl_json script_step_synchro(const gkl_json & param,gkl_string & errorStr )
參見
script_step_synchro 手動拷貝step同步
返回
- PCB幫助文檔
- SMT幫助文檔
- 鋼網(wǎng)幫助文檔
- PCB討論
- SMT討論
- 鋼網(wǎng)討論