Difference between revisions of "Determining the properties of primitive objects"

From BRL-CAD
(basically renamed old "Determining the properties of primitives" article for consistency's sake)
 
 
Line 22: Line 22:
 
----
 
----
  
[[Changing the properties of a primitive object]]
+
[[Changing the properties of primitive objects]]

Latest revision as of 15:05, 27 May 2013

To determine the properties of a primitive, use the l command followed by the primitive name. The example below shows the output of the l command against a right circular cylinder:

l cyl1.s

cyl1.s: truncated general cone (TGC)
	V (4, 4, -25)
	Top (4, 4, 31)
	H (0, 0, 56) mag=56
	H direction cosines=(90, 90, 0)
	H rotation angle=0, fallback angle=90
	A (14, 0, 0) mag=14
	B (0, 14, 0) mag=14
	C (14, 0, 0) mag=14
	D (0, 14, 0) mag=14
	AxB direction cosines=(90, 90, 0)
	AxB rotation angle=90, fallback angle=90

So, the primitive values for the right circular cylinder are as follows:



Changing the properties of primitive objects