Initial import
This commit is contained in:
parent
0179d797d7
commit
eea47e04c5
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user