Is there some documentation with a list of all of the available variables and functions in SheetCAM? The "post documentation" button seems to only contain a limited number of the available functions and variables. I stumbled across one function I needed by looking through the standard post processors already installed.
I would like to write a post for our waterjet machine, but this will be nearly impossible if I have no way to know all of the available functions and variables.
List of Available variables and functions
-
- Posts: 452
- Joined: Wed Sep 12, 2018 8:18 pm
- Location: South Carolina, USA
- Contact:
- Les Newell
- Site Admin
- Posts: 3668
- Joined: Thu May 11, 2006 8:12 pm
Re: List of Available variables and functions
The post docs contain all of the officially supported functions. There are a few that are experimental and as such are not documented.
Posts are written in Lua https://www.lua.org/ so all of the standard Lua functions are also available.
Posts are written in Lua https://www.lua.org/ so all of the standard Lua functions are also available.
-
- Posts: 452
- Joined: Wed Sep 12, 2018 8:18 pm
- Location: South Carolina, USA
- Contact:
Re: List of Available variables and functions
Ok, i understand now. Is there any way i could get a list of the experimental functions and variables? I have a feeling some of them will be useful to me and i would be glad to assist with testing them.
I looked at the Lua website, but it only helped explain the syntax and basic functions. I am looking for SheetCAM specific functions. Then again, i have not scanned through all of the resources on the Lua website yet.
I looked at the Lua website, but it only helped explain the syntax and basic functions. I am looking for SheetCAM specific functions. Then again, i have not scanned through all of the resources on the Lua website yet.
- Les Newell
- Site Admin
- Posts: 3668
- Joined: Thu May 11, 2006 8:12 pm
Re: List of Available variables and functions
As far as I can remember the OnOffset functions and toolOffset are the only ones at the moment. toolOffset is always zero because SheetCam does not currently expect the machine to apply an offset.