About 287,000 results
Open links in new tab
  1. Load Mesh from a glb file using trimesh - Stack Overflow

    Jun 6, 2020 · You can use trimesh.load to load your glTF file. Note that the return type depends on the filetype of your model file. For glTF files it will return an instance of trimesh.Scene. The …

  2. Newest 'trimesh' Questions - Stack Overflow

    In trimesh, how do we get convex polygon's vertices in clockwise order and get geometric centroid of a convex polygon? There is a mesh.centroid function but I'm not sure if that is exactly the ...

  3. python - How to load textured mesh in trimesh? - Stack Overflow

    Feb 26, 2021 · 1 My final purpose is to either load the textured obj model into trimesh as a SINGLE TriangleMesh object, or convert textures into colored point cloud, so that I could just …

  4. How do I use Python Trimesh to get boundary vertex indices?

    Jun 8, 2023 · How do I use the Trimesh Python library to retrieve the indices of the vertices that make up the boundary of a mesh? For example, for a planar mesh, I expect only the vertices …

  5. How can I center a trimesh window on screen? - Stack Overflow

    Aug 22, 2024 · I have started to work with Python's trimesh package and the first thing I want to do is to set the size of the graphics window and its position on the screen. I figured out how to …

  6. python - mesh subset with trimesh - Stack Overflow

    Is there a way to turn a subset of vertices and their associated faces into a mesh using trimesh? Is it as easy as getting the subset of vertices and faces, and then directly creating a mesh to the...

  7. Plot facet normals in trimesh from the facet center

    Feb 22, 2024 · path = trimesh.load_path(vec.reshape((-1, 2, 3))) trimesh.Scene([mesh, path]).show(smooth=False) below is the resultant plot: but as you can see, the origin of the …

  8. python - Rotating Trimesh mesh plane object - Stack Overflow

    Jun 9, 2022 · I'm starting to work with trimesh objects and i haven't been able to find good info on how to apply transformations to mesh objects (specifically,rotations). I have a simple planar …

  9. How to calculate the volumetric intersection of two meshes using …

    Nov 8, 2024 · I'm trying to calculate the volume of the intersection of two convex meshes using Trimesh. Using the trimesh.Trimesh.intersection () method, even basic, clearly overlapping …

  10. Complete a partial mesh and make it watetight - Stack Overflow

    Nov 29, 2020 · The trimesh.PointCloud class has the "property" convex_hull. Quoting the trimesh docs: Returns convex_hull – A watertight mesh of the hull of the points Does this do what you …