Difference between revisions of "TubeCAD Define command"

From ATTWiki
Jump to: navigation, search
(Complete Example of Entering Data Using the Define Command)
 
(9 intermediate revisions by one user not shown)
Line 3: Line 3:
 
The [[MicroScribe]] measuring arm (from Immersion) can collect points in 3D space, inputting them into TubeCAD using the format in this command.
 
The [[MicroScribe]] measuring arm (from Immersion) can collect points in 3D space, inputting them into TubeCAD using the format in this command.
  
[[Image:microscribe.jpg|300px]]
+
[[Image:microscribe.jpg|200px]]
  
  
Line 12: Line 12:
 
Either enter "P" and enter, or click on the Points option in the popup menu.
 
Either enter "P" and enter, or click on the Points option in the popup menu.
  
[[Image:definepopup.jpg|300px]]
+
[[Image:definepopup.jpg|100px]]
  
  
 
You will see a command bar like this:
 
You will see a command bar like this:
  
[[Image:define01.jpg|300px]]
+
[[Image:define01.jpg|500px]]
  
  
Line 30: Line 30:
  
  
[[Image:define02.jpg|300px]]
+
[[Image:define02.jpg|500px]]
  
  
Line 38: Line 38:
 
Press the Enter key to move to the next point.  If the next point index is too high for the currently defined number of points, then TubeCAD will add a new point row in the Layout XYZ coordinates.
 
Press the Enter key to move to the next point.  If the next point index is too high for the currently defined number of points, then TubeCAD will add a new point row in the Layout XYZ coordinates.
  
[[Image:define03.jpg|300px]]
+
[[Image:define03.jpg|500px]]
  
  
Line 44: Line 44:
 
===Entering Partial Values===
 
===Entering Partial Values===
  
You don't have to change the values as shown inside the square brackets.  For example, you may want to change the X coordinate of point 2 to 100, but leave the other values at zero.  Just enter a "100" in the command line then press Enter:
+
You don't have to change the values as shown inside the square brackets.  For example, you may want to change the X coordinate of point 2 to 100, but leave the other values at zero.  Just enter a "100" in the command line then press Enter:<br>
 +
[[Image:define04.jpg|500px]]
  
[[Image:define04.jpg|300px]]
 
  
 +
After you press Enter this is what you will see:<br>
 +
[[Image:define05.jpg|500px]]
  
After you press Enter this is what you will see:
 
 
[[Image:define05.jpg|300px]]
 
 
 
Now, enter the "<" symbol and press enter to move back to the second point.
 
[[Image:define06|300px]]
 
 
You will see the second point X value has been changed.
 
[[Image:define07.jpg|300px]]
 
  
 +
Now, enter the "<" symbol and press enter to move back to the second point.<br>
 +
[[Image:define06.jpg|500px]]
  
 +
You will see the second point X value has been changed.<br>
 +
[[Image:define07.jpg|500px]]
  
 
===The "@" Symbol===
 
===The "@" Symbol===
  
The @ symbol can be used to preserve values on any line.  Suppose you want to preserve the "100" for the X value in point 2.  However, you want to change the Y value to something new.  Use the @ symbol like this to preserve the 100:
+
The @ symbol can be used to preserve values on any line.  Suppose you want to preserve the "100" for the X value in point 2.  However, you want to change the Y value to something new.  Use the @ symbol like this to preserve the 100:<br>
  
  
[[Image:define08.jpg|300px]]
+
[[Image:define08.jpg|500px]]
  
 
Now press Enter and then press "<" and then Enter again.
 
Now press Enter and then press "<" and then Enter again.
  
  
The Y value in point 2 is changed, while preserving the X value:
+
The Y value in point 2 is changed, while preserving the X value:<br>
[[Image:define09.jpg|300px]]
+
[[Image:define09.jpg|500px]]
  
  
 
Note also that we never entered the Z or Radius values.  TubeCAD only took in as much data as you gave it, then ignored the rest.
 
Note also that we never entered the Z or Radius values.  TubeCAD only took in as much data as you gave it, then ignored the rest.
 
  
 
===Exiting the Command One Level===
 
===Exiting the Command One Level===
Line 92: Line 87:
 
===Extra Lines at the End===
 
===Extra Lines at the End===
  
TubeCAD will always act as if you added one extra line at the end of the XYZ data when you use this mode.  So, it will be necessary to delete the last line in the General Specification Layout XYZ data when you are finished entering data here. Follow this example:
+
TubeCAD will always act as if you added one extra line at the end of the XYZ data when you use this mode.  So, it will be necessary to delete the last line in the General Specification Layout XYZ data when you are finished entering data here.
 +
 
 +
===Complete Example of Entering Data Using the Define Command===
 +
 
 +
Here's an example of how to build a layout using this command:
  
 
*Clear the TubeCAD layout for MM by pressing the document with the red ball.
 
*Clear the TubeCAD layout for MM by pressing the document with the red ball.
Line 105: Line 104:
 
*Click on the Layout XYZ tab
 
*Click on the Layout XYZ tab
  
You will see these values in the menu:
+
You will see these values in the menu:<br>
[[Image:define10.jpg|300px]]
+
[[Image:define10.jpg|500px]]
  
Note that the number of points is 5 because TubeCAD entered one more point than you entered.
+
Note that the number of points is 5 because TubeCAD entered one more point than you entered.<br><br>
  
Select the Number of points edit box and press 4 to trim the last line from the data.
+
*Select the Number of points edit box and press 4 to trim the last line from the data.
Press Enter
+
*Press Enter<br>
  
[[Image:define11.jpg|300px]]
+
[[Image:define11.jpg|500px]]
  
Enter radius values of 25 in both radius cells
+
*Enter radius values of 25 in both radius cells<br>
[[Image:define12.jpg|300px]]
+
[[Image:define12.jpg|500px]]
  
  
 
*Click on the General tab
 
*Click on the General tab
 
*Reset the diameter values (all of them) to 19
 
*Reset the diameter values (all of them) to 19
*Press the OK button
+
*Press the OK button<br>
[[Image:define13.jpg|300px]]
+
[[Image:define13.jpg|500px]]
 
<br>
 
<br>
 
+
<br>
[[Image:define14.jpg|300px]]
+
[[Image:define14.jpg|500px]]
  
 
*Type "auto" and Enter   
 
*Type "auto" and Enter   
Line 132: Line 131:
 
*Type "e" and Enter
 
*Type "e" and Enter
  
Your layout will appear something like this:
+
Your layout will appear something like this:<br>
[[Image:define15.jpg|300px]]
+
[[Image:define15.jpg|500px]]

Latest revision as of 22:52, 17 March 2009

This command allows you to enter Layout XYZ* coordinates directly in the command line and will allow other devices to stream centerline Layout XYZ* coordinates into TubeCAD from an external source. *It is always the LAYOUT coordinates that change - never the DESIGN coordinates. The values changed are found in the General Specification menu.

The MicroScribe measuring arm (from Immersion) can collect points in 3D space, inputting them into TubeCAD using the format in this command.

Microscribe.jpg


Contents

Editing the Points

Enter "Define" in the command line and press Enter.

Either enter "P" and enter, or click on the Points option in the popup menu.

Definepopup.jpg


You will see a command bar like this:

Define01.jpg


To change the first point and move to the second, enter the values starting with the X value, then a semicolon ";", then the Y value, etc. The three values shown here X, Y, Z, and Radius values:

20;10;-5;0

  • X = 20
  • Y = 10
  • Z = -5
  • Radius = 0


Define02.jpg


Moving to the Next Coordinate Point

Press the Enter key to move to the next point. If the next point index is too high for the currently defined number of points, then TubeCAD will add a new point row in the Layout XYZ coordinates.

Define03.jpg


Entering Partial Values

You don't have to change the values as shown inside the square brackets. For example, you may want to change the X coordinate of point 2 to 100, but leave the other values at zero. Just enter a "100" in the command line then press Enter:
Define04.jpg


After you press Enter this is what you will see:
Define05.jpg


Now, enter the "<" symbol and press enter to move back to the second point.
Define06.jpg

You will see the second point X value has been changed.
Define07.jpg

The "@" Symbol

The @ symbol can be used to preserve values on any line. Suppose you want to preserve the "100" for the X value in point 2. However, you want to change the Y value to something new. Use the @ symbol like this to preserve the 100:


Define08.jpg

Now press Enter and then press "<" and then Enter again.


The Y value in point 2 is changed, while preserving the X value:
Define09.jpg


Note also that we never entered the Z or Radius values. TubeCAD only took in as much data as you gave it, then ignored the rest.

Exiting the Command One Level

You can stay in the Define command, but display the [[Points, Diameter] options, by press Enter with no value entered.


Completely Exiting the Command

Press Escape any time to completely exit the command.


Extra Lines at the End

TubeCAD will always act as if you added one extra line at the end of the XYZ data when you use this mode. So, it will be necessary to delete the last line in the General Specification Layout XYZ data when you are finished entering data here.

Complete Example of Entering Data Using the Define Command

Here's an example of how to build a layout using this command:

  • Clear the TubeCAD layout for MM by pressing the document with the red ball.
  • Enter "define" in the command line and press Enter
  • Enter "P" and press Enter
  • Enter "@", press Enter
  • Enter "100", press Enter
  • Enter "100;100", press Enter
  • Enter "200;100", press Enter
  • Press Escape
  • Press the GS toolbar button
  • Click on the Layout XYZ tab

You will see these values in the menu:
Define10.jpg

Note that the number of points is 5 because TubeCAD entered one more point than you entered.

  • Select the Number of points edit box and press 4 to trim the last line from the data.
  • Press Enter

Define11.jpg

  • Enter radius values of 25 in both radius cells

Define12.jpg


  • Click on the General tab
  • Reset the diameter values (all of them) to 19
  • Press the OK button

Define13.jpg

Define14.jpg

  • Type "auto" and Enter
  • Type "4" and Enter (this will automatically reorganize the layout)
  • Type "zoom" and Enter
  • Type "e" and Enter

Your layout will appear something like this:
Define15.jpg