This website requires JavaScript.

久久婷婷香蕉热狠狠综合,欧美性受xxxx黑人xxxx,自偷自拍亚洲综合精品麻豆,午夜福利在线永久视频

圖元模塊
更新時(shí)間:2024-12-12 16:10
16517
0
文檔錯(cuò)誤過(guò)時(shí),
我要反饋

函數(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 更多...

 詳細(xì)描述

函數(shù)說(shuō)明

◆ script_add_arc()

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

加弧

參見(jiàn)

script_add_arc()

參數(shù)

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

返回

true成功,false 失敗

◆ script_add_pad()

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

加PAD

參見(jiàn)

script_add_pad()

參數(shù)

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

加多邊形

參見(jiàn)

script_add_polygon()

參數(shù)

[in]json    {
        "polarity":true,        ----正性 true,負(fù)性 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 )

加線

參見(jiàn)

script_add_segment()

參數(shù)

[in]json    {
        "symbol":r500,          ----symbol的名字, 英制 尺寸表示mil,公制 尺寸表示um
        "polarity":true,        ----正性 true,負(fù)性 false
        "start":                ----起點(diǎn)
            {
                "x":0,
                "y":0.125
            },
        "end":                  ----終點(diǎn)
            {
                "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 )

加文字

參見(jiàn)

script_add_txt()

參數(shù)

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

返回

true成功,false 失敗

◆ script_array_features()

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

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

參見(jiàn)

script_array_features()

參數(shù)

[in]json    {
    "xnum":3,       --x方向復(fù)制的個(gè)數(shù)
    "ynum":3,       --y方向復(fù)制的個(gè)數(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

參見(jiàn)

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

參數(shù)

[in]json

返回

true成功,false 失敗

◆ script_erase_features()

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

刪除所有選中的feature

參見(jiàn)

script_erase_features()

返回

true成功,false 失敗

◆ script_feature_to_outline()

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

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

參見(jiàn)

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)成多邊形

參見(jiàn)

script_feature_to_surface()

返回

true成功,false 失敗

◆ script_polyline_offset()

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

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

參見(jiàn)

script_polyline_offset()

參數(shù)

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

返回

true成功,false 失敗

◆ script_polyline_to_surface()

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

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

參見(jià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

參見(jiàn)

script_rotate_array_features()

參數(shù)

[in]json    {
    "center_x":3.0,     --圓心x坐標(biāo)
    "center_y":3.0,     --圓心y坐標(biāo)
    "start_x":3.0,      --起始點(diǎn)x坐標(biāo)
    "start_y":3.0,      --起始點(diǎn)y坐標(biāo)
    "end_x":3.0,        --終點(diǎn)x坐標(biāo)
    "end_y":3.0,        --終點(diǎn)y坐標(biāo)
    "anglestep":3,          --圓形陣列角度步長(zhǎng)
    "ccw":true                  --圓形陣列順逆時(shí)針
    }

返回

true成功,false 失敗


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