Gadget and Lua, ToolpathManager() Data Extraction.
Gadget and Lua, ToolpathManager() Data Extraction.
Help required:
I am playing with Lua and finding it Very Difficult Extracting Tool, and Toolpaths information.
So far I have managed to get some data, but there is several other bits I am missing:
local TPM = ToolpathManager() ?
how do I find out all the options to extract information?
toolpath, pos = TPM:GetNext(pos)
tool = toolpath.Tool
local mgr = Toolpath
local Stepdown = Format(mgr.Tool.Stepdown,2)
local tpstats = mgr:Statistics()
local tpmaxdepth = Format(tpstats.MinimumZ,2)
however there are many other Entrees id like to get.
I want { Cutting Depths: Start Depth (D)
local tpmaxdepth = Format(tpstats.?????Z,2)
Can anyone enlighten me Please.
I am playing with Lua and finding it Very Difficult Extracting Tool, and Toolpaths information.
So far I have managed to get some data, but there is several other bits I am missing:
local TPM = ToolpathManager() ?
how do I find out all the options to extract information?
toolpath, pos = TPM:GetNext(pos)
tool = toolpath.Tool
local mgr = Toolpath
local Stepdown = Format(mgr.Tool.Stepdown,2)
local tpstats = mgr:Statistics()
local tpmaxdepth = Format(tpstats.MinimumZ,2)
however there are many other Entrees id like to get.
I want { Cutting Depths: Start Depth (D)
local tpmaxdepth = Format(tpstats.?????Z,2)
Can anyone enlighten me Please.
- Adrian
- Vectric Archimage
- Posts: 14660
- Joined: Thu Nov 23, 2006 2:19 pm
- Model of CNC Machine: ShopBot PRS Alpha 96x48
- Location: Surrey, UK
Re: Gadget and Lua, ToolpathManager() Data Extraction.
Did you spot this section in the documentation?
For the initial release, the ToolpathManager is only used to create new
toolpaths, load templates and recalculate all toolpaths, for future releases Vectric may offer more
access to existing toolpaths depending on demand.
- adze_cnc
- Vectric Wizard
- Posts: 4374
- Joined: Sat Jul 27, 2013 10:08 pm
- Model of CNC Machine: AXYZ 4008
- Location: Vancouver, BC, Canada
Re: Gadget and Lua, ToolpathManager() Data Extraction.
...and that disclaimer has been in the SDK docs since at least November 2013...
- jimandi5000
- Vectric Wizard
- Posts: 1055
- Joined: Wed Mar 11, 2015 6:50 pm
- Model of CNC Machine: Home Made 60 x 120
- Location: North Houston Tx.
- Contact:
Re: Gadget and Lua, ToolpathManager() Data Extraction.
I would think it would be easier to just to write your own Toolpath (g-code) tool. What way you avoid copyright and paten issues.Francis wrote: ↑Wed Mar 29, 2023 6:30 pmHelp required:
I am playing with Lua and finding it Very Difficult Extracting Tool, and Toolpaths information.
So far I have managed to get some data, but there is several other bits I am missing:
local TPM = ToolpathManager() ?
how do I find out all the options to extract information?
toolpath, pos = TPM:GetNext(pos)
tool = toolpath.Tool
local mgr = Toolpath
local Stepdown = Format(mgr.Tool.Stepdown,2)
local tpstats = mgr:Statistics()
local tpmaxdepth = Format(tpstats.MinimumZ,2)
however there are many other Entrees id like to get.
I want { Cutting Depths: Start Depth (D)
local tpmaxdepth = Format(tpstats.?????Z,2)
Can anyone enlighten me Please.
Thanks,
Jim
Jim
Re: Gadget and Lua, ToolpathManager() Data Extraction.
In a Gadget i am creating, i have managed to retrieve:
-- PathName
-- ToolName
-- ToolNumber
-- ToolDia
-- ToolRPM
-- ToolPlunge
-- ToolPlungeFeed
-- ToolStepdown
-- ToolZDepth
-- ToolPathNote
-- ToolCycleTime
-- ToolNote
In a Gadget How do I find out if a Toolpath is in a Group?
And how do I get the GroupName?
-- PathName
-- ToolName
-- ToolNumber
-- ToolDia
-- ToolRPM
-- ToolPlunge
-- ToolPlungeFeed
-- ToolStepdown
-- ToolZDepth
-- ToolPathNote
-- ToolCycleTime
-- ToolNote
In a Gadget How do I find out if a Toolpath is in a Group?
And how do I get the GroupName?
Re: Gadget and Lua, ToolpathManager() Data Extraction.
Dear Admin,
The SDK manual has never been updated, its Only had a Later Date inserted.
its as if you do not wish others to HELP improve the software.
The SDK manual has never been updated, its Only had a Later Date inserted.
its as if you do not wish others to HELP improve the software.
- adze_cnc
- Vectric Wizard
- Posts: 4374
- Joined: Sat Jul 27, 2013 10:08 pm
- Model of CNC Machine: AXYZ 4008
- Location: Vancouver, BC, Canada
Re: Gadget and Lua, ToolpathManager() Data Extraction.
A request to support@vectric.com is better than a post here.
Re: Gadget and Lua, ToolpathManager() Data Extraction.
Dear adze_cnc
I've been trying for 5 years to get HELP from support@vectric.com.
I've been trying for 5 years to get HELP from support@vectric.com.
- Adrian
- Vectric Archimage
- Posts: 14660
- Joined: Thu Nov 23, 2006 2:19 pm
- Model of CNC Machine: ShopBot PRS Alpha 96x48
- Location: Surrey, UK
Re: Gadget and Lua, ToolpathManager() Data Extraction.
You won't get help from support for LUA questions only the main software itself. The gadget side of things is user supported AFAIK.
-
- Vectric Wizard
- Posts: 457
- Joined: Tue Sep 04, 2018 2:49 pm
- Model of CNC Machine: Shapeoko 3 XL
Re: Gadget and Lua, ToolpathManager() Data Extraction.
That's useless as Vectric writes the code that we call using LUA and it's next to impossible to use unless they release the documentation.
I'm specifically talking about the LUA Postprocessor API. I'd love to see the methods and parameters.
Gary Mitchell
Kentucky, USA
Kentucky, USA
- Adrian
- Vectric Archimage
- Posts: 14660
- Joined: Thu Nov 23, 2006 2:19 pm
- Model of CNC Machine: ShopBot PRS Alpha 96x48
- Location: Surrey, UK
Re: Gadget and Lua, ToolpathManager() Data Extraction.
I may be wrong hence the "as far as I know" but I distinctly remember a post about it a few years ago but of course I can't find it now I need it.
Re: Gadget and Lua, ToolpathManager() Data Extraction.
Thank You, This Thread is Now Closed.