Difference between revisions of "LINE CA"

From Macros Wiki
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command|syntax=LINE_CA <line number>, <circle>, <angle>, <option>
+
[[Geometry:Creating_Geometry|{{Up}}]]
|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.
+
{{Command|syntax=[[Image:line_ca.png|right|LINE_CA]]LINE_CA <line number>, <circle>, <angle>, <option>
|param2=<circle>|param2_desc= This refers to a previously defined point (1 to 100), this should be given in the format C(number).  
+
|description=:Create a [[macro_line|line]] tangent to a circle with an angle.
|param3=<angle>|param3_desc= An angle value can be in 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.
+
|param1=<line number>|param1_desc= {{create line number}}
|param4=<option>|param4_desc= a value of 1 or 2 for choosing different options when creating objects
+
|param2=<circle>|param2_desc= {{circle}}  
 +
|param3=<angle>|param3_desc= {{angle}}
 +
|param4=<option>|param4_desc= {{1-2option}}
 
}}
 
}}
  
 
===Example===
 
===Example===
:- LINE_CA 4, 2, 63, 2
+
 
 +
:LINE_CA 1, 1, 45, 1
 +
 
 +
:LINE_CA 2, 1, 45, 2
  
  
  
 
[[Category:Geometry]]
 
[[Category:Geometry]]

Latest revision as of 17:58, 2 August 2010

Up

Command

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


Create a line tangent to a circle with an angle.

Parameters

<line number>
The number of the line to be created.
A number between 1 and 100.
<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>
1 or 2, to select one of the 2 possible solutions.

Example

LINE_CA 1, 1, 45, 1
LINE_CA 2, 1, 45, 2