PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/FlightsOfIdeas/templateMaker.rb

http://sketchup-svg-outline-plugin.googlecode.com/
Ruby | 31 lines | 7 code | 3 blank | 21 comment | 0 complexity | d13add4d3223eff1b5edc8c9c29921c2 MD5 | raw file
 1require 'sketchup.rb'
 2require 'extensions.rb'
 3require 'LangHandler.rb'
 4require 'FlightsOfIdeas/svgTemplate.rb'
 5
 6###########################################################
 7#
 8#    Scalable Vector Graphics (SVG) from Google Sketchup Faces
 9#    Copyright (C) 2008 Simon Beard
10#
11#    This program is free software: you can redistribute it and/or modify
12#    it under the terms of the GNU General Public License as published by
13#    the Free Software Foundation, either version 3 of the License, or
14#    (at your option) any later version.
15#
16#    This program is distributed in the hope that it will be useful,
17#    but WITHOUT ANY WARRANTY; without even the implied warranty of
18#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19#    GNU General Public License for more details.
20#
21#    You should have received a copy of the GNU General Public License
22#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
23#
24###########################################################
25
26# Create a new template
27$template = SvgTemplate.new()
28
29# Add toolbar and context menu (right-click)
30$template.template_toolbar
31$template.template_context_menu