Skip to content

Instantly share code, notes, and snippets.

View Packsod's full-sized avatar

Packsod

View GitHub Profile
@Packsod
Packsod / misc_UV_xatlas___script
Last active August 7, 2024 13:07 — forked from expenses/blender_xatlas.py
xatlas python wrapper for blender, fixed uv stretching and convert triangles to quads
import bpy
class AtlasGenerator:
def __init__(self):
import sys
import bmesh
import os
self.bmesh = bmesh
self.atlas = None
self.bmeshes = []