Initial import

This commit is contained in:
sladecraven 2021-02-01 18:27:27 +01:00
parent 0179d797d7
commit eea47e04c5

View File

@ -7,6 +7,7 @@ local function parse_one_level( path )
for myfile in lfs.dir(path) do for myfile in lfs.dir(path) do
local attr = lfs.attributes (myfile) local attr = lfs.attributes (myfile)
if attr.mode == "directory" then if attr.mode == "directory" then
print("Entering sub folder : ", myfile)
parse_one_level( myfile) parse_one_level( myfile)
elseif string.match(myfile, "%.stl") or string.match(myfile, "%.STL") then elseif string.match(myfile, "%.stl") or string.match(myfile, "%.STL") then
print("Thumbnail for : ", myfile) print("Thumbnail for : ", myfile)