Corner Tenons --> download link
You can connect 2 plates at a corner post with standard HSB commands, but coordinating the two connections takes a lot of clicking, calculating, and typing. CornerTenons does both plates simultaneously, and coordinates the two tenons to ensure there is no interference. You can also offset the top of the tenons to leave meat in the post, or to create clearance for another connection, or to minimize the effects of plate shrinkage.
In this wireframe screenshot the maroon and cyan plate are connected to an orange post. A top offset has been specified which limits the vertical space the tenons occupy. Future versions will feature an appropriate graphical representation, currently the script is represented by the default marble.
Mods

You can turn the initial insertion dialog off if desired, and/or alter the default values of all properties.

showDialogOnce() is the line that calls the insertion dialog, comment or delete it to disable. You can also add this line to other scripts to enable this dialog, however it should only be used inside an insertion routine. " if (_bOnInsert) { " always prefaces the insertion routine, here it occurs on line 41.
Properties are usually defined with 3 arguements enclosed in parentheses and separated by commas. The second arguement is the default value. U( # ) is a TSL utility used to coordinate units in the script and in the drawing, I have not yet inserted it in every location in this script. This has no effect, unless the drawing units differ from the units assumed in this script-- inches.
Caveats
  • This is one of my first scripts and does not always follow best coding practices for TSL. One of these practices is the marble representation of the script in the drawing, it is preferable to have a unique representation for each TSL. Future versions will address this problem and add grip-points for tenon offsets, depth, and top offset.
  • Pegs are inserted with NDS requirements in mind, 1.5x the diameter from the lower edge & 2.5 diameters spacing between pegs. These values are not available in the OPM, pegs are held as low as possible to minimize the effects of shrinkage.
  • Tenon width is set automatically to 40mm when the post is less than 5-1/2" wide, 2" otherwise. This setting is not currently available in the OPM.