From eb0bcf237f250880e2aa01b32751d7ca52873ade Mon Sep 17 00:00:00 2001 From: agualdron Date: Fri, 19 May 2023 11:23:36 -0500 Subject: [PATCH] Fix the path to STL argument The python script did not work because the first argument of the stl_to_gltf fucntion on the stl2gltf.py was not used on the script. Instead the variable `path_to_stl` is used. The argument name was changed to `path_to_stl`. Now the script works as expected. --- stl2gltf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stl2gltf.py b/stl2gltf.py index 492e219..cce1ef8 100644 --- a/stl2gltf.py +++ b/stl2gltf.py @@ -1,6 +1,6 @@ import os -def stl_to_gltf(binary_stl_path, out_path, is_binary): +def stl_to_gltf(path_to_stl, out_path, is_binary): import struct gltf2 = '''