Cadence Skill 论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 5430|回复: 4

[skill函数] 请教一下,怎么用SKill来设置Artwork中的Device Type,和Artwork Format里面的参数?

[复制链接]
发表于 2019-4-1 09:21:26 | 显示全部楼层 |阅读模式

如题,请教一下,怎么用SKill来设置Artwork中的Device Type,和Artwork Format里面的参数?

在论坛看到有大神发过相关的Skill,想学习一下,谢谢大神们。

我有一个想法是通过修改那个art_param.txt这个文档可以设置Artwork中的Device Type,但是是这样的方法吗?

那Artwork Format里面的参数应该怎么去设置呢?
发表于 2019-5-24 17:48:35 | 显示全部楼层
我也在考虑用skill写呢
发表于 2019-5-29 16:48:29 | 显示全部楼层
光绘的Film Control可以设置,General Parameters还没找到怎么设置
TIM截图20190529164536.png
skille如下:
axlCmdRegister("FilmCreate" 'FilmCreate)

defun(FilmCreate ()
axlFilmCreate( "DRILL" ?negative nil ?undefineLineWidth 0.1270 ?sequence 9
    ?rotation 0 ?xOffset 0.0000 ?yOffset 0.0000 ?shapeBoundingBox 2.5400 ?mirrored nil ?fullContact nil
    ?suppressUnconnectPads nil ?drawMissingPadApertures nil ?useApertureRotation nil
    ?suppressShapeFill nil ?vectorBasedPad t ?drawHolesOnly nil
    ?domains '(ipc2581 pdf artwork visibility ) ?ipc2581 '()
    ?layers '("BOARD GEOMETRY/OUTLINE" "MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "BOARD GEOMETRY/DIMENSION" ))
axlFilmCreate( "PASTBOTTOM" ?negative nil ?undefineLineWidth 0.1270 ?sequence 8
    ?rotation 0 ?xOffset 0.0000 ?yOffset 0.0000 ?shapeBoundingBox 2.5400 ?mirrored nil ?fullContact nil
    ?suppressUnconnectPads nil ?drawMissingPadApertures nil ?useApertureRotation nil
    ?suppressShapeFill nil ?vectorBasedPad t ?drawHolesOnly nil
    ?domains '(ipc2581 pdf artwork visibility ) ?ipc2581 '()
    ?layers '("BOARD GEOMETRY/OUTLINE" "PIN/PASTEMASK_BOTTOM" "PACKAGE GEOMETRY/PASTEMASK_BOTTOM" ))
axlFilmCreate( "PASTTOP" ?negative nil ?undefineLineWidth 0.1270 ?sequence 7
    ?rotation 0 ?xOffset 0.0000 ?yOffset 0.0000 ?shapeBoundingBox 2.5400 ?mirrored nil ?fullContact nil
    ?suppressUnconnectPads nil ?drawMissingPadApertures nil ?useApertureRotation nil
    ?suppressShapeFill nil ?vectorBasedPad t ?drawHolesOnly nil
    ?domains '(ipc2581 pdf artwork visibility ) ?ipc2581 '()
    ?layers '("BOARD GEOMETRY/OUTLINE" "PIN/PASTEMASK_TOP" "PACKAGE GEOMETRY/PASTEMASK_TOP" ))
axlFilmCreate( "SOLDBOTTOM" ?negative nil ?undefineLineWidth 0.1270 ?sequence 6
    ?rotation 0 ?xOffset 0.0000 ?yOffset 0.0000 ?shapeBoundingBox 2.5400 ?mirrored nil ?fullContact nil
    ?suppressUnconnectPads nil ?drawMissingPadApertures nil ?useApertureRotation nil
    ?suppressShapeFill nil ?vectorBasedPad t ?drawHolesOnly nil
    ?domains '(ipc2581 pdf artwork visibility ) ?ipc2581 '()
    ?layers '("BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/SOLDERMASK_BOTTOM" "PIN/SOLDERMASK_BOTTOM" "PACKAGE GEOMETRY/SOLDERMASK_BOTTOM" ))
axlFilmCreate( "SOLDTOP" ?negative nil ?undefineLineWidth 0.1270 ?sequence 5
    ?rotation 0 ?xOffset 0.0000 ?yOffset 0.0000 ?shapeBoundingBox 2.5400 ?mirrored nil ?fullContact nil
    ?suppressUnconnectPads nil ?drawMissingPadApertures nil ?useApertureRotation nil
    ?suppressShapeFill nil ?vectorBasedPad t ?drawHolesOnly nil
    ?domains '(ipc2581 pdf artwork visibility ) ?ipc2581 '()
    ?layers '("BOARD GEOMETRY/OUTLINE" "PIN/SOLDERMASK_TOP" "BOARD GEOMETRY/SOLDERMASK_TOP" "PACKAGE GEOMETRY/SOLDERMASK_TOP" ))
axlFilmCreate( "SILKBOTTOM" ?negative nil ?undefineLineWidth 0.1270 ?sequence 4
    ?rotation 0 ?xOffset 0.0000 ?yOffset 0.0000 ?shapeBoundingBox 2.5400 ?mirrored nil ?fullContact nil
    ?suppressUnconnectPads nil ?drawMissingPadApertures nil ?useApertureRotation nil
    ?suppressShapeFill nil ?vectorBasedPad t ?drawHolesOnly nil
    ?domains '(ipc2581 pdf artwork visibility ) ?ipc2581 '()
    ?layers '("BOARD GEOMETRY/OUTLINE" "REF DES/SILKSCREEN_BOTTOM" "PACKAGE GEOMETRY/SILKSCREEN_BOTTOM" "BOARD GEOMETRY/SILKSCREEN_BOTTOM" ))
axlFilmCreate( "SILKTOP" ?negative nil ?undefineLineWidth 0.1270 ?sequence 3
    ?rotation 0 ?xOffset 0.0000 ?yOffset 0.0000 ?shapeBoundingBox 2.5400 ?mirrored nil ?fullContact nil
    ?suppressUnconnectPads nil ?drawMissingPadApertures nil ?useApertureRotation nil
    ?suppressShapeFill nil ?vectorBasedPad t ?drawHolesOnly nil
    ?domains '(ipc2581 pdf artwork visibility ) ?ipc2581 '()
    ?layers '("BOARD GEOMETRY/OUTLINE" "PACKAGE GEOMETRY/SILKSCREEN_TOP" "REF DES/SILKSCREEN_TOP" "BOARD GEOMETRY/SILKSCREEN_TOP" ))
axlFilmCreate( "BOTTOM" ?negative nil ?undefineLineWidth 0.1270 ?sequence 2
    ?rotation 0 ?xOffset 0.0000 ?yOffset 0.0000 ?shapeBoundingBox 2.5400 ?mirrored nil ?fullContact nil
    ?suppressUnconnectPads nil ?drawMissingPadApertures nil ?useApertureRotation nil
    ?suppressShapeFill nil ?vectorBasedPad t ?drawHolesOnly nil
    ?domains '(ipc2581 pdf artwork visibility ) ?ipc2581 '()
    ?layers '("BOARD GEOMETRY/OUTLINE" "ETCH/BOTTOM" "PIN/BOTTOM" "VIA CLASS/BOTTOM" ))
axlFilmCreate( "TOP" ?negative nil ?undefineLineWidth 0.1270 ?sequence 1
    ?rotation 0 ?xOffset 0.0000 ?yOffset 0.0000 ?shapeBoundingBox 2.5400 ?mirrored nil ?fullContact nil
    ?suppressUnconnectPads nil ?drawMissingPadApertures nil ?useApertureRotation nil
    ?suppressShapeFill nil ?vectorBasedPad t ?drawHolesOnly nil
    ?domains '(ipc2581 pdf artwork visibility ) ?ipc2581 '()
    ?layers '("BOARD GEOMETRY/OUTLINE" "ETCH/TOP" "PIN/TOP" "VIA CLASS/TOP" ))
);end defun


发表于 2019-8-28 11:49:05 | 显示全部楼层
我达达的马蹄 发表于 2019-5-29 16:48
光绘的Film Control可以设置,General Parameters还没找到怎么设置

skille如下:

并没有axlFilmCreate
这个功能呀
你这是17.2新增的么?
发表于 2020-9-7 16:16:04 | 显示全部楼层
感谢分享吖~666
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|网站地图|Cadence Skill 论坛 ( 蜀ICP备13024417号 )

GMT+8, 2024-11-23 20:29 , Processed in 0.135596 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表