Vectric Lua Interface for Gadgets: Difference between revisions
No edit summary |
|||
Line 4: | Line 4: | ||
'''Please Note: ''The base material for the contents found in this WiKi was sourced from Vectric Lua Interface for Gadgets, version 11.0, published 18st October 2021. by Vectric Ltd.''''' | '''Please Note: ''The base material for the contents found in this WiKi was sourced from Vectric Lua Interface for Gadgets, version 11.0, published 18st October 2021. by Vectric Ltd.''''' | ||
::Most current document and sample Gadgets can be downloaded from Vertric at [https://gadgets.vectric.com/developerinfo.html Vertric Developer Information ] | ::Most current document and sample Gadgets can be downloaded from Vertric at '''[https://gadgets.vectric.com/developerinfo.html Vertric Developer Information ]''' | ||
[[File:VLIFG.jpg|thumb|Vectric SDK ver 10.0]] | [[File:VLIFG.jpg|thumb|Vectric SDK ver 10.0]] | ||
<p>The Script interface and associated documentation is designed for people who are familiar with programming and is provided as a development tool for such people. It is extremely important to understand that Vectric cannot offer individual support for people wanting to write scripts. This documentation and the associated example scripts available from the [https://www.vectric.com Vectric web site] are the only way you can learn about the script interface and develop your own gadgets. The appropriate area on the [http://forum.vectric.com/index.php Vectric forum] may also be useful for asking questions of other users.</p> | <p>The Script interface and associated documentation is designed for people who are familiar with programming and is provided as a development tool for such people. It is extremely important to understand that Vectric cannot offer individual support for people wanting to write scripts. This documentation and the associated example scripts available from the [https://www.vectric.com Vectric web site] are the only way you can learn about the script interface and develop your own gadgets. The appropriate area on the [http://forum.vectric.com/index.php Vectric forum] may also be useful for asking questions of other users.</p> |
Revision as of 14:55, 14 May 2024
Version 3.1
Please Note: The base material for the contents found in this WiKi was sourced from Vectric Lua Interface for Gadgets, version 11.0, published 18st October 2021. by Vectric Ltd.
- Most current document and sample Gadgets can be downloaded from Vertric at Vertric Developer Information
The Script interface and associated documentation is designed for people who are familiar with programming and is provided as a development tool for such people. It is extremely important to understand that Vectric cannot offer individual support for people wanting to write scripts. This documentation and the associated example scripts available from the Vectric web site are the only way you can learn about the script interface and develop your own gadgets. The appropriate area on the Vectric forum may also be useful for asking questions of other users.
Introduction
The Script interface and associated documentation is designed for people who are familiar with programming and is provided as a development tool for such people. It is extremely important to understand that Vectric cannot offer individual support for people wanting to write scripts. This documentation and the associated example scripts available from the Vectric web site are the only way you can learn about the script interface and develop your own gadgets. The appropriate area on the Vectric forum may also be useful for asking questions of other users.
This document lists the objects (classes) available to Lua scripts (Gadgets) from VCarve Pro V7.5 and Aspire V4.5
An object in Lua can have both methods and properties. A method is called using ‘:’ after the object name e.g. job:Refresh2DView(), a property is accessed via ‘.’ e.g. job.Exists . Properties can be either read only (R/O i.e Get Values) or read / write (R/W - Get/Set Values).
Software Development Kit
- Revision History
- Gadget File Requirements
- Global_Methods
- Job Related Global Methods
- Vector Object Related Global Methods
- Component Related Global Methods – Aspire Only
- Document Variable Related Global Methods
- Data File Locations Related Global Methods
- High Level Objects
- Creating Vectors From Script
- Low Level Geometry
- Toolpaths
- User Interface
- Aspire Only
- DocumentVariableList
- DocumentVariable
- JimAndi Toolbox
- Wiki Toolbox