本帖最后由 xyp1964 于 2015-8-13 08:16 编辑
 - ;; tt(曲线绝对距离等分)
- ;; 需要e派工具箱(XCAD)的支持:[url]http://yunpan.cn/Qh7rDf4Y2xwYN[/url](提取码:06ee)
- (defun c:tt ()
- (xyp-Start)
- (if (and (setq s1 (car (entsel "\n选择多段线: ")))
- (xyp-etype s1 "*line")
- )
- (setq ptn (xyp-CurveDivByAbsoluteDist s1 20);距离20
- s2 (xyp-Pline ptn nil)
- )
- )
- (xyp-End)
- )
|