Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to get the area of a given slice. I tried this :
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
local LayerThickness = 1.0;
local layerRecoatTime = 10.0;
local contourLaserScanSpeed = 900.0;
local hatchLaserScanSpeed = 1100.0;
local hatchDistance = 0.1;
local hl = 2.0;
system:setloggingtooglwindow(true);
local Nl = slicetray.layercount;
for i=0, Nl-1 do
Si = slice.calculateslicearea(sliceindex:i);
end;
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
As it is indicated in the documentation, but it yields the error
'''''''''''''''''''''''''''''''
2025-02-27 16:37:27;LUA Syntax Error: [string "ComputeBuildTimeEstimate.lua"]:14: function arguments expected near ')';General
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
thanks
Solved! Go to Solution.
