-
Notifications
You must be signed in to change notification settings - Fork 1
/
Lsystem.rb
executable file
·31 lines (26 loc) · 923 Bytes
/
Lsystem.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# coding: utf-8
# Copyright 2019 Eugene Berta
# Licensed under the MIT license
#
# A SketchUp Extension to implement L-Systems
# Free book "The Algorithmic Beauty of Plants"
# http://algorithmicbotany.org/papers/abop/abop.pdf
# explains the ideas.
require 'sketchup.rb'
require 'extensions.rb'
module CommunityExtensions
module Lsystem
unless file_loaded?(__FILE__)
ex = SketchupExtension.new('L-System', 'Lsystem/main')
ex.description = 'L-System generator. ' <<
'See https://github.com/ezberta/Lsystem-sketchup ' <<
' for usage instructions.'
ex.version = '0.5.3'
ex.copyright = '2019 Eugene Berta, ' <<
'released under the MIT License'
ex.creator = 'Eugene Berta'
Sketchup.register_extension(ex, true)
file_loaded(__FILE__)
end
end # module Lsystem
end # module CommunityExtensions