About Lua in Netfabb

Introduction

Lua is netfabb's method of choice to facilitate automation tasks inside the software, available in Netfabb Ultimate. One particular advantage is that, while not necessary, a Lua script may work on an entirely different project than currently loaded in Netfabb, if any. Lua may be used in the following areas:

  1. Netfabb default module
  2. Slice Commander
  3. Selective Space Structures (3S)

For the Lua reference on 3S, please the relevant section.

Lua Support Scope

Netfabb supports generally the version 5.1 of the Lua language definition, see: http://www.lua.org/manual/5.1/

Of the Lua 5.1 standard, Netfabb supports the core language specification as well as elected libraries.

Lua Library

Support

Comment

Base

Yes, with exceptions

Some exceptions:
  • dofile: use system:executescriptfile()
  • print: use system:log() instead

Coroutine Manipulation

Yes

Modules

No

Use system:executescriptfile()

String manipulation

Yes

Table manipulation

Yes

Mathematical Functions

Yes

Input and output Facilities

No

Operating System Facilities

No

The Debug library

No

Find the scripting reference here: https://knowledge.autodesk.com/community/article/83606