Editing MGED CMD simulate
From BRL-CAD
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 11: | Line 11: | ||
{|align="left" | {|align="left" | ||
|<pre> | |<pre> | ||
− | |||
mged> in cube.s rpp -1 1 -1 1 -1 1 | mged> in cube.s rpp -1 1 -1 1 -1 1 | ||
mged> r cube.r u cube.s | mged> r cube.r u cube.s | ||
− | |||
</pre> | </pre> | ||
|} | |} | ||
<br style="clear: both" /> | <br style="clear: both" /> | ||
− | This will create a cube primitive and a containing region. We will use the region later to apply material appearances | + | This will create a cube primitive and a containing region. We will use the region later to apply material appearances. |
<br style="clear: both" /> | <br style="clear: both" /> | ||
Line 27: | Line 25: | ||
mged> in ground.s rpp -15 15 -15 15 -1 1 | mged> in ground.s rpp -15 15 -15 15 -1 1 | ||
mged> r ground.r u ground.s | mged> r ground.r u ground.s | ||
− | |||
</pre> | </pre> | ||
|} | |} | ||
Line 46: | Line 43: | ||
{|align="left" | {|align="left" | ||
|<pre> | |<pre> | ||
− | mged> attr set cube.r simulate::angular_velocity <2.0,-1.0,3.0> | + | mged> attr set cube.r simulate::angular_velocity "<2.0, -1.0, 3.0>" |
</pre> | </pre> | ||
|} | |} | ||
Line 62: | Line 59: | ||
To specify our simulated system we will define a combination containing both objects. This combination will be modified in-place during the simulation. | To specify our simulated system we will define a combination containing both objects. This combination will be modified in-place during the simulation. | ||
− | |||
− | |||
<br> | <br> | ||
{|align="left" | {|align="left" | ||
|<pre> | |<pre> | ||
mged> comb system.c u cube.r u ground.r | mged> comb system.c u cube.r u ground.r | ||
− | |||
</pre> | </pre> | ||
|} | |} |