Skip to content

Instantly share code, notes, and snippets.

View re-polm's full-sized avatar

Pol Monsó Purtí re-polm

  • Girona, Catalunya
View GitHub Profile
@re-polm
re-polm / blerex.py
Last active October 24, 2019 16:00
import bpy
from bpy import context
import numpy as np
REX_BLOCK_HEADER_SIZE = 16
REX_MESH_HEADER_SIZE = 128
REX_NOT_SET = np.uint64(0x7fffffffffffffff).byteswap().tobytes()
def mesh_triangulate(me):