- 积分
- 22995
- 明经币
- 个
- 注册时间
- 2008-5-30
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|

楼主 |
发表于 2012-10-19 21:07:09
|
显示全部楼层
最后想去LEE_MAC那里看看有没有,给他写了封信:
Dear sir :
I think "dynamic mirror command" will be a big chanllenge, that mean when i run this routine, I pick a line , then what ever I done on the left side , the right side will do the same in the sametime , dynamic , symetric .mirror.
when i draw a line on the left , the right will draw the line same time dynamic !
when i select a complicated area to stretch on the left , the right side will select the same area (but mirrored) to stretch to .dynamic
when i move a object on the left side , the right side will do the same thing !
that will very great!
have you try any idea like this!
I have send a post in the forum i hang out ! there is one gif explain what i want !
http://bbs.mjtd.com/thread-96776-1-1.html
you are the best expert i know, hope you have write something like this!
best regards!
you friend in china
pan_liang
意思是问他有没可能性做到"动态镜向“这样的命令!
他回信说,简单的镜向画线是可以的,但象拉伸这样的命令,就很复杂了。但即使是象简单镜向画线这样的命令,也无法在画线过程中使用抓点等辅助命令,实际使用效果很不好。
他的回信:
Hi panliang,
Thank you for your message, I hope things are well in China.
The application that you describe could certainly be created for dynamic construction of simple geometric objects (such as Lines, Polylines, Circles, Arcs etc.), through the use of the grread function to detect the user's cursor position and construct the source and mirrored object accordingly – see the attached GIF animation for an example of such a program.
However, since AutoLISP does not permit multiple processor threads, it would not be possible to create a dynamic mirror for operations such as the Stretch command, unless you were to recreate the entire Stretch command within a grread loop – now that would be a lot of work!
Another option would be to use a Command Reactor to monitor to use of certain commands, and mirror the operations performed by these commands from within the Reactor Callback function after the command has completed, though, this would not create the 'dynamic' effect that you desire.
Note, however, that even though the dynamic effect can be created by using the grread function, the user has no access to standard drawing aids, such as Object Snap, Orthomode, Polar Tracking etc. which renders such programs rather impractical for general applications.
I hope this provides some food for thought.
Kind Regards,
Lee
PS: I unfortunately could not view the animation from your forum post as I am not a member of that forum.
Lee Mac Programming
他给了一个图片,示意如果镜向画线是怎么样的,图片非常诱人,但没法配合抓点真是一大遗撼。
现在看来寻找这样的东西是希望不大了!
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|