Vectric Lua Interface for Gadgets
Version 3.0
Please Note: The base material for the contents found in this WiKi was sourced from Vectric Lua Interface for Gadgets, version 10.0, published 21st August 2019. 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
- 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
- SDK: Code Examples