iCAx开思网

标题: [UG GRIP求助]如何在GRIP程序中选择对象? [打印本页]

作者: happyljg2002    时间: 2006-6-28 13:16
标题: [UG GRIP求助]如何在GRIP程序中选择对象?
我用GRIP写了一个程序,生成了四条直线,现在想把这四条首尾相连的直线拉伸成一个实体,如何能让程序自动选择这四条直线,然后拉伸?请大家帮帮忙,不胜感激.
作者: TWC-168    时间: 2006-6-29 12:04
期待...高手...
作者: hgjuice    时间: 2006-7-1 10:08
首先定义数组,ln(4),
然后:ln(1)=
            .
            .
            ln(4)=
拉伸时对象为ln(1..4)
作者: TWC-168    时间: 2006-7-1 17:57
有道理
作者: happyljg2002    时间: 2006-7-4 12:50
多谢
作者: happyljg2002    时间: 2006-7-4 13:13
已经用了,完全实现了功能,现在一个新的问题是拉伸的实体现在需要倒角或者圆角,应该怎么实现,请DX赐教。
作者: khzx    时间: 2006-7-4 17:48
Blend/Chamfer

语法
BLEND/obj,{RADIUS|CHAMFR},num[,obj list1][,VERT,obj list2][IFERR,label:]

功能
Allows you to modify a solid by either rounding (blend) or beveling (chamfer) specified edges of the solid.

The BLEND statement works in much the same way as the Blend option in the Modeling application except that you may only do fixed radius blends. See the Modeling Help.

Parameters

obj
The solid to be modified.

RADIUS
Minor word indicating that a blend operation is to be performed on the solid.

CHAMFR
Minor word indicating that a chamfer operation is to be performed on the solid.

num
When used with the RADIUS minor word, num is the positive radius of the blend.

When used with the CHAMFR minor word, num is the offset distance between the intersection of the specified edges. When one edge is curved, the offset is measured along the path of the curved edge.

obj list1
First list of point objects which identify the edges of the solid to blend/chamfer. The points identify the edges by distance. If neither list of points is specified, then the system blends/chamfers every edge in the solid.

VERT
Optional minor word specifies that the following list of points identifies vertices on the solid.

obj list2
Second list of point objects which identify vertices on the solid. The points identify the vertices by distance. The edges involved in these vertices are blended/chamfered. If you do not specify either list of points, then the system blends/chamfers every edge in the solid.

IFERR,label:
Specifies a label to which program execution jumps if an error occurs. Possible errors include: illegal object specified; radius values must be positive, etc.
作者: happyljg2002    时间: 2006-7-5 16:34
十分感谢
作者: happyljg2002    时间: 2006-7-5 16:57
十分感谢
作者: xszlz    时间: 2006-11-14 19:53
原帖由 khzx 于 2006-7-4 17:48 发表
Blend/Chamfer

语法
BLEND/obj,{RADIUS|CHAMFR},num

功能
Allows you to modify a solid by either rounding (blend) or beveling (chamfer) specified edges of the solid.

The BLEND statement work ...


请问兄弟哪里有这些资料,真好
作者: tal.zhai    时间: 2006-11-18 09:26
请问兄弟哪里有这些资料,真好
作者: vfvf2005    时间: 2006-11-18 12:15
支持,这些资料是好东西,就是难找
作者: shi10.05    时间: 2007-1-30 08:34
大哥的资料真好!!   能否告诉在哪里可以买到?
作者: muzhuzhu    时间: 2007-1-31 23:39
需要的找我,
我QQ:   254740491




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3