{"repo":"mikedh/trimesh","free":true,"listed":false,"github":"https://github.com/mikedh/trimesh","clone":"git clone https://github.com/mikedh/trimesh.git","description":"Python library for loading and using triangular meshes.","language":"Python","stars":3651,"topics":["mesh","triangular-meshes","geometry","python"],"license":"MIT","category":"dev-tools","readme_excerpt":"----------- Trimesh is a pure Python 3.10+ library for loading and using triangular meshes with an emphasis on watertight surfaces. The goal of the library is to provide a full featured and well tested Trimesh object which allows for easy manipulation and analysis, in the style of the Polygon object in the Shapely library. The API is mostly stable, but this should not be relied on and is not guaranteed: install a specific version if you plan on deploying something using trimesh . Pull requests are appreciated and responded to promptly! If you'd like to contribute, here a quick development and contributing guide. Basic Installation Keeping trimesh easy to install is a core goal, thus the only hard dependency is numpy . Installing other packages adds functionality but is not required. For the easiest install with just numpy : The minimal install can load many supported formats (STL, PLY, OBJ, GLTF/GLB) into numpy.ndarray values. More functionality is available when soft dependencies are installed, including convex hulls ( scipy ), graph operations ( networkx ), fast ray queries ( embreex ), vector path handling ( shapely and rtree ), XML formats like 3DXML/XAML/3MF ( lxml ), preview windows ( pyglet ), faster cache checks ( xxhash ), etc. To install trimesh with the soft dependencies that generally install cleanly from binaries on Linux x86 64, MacOS ARM, and Windows x86 64 using pip : If you are supporting a different platform or are freezing dependencies for an application we","default_branch":null,"files":null,"tree":[],"storefront":"/r/mikedh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mikedh/trimesh/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}