Skip to content

Python STL/OBJ CAD mesh viewers comparing Matplotlib/Plotly/Vispy backends and Tkinter GUI

License

Notifications You must be signed in to change notification settings

precise-simulation/mesh-viewer

Repository files navigation

Mesh Viewer

Mesh Viewer is a simple STL/OBJ CAD geometry viewer prototype using the Tkinter GUI framework with a Model View Controller (MVC) design, and either Matplotlib/mplot3d or Plotly/WebGL visualization backends.

Mesh Viewer screenshot

Installation and Use

Simply downloading and running the corresponding Python scripts should start both the GUI and application

python meshviewer_mpl_tk.py

or

python meshviewer_plotly_cef_tk.py

Releases as stand-alone executables are available, and can be built using Pyinstaller and the build/build-exe.py script.

Dependencies

Python with the following libraries:

  • The Tkinter Graphical User Interface (GUI) framework (usually installed with Python)
  • matplotlib for the matplotlib version
  • cefpython for the plotly version (as well as internet connection to download the plotly.js library)

Note

This is just a simple prototype/proof-of-concept and not intended to be a full fledged application. If you are interested in custom CAE and simulation tools such as this app and FEATool Multiphysics please feel free to get in touch with Precise Simulation.

License

AGPL v3, see LICENSE for more details.

Copyright (C) 2020 Precise Simulation Ltd.