working on a Sketchup Plugin in Ruby that does my CAD job for me while I sit back and drink beer
I'm not very good at Ruby, so I'd like to ask - how easy is it to split something up into different files? I have no idea how modules, namespaces and such work
Right now my code looks kind of like this
module MyPlugins
module Autogen
@@parameter1
@@parameter2
# a bunch of other parameters relating to 3d object dimensions
# a bunch of functions that do sketchup stuff
# a bunch of functions that create "componentdefinitions" based on @@parameters
end
end
Comment too long. Click here to view the full text.