BRL-CAD
Create LibreCAD plugin that makes a 2D spiral
LibreCAD 3 has a plugin system where you can write your own code and run that in LibreCAD. This can be use full to create your own frequently used patterns.
Your task is to create a new plugin to create a spiral. Just like the fractal and gear plugin, the system should ask you a few basic questions.
For the spiral the following should be asked:
1) Number rotations to make 2) The location of the spiral (by mouse cursor) 3) Radius of the Spiral (by keyboard entry)
References:
- https://github.com/LibreCAD/LibreCAD_3/tree/master/lcUILua/plugins/gear
- https://github.com/LibreCAD/LibreCAD_3/issues
- https://github.com/LibreCAD/LibreCAD_3/blob/master/lcadluascript/lcadluascript.cpp#L495
SUBMIT your plugin file(s).
Task tags
Students who completed this task
Michal Hanus