This is the first new icon for the main Truss plugin toolbar in quite some time:

The complex roof icon/tool will allow the user to pick between either a truss or rafter complex roof (first HTML menu), then the user will select a horizontal (closed) face which will be used to determine the perimeter of the roof. Before the user selects the outline face they can utilize the complex roof draw menu (HTML menu #2) to adjust settings (ie. overhang, pitch, sheathing, cladding etc...)
The draw menu will stay open and the tool active until closed or space bar is pressed. So multiple complex roofs can be created one after another with the given settings. Similar to the wall plugin I will probably implement a system of roof presets so the user can quickly jump to a specific configuration.
My latest code for menus in the Electrical plugin is my cleanest and most advanced code for dealing with interactive HTML menus. I will be borrowing heavily from this plugin initially to setup my basic tool and menu systems.
I will also at some point allow the user to select the points that define the roof outline rather than selecting a face but for the time being I'm going to keep it simple and just allow the face selection method for now.
I am starting with the complex rafter roof first. The truss variant will be even more troublesome and problematic so its best to cut my teeth on the rafter variant and see how far I can take it.