path = r'D:\data\1.i3dm'
f = open(path, 'rb')
f.seek(4)
print('version:%d' % struct.unpack('I', f.read(4)))
print('byteLength:%d' % struct.unpack('I', f.read(4)))
print('featureTableJsonByteLength:%d' % struct.unpack('I', f.read(4)))
print('featureTableBinaryByteLength:%d' % struct.unpack('I', f.read(4)))
print('batchTableJsonByteLength:%d' % struct.unpack('I', f.read(4)))
print('batchTableBinaryByteLength:%d' % struct.unpack('I', f.read(4)))
print('gltfFormat:%d' % struct.unpack('I', f.read(4)))
f.seek(32)
print(f.read(104).decode(encoding = "utf-8"))
print('pos x:%f' % struct.unpack('f', f.read(4)))
print('pos y:%f' % struct.unpack('f', f.read(4)))
print('pos z:%f' % struct.unpack('f', f.read(4)))
print('scale:%f' % struct.unpack('f', f.read(4)))

f.close()

最新文章

  1. TODO:这是一个我的自媒体
  2. redis批量删除key
  3. cache缓存帮助类
  4. linux系统命令:yum和apt-get
  5. Xcode 8 的 Debug 新特性
  6. iOS 用protocol 和 用继承小体会
  7. DevExpress Crack
  8. c 函数及指针学习 7
  9. Raspberry Pi3 ~ Eclipse中添加wiringPi 库函数
  10. C# unix时间戳转换
  11. 计算方法(三)C#矩阵类库
  12. MTK USER版本禁止log输出
  13. js 去除金额的千位分隔符
  14. NET Core 指令启动
  15. 最新Flume1.7 自定义 MongodbSink 结合TAILDIR Sources的使用
  16. OpenJudge——0003:jubeeeeeat
  17. 全民Scheme(2):来自星星的你
  18. TOMCAT------>web资源访问
  19. ubuntu下安装配置apache2(含虚拟主机配置)
  20. Jupyter Notebook(iPython)

热门文章

  1. MFC程序运行原理初探
  2. C语言-猜数游戏
  3. Collections.synchronizedList使用方法
  4. vue v-for 使用
  5. uni-app使用阿里巴巴图标库icon详细步骤--避免踩坑
  6. Token过期处理
  7. CImage类使用
  8. unity读取Excel表格保存到Sqlite数据库
  9. 放苹果 tzoj2679 //自然数拆分 tzoj5827;(dp)
  10. Docker学习——Kubernetes(八)