On Dec 17, 2012, at 23:34, Xavier NOPRE wrote:
> * The SDK is announced for Windows or Mac:
> is there a solution for Linux?
I don't know for sure (I have no actual experience with the
SDK), but my suspicion is that a C++ library should be usable
on any OS. My suggestion is to download it and take a look.
> * With this SDK, is it possible to extract areas and volume
> (for a house)? Or do I have to calculate it myself? In this
> case, can I Found some examples?
> * Same question as above for areas and volume: is it
> possible with Ruby API or do I have to do it myself?
The Ruby API can calculate areas of individual faces, but I
don't believe this information is stored in the model. Any
higher-level aggregation (eg, volume for a house) would have
to be calculated, based on domain knowledge (eg, architecture).
> * For the "Ruby script solution", for example, can I run
> SketchUp in batch mode, working on a specified SketchUp
> file, and activating my plugin?
Yes, but it's a bit tricky. This page may be helpful:
http://wiki.cfcl.com/bin/view/SketchUp/Cookbook/BO_PM
> * Where can I find some examples ?
You might look around on the assorted plugin archives, eg:
Ruby Library Depot
http://rhin.crai.archi.fr/rld
ScriptSpot
http://www.scriptspot.com/sketchup
Smustard
http://www.smustard.com/