Assigning Materials Properties?

Help
2008-05-29
2013-04-22
  • Ryan Jacobson

    Ryan Jacobson - 2008-05-29

    I'm new to using BRL-CAD, but it seems like it would be useful to be able to assign materials properties like steel or aluminum to a model. Did I miss the instructions on how to do that? Any help would be appreciated.

     
    • Sean Morrison

      Sean Morrison - 2008-05-29

      man g_qa  (or /usr/brlcad/bin/brlman g_qa if you haven't set your MANPATH)

      That should get you started.  Basically you:
      1) create a simple text file table that maps ID's to a density and material name
      2) import that file into your .g file using the dbbinary command (shown on the man page)
      3) set the materialID of the geometry in mged for your regions
      4) run g_qa

      The other/older weight computation tool is "rtweight" which does the same thing but through a much simpler method.  Using rtweight, you:
      1) create that file, save it as ".density" in your home directory
      2) set the materialID of the geometry in mged for your regions
      3) run rtweight

      Hopefully not clear as mud.

      Cheers!
      Sean

       
    • Ryan Jacobson

      Ryan Jacobson - 2008-06-18

      Sorry this thanks has taken so long. Thanks for the help!

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks