NEW CS: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
fix parameters |
No edit summary |
||
Line 4: | Line 4: | ||
|description=:Create a new coordinate system. There are 4 methods that you can use to create a CS. | |description=:Create a new coordinate system. There are 4 methods that you can use to create a CS. | ||
<br> | <br> | ||
:NEW_CS 3P <name> <x1> < | :NEW_CS 3P <name> <x1> <y1> <z1> <x2> <y2> <z2> <x3> <y3> <z3> | ||
:NEW_CS XY <name> <x1> < | :NEW_CS XY <name> <x1> <y1> <z1> | ||
:NEW_CS YZ <name> <x1> < | :NEW_CS YZ <name> <x1> <y1> <z1> | ||
:NEW_CS XZ <name> <x1> < | :NEW_CS XZ <name> <x1> <y1> <z1> | ||
|param1=<method>|param1_desc=3P (3 points), XY (XY plane), XZ (XZ plane) or YZ (YZ plane) | |param1=<method>|param1_desc=3P (3 points), XY (XY plane), XZ (XZ plane) or YZ (YZ plane) | ||
|param2=<name>|param2_desc=CS name | |param2=<name>|param2_desc=CS name | ||
|param3=<x1>|param3_desc=X value of point 1 | |param3=<x1>|param3_desc=X value of point 1 | ||
|param4=< | |param4=<y1>|param4_desc=Y value of point 1 | ||
|param5=< | |param5=<z1>|param5_desc=Z value of point 1 | ||
}} | }} | ||
Revision as of 18:34, 27 March 2015
Command
- NEW_CS <method> <name>
- Create a new coordinate system. There are 4 methods that you can use to create a CS.
- NEW_CS 3P <name> <x1> <y1> <z1> <x2> <y2> <z2> <x3> <y3> <z3>
- NEW_CS XY <name> <x1> <y1> <z1>
- NEW_CS YZ <name> <x1> <y1> <z1>
- NEW_CS XZ <name> <x1> <y1> <z1>
Parameters
- <method>
- 3P (3 points), XY (XY plane), XZ (XZ plane) or YZ (YZ plane)
- <name>
- CS name
- <x1>
- X value of point 1
- <y1>
- Y value of point 1
- <z1>
- Z value of point 1
Only 1 point is required for XY, XZ and YZ. For 3P, you must provide 6 more values for the XYZ positions of the second and third points.
Example
- NEW_CS XY, "NewXY", 3, 6, -1.5
- This will create a new CS, parallel to the XY plane, with its origin at X 3, Y 6, Z -1.5
- For an example macro see Cs_List