Aw: RE: Sketchup exporter script

Terrance McMinn wrote

Hello All,

Thomas you have made an excellent contribution to the radiance community
with your SketchUP exporter. I assume this script would also work with
the free Google Version of SketchUP as well. That software was of
limited use to radiance modelling as it did not have the 3DS converter
available in the PRO version.

Yes, of course. There would be no motivation for me to write a script
that doesn't work on the free version. But from the Ruby point of view
both versions are identical.

A point here, for the Google SketchUP (free version) users would be for
the user to manually modify the 'sky' file for location and orientation
as that option works differently from the PRO version of SketchUP.

I am not aware of different settings between the two versions. The script
uses information stored in the 'location' and 'shadow' settings. You can
modify the sky appearance in SketchUp but I do not use this information
and don't even know if it's accessible via scripting.

To this effect a couple of extra comments in the 'sky' file for the
novices would be useful.

I can certainly add a few comments ...

About the interface 'design':

Sketchup has a very limited but simple dialog toolbox which is what I'm using
right now. It looks odd but it does the trick. More soffisticated dialogs are
possible with DHTML (JavaScript - the 'tip of the day' is an example for that)
but I won't start working on that before I have a good idea about which options
to present. And I have to be sure someone out there needs it because it would
be useless for me.

Regards,
Thomas

Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT FÜR ALLE NEUEINSTEIGER
Jetzt bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket
für clevere Doppel-Sparer, nur 29,95 € inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2

Hi Thomas,

Thanks for making the SU exporter plugin available -- I just tried it out on a fairly complex model. The default mode seems to be to export surfaces by material colour rather than layer name (unless I've missed something). Is there (or will there be) an option to export surfaces by layer name rather than material colour?

Cheerio,

-John

···

-----------------------------------------------
Dr. John Mardaljevic
Senior Research Fellow
Institute of Energy and Sustainable Development
De Montfort University
The Gateway
Leicester
LE1 9BH, UK
+44 (0) 116 257 7972
+44 (0) 116 257 7981 (fax)

[email protected]
http://www.iesd.dmu.ac.uk/~jm

[email protected] wrote:

Terrance McMinn wrote
  

Hello All,

Thomas you have made an excellent contribution to the radiance community
with your SketchUP exporter. I assume this script would also work with
the free Google Version of SketchUP as well. That software was of
limited use to radiance modelling as it did not have the 3DS converter
available in the PRO version.
    
Yes, of course. There would be no motivation for me to write a script
that doesn't work on the free version. But from the Ruby point of view
both versions are identical.
  
Yeah, I kinda wish we knew about this script about ten days ago, because we bought the pro version mainly for the export capabilities! Oh well...

And John M, how complex was your model? We just successfully used Thomas' script to export an 80MB SketchUp model to Radiance! Worked very well. I agree with John, a choice of "by color" OR "by layer" would be very helpful.

Hi Rob,

And John M, how complex was your model? We just successfully used
Thomas' script to export an 80MB SketchUp model to Radiance!

My SU model was only a 1/3 the size of yours: about 26Mb (Edges 124168, Faces 60278). The Radiance export took about 13 mins on a 2.16GHz C2D MB (2Gb RAM). The exported rad file was of size 13Mb and contained 60278 polygons. For comparison, exporting the same model to Radiance via 3DS (& MGF) was much quicker but gave a rad file of size 38Mb with 188043 polygons (because of the conversion to triangles, of course).

The smaller rad file did produce a number of "non-planar vertex" warnings (as one might expect). I haven't tried out the model much since I would need to first change all the material colours in SU to match the scheme used for the layers.

Hats off to TB for this very handy utility!

-John

···

-----------------------------------------------
Dr. John Mardaljevic
Senior Research Fellow
Institute of Energy and Sustainable Development
De Montfort University
The Gateway
Leicester
LE1 9BH, UK
+44 (0) 116 257 7972
+44 (0) 116 257 7981 (fax)

[email protected]
http://www.iesd.dmu.ac.uk/~jm