[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Using Sketchup Ruby API outside of Sketchup...say in Linux???

Zeeshan Zia

3/6/2008 10:46:00 PM

[Note: parts of this message were removed to make it a legal post.]

Hi,

I need to write a program that can obtain 3D mesh information from Google
Sketchup (.skp) files, while in Linux.

Google Sketchup provides a Sketchup Ruby API that can be used to create
plugins, that usually run from within Sketchup to do this task.

However, I want to ask if someone has used the Sketchup Ruby API without
Google Sketchup. Is this possible? Also, can Ruby programs be executed under
Linux?

Thanks a lot in advance.

Best Regards,
Zeeshan

1 Answer

Marc Heiler

3/7/2008 5:40:00 PM

0

> Also, can Ruby programs be executed under Linux?

This does not make much sense. .rb files happily work on both Linux and
Windows, but most active development for Ruby is done on non-Windows,
how would you think will they try out their changes ... uploading to a
Windows machine and then testing? :)

As far as binaries are concerned, they wont work natively under Linux
(.rb files arent binaries though), but you may have some luck with Wine.

I am not sure if someone managed to make sketchup work under Linux+wine,
I had too many problems and gave up on it.

Google should make the code base flexible, its really not that difficult
to make it work cross-plattform.
--
Posted via http://www.ruby-....