Fix paths for others on windows
This commit is contained in:
parent
657a186e2b
commit
2430986123
@ -1,6 +1,6 @@
|
||||
package.path = "../?.lua;" .. package.path
|
||||
local inspect = require "./inspect"
|
||||
local export = require "./export"
|
||||
local inspect = require "inspect"
|
||||
local export = require "export"
|
||||
|
||||
local f
|
||||
if arg[1] ~= nil then
|
||||
|
12
run.lua
12
run.lua
@ -1,10 +1,10 @@
|
||||
package.path = "../?.lua;" .. package.path
|
||||
local boxgen = require "./boxgen"
|
||||
local viewer = require "./viewer"
|
||||
local inspect = require "./inspect"
|
||||
local pause = require "./pause"
|
||||
local export = require "./export"
|
||||
local getArgs = require "./args"
|
||||
local boxgen = require "boxgen"
|
||||
local viewer = require "viewer"
|
||||
local inspect = require "inspect"
|
||||
local pause = require "pause"
|
||||
local export = require "export"
|
||||
local getArgs = require "args"
|
||||
|
||||
--Get Settings to run
|
||||
local settings = getArgs(arg)
|
||||
|
@ -4,7 +4,7 @@ function viewer.viewObj(objfile)
|
||||
local export = io.open("obj.html", "w+") --Open file for writing
|
||||
io.output(export)
|
||||
|
||||
local plotly_header = require "./plotly_header" --Get the shared html header
|
||||
local plotly_header = require "plotly_header" --Get the shared html header
|
||||
io.write(plotly_header)
|
||||
|
||||
io.write("<script>\n")
|
||||
@ -133,7 +133,7 @@ function viewer.viewObjGrid(objfile, grid)
|
||||
local export = io.open("ObjGrid.html", "w+")
|
||||
io.output(export)
|
||||
|
||||
local plotly_header = require "./plotly_header"
|
||||
local plotly_header = require "plotly_header"
|
||||
io.write(plotly_header)
|
||||
|
||||
io.write("<script>\n")
|
||||
@ -268,7 +268,7 @@ function viewer.viewObjSubGrid(objfile, grid, groups)
|
||||
local export = io.open("ObjSubGrids.html", "w+")
|
||||
io.output(export)
|
||||
|
||||
local plotly_header = require "./plotly_header"
|
||||
local plotly_header = require "plotly_header"
|
||||
io.write(plotly_header)
|
||||
|
||||
io.write("<script>\n")
|
||||
@ -435,7 +435,7 @@ function viewer.viewObjBoxes(objfile, grid, boxGroups)
|
||||
local export = io.open("Boxes.html", "w+")
|
||||
io.output(export)
|
||||
|
||||
local plotly_header = require "./plotly_header"
|
||||
local plotly_header = require "plotly_header"
|
||||
io.write(plotly_header)
|
||||
|
||||
io.write("<script>\n")
|
||||
|
Loading…
x
Reference in New Issue
Block a user