几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(AutoLISP) (http://www.dimcax.com/hust/forumdisplay.php?f=178)
-   -   [求助] repeat求点 (http://www.dimcax.com/hust/showthread.php?t=10875)

yang686526 2009-04-25 10:34 PM

[求助] repeat求点
 
[求助] repeat求点
www.dimcax.com
[求助] repeat求点
请教下各位:
(defun c:test00 ()
(setq t0 1)
(repeat 10
(setq p1 (list (sin t0) (cos t0)))
(setq t0 (+ t0 1))
另外求最后一点p10,怎么写?
)
(princ p1)
(princ p10)
(princ)
)
d
( c:test00 ()
( t0 1 pt "p")
( 10
( ((strcat pt ( t0))) ( ( t0) ( t0)))
( ((read( pt( t0))))) ( "\n")
( t0 ( t0 1))
)
()
)
踅摸
d


所有的时间均为北京时间。 现在的时间是 05:57 AM.