1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
# ----------------------------------------------------------------------------
# - Open3D: www.open3d.org -
# ----------------------------------------------------------------------------
# Copyright (c) 2018-2024 www.open3d.org
# SPDX-License-Identifier: MIT
# ----------------------------------------------------------------------------
import os
import sys
import open3d as o3d
def main():
args = [os.path.abspath(__file__)]
if len(sys.argv) > 1:
args.append(sys.argv[1])
o3d.visualization.app.run_viewer(args)
if __name__ == "__main__":
main()
|