Editing User:Nmz787-brlcad

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 35: Line 35:
 
* Pressing the keyboard '''SHIFT''' button along with the ''' left mouse-button''' will move the view away from or toward the center (where the cartesian plane X,Y,Z are 0,0,0)
 
* Pressing the keyboard '''SHIFT''' button along with the ''' left mouse-button''' will move the view away from or toward the center (where the cartesian plane X,Y,Z are 0,0,0)
 
[[File:mged_radio_graphic_window.gif]]
 
[[File:mged_radio_graphic_window.gif]]
 
==Primitive Examples==
 
===tgc===
 
Truncated general cone
 
 
Handled by
 
* in make form create
 
Arguments
 
* vertex, vectors H A B, magnitudes of vectors C D
 
 
[[File:TGC_mged_brlcad.png]]
 
 
====RCC example via TGC====
 
* An rcc primitive is a special form of a tgc, you can reproduce a right-circular-cylinder at vertex 0,0,0 with height 10, and a base and top of radius 1 (both in the XY plane):
 
** <code>in aaa.s tgc 0 0 0 0 0 10 1 0 0 0 1 0 1 1</code>
 
 
* increasing the radius of the base and top to 5:
 
** <code>in aaa.s tgc 0 0 0 0 0 10 5 0 0 0 5 0 5 5</code>
 
 
====breaking down the command====
 
* <code>in <name of primitive> tgc (base X, Y, Z) (height vector X,Y,Z) (ellipse base radius part A vector X,Y,Z) (ellipse base radius part B vector X,Y,Z) (top radius scalar C, restricted to same plane active in base part A) (top radius scalar D, restricted to same plane active in base part B)</code>
 
 
====elliptic cones in either X or Y directions====
 
* 5 in the X direction, 10 in the Y (same at the top)
 
** <code>in aaa.s tgc 0 0 0 0 0 10  5 0 0 0 10 0 5 10</code>
 
* 10 in the X direction, 5 in the Y (same at the top)
 
** <code>in aaaa.s tgc 0 0 0 0 0 10 10 0 0 0  5 0 10 5</code>
 

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)