Skip to content
Snippets Groups Projects

Local itk-vtk-viewer

1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
+ 4
0
@@ -12,6 +12,10 @@ import time
def itk_vtk_viewer(filename:str = None):
# Get rid of trailing slashes
filename = os.path.normpath(filename)
# Start the http server
qim3d.utils.start_http_server(os.path.dirname(filename))
# We do a delay open for the browser, just so that the itk-vtk-viewer has time to start.
Loading