BRL-CAD

Create LibreCAD plugin that makes a 2D star shape

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 star. Just like the fractal and gear plugin, the system should ask you a few basic questions.

For the star the following should be asked:

1) Number of points of the star 2) The diameter of the star's outer most points (think that the star points are located on a circle), this should be given with the mouse cursor. 3) The diameter of the star's inner points (think that the points are located on an interior circle), this should be given with the mouse cursor.

References:

SUBMIT your plugin file(s).

Task tags

  • 2d
  • lua
  • code
  • geometry
  • modeling

Students who completed this task

Michal Hanus

Task type

  • code Code
close

2016