嘿Phiphi,
如果信息可以来自包含X、Y和Z值的文件,您考虑过使用脚本文件吗?
对于三维多边形
- ;;Turn off osnap
- osmode
- 0
- ;;start the 3d polyline command
- 3dpoly
- 60.8628,72.8892,0.6110
- 56.3497,70.7362,0.6110
- 51.8366,68.5842,0.6110
- 47.3235,66.4322,0.6110
- 42.9999,63.9422,0.6110
- 39.4092,60.4812,0.6110
- 36.7864,56.2392,0.6110
- 35.2290,51.4962,1.0850
- 33.9393,46.6652,1.3060
- 32.6496,41.8352,0.7110
- 31.3600,37.0042,0.7110
- 29.6437,32.3202,0.7110
- 26.8343,28.1992,0.6890
- 23.0929,24.9022,0.6590
- 18.6520,22.6332,0.6290
- 13.7887,21.5262,0.5560
- 8.8277,20.9022,0.4150
- 3.8668,20.2782,0.2720
- -1.0941,19.6542,0.1450
- -6.0551,19.0312,0.0650
- -11.0160,18.4072,0.0000
对于样条曲线
- ;;Turn off osnap
- osmode
- 0
- ;;start the 3d polyline command
- spline
- 60.8628,72.8892,0.6110
- 56.3497,70.7362,0.6110
- 51.8366,68.5842,0.6110
- 47.3235,66.4322,0.6110
- 42.9999,63.9422,0.6110
- 39.4092,60.4812,0.6110
- 36.7864,56.2392,0.6110
- 35.2290,51.4962,1.0850
- 33.9393,46.6652,1.3060
- 32.6496,41.8352,0.7110
- 31.3600,37.0042,0.7110
- 29.6437,32.3202,0.7110
- 26.8343,28.1992,0.6890
- 23.0929,24.9022,0.6590
- 18.6520,22.6332,0.6290
- 13.7887,21.5262,0.5560
- 8.8277,20.9022,0.4150
- 3.8668,20.2782,0.2720
- -1.0941,19.6542,0.1450
- -6.0551,19.0312,0.0650
- -11.0160,18.4072,0.0000
|