Difference between revisions of "Determining the properties of primitives"

(Initial import from markhobley.yi.org)
 
m (wiki markup for preformatted text)
Line 2: Line 2:
 
primitive name. The example below shows the output of the l command against a [[right circular cylinder]]:
 
primitive name. The example below shows the output of the l command against a [[right circular cylinder]]:
  
l cyl1.s
+
l cyl1.s
 
+
cyl1.s: truncated general cone (TGC)
+
cyl1.s: truncated general cone (TGC)
V (4, 4, -25)
+
V (4, 4, -25)
Top (4, 4, 31)
+
Top (4, 4, 31)
H (0, 0, 56) mag=56
+
H (0, 0, 56) mag=56
H direction cosines=(90, 90, 0)
+
H direction cosines=(90, 90, 0)
H rotation angle=0, fallback angle=90
+
H rotation angle=0, fallback angle=90
A (14, 0, 0) mag=14
+
A (14, 0, 0) mag=14
B (0, 14, 0) mag=14
+
B (0, 14, 0) mag=14
C (14, 0, 0) mag=14
+
C (14, 0, 0) mag=14
D (0, 14, 0) mag=14
+
D (0, 14, 0) mag=14
AxB direction cosines=(90, 90, 0)
+
AxB direction cosines=(90, 90, 0)
AxB rotation angle=90, fallback angle=90
+
AxB rotation angle=90, fallback angle=90
  
 
So, the primitive values for the [[right circular cylinder]] are as follows:
 
So, the primitive values for the [[right circular cylinder]] are as follows:

Revision as of 05:45, 27 September 2010

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 a primitive object