Difference between revisions of "TubeCAD Define command"

From ATTWiki
Jump to: navigation, search
 
Line 1: Line 1:
Define (TubeCAD Pro only)
 
 
 
 
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.
 
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.
+
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|300px]]
  
  
 
+
===Editing the Points===
 
+
 
+
Editing the Points
+
  
 
Enter "Define" in the command line and press Enter.
 
Enter "Define" in the command line and press Enter.
Line 30: Line 24:
 
20;10;-5;0
 
20;10;-5;0
  
X = 20
+
*X = 20
Y = 10
+
*Y = 10
Z = -5
+
*Z = -5
Radius = 0
+
*Radius = 0
  
  
Line 40: Line 34:
  
  
Moving to the Next Coordinate Point
+
===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.
 
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.
Line 48: Line 42:
  
  
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:
Line 68: Line 62:
  
  
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:
Line 85: Line 79:
  
  
Exiting the Command One Level
+
===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.
 
You can stay in the Define command, but display the [[Points, Diameter] options, by press Enter with no value entered.
  
  
Completely Exiting the Command
+
===Completely Exiting the Command===
  
 
Press Escape any time to completely exit the command.
 
Press Escape any time to completely exit the command.
Line 96: Line 90:
  
  
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.  Follow this example:
  
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.
Enter "define" in the command line and press Enter
+
*Enter "define" in the command line and press Enter
Enter "P" and press Enter
+
*Enter "P" and press Enter
Enter "@", press Enter
+
*Enter "@", press Enter
Enter "100",  press Enter
+
*Enter "100",  press Enter
Enter "100;100", press Enter
+
*Enter "100;100", press Enter
Enter "200;100", press Enter
+
*Enter "200;100", press Enter
Press Escape
+
*Press Escape
Press the GS toolbar button
+
*Press the GS toolbar button
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:
Line 125: Line 119:
  
  
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
 
[[Image:define13.jpg|300px]]
 
[[Image:define13.jpg|300px]]
 
+
<br>
  
 
[[Image:define14.jpg|300px]]
 
[[Image:define14.jpg|300px]]
  
Type "auto" and Enter   
+
*Type "auto" and Enter   
Type "4" and Enter (this will automatically reorganize the layout)
+
*Type "4" and Enter (this will automatically reorganize the layout)
Type "zoom" and Enter
+
*Type "zoom" and Enter
Type "e" and Enter
+
*Type "e" and Enter
  
 
Your layout will appear something like this:
 
Your layout will appear something like this:
 
[[Image:define15.jpg|300px]]
 
[[Image:define15.jpg|300px]]

Revision as of 22:41, 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. 300px

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. Follow this example:

  • 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