Difference between revisions of "LINE CA"

From Macros Wiki
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command|syntax=[[Image:line_ca|right|LINE_CA]]LINE_CA <line number>, <circle>, <angle>, <option>
+
[[Geometry:Creating_Geometry|{{Up}}]]
|description=:Create a line tangent to a circle with an angle.
 
  
|param1=<line number>|param1_desc= {{line number}}  
+
{{Command|syntax=[[Image:line_ca.png|right|LINE_CA]]LINE_CA <line number>, <circle>, <angle>, <option>
 +
|description=:Create a [[macro_line|line]] tangent to a circle with an angle.
 +
 
 +
|param1=<line number>|param1_desc= {{create line number}}  
 
|param2=<circle>|param2_desc= {{circle}}   
 
|param2=<circle>|param2_desc= {{circle}}   
 
|param3=<angle>|param3_desc= {{angle}}  
 
|param3=<angle>|param3_desc= {{angle}}  
|param4=<option>|param4_desc= {{option}}  
+
|param4=<option>|param4_desc= {{1-2option}}  
 
}}
 
}}
  
 
===Example===
 
===Example===
 +
 
:LINE_CA 1, 1, 45, 1
 
: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