目录
1、Draw Test Harness绘制圆锥
pload ALL
help pcone
pcone : pcone name [plane(ax2)] R1 R2 H [angle]
: Construct a cone, part cone or conical frustum and put result into 'name' variable.
: Parameters of the cone :
: - plane coordinate system for the construction of the cone
: - R1 cone bottom radius
: - R2 cone top radius
: - H cone height
: - angle angle to create a part cone
pcone thecone 10 0 20
dump thecone
绘制一个底面圆心在默认位置(0,0,0),底面在XOY平面,底面圆半径为10,顶面圆半径为0,高为20的圆锥。
2、圆锥的Brep数据
*********** Dump of thecone *************
Shape : 11, FORWARD
Dump of 11 TShapes
-----------------
Flags : Free, Modified, Checked, Orientable, Closed, Infinite, Convex, Locked
TShape # 1 : SOLID 11000000 000002892DC65CE0
+2
TShape # 2 : SHELL 01011000 000002892DC65FE0
+5 -3
TShape # 3 : FACE 01110000 000002892DB138E0
-4
Tolerance : 1e-07
- Surface : 2
TShape # 4 : WIRE 01011000 000002892DC66160
-7
TShape # 5 : FACE 01110000 000002892DB149F0
+6
Tolerance : 1e-07
- Surface : 1
TShape # 6 : WIRE 01011000 000002892DC66060
-10 +8 +7 -8
TShape # 7 : EDGE 01010000 000002892DB105F0
+9 -9
Tolerance : 1e-07
same parametrisation of curves
same range on curves
- Curve 3D : 2, range : 0 6.28318530717959
- PCurve : 4 on surface 1, range : 0 6.28318530717959
UV Points : 0, 0 6.28318530717959, 0
- PCurve : 5 on surface 2, range : 0 6.28318530717959
UV Points : 10, 0 10, -2.44929359829471e-15
此边为圆锥底面圆
TShape # 8 : EDGE 01010000 000002892DB10530
-11 +9
Tolerance : 1e-07
same parametrisation of curves
same range on curves
- Curve 3D : 1, range : 0 22.3606797749979
- PCurve : 2, 3 (CN) on surface 1, range : 0 22.3606797749979
UV Points : 6.28318530717959, 0 6.28318530717959, 22.3606797749979
UV Points : 0, 0 0, 22.3606797749979
此边为圆锥的母线
TShape # 9 : VERTEX 01011010 000002892DB14780
Tolerance : 1e-07
- Point 3D : 10, -2.44929359829471e-15, 0
此顶点为圆锥顶面圆在x轴上的点
TShape # 10 : EDGE 01010000 000002892DB10470
+11 -11
Tolerance : 1e-07
same parametrisation of curves
same range on curves
degenerated
- PCurve : 1 on surface 1, range : 0 6.28318530717959
UV Points : 0, 22.3606797749979 6.28318530717959, 22.3606797749979
此边为圆锥的顶面圆,退化为一个点
TShape # 11 : VERTEX 01011010 000002892DB13740
Tolerance : 1e-07
- Point 3D : -1.77635683940025e-15, 4.35081943503005e-31, 20
此顶点为圆锥的顶点
-------
Dump of 5 Curve2ds
-------
1 : Line
Origin :0, 22.3606797749979
Axis :1, 0
2 : Line
Origin :6.28318530717959, -0
Axis :0, 1
3 : Line
Origin :0, -0
Axis :0, 1
4 : Line
Origin :0, 0
Axis :1, 0
5 : Circle
Center :0, 0
XAxis :1, 0
YAxis :-0, 1
Radius :10
-------
Dump of 2 Curves
-------
1 : Line
Origin :10, -2.44929359829471e-15, 0
Axis :-0.447213595499958, 1.09535739652841e-16, 0.894427190999916
此直线为圆锥母线
2 : Circle
Center :0, 0, 0
Axis :0, 0, 1
XAxis :1, 0, -0
YAxis :-0, 1, 0
Radius :10
此曲线为底面圆
-------
Dump of 0 Polygon3Ds
-------
-------
Dump of 0 PolygonOnTriangulations
-------
-------
Dump of 2 surfaces
-------
1 : ConicalSurface
Origin :0, 0, 0
Axis :0, 0, 1
XAxis :1, 0, -0
YAxis :-0, 1, 0
Radius :10
Angle :-0.463647609000806
此曲面就是所创建的圆锥面,以上为确定其参数方程所需的参数
2 : Plane
Origin :0, 0, 0
Axis :0, 0, 1
XAxis :1, 0, -0
YAxis :-0, 1, 0
Axis为主方向,也就是z方向,此曲面为XOY面,,以上为确定其参数方程所需的参数
-------
Dump of 0 Triangulations
-------
-------
Dump of 0 Locations
3、总结
PCurve : 5 on surface 2表示,参数空间是半径为10的圆,映射到三维平面上(XOY面),也就是平面上的圆。
此参数空间为曲线,比较特殊,不再是直线。