Skip to content

JureHudoklin/trimesh_visualize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trimesh Visualize

A wrapper for trimesh that simplifies visualization.

1. Installation

  1. Install the requirements by running
pip install -r requirements.txt
  1. Install the package with pip
pip install .

2. Usage

  • Import the package and create a "Scene"

    from trimeshVisualize import Scene
    
    scene = Scene()
  • Add objects, points, vectors, points clouds, ... to the scene

    • Colors are specified as [R, G, B, transparency]
    scene.plot_mesh(mesh, color = [255, 0, 0, 255], id = "obj_1")
  • Remove objects from the scene

    scene.remove_feature("obj_1")
  • Plot the scene

    _ = scene.display()

About

A wrapper for trimesh that simplifies vosualization.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages