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
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?
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,
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
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*
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
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
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