CIRCLE 2PR: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
MikeO (talk | contribs)
No edit summary
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Command|syntax=CIRCLE_2C <[[circle number]]>, <[[point]]>, <[[point]]>, <[[radius]]>, <[[option]]>
[[Geometry:Creating_Geometry|{{Up}}]]
|description=This command is used to create a circle from 2 points and define a radius, the option will be either 1 or for the different sides of the 2 points.


|param1=<circle number>|param1_desc= The number of the circle (1 to 100) to be defined.This is a number used by the macro to create other geometry.
{{Command|syntax=[[Image:circle_2pr.png|right|CIRCLE_2PR]]CIRCLE_2C <circle number>, <point 1>, <point 2>, <radius>, <option>
|param2=<point>|param2_desc= This refers to a previously defined point (1 to 100), this should be given in the format P(Number).
|description=:Create a [[macro_circle|circle]] from 2 points on the circle and a given radius.
|param3=<point>|param3_desc= This refers to a previously defined point (1 to 100), this should be given in the format P(Number).
 
|param4=<radius>|param4_desc= The radius of a circle in either inches or mm (inches are default).
|param1=<circle number>|param1_desc= {{create circle number}}
|param5=<option>|param5_desc= A value of 1 or 2 for choosing different options when creating objects.
|param2=<point 1>|param2_desc= {{point}}
|param3=<point 2>|param3_desc= {{point}}
|param4=<radius>|param4_desc= {{circle_radius}}
|param5=<option>|param5_desc= {{1-2option}}
}}
}}


===Example===
===Example===
:- CIRCLE_ 5, 3, 7, 1
:CIRCLE_ 10, 1, 2, 1, 1


:- CIRCLE_ 8, 2, 5, 2
:CIRCLE_ 11, 1, 2, 1, 2


[[Category:Geometry]]
[[Category:Geometry]]

Latest revision as of 19:03, 10 August 2010

Up

Command

CIRCLE_2PR
CIRCLE_2PR
CIRCLE_2C <circle number>, <point 1>, <point 2>, <radius>, <option>


Create a circle from 2 points on the circle and a given radius.

Parameters

<circle number>
The number of the circle to be created.
A number between 1 and 100.
<point 1>
The number of an existing point.
<point 2>
The number of an existing point.
<radius>
The circle radius
<option>
1 or 2, to select one of the 2 possible solutions.

Example

CIRCLE_ 10, 1, 2, 1, 1
CIRCLE_ 11, 1, 2, 1, 2