Skip to content

OpenOrion/meshly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meshly

A Python library for mesh optimization and encoding/decoding.

Project Structure

This repository contains two main components:

  1. Python Library: The Python meshly package for mesh optimization and encoding/decoding.
pip install meshly
  1. TypeScript Library: The TypeScript meshly package for decoding Python meshoptimizer zip generated from Python into THREE.js geometries.
npm install meshly

Python Library

The Python library is located in the meshly directory and provides:

  • Mesh class as a Pydantic base class for representing and optimizing 3D meshes
  • EncodedMesh class for storing encoded mesh data
  • Functions for encoding and decoding meshes
  • Utilities for compressing numpy arrays

TypeScript Library

The TypeScript library is located in the typescript directory and provides:

  • Functions to decode Python meshoptimizer zip files
  • Conversion to THREE.js BufferGeometry
  • Browser-compatible implementation

Usage

See the examples directory for usage examples of both libraries.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published