Difference between revisions of "LINE CA"

From Macros Wiki
Jump to: navigation, search
Line 2: Line 2:
 
|description=This is used to create a line that is tangent to a circle at a given degrees, the option changes which side the line is on the circle.
 
|description=This is used to create a line that is tangent to a circle at a given degrees, the option changes which side the line is on the circle.
  
|param1=<line number>|param1_desc= The number of the line (1 to 100) to be defined. This is a number used by the macro to create other geometry.
+
|param1=<line number>|param1_desc= {{line number}}
|param2=<circle>|param2_desc= This refers to a previously defined point (1 to 100), this should be given in the format C(number).  
+
|param2=<circle>|param2_desc= {{circle}}  
|param3=<angle>|param3_desc= An angle value can be in either degrees or radians. Positive angles indicate a CCW direction, negative for CW.
+
|param3=<angle>|param3_desc= {{angle}}
:Use the DEGREES or RADIANS commands to switch between the two angle modes.
+
|param4=<option>|param4_desc= {{option}}
|param4=<option>|param4_desc= a value of 1 or 2 for choosing different options when creating objects
 
 
}}
 
}}
  

Revision as of 11:22, 16 July 2010

Command

LINE_CA <line number>, <circle>, <angle>, <option>


This is used to create a line that is tangent to a circle at a given degrees, the option changes which side the line is on the circle.

Parameters

<line number>
The number of a previously defined macro line.
<circle>
The number of an existing circle.
<angle>
angle value, either degrees or radians. Positive angles indicate a CCW direction, negative for CW.

Use the DEGREES or RADIANS commands to switch between the two angle modes.
<option>
Template:Option

Example

- LINE_CA 4, 2, 63, 2