Ruby Scripts Codes
-
Would somebody please be kind enough to explain to me how to create ruby scripts?? I am in the middle of a large sketchup model for a proposed health care building and need something to mke it more simpler. and i have down loaded many from Smustard and attempting to download from http://www.crai.archi.fr/RubyLibraryDepot/ but instead of a file to save in my plugins folder there is all Scripts/code. Where do i copy and paste the code to create the Ruby script. Are there any tutorials out there to explain what they are better??
Thank You
P: will1113
-
Will, that bunch of codes is the ruby script itself. When having got(ten) there to see it, copy all, insert it into a plain text editor (like notepad) and save the file - with exactly the same name (and extension: "rb") you could see as a file name at the end of the download - into the Plugins folder of your SU App.
restart your SU and (most probably) you'll find the script in the Plugins menu (some scripts go elsewhere). Also, there's usually a short description at the beginning of the script how to use it.
Have fun
I also moved this topic if you don't mind for the Ruby depot is supposed to exclusively serve as a place to share finished rubies.
-
All brilliant thank you!!!! will try that out right away!!
Are the two websites i previously quoted the best for get the scripts or are there any other sites??
Im having difficulty with landscaping/levels etc for architectural purposes?thank you
P: will1113
-
Yes, basically these two sites.
Most of the "free" scripts at Smustard (and many more) can be found on Didier's site (second in the list below)
http://www.sketchucation.com/forums/scf/viewtopic.php?p=6792#p6792and as you can see, there are some more sites listed. That's about all you should start with.
For landscaping, I could suggest you the following thread:
http://www.sketchucation.com/forums/scf/viewtopic.php?p=6799#p6799
and an update:
http://www.sketchucation.com/forums/scf/viewtopic.php?p=6787#p6787It creates guide points (and then a mesh from them) from x/y/z coordinates of points simply as a text file as an imput (I myself use it a lot or "reconstructing" archaeological layers etc.).
Advertisement