# Copyright 2014, Trimble Navigation Limited

# This software is provided as an example of using the Ruby interface
# to SketchUp.

# Permission to use, copy, modify, and distribute this software for 
# any purpose and without fee is hereby granted, provided that the above
# copyright notice appear in all copies.

# THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#-----------------------------------------------------------------------------
# Name        :   Onion Dome Tool 1.0
# Description :   A script to create onion domes.
# Menu Item   :   Draw->Onion Dome
# Date        :   4/2/2013
# Type        :   Dialog Box
#-----------------------------------------------------------------------------

require 'sketchup.rb'
require 'extensions.rb'

module Sketchup::Samples
module OnionDome

# Create the extension.
onion_dome_ext = SketchupExtension.new 'Onion Dome Tool',
                                       'su_onion_dome/onion_dome.rb'
onion_dome_ext.description = 'Onion Dome sample script from SketchUp.com'
onion_dome_ext.version =  '1.1.1'
onion_dome_ext.creator = "SketchUp"
onion_dome_ext.copyright = "2014, Trimble Navigation Limited"

# Register the extension with Sketchup so it shows up in the Preference panel.
Sketchup.register_extension onion_dome_ext, true

end # module OnionDome
end # module Sketchup::Samples
