[Radiance-general] BRL-CAD 7.22

Philippe de Rochambeau phiroc at free.fr
Sun Jan 6 12:57:30 PST 2013


Hi Lars,

I have finally found out how to convert a BRL-CAD database to an .OBJ file (which may later be used in Radiance) on MacOSX:

exec ./rel-7.22.0/bin/g-obj /Users/yourname/Desktop/BRLCad/test.g shape1.s > /Users/yourname/Desktop/BRLCad/shape1.obj

The resulting file looks like this:

# BRL-CAD generated Wavefront OBJ file (Units mm)
# BRL-CAD model: /Users/yourname/Desktop/BRLCad/test.g
# BRL_CAD objects: shape1.s
g shape1.s
v -2135.614650 123.542661 2545.726358
v -2122.058812 98.716591 2574.008958
v -2147.390442 44.812126 2581.262728
…

Cheers,

Philippe



Le 6 janv. 2013 à 19:19, Lars O. Grobe <grobe at gmx.net> a écrit :

> Hi Philippe!
> 
>> according to the BRL-CAD Converting_Geometry documentation PDF, the
>> g-wave command lets you convert MGED object to .obj files. However, I
>> could not find that command either in he BRL-CAD MGED 7.22 for MacOSX
>> menus, nor in the Command Window help ("help g-view" return "no help
>> found for g-view").
>> 
>> I should indeed have asked about it in the mailing list, but gave up
>> on BRL-CAD as a modeler a few days ago when I encountered the "free"
>> Rhino for MacOSX.
> 
> Rhino and BRL-CAD are _very_ different tools. Rhino is a 3d-modeller
> with advanced GUI and fancy buttons. BRL-CAD is basically a very
> powerful CSG engine, with several frontends such as GUIs and command
> line tools. If you need really have CSG modelling, possibly scripting,
> BRL-CAD probably would be perfect, but for modelling some geometry with
> a nice GUI Rhino (or Blender or wharever) is easier.
> 
> Just for completeness, you were probably just looking at the wrong
> place. Just as with the radiance tools, you will not find the utilities
> coming with BRL-CAD in any menu bars or Command Window Help. They are
> commands, you can execute them if they are in your PATH, and you find
> help using manpages.
> 
> Cheers, Lars.
> 
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general




More information about the Radiance-general mailing list