Thingiverse
RubyScad
7
Downloads
23
Likes
0
Makes
Important
To get the latest code please either download from github or better yet use the rubygem.
Github: https://github.com/cjbissonnette/RubyScad
RubyGem (thanks knewter):
https://rubygems.org/gems/rubyscad
A ruby module that can easily be used to create openscad scripts. Think of it has haml for html or jade for javascript. When used, ruby code is translated into the openscad language which can be used like any other openscad script. I love openscad, but always long for modern language features (classes, iterators, lambda functions). I know efforts are being made to make javascript driven scripts, but until these are more mature, at least for me, this will fill the gap.
Benefits:
Use the full power of ruby / rubygems to create more powerful objects. Classes can be made that are subclassed to add functionality, mixin modules can be made to expand the language, and command line arguments can be used to make scripts customizable from the command line. I think having
To get the latest code please either download from github or better yet use the rubygem.
Github: https://github.com/cjbissonnette/RubyScad
RubyGem (thanks knewter):
https://rubygems.org/gems/rubyscad
A ruby module that can easily be used to create openscad scripts. Think of it has haml for html or jade for javascript. When used, ruby code is translated into the openscad language which can be used like any other openscad script. I love openscad, but always long for modern language features (classes, iterators, lambda functions). I know efforts are being made to make javascript driven scripts, but until these are more mature, at least for me, this will fill the gap.
Benefits:
Use the full power of ruby / rubygems to create more powerful objects. Classes can be made that are subclassed to add functionality, mixin modules can be made to expand the language, and command line arguments can be used to make scripts customizable from the command line. I think having
Did you print this model? Sign in and share your make!
Sign in to leave a comment
Sign inNo comments yet – be the first!