OpenSUP - open source sketchup related old project
-
- Dezip - Ruby library for unziping files
- SME - Sketchup Macro Editor - web based interface for creating ruby scripts
- SUExt - simple extension that adds 1 to input to give you a head start in creating Ruby extensions in C
what is it ?
I start open sourcing my old projects that are getting dust on my HDD. Feel free to fork it and add/modify them.
hope to add more projects in the near future so stay updated via RSS on that github page.
-
Great!
Dezip sounds very interesting. -
Comparing against this article: http://www.rubyinside.com/how-to-create-a-ruby-extension-in-c-in-under-5-minutes-100.html
// general Windows #pragma comment(lib, "kernel32.lib") #pragma comment(lib, "gdi32.lib") #pragma comment(lib, "user32.lib") #pragma comment(lib, "shell32.lib") // Ruby #define HAVE_ISINF 1 // isinf macro redefinition workaround #pragma comment(lib, "msvcrt-ruby18.lib"); // DLL #pragma comment(lib, "crt.lib"); #include <windows.h>
Are all this extra stuff required in order to work with SU Ruby?
-
nope, are just some compiler switches so that it works without the need of fiddling in linker settings
-
Cheers.
I was at first looking at C++. But I'm now settling on C going by the examples you made and the ones at http://www.ruby-doc.org/docs/ProgrammingRuby/html/ext_ruby.html. Seems to be the path of least resistance.
-
Advertisement