乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 160|回复: 9

请问斑竹 和各位大虾 “橡皮筋”功能如何实现

[复制链接]

5

主题

19

帖子

1

银币

初来乍到

Rank: 1

铜币
39
发表于 2004-10-17 14:35:00 | 显示全部楼层 |阅读模式
具体说在模型空间画了一个三角形,当我移动其中一个顶点时,与该顶点相邻的两个边也随之移动。把顶点移动到需要位置后,按下鼠标,该两条边也随之确定。
小弟先谢了,斑竹给个思路吧
回复

使用道具 举报

16

主题

909

帖子

8

银币

中流砥柱

Rank: 25

铜币
973
发表于 2004-10-17 16:13:00 | 显示全部楼层
夹点的功能就是这样的
回复

使用道具 举报

5

主题

19

帖子

1

银币

初来乍到

Rank: 1

铜币
39
发表于 2004-10-17 19:29:00 | 显示全部楼层
楼上的能否说的详细点 拜托了
回复

使用道具 举报

16

主题

909

帖子

8

银币

中流砥柱

Rank: 25

铜币
973
发表于 2004-10-18 09:40:00 | 显示全部楼层
Grips are small, solid-filled squares that appear at strategic points on objects selected with a pointing device. You can drag these grips to stretch, move, rotate, scale, or mirror objects quickly.
When grips are on, you select the objects you want before entering a command, and then you manipulate the objects with the pointing device.

                               
登录/注册后可看大图


To use grips, select a grip to act as the base point for the action. Then select one of the grip modes. You can cycle through these modes by pressing ENTER or SPACEBAR. You also can use shortcut keys or right-click to see all of the modes and options.
You can use multiple grips as the base grips to keep the shape of the object intact between the selected grips. Hold down SHIFT as you select the grips.
For quadrant grips on circles and ellipses, distance is measured from the center point, not the selected grip. For example, in Stretch mode, you can select a quadrant grip to stretch a circle and then specify a distance on the command line for the new radius. The distance is measured from the center of the circle, not the selected quadrant. If you select the center point to stretch the circle, the circle moves.
When a 2D object lies on a plane other than the current UCS, the object is stretched on the plane on which it was created, not on the plane of the current UCS.
You can limit the display of grips on selected objects. The GRIPOBJLIMIT system variable suppresses the display of grips when the initial selection set includes more than the specified number of objects. If you add objects to the current selection set, the limit does not apply. For example, if GRIPOBJLIMIT is set to 20, you can select 15 objects and then add 25 objects to the selection and all objects display grips.
Stretch with Grips
You can stretch an object by moving selected grips to new locations. Grips on text, block references, midpoints of lines, centers of circles, and point objects move the object rather than stretching it. This is an excellent method for moving block references and adjusting dimensions.
Move with Grips
You can move objects by the grip selected. Selected objects are highlighted and are moved the direction and distance of the next point location you specify.
Rotate with Grips
You can rotate selected objects around a base point by dragging and specifying a point location. Alternatively, you can enter an angle value. This is an excellent method for rotating block references.
Scale with Grips
You can scale selected objects relative to a base point. Increase the size of an object by dragging outward from the base grip and specifying a point location, or decrease the size by dragging inward. Alternatively, you can enter a value for relative scaling.
Mirror with Grips
You can mirror selected objects across a temporary mirror line. Turning Ortho on helps you specify a vertical or horizontal mirror line.
回复

使用道具 举报

5

主题

19

帖子

1

银币

初来乍到

Rank: 1

铜币
39
发表于 2004-10-18 10:17:00 | 显示全部楼层
请问斑竹如何用编程实现呢?
回复

使用道具 举报

9

主题

100

帖子

7

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
136
发表于 2004-10-18 11:09:00 | 显示全部楼层
用(grread)函数
回复

使用道具 举报

1

主题

3

帖子

2

银币

初来乍到

Rank: 1

铜币
7
发表于 2004-10-18 16:17:00 | 显示全部楼层
GRREAD是lisp函数,VBA不能用, 我曾经写过一个用VBA调用LISP的程序,使用GRTEXT和GRDRAW功能时都可以,就是GRREAD时,一使用鼠标滚轮就死机,哪位高手请指点一下
回复

使用道具 举报

5

主题

19

帖子

1

银币

初来乍到

Rank: 1

铜币
39
发表于 2004-10-18 17:55:00 | 显示全部楼层
斑竹 可否给个用vba写的程序呢?小弟 先谢了~
回复

使用道具 举报

5

主题

19

帖子

1

银币

初来乍到

Rank: 1

铜币
39
发表于 2004-10-18 18:06:00 | 显示全部楼层
斑竹 我需要实现如下功能,如图片所示,当我移动其中一个顶点圆时,和该圆相邻的两条边能随之移动,当我按下鼠标后,两条边随之确定。即 ,该圆相当于夹点!移动夹点 可以调整图形。
小弟 先谢了,拜托斑竹给个 思路吧
回复

使用道具 举报

5

主题

19

帖子

1

银币

初来乍到

Rank: 1

铜币
39
发表于 2004-10-18 18:13:00 | 显示全部楼层
C:\Documents and Settings\Administrator\桌面\1.bmp
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-16 06:45 , Processed in 0.429714 second(s), 72 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表