Extract some data like areas, facades orientations...
-
Hello everyone,
I need to develop an application using Java or c#, and I need to read SketchUp files to extract some data like volumes, areas, facades orientations, facades inclinations ...
How can I do that ? Can I read SketchUp file from Java or c# application ? if so, how to do it? Can I launch a script (Ruby script) that can read and exploit the SketchUp file and use it? any ideas ? any examples ?
Thank you for your help !
-
You could likely do what you need using the C/C++ SketchUp SDK, which can read and write the SketchUp file format. But there is no official support for C# or java as such. You would be on your own getting a bridge from those languages to the API working. The file format is proprietary and unpublished, so you could not legally roll your own API. SketchUp embeds a Ruby interpreter for extensions, and you could use that as well - though not as a standalone Ruby program. SketchUp would have to be running to execute the Ruby internally.
Advertisement