用坐标系操作来绘制圆:
命令流:
CSWPLA,11,1,0.5,1
/PREP7
K,1,-5
K,2,5
L,1,2
CSYS,0
LSYMM,Y,1,,,,0,0
lglue,all
al,1,3
详细解释:
查阅帮助得知:
1.CSWPLA:
/*
CSWPLA, KCN, KCS, PAR1, PAR2
Defines a local coordinate system at the origin of the working plane.
KCN
Arbitrary reference number assigned to this coordinate system. Must be greater than 10. A coordinate system previously defined with this number will be redefined.
KCS
Coordinate system type:
0 or CART --
Cartesian
1 or CYLIN --
Cylindrical (circular or elliptical)
2 or SPHE --
Spherical (or spheroidal)
3 or TORO --
Toroidal
PAR1
Used for elliptical, spheroidal, or toroidal systems. If KCS = 1 or 2, PAR1 is the ratio of the ellipse Y-axis radius to X-axis radius (defaults to 1.0 (circle)). If KCS = 3, PAR1 is the major radius of the torus.
PAR2
Used for spheroidal systems. If KCS = 2, PAR2 = ratio of ellipse Z-axis radius to X-axis radius (defaults to 1.0 (circle)).
*/ 可以知道第一句是定义了一个圆柱坐标系
第三四句就创建了椭圆的两个端点.
第五句创建连接两个点构成一条线(因为是圆柱坐标系,所以绘制的线不是直线了:)
csys,0切换到整体坐标系.
最后%26quot;LSYMM,Y,1,,,,0,0%26quot;一句进行对称绘制.
然后lglue,all把两条线连接起来,最后一句绘制椭圆面.
这个里面比较难以理解的是用l,1,2命令连接两点得到的不是直线而是曲线.
命令流:
CSWPLA,11,1,0.5,1
/PREP7
K,1,-5
K,2,5
L,1,2
CSYS,0
LSYMM,Y,1,,,,0,0
lglue,all
al,1,3
详细解释:
查阅帮助得知:
1.CSWPLA:
/*
CSWPLA, KCN, KCS, PAR1, PAR2
Defines a local coordinate system at the origin of the working plane.
KCN
Arbitrary reference number assigned to this coordinate system. Must be greater than 10. A coordinate system previously defined with this number will be redefined.
KCS
Coordinate system type:
0 or CART --
Cartesian
1 or CYLIN --
Cylindrical (circular or elliptical)
2 or SPHE --
Spherical (or spheroidal)
3 or TORO --
Toroidal
PAR1
Used for elliptical, spheroidal, or toroidal systems. If KCS = 1 or 2, PAR1 is the ratio of the ellipse Y-axis radius to X-axis radius (defaults to 1.0 (circle)). If KCS = 3, PAR1 is the major radius of the torus.
PAR2
Used for spheroidal systems. If KCS = 2, PAR2 = ratio of ellipse Z-axis radius to X-axis radius (defaults to 1.0 (circle)).
*/ 可以知道第一句是定义了一个圆柱坐标系
第三四句就创建了椭圆的两个端点.
第五句创建连接两个点构成一条线(因为是圆柱坐标系,所以绘制的线不是直线了:)
csys,0切换到整体坐标系.
最后%26quot;LSYMM,Y,1,,,,0,0%26quot;一句进行对称绘制.
然后lglue,all把两条线连接起来,最后一句绘制椭圆面.
这个里面比较难以理解的是用l,1,2命令连接两点得到的不是直线而是曲线.
相关文章
- 2021-09-08BIM技术丛书Revit软件应用系列Autodesk Revit族详解 [
- 2021-09-08全国专业技术人员计算机应用能力考试用书 AutoCAD2004
- 2021-08-30从零开始AutoCAD 2014中文版机械制图基础培训教程 [李
- 2021-08-30从零开始AutoCAD 2014中文版建筑制图基础培训教程 [朱
- 2021-08-30电气CAD实例教程AutoCAD 2010中文版 [左昉 等编著] 20
- 2021-08-30高等院校艺术设计案例教程中文版AutoCAD 建筑设计案例
- 2021-08-29环境艺术制图AutoCAD [徐幼光 编著] 2013年PDF下载
- 2021-08-29机械AutoCAD 项目教程 第3版 [缪希伟 主编] 2012年PDF
- 2021-08-29机械制图与AutoCAD [李志明 主编] 2014年PDF下载
- 2021-08-29机械制图与AutoCAD [陶素连,周钦河 主编] 2013年PDF下