vedo wraps VTK and NumPy for meshes, volumes and point clouds, with a terminal viewer
A python module for scientific analysis of 3D data based on VTK and Numpy
At a glance
- What is it?
- A Python module for loading, analysing and displaying 3D meshes, point clouds and volumetric data, with a vedo command for quick looks. Install is pip, and the dependency list is heavier than the quick start suggests.
- Who is it for?
- vedo suits scientists and engineers who already work with meshes, DICOM or TIFF stacks and point clouds in Python and want a few lines of code to load, measure and view them. It does not suit anyone who needs a browser-first viewer, since the interactive window is a desktop one and the web routes are export and notebook embedding.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 2 days ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 26, 2026, and from our analysis. They are not legal advice.
Star history
- marcomusy/vedo2,275 ★ · +3
| Repository | 2026-10-13 | 2026-11-26 |
|---|---|---|
| marcomusy/vedo | 2.3k | 2.3k |
3 Stars in the last 44 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Six hard dependencies, and scipy only arrives with the all extra
The README's install line is pip install vedo. The dependency list in pyproject.toml is longer than that suggests: vtk, numpy, typing-extensions, Pygments, matplotlib and rich. The build backend is setuptools with wheel, and requires-python is >=3.10. The classifiers list Python 3.10, 3.11 and 3.12.
Two optional groups exist. The all extra adds scipy, and the trame extra adds trame, trame-vtk and trame-vuetify. A plain pip install therefore leaves scipy out, so any code path that relies on it needs the extra. The README does not map features to extras, so the reliable check is to install and run your workflow.
Two alternatives to the release are documented. The latest dev version comes from pip install -U git+https://github.com/marcomusy/vedo.git, and conda users run conda install -c conda-forge vedo.
Four lines open an interactive window, and .close() releases it
The quick start is short:
from vedo import Sphere, show
sphere = Sphere().c("tomato")
show(sphere, axes=1).close()Sphere() builds a primitive, .c("tomato") sets its colour, and show(sphere, axes=1) opens an interactive 3D window with the object and axes. The chained .close() at the end tears the window down once you quit it. Other primitive shapes the README lists are arrows, cubes, torus and ellipsoids.
The window is a native VTK view. That matters for a headless server or a CI job: the README documents no off-screen route, so rendering without a display is something you would have to verify yourself. The notebook alternative is documented separately, via K3D.
Meshes: read many formats, write a smaller set, and edit in place
For polygonal meshes the README lists import from VTK format, STL, Wavefront OBJ, 3DS, Dolfin-XML, Neutral, GMSH, OFF and PCD point clouds. Export is ASCII or binary to VTK, STL, OBJ, PLY and similar formats. Reading is broader than writing.
The analysis list is concrete. Areas, volumes, center of mass and average sizes can be calculated. So can vertex and face normals, curvatures and feature edges. You can fill holes, subdivide faces, simplify a mesh, smooth it, split it by surface connectivity and keep the largest connected area. Other items include cutting a mesh with another mesh, finding the nearest points, testing whether a point lies inside a mesh, intersecting a mesh with lines, planes or other meshes, and finding the closest path along mesh edges. Registration of meshes uses several techniques, and Delaunay triangulation works in 2D and 3D.
Point clouds get Moving Least Squares smoothing in 2D, 3D and 4D
The point cloud tools are narrower but practical. Moving Least Squares smoothing applies to 2D, 3D and 4D clouds. Lines, planes, spheres and ellipsoids can be fitted in space. Outliers in a distribution of points can be identified, and a cloud can be decimated to a uniform distribution.
Field interpolation uses Radial Basis Functions and Thin Plate Splines for scalar and vectorial data. Meshes can be coloured and thresholded by associated scalar or vectorial data, and tensors can be visualised. The README gives no accuracy figures or size limits for any of these operations, so a million-point cloud is a test you run yourself.
Volumes: DICOM, TIFF stacks and SLC in, isosurfaces and ray-casting out
Volumetric import covers VTK format, volumetric TIFF stacks, DICOM, SLC and MHD, with more formats unspecified. Flat 2D images load as PNG, JPEG or BMP. Operations include isosurfacing, composite and maximum projection rendering, probing a volume with lines and planes, slicing and cropping, and generating volumetric signed-distance data from a surface mesh. Stream-lines and stream-tubes can be generated from vectorial fields. Structured and grid data are supported as other volumetric structures.
The command line shows the same ground. vedo https://vedo.embl.es/examples/data/embryo.tif opens a volume straight from a URL. The README names vedo --slicer embryo.slc for 3D slicing, vedo -g for ray-casting and vedo --slicer2d for 2D slicing. vedo -h prints the complete option list, and vedo -r warp2 runs a built-in example.
Plotting stays in the 3D scene, not in a matplotlib figure
The plotting features render inside the vedo window. They include scatter plots in 2D and 3D, surface function plotting, 1D histograms, 2D hexagonal histograms, polar and spherical plots, donut plots and pie charts, and quiver, violin, whisker and stream-line plots. Text is polygonal with Latex-like syntax and unicode, and 30 fonts are available. Formulas can be drawn in the rendering window, and axis styles are fully customizable.
Matplotlib is a required dependency, yet the README describes the plots as graphical markers analogous to matplotlib, not as a matplotlib backend. The README gives no instructions for exporting a plot into a matplotlib figure. Sliders and buttons can be added for interaction, and animations come from setting the position of displayed objects, with trailing lines and shadows for moving ones.
Integrations, release cadence and where to ask
The README lists Qt5 integration, interoperability with trimesh, pyvista and pymeshlab, export of 3D scenes to a web page, and embedding in Jupyter notebooks through K3D. Each is a bridge you wire up, and none is shown with code in the README.
The repository is MIT licensed and not archived. The last push was on 25 October 2026. Recent tags are v2026.6.3 on 26 October 2026, v2026.6.1 on 17 February 2026 and v2025.5.4 on 10 June 2025. The pyproject.toml carries 2026.6.3+dev01, and the classifier reads Development Status :: 5 - Production/Stable. The repository ships hundreds of working examples and notebooks under examples/. Questions go to the image.sc forum or to GitHub issues, and the README claims 68 publications that use vedo.
Editorial conclusion
vedo suits scientists and engineers who already work with meshes, DICOM or TIFF stacks and point clouds in Python and want a few lines of code to load, measure and view them. It does not suit anyone who needs a browser-first viewer, since the interactive window is a desktop one and the web routes are export and notebook embedding. Before adopting it, run pip install vedo on your target Python, which must be 3.10 or newer, and open one of your own files with the vedo command.
Frequently asked questions
How do I install vedo?
Run pip install vedo. The README also documents pip install -U git+https://github.com/marcomusy/vedo.git for the dev version and conda install -c conda-forge vedo for conda.
Which Python versions does vedo support?
pyproject.toml sets requires-python to >=3.10, and the classifiers list Python 3.10, 3.11 and 3.12.
Can vedo open a 3D file from the terminal?
Yes. Run vedo followed by a mesh or volume file or URL, for example vedo https://vedo.embl.es/examples/data/embryo.tif. Type vedo -h for the full option list.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/marcomusy-vedo)Star history chart for your README
[](https://hysenlabs.com/projects/marcomusy-vedo)Was this useful?