找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 430|回复: 3

[求助] [求助]:用lisp实现如mirror功能?

[复制链接]
发表于 2003-7-23 20:48:28 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
用lisp能否实现如mirror功能?即在屏幕选择镜像线时动态显示镜像图像。
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!

已领礼包: 488个

财富等级: 日进斗金

发表于 2003-7-23 23:26:36 | 显示全部楼层
看看xd_api试试.
不然lisp好象挺难.除非用grdraw大致模仿一下.
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2003-7-23 23:51:47 | 显示全部楼层
nuance 的意思是不是预设了选择集,然后手动设定镜像线?则代码:
假设选择集为SS
(command "mirror" ss "" pause pause)

如果第一镜像点已知,则:
(command "mirror" ss "" pt1 pause)

也许我理解的不对?
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

已领礼包: 593个

财富等级: 财运亨通

发表于 2003-7-24 00:23:30 | 显示全部楼层

  1. [color=red](acet-ss-drag-move ss pt [prompt] [highlight [cursor]])[/color]

  2. Drag a selection set to change location.

  3. Arguments
  4. ss The selection set to drag.
  5. pt The base point.
  6. prompt A message to display before dragging is started.
  7. highlight If given, causes a rubber-band line to be drawn from pt to the current cursor position while dragging;
  8. this parameter can be nil to draw a rubber-band line in the inverse of the screen color, or non-nil to draw a
  9. highlighted line.
  10. cursor The cursor form to display while dragging (0=crosshairs, 1=no cursor, 2=target).

  11. Return Values
  12. Normally returns the selected point, but will honor initget settings and can return arbitrary text or keywords.
  13. Returns nil if the dragging operation is aborted.

  14. Note:
  15. The acet-ss-drag-move function does not move the selection set, but allows selection of a new position while
  16. showing how the result will appear.
复制代码

  1. [color=blue](acet-ss-drag-rotate ss pt [prompt] [highlight [cursor]])[/color]

  2. Drag a selection set to change rotation.

  3. Arguments
  4. ss The selection set to drag.
  5. pt The base point.
  6. prompt A message to display before dragging is started.
  7. highlight If given, causes a rubber-band line to be drawn from pt to the current cursor position while dragging;
  8. this parameter can be nil to draw a rubber-band line in the inverse of the screen color, or non-nil to draw a
  9. highlighted line.
  10. cursor Gives the cursor form to display while dragging (0=crosshairs, 1=no cursor, 2=target).

  11. Return Values
  12. The selected rotation value, or nil if dragging is aborted.

  13. Note:
  14. The acet-ss-drag-rotate function does not rotate the selection set, but allows selection of a rotation value
  15. while showing how the result will appear.

复制代码

  1. [color=blue](acet-ss-drag-scale ss pt [prompt] [highlight [cursor]])[/color]

  2. Drag a selection set to change scale.

  3. Arguments
  4. ss The selection set to drag.
  5. pt The base point.
  6. prompt A message to display before dragging is started.
  7. highlight If given, causes a rubber-band line to be drawn from pt to the current cursor position while dragging;
  8. this parameter can be nil to draw a rubber-band line in the inverse of the screen color, or non-nil to draw a
  9. highlighted line.
  10. cursor Gives the cursor form to display while dragging (0=crosshairs, 1=no cursor, 2=target).

  11. Return Values
  12. The selected scale factor, or nil if dragging is aborted.

  13. Note:
  14. The acet-ss-drag-scale function does not scale the selection set, but allows selection of a scaling factore
  15. while showing how the result will appear.

复制代码
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2024-4-28 21:43 , Processed in 0.381272 second(s), 37 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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