【问题标题】:Create a hash of a mesh in Blender python在 Blender python 中创建一个网格的哈希
【发布时间】:2020-12-26 18:21:22
【问题描述】:

如何从网格数据创建散列(mesh.toString?)。 所以相同的网格会生成相同的哈希。

这在 python 中如何实现?

【问题讨论】:

  • import hashlib 并选择您的选择。

标签: python hash blender mesh


【解决方案1】:

感谢 tzamans 的评论,我能够使用 hashlib 生成:

hash = hashlib.sha224( str(plain_verts).strip('[]').encode('utf-8') ).hexdigest()

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-04-09
    • 1970-01-01
    • 2018-07-31
    • 2015-02-19
    • 1970-01-01
    • 2011-09-20
    • 1970-01-01
    相关资源
    最近更新 更多