Piece
annotation class Piece(val about: String = "", val slice: String = "", val print: String = "", val printable: Boolean = true, val picture: Boolean = false)
Add this annotation to build
methods of a Model. The method must take no parameters, and return a Shape3d.
When you save the script, the application will look for all methods with @Piece
annotations, as well as the default build()
method, and place them in a pull down menu. You can then choose which of these you wish to build or print.