This website requires JavaScript.

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

圖元模塊
更新時間:2024-12-12 16:10
17665
0
文檔錯誤過時,
我要反饋

函數(shù)

gkl_json script_begin_add_feature (const gkl_json &param, gkl_string &errorStr) 加PAD 更多...

 gkl_json script_end_add_feature (const gkl_json &param, gkl_string &errorStr) gkl_json script_add_pad (const gkl_json &param, gkl_string &errorStr) 加PAD 更多...

 gkl_json script_add_segment (const gkl_json &param, gkl_string &errorStr) 加線 更多...

 gkl_json script_add_arc (const gkl_json &param, gkl_string &errorStr) 加弧 更多...

 gkl_json script_add_polygon (const gkl_json &param, gkl_string &errorStr) 加多邊形 更多...

 gkl_json script_add_txt (const gkl_json &param, gkl_string &errorStr) 加文字 更多...

 gkl_json script_erase_features (const gkl_json &param, gkl_string &errorStr) 刪除所有選中的feature 更多...

 gkl_json script_feature_to_surface (const gkl_json &param, gkl_string &errorStr) 將所有選中的feature轉(zhuǎn)成多邊形 更多...

 gkl_json script_feature_to_outline (const gkl_json &param, gkl_string &errorStr) 將所有選中的feature提取輪廓線 更多...

 gkl_json script_polyline_to_surface (const gkl_json &param, gkl_string &errorStr) 輪廓線轉(zhuǎn)多邊形 更多...

 gkl_json script_array_features (const gkl_json &param, gkl_string &errorStr) 矩形陣列復(fù)制所有選中的feature 更多...

 gkl_json script_rotate_array_features (const gkl_json &param, gkl_string &errorStr) 圓形陣列復(fù)制所有選中的feature 更多...

 gkl_json script_polyline_offset (const gkl_json &param, gkl_string &errorStr) 連續(xù)線偏移所有選中的feature 更多...

 詳細描述

函數(shù)說明

◆ script_add_arc()

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

加弧

參見

script_add_arc()

參數(shù)

[in]json    {
    "symbol":"r500",            ----symbol的名字, 英制 尺寸表示mil,公制 尺寸表示um
    "polarity":true,        ----正性 true,負性 false
    "start":                ----起點
        {
            "x":0.0,
            "y":0.125
        },
    "end":                  ----終點
        {
            "x":1.2,
            "y":-0.3
        },
    "center":               ----圓心
        {
            "x":0.5,
            "y":0.5
        },
    "ccw":true,             ----逆時針 true,順時針 false
    "attribute":
        {
            ".drill":"plated"
        }
    }

返回

true成功,false 失敗

◆ script_add_pad()

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

加PAD

參見

script_add_pad()

參數(shù)

[in]json    {
        "symbol":"r500,r400",           ----symbol的名字, 英制 尺寸表示mil,公制 尺寸表示um
        "polarity":true,        ----正性 true,負性 false
        "angle":0,              ----PAD旋轉(zhuǎn)角度,整數(shù) [0-360),逆時針旋轉(zhuǎn)角度, 整型
        "mirrx":false,          ----PAD是否x鏡像
        "mirry":false,          ----PAD是否y鏡像
        "position":             ----PAD的中心坐標
                {
                    "x":50,             ----x坐標
                    "y":60              ----y坐標
                }
        "detx":0,           ----兩個PAD之間x向距離
        "dety":0,           ----兩個PAD之間y向距離
        "nx":1,             ----x向數(shù)目  整型
        "ny":1              ----y向數(shù)目  整型

"attribute": { ".drill":"plated" ----屬性 } }

返回

  true成功,false 失敗

◆ script_add_polygon()

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

加多邊形

參見

script_add_polygon()

參數(shù)

[in]json    {
        "polarity":true,        ----正性 true,負性 false

"attribute":{} "coords": [ {"x":0,"y":0}, {"x":0.5,"y":0}, {"x":0.5,"y":0.5}, {"x":0,"y":0.5} ] }

返回

  true成功,false 失敗

◆ script_add_segment()

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

加線

參見

script_add_segment()

參數(shù)

[in]json    {
        "symbol":r500,          ----symbol的名字, 英制 尺寸表示mil,公制 尺寸表示um
        "polarity":true,        ----正性 true,負性 false
        "start":                ----起點
            {
                "x":0,
                "y":0.125
            },
        "end":                  ----終點
            {
                "x":1.2,
                "y":-0.3
            },
        "attribute":
            {
            ".drill":"plated"
            }
    }

返回

true成功,false 失敗

◆ script_add_txt()

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

加文字

參見

script_add_txt()

參數(shù)

[in]json    {
        "barcode":71,               ----二維碼形式,71 與 genesis2000二維碼統(tǒng)一, 58 表示常見的QRCODE
                                        -1表示為正常字符,其余請參考編碼文件, 二維碼方式,font字段,mirror字段 linewidth字段無意義,width無意義
        "pos.x":23.6,               ----文本坐標
        "pos.y":5.2,    
        "font":"standard",          ----字體
        "polarity":true,            ----正性 true,負性 false
        "angle":45,                 ----文本角度
        "mirror":false,             ----鏡像
        "linewidth":0.005,          ----線寬
        "height":0.023,             ----文字高
        "width":0.023,              ----單個文字寬
        "text":"$$job_$$LAYER"      --- 文本內(nèi)容
    }

返回

true成功,false 失敗

◆ script_array_features()

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

矩形陣列復(fù)制所有選中的feature

參見

script_array_features()

參數(shù)

[in]json    {
    "xnum":3,       --x方向復(fù)制的個數(shù)
    "ynum":3,       --y方向復(fù)制的個數(shù)
    "xoffset":0.3,      --x方向復(fù)制體的間隔距離
    "yoffset":0.3       --y方向復(fù)制體的間隔距離

}

返回

  true成功,false 失敗

◆ script_begin_add_feature()

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

加PAD

參見

script_begin_add_feature() script_end_add_feature() 大批量追加元素時,可以使用這個兩個函數(shù)將追加元素的接口包起來,可加速調(diào)用

參數(shù)

[in]json

返回

true成功,false 失敗

◆ script_erase_features()

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

刪除所有選中的feature

參見

script_erase_features()

返回

true成功,false 失敗

◆ script_feature_to_outline()

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

將所有選中的feature提取輪廓線

參見

script_feature_to_outline()

返回

true成功,false 失敗

◆ script_feature_to_surface()

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

將所有選中的feature轉(zhuǎn)成多邊形

參見

script_feature_to_surface()

返回

true成功,false 失敗

◆ script_polyline_offset()

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

連續(xù)線偏移所有選中的feature

參見

script_polyline_offset()

參數(shù)

[in]json{
"start_x":3.0,      --偏移向量起點x坐標
"start_y":3.0,      --偏移向量起點y坐標
"end_x":3.0,        --偏移向量終點x坐標
"end_y":3.0,        --偏移向量終點y坐標
"src_delete":true       --是否刪除源
}

返回

true成功,false 失敗

◆ script_polyline_to_surface()

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

輪廓線轉(zhuǎn)多邊形

參見

script_polyline_to_surface()

返回

true成功,false 失敗

◆ script_rotate_array_features()

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

圓形陣列復(fù)制所有選中的feature

參見

script_rotate_array_features()

參數(shù)

[in]json    {
    "center_x":3.0,     --圓心x坐標
    "center_y":3.0,     --圓心y坐標
    "start_x":3.0,      --起始點x坐標
    "start_y":3.0,      --起始點y坐標
    "end_x":3.0,        --終點x坐標
    "end_y":3.0,        --終點y坐標
    "anglestep":3,          --圓形陣列角度步長
    "ccw":true                  --圓形陣列順逆時針
    }

返回

true成功,false 失敗


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