Radiance Geometry Export

I've just been handed an existing Radiance model and I'd like to convert the geometry to some other format (DXF? OpenNURBS/Rhino? SketchUp?) for study and perhaps editing. Are there any tools that do that?

···

--
Randolph Fritz • [email protected]
Environmental Energy Technologies Division • Lawrence Berkeley Labs

Hi Randolph,

You can convert it to MGF and from there to VRML (Inventor 2.0) format:

  rad2mgf input files ... | mgf2inv > combined.inv

You can build these tools in ray/src/cv/mgflib if you haven't done so already. Textures don't come through, sadly.

Best,
-Greg

···

From: R Fritz (LBL) <[email protected]>
Date: June 8, 2010 2:10:12 PM PDT

I've just been handed an existing Radiance model and I'd like to convert the geometry to some other format (DXF? OpenNURBS/Rhino? SketchUp?) for study and perhaps editing. Are there any tools that do that?

Thanks, Greg--I think that will solve my problem.

···

On 2010-06-08 14:22:15 -0700, Greg Ward said:

Hi Randolph,

You can convert it to MGF and from there to VRML (Inventor 2.0) format:

  rad2mgf input files ... | mgf2inv > combined.inv

You can build these tools in ray/src/cv/mgflib if you haven't done so already. Textures don't come through, sadly.

Best,
-Greg

From: R Fritz (LBL) <[email protected]>
Date: June 8, 2010 2:10:12 PM PDT

I've just been handed an existing Radiance model and I'd like to convert the geometry to some other format (DXF? OpenNURBS/Rhino? SketchUp?) for study and perhaps editing. Are there any tools that do that?

--
Randolph Fritz • [email protected]
Environmental Energy Technologies Division • Lawrence Berkeley Labs

Hi Randolph,

Francesco Anselmo wrote a python script several years ago (rad2obj) that will convert RAD geometry to OBJ:
http://www.bozzograo.net/radiance/pub/rad2obj.py

Hope this helps.

Chris
Christian Humann ~ Associate
LOISOS + UBBELOHDE
- - - - - - - - - - - - - - - - - - - - - - - - - - -
1917 Clement Avenue Building 10A
Alameda, CA 94501 USA
- - - - - - - - - - - - - - - - - - - - - - - - - - -
510 521 3800 VOICE
510 521 3820 FAX
- - - - - - - - - - - - - - - - - - - - - - - - - - -
www.coolshadow.com

···

On Jun 8, 2010, at 2:41 PM, R Fritz (LBL) wrote:

Thanks, Greg--I think that will solve my problem.

On 2010-06-08 14:22:15 -0700, Greg Ward said:

Hi Randolph,
You can convert it to MGF and from there to VRML (Inventor 2.0) format:
  rad2mgf input files ... | mgf2inv > combined.inv
You can build these tools in ray/src/cv/mgflib if you haven't done so already. Textures don't come through, sadly.
Best,
-Greg

From: R Fritz (LBL) <[email protected]>
Date: June 8, 2010 2:10:12 PM PDT
I've just been handed an existing Radiance model and I'd like to convert the geometry to some other format (DXF? OpenNURBS/Rhino? SketchUp?) for study and perhaps editing. Are there any tools that do that?

--
Randolph Fritz • [email protected]
Environmental Energy Technologies Division • Lawrence Berkeley Labs

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Randolph,

I never thought I'd say this, but how about Ecotect? Materials might be iffy though.

There's a free demo: http://usa.autodesk.com/adsk/servlet/pc/index?siteID=123112&id=12602821

-Cramer

···

From: R Fritz (LBL) <[email protected]>
Date: June 8, 2010 2:10:12 PM PDT

I've just been handed an existing Radiance model and I'd like to convert the geometry to some other format (DXF? OpenNURBS/Rhino? SketchUp?) for study and perhaps editing. Are there any tools that do that?

--
*Cramer Silkworth
212 219 2255 | [email protected] <mailto:[email protected]>
Transsolar Inc. | 134 Spring Street Suite 601 | New York, NY 10012

Transsolar Climate Engineering
Technical consulting for energy efficiency and environmental quality in buildings.
New York - Stuttgart - Munich*

Hee. If I had a Windows system, I might try it.

Randolph

···

On 2010-06-09 08:06:46 -0700, Cramer Silkworth said:

Randolph,

I never thought I'd say this, but how about Ecotect? Materials might be iffy though.

There's a free demo: http://usa.autodesk.com/adsk/servlet/pc/index?siteID=123112&id=12602821

-Cramer

From: R Fritz (LBL) <[email protected]> Date: June 8, 2010 2:10:12 PM PDT

I've just been handed an existing Radiance model and I'd like to convert the geometry to some other format (DXF? OpenNURBS/Rhino? SketchUp?) for study and perhaps editing. Are there any tools that do that?

--
Cramer Silkworth
212 219 2255 | [email protected]
Transsolar Inc. | 134 Spring Street Suite 601 | New York, NY 10012

Transsolar Climate Engineering
Technical consulting for energy efficiency and environmental quality in buildings.
New York - Stuttgart - Munich _______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
Randolph Fritz • [email protected]
Environmental Energy Technologies Division • Lawrence Berkeley Labs

Greg, when I try this (after first running the Radiance files through xform to expand all the embedded commands) I see:
  $ rad2mgf expanded.rad | mgf2inv >x.vrml
  <stdin>: 36: Illegal argument value:
  m 50fin_mat =

My fallback was Anselmo's script, which seems to mostly work, though some geometry doesn't seem to have made it through.

Wish I had the resources to write a rad23dm script, oh, well...

Randolph

···

On 2010-06-08 14:41:10 -0700, R Fritz (LBL) said:

Thanks, Greg--I think that will solve my problem.

On 2010-06-08 14:22:15 -0700, Greg Ward said:

Hi Randolph,
You can convert it to MGF and from there to VRML (Inventor 2.0) format:
  rad2mgf input files ... | mgf2inv > combined.inv
You can build these tools in ray/src/cv/mgflib if you haven't done so already. Textures don't come through, sadly.
Best,
-Greg

From: R Fritz (LBL) <[email protected]>
Date: June 8, 2010 2:10:12 PM PDT
I've just been handed an existing Radiance model and I'd like to convert the geometry to some other format (DXF? OpenNURBS/Rhino? SketchUp?) for study and perhaps editing. Are there any tools that do that?

--
Randolph Fritz • [email protected]
Environmental Energy Technologies Division • Lawrence Berkeley Labs

Hi Randolph,

MGF requires that identifiers begin with a letter, and they can't contain spaces. The rad2mgf program doesn't check to make sure identifiers are legal in MGF, so this is the problem. You need to rename material and modifier names that don't begin with a letter, or I need to update rad2mgf to fix identifiers.

-Greg

···

From: R Fritz (LBL) <[email protected]>
Date: June 10, 2010 9:06:01 AM PDT

Greg, when I try this (after first running the Radiance files through xform to expand all the embedded commands) I see:
$ rad2mgf expanded.rad | mgf2inv >x.vrml
<stdin>: 36: Illegal argument value:
m 50fin_mat =

My fallback was Anselmo's script, which seems to mostly work, though some geometry doesn't seem to have made it through.

Wish I had the resources to write a rad23dm script, oh, well...

Randolph

On 2010-06-08 14:41:10 -0700, R Fritz (LBL) said:

Thanks, Greg--I think that will solve my problem.
On 2010-06-08 14:22:15 -0700, Greg Ward said:

Hi Randolph,
You can convert it to MGF and from there to VRML (Inventor 2.0) format:
  rad2mgf input files ... | mgf2inv > combined.inv
You can build these tools in ray/src/cv/mgflib if you haven't done so already. Textures don't come through, sadly.
Best,
-Greg

From: R Fritz (LBL) <[email protected]>
Date: June 8, 2010 2:10:12 PM PDT
I've just been handed an existing Radiance model and I'd like to convert the geometry to some other format (DXF? OpenNURBS/Rhino? SketchUp?) for study and perhaps editing. Are there any tools that do that?

Thanks. For now, I'll just deal, one way or another.

Randolph

···

On 2010-06-10 09:37:15 -0700, Greg Ward said:

Hi Randolph,

MGF requires that identifiers begin with a letter, and they can't contain spaces. The rad2mgf program doesn't check to make sure identifiers are legal in MGF, so this is the problem. You need to rename material and modifier names that don't begin with a letter, or I need to update rad2mgf to fix identifiers.

-Greg

From: R Fritz (LBL) <[email protected]>
Date: June 10, 2010 9:06:01 AM PDT

Greg, when I try this (after first running the Radiance files through xform to expand all the embedded commands) I see:
$ rad2mgf expanded.rad | mgf2inv >x.vrml
<stdin>: 36: Illegal argument value:
m 50fin_mat =

My fallback was Anselmo's script, which seems to mostly work, though some geometry doesn't seem to have made it through.

Wish I had the resources to write a rad23dm script, oh, well...

Randolph

On 2010-06-08 14:41:10 -0700, R Fritz (LBL) said:

Thanks, Greg--I think that will solve my problem.
On 2010-06-08 14:22:15 -0700, Greg Ward said:

Hi Randolph,
You can convert it to MGF and from there to VRML (Inventor 2.0) format:
  rad2mgf input files ... | mgf2inv > combined.inv
You can build these tools in ray/src/cv/mgflib if you haven't done so already. Textures don't come through, sadly.
Best,
-Greg

From: R Fritz (LBL) <[email protected]>
Date: June 8, 2010 2:10:12 PM PDT
I've just been handed an existing Radiance model and I'd like to convert the geometry to some other format (DXF? OpenNURBS/Rhino? SketchUp?) for study and perhaps editing. Are there any tools that do that?

--
Randolph Fritz • [email protected]
Environmental Energy Technologies Division • Lawrence Berkeley Labs