On Feb 20, 2014, at 2:55 PM, Daniel Hyams wrote:

> It seems that if I have a model file (I was using a sphere as an example), 
> and run
> 
> rtweight modelfile.g all.g
> 
> I'll get a certain mass.  But if I then change the units in the model file, 
> and run again
> 
> rtweight modelfile.g all.g  (with the same .density file as before)
> 
> I still get the same mass.  
> 
> Is this a known issue, that rtweight ignores the units in the model file?  Or 
> am I misusing rtweight in some way?

None of the above.  The units command changes the current working units for 
input and display.  It does not change the size of all existing geometry.

So if you created a 1000mm^3 box and changed the working units to meters, that 
box does not suddenly become 1000m^3.  It's still the same size.  Of course, if 
you print it's dimensions (e.g., the analyze command), it'll now report 1m^3 
instead of 1000m^3 because of the working units change.

If you're wanting to change the mass, you'll need to scale the geometry 
(sed+sca or oed+sca commands).

Cheers!
Sean


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to