这是proe生成的只有两个点的IGES文件
注意:显示问题格式没有对齐
PTC IGES file: prt0001.igs S 1
1H,,1H;,7HPRT0001,11Hprt0001.igs, G 1
49HPro/ENGINEER by Parametric Technology Corporation,7H370,32,38,7, G 2
38,15,7HPRT0001,1.,1,4HINCH,32768,0.5,13H071107.172240,0.0363072, G 3
363.086,4HOhio,7HUnknown,10,0,13H071107.172240; G 4
314 1 1 1 0 0 0 001000200 D1
314 0 2 1 0 COLOR 1D 2
314 2 1 1 0 0 0 001000200 D 3
314 0 2 1 0 COLOR 2 D 4
314 3 1 1 0 0 0 001000200 D 5
314 0 8 1 0 COLOR 3 D6
406 4 1 1 0 0 0 001000000 D 7
406 0 0 1 15 PROP 1 D 8
116 5 1 1 0 0 0 000000000 D9
116 0 -1 1 0 POINT 1 D 10
406 6 1 1 0 0 0 001000000 D11
406 0 0 1 15 PROP 2 D 12
116 7 1 1 0 0 0 000000000 D 13
116 0 -1 1 0 POINT 2 D 14
406 8 1 1 0 0 0 001000000 D 15
406 0 0 1 15 PROP 3 D 16
402 9 1 1 0 0 0 000000300 D17
402 0 0 1 7 LAYER 1 D18
314,5.803921568627D1,0D0,1.607843137255D1; 1P 1
314,6.666666666667D1,4.627450980392D1,2.196078431373D1; 3P 2
314,8.784D1,9.49D1,1D2; 5P 3
406,1,4HPNT0; 7P 4
116,0D0,2.5433D2,1.5253D2,0,0,1,7; 9P 5
406,1,4HPNT1; 11P 6
116,-2.5433D2,0D0,1.0289D2,0,0,1,11; 13P 7
406,1,20H04___PRT_ALL_DTM_PNT; 15P 8
402,2,9,13,0,1,15; 17P 9
S 1G 4D 18P 9 T 1
这是UG NX4生成的只有两个点的IGES文件
S 1
1H,,1H;,66HF:/My Documents/Visual Studio Projects/ex_iges5/test/twopointG 1
s.prt,66HF:/My Documents/Visual Studio Projects/ex_iges5/test/twopoints.G 2
igs,7HNX V4.0,16HUGS NX IGES V4.0,32,38,16,38,16,66HF:/My Documents/VisuG 3
al Studio Projects/ex_iges5/test/twopoints.prt,1.0,2,2HMM,3,0.0,15H1G 4
111.123218,1.0E-005,10000.0,,,11,0,15H20011111.123200; G 5
314 1 1 1 0 0 200D 1
314 2 4 1 0 0D 2
116 2 1 1 0 0 0D 3
116 2 -1 1 0 0D 4
116 3 1 1 0 0 0D 5
116 2 -1 1 0 0D 6
108 4 1 1 0 0 10100D 7
108 2 0 1 0 0D 8
108 5 1 1 0 0 10100D 9
108 2 0 1 0 0D 10
108 6 1 1 0 0 10100D 11
108 2 0 1 0 0D 12
108 7 1 1 0 0 10100D 13
108 2 0 1 0 0D 14
406 8 1 1 0 0 10000D 15
406 2 0 1 15 0D 16
410 9 1 256 0 0 100D 17
410 2 0 1 0 TOP 0D 18
124 10 1 1 0 0 0D 19
124 2 0 1 0 0D 20
108 11 1 1 0 0 10100D 21
108 2 0 1 0 0D 22
108 12 1 1 0 0 10100D 23
108 2 0 1 0 0D 24
108 13 1 1 0 0 10100D 25
108 2 0 2 0 0D 26
108 15 1 1 0 0 10100D 27
108 2 0 2 0 0D 28
406 17 1 1 0 0 10000D 29
406 2 0 1 15 0D 30
410 18 1 256 0 19 100D 31
410 2 0 1 0 FRONT 0D 32
124 19 1 1 0 0 0D 33
124 2 0 1 0 0D 34
108 20 1 1 0 0 10100D 35
108 2 0 1 0 0D 36
108 21 1 1 0 0 10100D 37
108 2 0 1 0 0D 38
108 22 1 1 0 0 10100D 39
108 2 0 2 0 0D 40
108 24 1 1 0 0 10100D 41
108 2 0 2 0 0D 42
406 26 1 1 0 0 10000D 43
406 2 0 1 15 0D 44
410 27 1 256 0 33 100D 45
410 2 0 1 0 RIGHT 0D 46
124 28 1 1 0 0 0D 47
124 2 0 1 0 0D 48
108 29 1 1 0 0 10100D 49
108 2 0 1 0 0D 50
108 30 1 1 0 0 10100D 51
108 2 0 1 0 0D 52
108 31 1 1 0 0 10100D 53
108 2 0 2 0 0D 54
108 33 1 1 0 0 10100D 55
108 2 0 2 0 0D 56
406 35 1 1 0 0 10000D 57
406 2 0 1 15 0D 58
410 36 1 256 0 47 100D 59
410 2 0 1 0 BACK 0D 60
124 37 1 1 0 0 0D 61
124 2 0 1 0 0D 62
108 38 1 1 0 0 10100D 63
108 2 0 1 0 0D 64
108 39 1 1 0 0 10100D 65
108 2 0 1 0 0D 66
108 40 1 1 0 0 10100D 67
108 2 0 1 0 0D 68
108 41 1 1 0 0 10100D 69
108 2 0 1 0 0D 70
406 42 1 1 0 0 10000D 71
406 2 0 1 15 0D 72
410 43 1 256 0 61 100D 73
410 2 0 1 0 BOTTOM 0D 74
124 44 1 1 0 0 0D 75
124 2 0 1 0 0D 76
108 45 1 1 0 0 10100D 77
108 2 0 1 0 0D 78
108 46 1 1 0 0 10100D 79
108 2 0 1 0 0D 80
108 47 1 1 0 0 10100D 81
108 2 0 2 0 0D 82
108 49 1 1 0 0 10100D 83
108 2 0 2 0 0D 84
406 51 1 1 0 0 10000D 85
406 2 0 1 15 0D 86
410 52 1 256 0 75 100D 87
410 2 0 1 0 LEFT 0D 88
124 53 1 1 0 0 0D 89
124 2 0 3 0 0D 90
108 56 1 1 0 0 10100D 91
108 2 0 2 0 0D 92
108 58 1 1 0 0 10100D 93
108 2 0 2 0 0D 94
108 60 1 1 0 0 10100D 95
108 2 0 3 0 0D 96
108 63 1 1 0 0 10100D 97
108 2 0 3 0 0D 98
406 66 1 1 0 0 10000D 99
406 2 0 1 15 0D 100
410 67 1 256 0 89 100D 101
410 2 0 1 0 TFR-ISO 0D 102
124 68 1 1 0 0 0D 103
124 2 0 3 0 0D 104
108 71 1 1 0 0 10100D 105
108 2 0 2 0 0D 106
108 73 1 1 0 0 10100D 107
108 2 0 2 0 0D 108
108 75 1 1 0 0 10100D 109
108 2 0 3 0 0D 110
108 78 1 1 0 0 10100D 111
108 2 0 3 0 0D 112
406 81 1 1 0 0 10000D 113
406 2 0 1 15 0D 114
410 82 1 256 0 103 100D 115
410 2 0 1 0 TFR-TRI 0D 116
314,0.0,0.0,80.0,14HDark Hard Blue,0,0; 1P 1
116,1.0,2.0,3.0,0,0,0; 3P 2
116,4.0,5.0,6.0,0,0,0; 5P 3
108,1.0,0.0,0.0,156.75,0,156.75,3.5,4.5,0.0,0,0; 7P 4
108,1.0,0.0,0.0,-151.75,0,-151.75,3.5,4.5,0.0,0,0; 9P 5
108,0.0,1.0,0.0,74.0,0,2.5,74.0,4.5,0.0,0,0; 11P 6
108,0.0,1.0,0.0,-67.0,0,2.5,-67.0,4.5,0.0,0,0; 13P 7
406,1,3HTOP,0,0; 15P 8
410,1,1.0,9,11,7,13,0,0,0,1,15; 17P 9
124,1.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,-1.0,0.0,0.0,0,0; 19P 10
108,1.0,0.0,0.0,156.75,0,156.75,3.5,4.5,0.0,0,0; 21P 11
108,1.0,0.0,0.0,-151.75,0,-151.75,3.5,4.5,0.0,0,0; 23P 12
108,0.0,0.0,1.0,555.500964155236,0,2.5,3.5,555.500964155236,0.0, 25P 13
0,0; 25P 14
108,0.0,0.0,1.0,-546.500964155236,0,2.5,3.5,-546.500964155236, 27P 15
0.0,0,0; 27P 16
406,1,5HFRONT,0,0; 29P 17
410,2,1.0,23,25,21,27,0,0,0,1,29; 31P 18
124,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,1.0,0.0,0.0,0.0,0,0; 33P 19
108,0.0,1.0,0.0,74.0,0,2.5,74.0,4.5,0.0,0,0; 35P 20
108,0.0,1.0,0.0,-67.0,0,2.5,-67.0,4.5,0.0,0,0; 37P 21
108,0.0,0.0,1.0,555.500964155236,0,2.5,3.5,555.500964155236,0.0, 39P 22
0,0; 39P 23
108,0.0,0.0,1.0,-546.500964155236,0,2.5,3.5,-546.500964155236, 41P 24
0.0,0,0; 41P 25
406,1,5HRIGHT,0,0; 43P 26
410,3,1.0,37,39,35,41,0,0,0,1,43; 45P 27
124,-1.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,1.0,0.0,0.0,0,0; 47P 28
108,-1.0,0.0,0.0,151.75,0,-151.75,3.5,4.5,0.0,0,0; 49P 29
108,-1.0,0.0,0.0,-156.75,0,156.75,3.5,4.5,0.0,0,0; 51P 30
108,0.0,0.0,1.0,555.500964155236,0,2.5,3.5,555.500964155236,0.0, 53P 31
0,0; 53P 32
108,0.0,0.0,1.0,-546.500964155236,0,2.5,3.5,-546.500964155236, 55P 33
0.0,0,0; 55P 34
406,1,4HBACK,0,0; 57P 35
410,4,1.0,51,53,49,55,0,0,0,1,57; 59P 36
124,1.0,0.0,0.0,0.0,0.0,-1.0,0.0,0.0,0.0,0.0,-1.0,0.0,0,0; 61P 37
108,1.0,0.0,0.0,156.75,0,156.75,3.5,4.5,0.0,0,0; 63P 38
108,1.0,0.0,0.0,-151.75,0,-151.75,3.5,4.5,0.0,0,0; 65P 39
108,0.0,-1.0,0.0,67.0,0,2.5,-67.0,4.5,0.0,0,0; 67P 40
108,0.0,-1.0,0.0,-74.0,0,2.5,74.0,4.5,0.0,0,0; 69P 41
406,1,6HBOTTOM,0,0; 71P 42
410,5,1.0,65,67,63,69,0,0,0,1,71; 73P 43
124,0.0,-1.0,0.0,0.0,0.0,0.0,1.0,0.0,-1.0,0.0,0.0,0.0,0,0; 75P 44
108,0.0,-1.0,0.0,67.0,0,2.5,-67.0,4.5,0.0,0,0; 77P 45
108,0.0,-1.0,0.0,-74.0,0,2.5,74.0,4.5,0.0,0,0; 79P 46
108,0.0,0.0,1.0,555.500964155236,0,2.5,3.5,555.500964155236,0.0, 81P 47
0,0; 81P 48
108,0.0,0.0,1.0,-546.500964155236,0,2.5,3.5,-546.500964155236, 83P 49
0.0,0,0; 83P 50
406,1,4HLEFT,0,0; 85P 51
410,6,1.0,79,81,77,83,0,0,0,1,85; 87P 52
124,0.707106781186548,0.707106781186548,0.0,0.0, 89P 53
-0.408248290463863,0.408248290463863,0.816496580927726,0.0, 89P 54
0.577350269189626,-0.577350269189626,0.577350269189626,0.0,0,0; 89P 55
108,0.707106781186548,0.707106781186548,0.0,163.164889758796,0, 91P 56
114.875,115.875,4.5,0.0,0,0; 91P 57
108,0.707106781186548,0.707106781186548,0.0,-154.679608384557,0, 93P 58
-109.875,-108.875,4.5,0.0,0,0; 93P 59
108,-0.408248290463863,0.408248290463863,0.816496580927726, 95P 60
545.726689507023,0,-218.625321385079,224.625321385079, 95P 61
446.750642770158,0.0,0,0; 95P 62
108,-0.408248290463863,0.408248290463863,0.816496580927726, 97P 63
-537.561723697746,0,223.625321385079,-217.625321385079, 97P 64
-437.750642770158,0.0,0,0; 97P 65
406,1,7HTFR-ISO,0,0; 99P 66
410,7,1.0,93,95,91,97,0,0,0,1,99; 101P 67
124,0.63121905864763,0.775604602874429,0.0,0.0, 103P 68
-0.291176881826266,0.236971772169955,0.926855114181588,0.0, 103P 69
0.718873092756943,-0.585048612676443,0.375419228750255,0.0,0,0; 103P 70
108,0.63121905864763,0.775604602874429,0.0,156.338328055724,0, 105P 71
98.4741210902962,121.427317077439,4.5,0.0,0,0; 105P 72
108,0.63121905864763,0.775604602874429,0.0,-147.753000542365,0, 107P 73
-93.4741210902962,-114.427317077439,4.5,0.0,0,0; 107P 74
108,-0.291176881826266,0.236971772169955,0.926855114181588, 109P 75
576.590912517796,0,-164.145946962379,139.123354192582, 109P 76
534.956426454464,0.0,0,0; 109P 77
108,-0.291176881826266,0.236971772169955,0.926855114181588, 111P 78
-568.046298494104,0,169.145946962379,-132.123354192582, 111P 79
-525.956426454464,0.0,0,0; 111P 80
406,1,7HTFR-TRI,0,0; 113P 81
410,8,1.0,107,109,105,111,0,0,0,1,113; 115P 82
S 1G 5D 116P 82 T 1
全局段分析
1H,,1H;,7HPRT0001,11Hprt0001.igs, G 1 49HPro/ENGINEER by Parametric Technology Corporation,7H370,32,38,7, G 2 38,15,7HPRT0001,1.,1,4HINCH,32768,0.5,13H071107.172240,0.0363072, G 3 363.086,4HOhio,7HUnknown,10,0,13H071107.172240; G 4
注:上面是两个文件的全局段分析
索引段分析:
314 1 1 1 0 0 0 001000200D 1
314 0 2 1 0 COLOR 1D 2
116 5 1 1 0 0 0 000000000D 9
116 0 -1 1 0 POINT 1D 10
转自/begtostudy/article/details/1882828
PS:可以根据博客中另一篇IGES的文章对照着看。个人看完以后,对开始段,全局段,D段,T段 稍微理解了,但是对于P段,还是不懂!
如果觉得《IGES格式文件举例》对你有帮助,请点赞、收藏,并留下你的观点哦!