file parasolid read

Imports Parasolids geometry. See Manage Geometry Options for more information.
When you import Parasolids geometry, Adams View reads the file and converts the geometry into a set of Adams geometric elements. By importing geometry from standard CAD packages you can reduce the need to recreate geometry primitives within Adams, and you can enhance your ability to realistically view the behavior of complicated mechanical systems.
You can associate the geometry that you import with an existing part or create a new part with which to associate it.

Format:

 
file parasolid read
file_name =
string
type =
parasolid_file_type
model_name =
new or existing model
part_name =
new or existing body
location =
location
orientation =
orientation
relative_to =
existing model,part or marker
clean_on_import =
boolean

Example:

 
file parasolid read &
file_name =
"d:/examples/engine/crankshaft.xmt_txt" &
type =
ascii &
model_name =
.model_1 &
explode_assemblies =
boolean

Description:

 
Parameter
Value Type
Description
file_name(required)
String
Specifies the name of the file that is to be read.
type(optional)
Ascii/binary/neutral
Specifies the internal format. The options are: ASCII, binary, and neutral.
model_name(required)
New Or Existing Model
Enter the model name under which you want to store the geometry.
part_name(required)
New Or Existing Body
Enter the part name under which you want to store the geometry.
location(optional)
Location
Specifies the translational position where the geometry in the imported file is to be located relative to the Adams View part lprf.
orientation(optional)
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(optional)
Existing Body,part Or Marker
Specifies the coordinate system relative to which the location coordinates and orientation angles exist.
explode_assemblies(optional)
yes/no
Specifies whether or not each geometric entity in an assembly is created as a separate marker (yes) or consolidated into one (no). no is the default.
clean_on_import(optional)
yes/no
Enables an automatic geometry scanner and cleaner behind-the-scenes during import of parasolid files. This process looks for small imperfections in the geometry that would render in not "watertight" and therefore cause problems with mass property calculations based on geometry and density/material. In some cases, this may slow down import speed of certain geometry. If disabling this option, be sure to verify that the volume Adams View calculates is still sufficiently accurate enough. Yes is the default.
ref_markers
global/local
Upon import Adams creates reference markers to correspond with each piece of geometry created in the Adams model. These markers are typically automatically named with the prefix PSMAR. These reference markers are usually located and oriented at the origin of the Adams model. However, sometimes the geometry in the CAD file was created in such a way in the CAD system that it has a location/orientation transformation value relative to the CAD assembly/part origin.

For example, the geometry was created via a copy/paste/move action performed on an original piece of geometry, or an assembly is composed of a number of parts/sub-assemblies re-located relative to the origins about which they were originally modelled.

In these scenarios, setting the option Reference Markers to “Local” will locate/orient the Adams-created reference markers by applying the same location/orientation transformation value used in construction in the CAD system to the marker relative to the Adams model origin. Setting the option Reference Markers to “Global” will locate/orient all reference markers at the origin of the Adams model.

The default is "Global".

Extended Definition:

1. The proper extension for the file_name parameter is the default, but you can override it by supplying a different extension.
It's 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. The coordinates specified in the location parameter 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.
3. 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.
4. If you don't 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.
 
Note:  
A shell entity is created under the solid while importing parasolid geometry if the "trimesh shells" option is ON (this option is ON by default)
This is done for better graphics performance, as the shell entities only have triangulation data.
The creation of shell entities under the solid can be turned off by the following command:
defaults geometry trimesh_shells = no