WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Procedural Geometry: Translate and Rotate Objects

Re: Procedural Geometry: Translate and Rotate Objects

by brlcad :: Rate this Message:

| View in Thread


On Jan 7, 2011, at 8:18 AM, Tom Browder wrote:

> There are mged commands for applying rotations and translations to
> objects being edited via commands such as keypoint, orot, and
> translate.
>
> Is there anything similar able to be applied to objects NOT being
> editied (i.e., suitable for scripting)?

All of the same commands you can issue on the MGED command line are  
suitable for scripting too.  You can 'draw' and 'erase' objects, go  
into solid or object edit mode, and call rot, tra, sca, etc.  If you  
only want to modify the view without making changes to geometry, just  
call rot, tra, sca, or view.

The quick reference card categorizes and summarizes all of the basic  
scripting commands.

Cheers!
Sean


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
BRL-CAD Users mailing list
brlcad-users@...
https://lists.sourceforge.net/lists/listinfo/brlcad-users

 « Return to Thread: Procedural Geometry: Translate and Rotate Objects