file render read
Format:
file render read |
|---|
file_name = | string |
part_name = | an existing part |
scale = | real |
location = | location |
orientation = | orientation |
relative_to = | an existing model, part or marker |
Example:
file render read & |
|---|
file_name = | “c:\users\ashish\render” & |
part_name = | ground & |
scale = | 2 |
Description:
Parameter | Value Type | Description |
|---|
file_name | String | Specifies the name of the file that is to be read |
part_name | An Existing Part | Specifies the name of an existing Adams View part onto which the translated geometry will be placed |
scale | Real | Specifies the scale factor to be applied to the size of the geometry created in Adams View |
location | Location | Specifies the translational position where the geometry in the imported file is to be located, relative to the Adams View part lprf |
orientation | Orientation | Specifies the angular position where the geometry in the imported file is to be oriented, relative to the Adams View part lprf |
relative_to | An Existing Model, Part Or Marker | Specifies the coordinate system, relative to which the location coordinates and orientation angles exist. |
Extended Definition:
1. It is not necessary to enclose the file name in quotes if it only contains alphanumeric characters and starts with a letter. If you want to include other characters, such as a '.' for an extension or '/' or '[]' for directory paths, you must enclose the file name in quotes.
2. You can place the geometry upon a part and use it for preprocessing and postprocessing. Markers created by the iges translator will be located on the part you specify in this parameter.
You can identify a part by typing its name or by picking it from the screen. If the part is not visible on the screen, you must type the name (you may find it convenient to type the name even if the part is visible).
If you created the part by reading a dataset or graphics file, the part name is the letters par followed by the dataset part ID number. For example, the name of Adams PART/101 is PAR101. If you created the part during preprocessing, you will have given it a name at that time.
If a part is available by default, you can identify it by entering only its name. If it is not, you must enter its full name. To identify a part under another model, for example, you may need to enter the model name as well. For example, you may specify part arm from model robot by entering .robot.arm. If you type a ?, Adams View will list the parts available by default.
You must separate multiple part names with commas.
If the part is visible in one of your views, you can identify it by picking on any of the graphics associated with it. It is not necessary to separate multiple part picks with commas.
3. The default scale factor is 1.0.
Scale factor influences geometry created in Adams View with respect to the geometry in the imported file, as follows:
♦A scale factor of 1.0 - Geometry will be the same size.
♦A scale factor of less than 1.0 - Reduces the size of geometry.
♦A scale factor greater than 1.0 - Increases the size of geometry.
For example, assume that the scale factor is 0.5. Then, a cylinder of length 2 m and diameter .5 m would be translated to Adams View with the length of 1 m and diameter of .25 m. The distance from geometry to the realtive_to coordinate system will be scaled accordingly. If the previously mentioned cylinder was located at 3,2,0 in the iges file, it would be located at 1.5,1,0 after it is translated to Adams View.
This parameter does not affect the orientation of geometry.
4. These coordinates can be relative to any other coordinate system defined in the Adams View model.
By default, you supply Cartesian (x, y, z) coordinates. You can use the defaults units coordinate_system_type = command to change this convention. For example, selecting cylindrical means that you will subsequently be supplying r, theta, and z coordinates.
5. These orientation coordinates can be relative to any other coordinate system defined in the Adams View model.
Adams View orients the coordinate system by starting from the initial coordinate system and applying three successive rotations. Depending on the convention you have selected, the rotations may occur about space-fixed or body-fixed axes in any meaningful combination of the x-, y-, and z-axes.
By default, you supply Euler (known as body313, or body-fixed z, x, z) angles. You can change this convention with the defaults units orientation_type = command. For example, selecting space123 means you will subsequently be supplying space-fixed x, y, and z, angles.
Adams View applies your orientation angles starting from the coordinate system you identify with the relative_to parameter. The default for the relative_to parameter is the default coordinate system.
6. If you do not specify the relative_to parameter, Adams View uses the default coordinate system. The default coordinate system is initially your model, that is, the global coordinate system. You can change the default coordinate system using the defaults coordinate_system command.