file wavefront read

Allows you to read a Wavefront .obj file into Adams View. Adams View only interprets vertex, face, and group information. Smoothing groups, textures, and material properties are ignored.
If you want the .obj file to be read such that its contents belong to a single Adams View part, use the PART_NAME parameter. Adams View will then create a separate shell graphic object for each occurrence of a group in the .obj file.
If you want the .obj file to be read such that its contents belong to an Adams View mechanism, use the MODEL_NAME parameter.
Adams View will create a new part for each unique group name in the .obj file. If the same group name appears more than once, a separate shell object will be added to the part with the same name as the group.

Format:

 
file wavefront read
file_name =
string
model_name =
new or existing model
part_name =
new or existing body
geometry_placed =
wave_geom_place
scale_factor =
real
set_read_only =
boolean

Description:

 
Parameter
Value Type
Description
file_name
String
Specifies the name of the file that is to be read, written, or executed.
Model_name
New or Existing Model
Specifies the name of a new or existing Adams View MODEL onto which the geometry created from reading a Wavefront .obj will be placed.
part_name
New or Existing Body
Specifies the name of a new or existing Adams View PART onto which the geometry created from reading a Wavefront .obj will be placed.
geometry_placed,
Relative_to_part, Relative_to_ground
Allows you specify whether the coordinates in the wavefront file are to be interpreted as relative to the part or relative to ground. Adams View writes wavefront files with the coordinates relative to the parts.
scale_factor,
Real
Allows you to specify the amount to scale the geometry that is read in from a Wavefront .obj file. The geometry will be scaled uniformly in the x, y, and z directions.
set_read_only
Yes/No
Allows you to specify that all shells created as a result of reading in a wavefront file are to be tagged as read-only. This means that any file writing commands (such as file wavefront write or file iges write) will not output the read-only shells. There is no way to remove the read-only setting once the shells have been created.

Extended Definition:

1. The proper extension is the default but can be overridden by simply supplying a different extension.
You do not need to enclose the file name in quotes if it only contains alpha-numeric 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 name in quotes.
2. Adams View will create a new part for each unique group name in the .obj file. If the same group name appears more than once, a separate shell object will be added to the part with the same name as the group.
You may 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 also find it convenient to type the name even if the part is displayed.
If you created the part by reading an Adams data set or graphics file, the part name is the letters PAR followed by the Adams data set 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 may identify it by entering its name only. If it is not, you must enter its full name. To identify a part under another model, for instance, 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 by commas.
If the part is visible in one of your views, you may identify it by picking on any of the graphics associated with it.
You need not separate multiple part picks by commas.
3. Adams View will create a separate shell graphic object on the part for each occurrence of a group in the .obj file.
You may 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 also find it convenient to type the name even if the part is displayed.
If you created the part by reading an Adams data set or graphics file, the part name is the letters PAR followed by the Adams data set 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 may identify it by entering its name only. If it is not, you must enter its full name. To identify a part under another model, for instance, 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 by commas.
If the part is visible in one of your views, you may identify it by picking on any of the graphics associated with it.
You need not separate multiple part picks by commas.