| 语法 |
参数 |
| AddLine(StartPoint, EndPoint) |
线 |
| AddCircle(Center, rad) |
圆 |
| AddBox(Origin, Length, Width, Height) |
立方体 |
| AddArc(Center, radius, StartAngle, EndAngle) |
圆弧 |
| AddPoint(Point) |
点 |
| AddText(text, Point, Height) |
文字 |
| AddCone(Center,BaseRadius,Height) |
锥体 |
| AddCylinder(Center,Radius,Height) |
圆柱体 |
| AddEllipse(Center, MajorAxis, RadiusRatio) |
椭圆,MajorAxis 长轴,RadiusRatio 短长轴比 |
| AddEllipticalCone(Center, MajorRadius, MinorRadius, Height) |
椭圆锥体 |
| AddEllipticalCylinder(Center, MajorRadius, MinorRadius, Height) |
椭圆柱体 |
| AddExtrudedSolid(Profile, Height, TaperAngle) |
区域拉伸为实体,TaperAngle 角度 |
| AddExtrudedSolidAlongPath(Profile, Path) |
区域按路径拉伸 |
| AddMInsertBlock(InsertionPoint, Name, XScale, YScale, ZScale, Rotation,
NumRows, NumColumns, RowSpacing, ColumnSpacing) |
插入块阵列 |
| AddMText(InsertionPoint, Width, Text) |
多行文本 |
| AddPolyline(VerticesList) |
多义线,参数为3倍数的 Double 数组 |
| AddRegion(ObjectList) |
区域,参数为封闭线集合 |
| AddRevolvedSolid(Profile, AxisPoint, AxisDir, Angle) |
区域旋转成实体,AxisDir 为三维向量 |
| AddSphere(Center, Radius) |
球 |
| AddSpline(PointsArray, StartTangent, EndTangent) |
曲线,参数为点数组及向量 |
| AddTorus(Center, TorusRadius, TubeRadius) |
圆环 |
| AddXline(Point1, Point2) |
射线 |