LibreCAD / LibreCAD_3

LibreCAD 3 is a next generation 2D CAD application written to be modular, with a core independent from GUI toolkits. Scripting is possible with Lua.
http://librecad.org
Other
311 stars 103 forks source link

Lua script examples don't work #257

Closed stormyweathers closed 4 years ago

stormyweathers commented 4 years ago

I'm attempting to run the examples from the wiki: https://wiki.librecad.org/index.php/LibreCAD_3_-_Lua_Scripting

and the first example fails with the error: attempt to call global 'Coord' (a nil value)

feragon commented 4 years ago

I updated the scripts in the wiki to match the new Lua API