Kenter 发表于 2022-7-6 10:43:09

理解/使用l中的pline

大家好,
我想我把这个贴在了正确的地方。这是我的第一篇帖子。我有一个项目在进行中,在这个地方陷入了困境。我不擅长使用“pline”来制作对象,主要是因为我不理解它。附件是我正在工作的照片。感谢您的帮助。
 
“Block”是我设置为变量的一组坐标的图像。
“Block 2”是我所需最终结果的图像
“temp4”是2004年保存的autocad绘图,我希望大多数人都能访问它。
 
以下是我目前掌握的情况:
 
 
我知道极坐标是wong,我刚刚记下idea。所有的pLL,pUL变量都是这个物体周围盒子的角。(pLL=左下板,pUR=右上板等)非常感谢您的帮助。提前感谢!
 
干杯
-肯特


温度4。图纸

Tharwat 发表于 2022-7-6 10:59:19

首先,你应该给姿势的每个角点一个点,为了让你知道如何处理多段线,看看下面的例子没什么大不了的;
(command "_.pline" pt1 "_w" 0.04 "" pt2 pt3 pt4 pt5 ......
但是你应该知道如何处理极性函数,这是一个例子;
(polar pt ang dist)
Arguments
pt
A 2D or 3D point.
ang
An angle expressed in radians relative to the world X axis. Angles increase in the counterclockwise direction, independent of the current construction plane.
dist
Distance from the specified pt.
Return Values
A 2D or 3D point, depending on the type of point specified by pt.
Examples
Supplying a 3D point to polar:
Command: (polar '(1 1 3.5) 0.785398 1.414214)
(2.0 2.0 3.5)
Supplying a 2D point to polar:
Command: (polar '(1 1) 0.785398 1.414214)
(2.0 2.0)

当做
 
塔瓦特

Lee Mac 发表于 2022-7-6 11:03:48

这看起来与此惊人地相似。。。

Kenter 发表于 2022-7-6 11:14:50

我的天啊。我认识那个家伙,他在我的办公室工作。我想我可以问他,因为我在这里没有得到答案。

Michaels 发表于 2022-7-6 11:33:31

您向谁报告您的消息?
谢谢

Lee Mac 发表于 2022-7-6 11:35:47

 
棒极了哈哈

Kenter 发表于 2022-7-6 11:46:56

不知道你是什么意思?
页: [1]
查看完整版本: 理解/使用l中的pline