Geometry Modeling > Accessing, Importing & Exporting Geometry > Direct Geometry Access of CAD Geometry
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
Direct Geometry Access of CAD Geometry
Patran can directly access geometry from an external CAD file for the following CAD systems that are listed in Table 2‑1.
This unique Direct Geometry Access (DGA) feature allows you to access the CAD geometry and its topology that are contained in the CAD file. Once the geometry is accessed, you can build upon or modify the accessed geometry in Patran, mesh the geometry, and assign the loads and boundary conditions as well as the element properties directly to the geometry.
You can execute a specific Patran CAD Access module by using the File/Importing Models menus on the main form. See File>Import (p. 78) in the Patran Reference Manual for more information.
For more information on using Patran ProENGINEER, see Importing Pro/ENGINEER Files (p. 139) in the Patran Reference Manual.
For more information on using Patran Unigraphics, see Importing Unigraphics Files (p. 150) in the Patran Reference Manual.
Table 2‑1 Supported CAD Systems and Their Patran CAD Access Modules
Supported CAD System
Patran CAD Access Module 1
EDS/Unigraphics
Patran Unigraphics
Pro/ENGINEER by Parametric Technology
Patran ProENGINEER
CATIA by Dassault Systemes
Patran CATIA

1 Each Patran CAD Access module must be licensed before you can access the appropriate external CAD file. You can find out which Patran products are currently licensed by pressing the MSC.Software Corporation (MSC) icon on the main form, and then pressing the License button on the form that appears.

Accessing Geometry Using Patran Unigraphics
If Patran Unigraphics is licensed at your site, you can access the geometric entities from an external EDS/Unigraphics part file.
Features of Patran Unigraphics
Unigraphics part file can be accessed in Patran using one of two methods. The first method is express file based import. The second method is direct parasolid transmit file based import. In both cases, Unigraphics geometry is imported and stored in a Patran database.
Patran uses the original geometry definitions of the accessed entities, without any approximations. Parasolid evaluators are directly used for entities imported via the direct parasolid method.
CAD Access filters are provided that can be selected based on the defined EDS/Unigraphics entity types, levels, and layers.
You can automatically create Patran groups when accessing the geometry based on the defined entity types, levels, or layers.
For more information on using Patran Unigraphics, see Importing Unigraphics Files (p. 150) in the Patran Reference Manual.
Tips For Accessing EDS/Unigraphics Geometry for Express File Based Import
1. When you execute EDS/Unigraphics, make sure the solid to be accessed is topologically congruent with no gaps (see Figure 2‑1). For more information, see Topological Congruency and Meshing, 13.
Verify that the edges of the solid’s adjacent faces share the same end points or vertices, and that there are no gaps between the faces.
You can improve Patran Unigraphics’ performance by reducing the number of entities to be processed by using the Entity Type filter on the Patran Import form and unselect or un-highlight all entities of a particular type that you do not want, before you access the part file. For example, you can unselect the entity type, “Bounded-Plane”, to eliminate all bounded plane entities. For the direct parasolid import option, the entity type filter can be used for wire body/sheet body/solid body only.
Put those entities in EDS/Unigraphics that you want to access into specific layers. Then select to only those layers in the Patran Import form before importing the part.
Make sure the Patran Global Model Tolerance is reset to an appropriate value if you will be accessing long thin surfaces and solids with small dimensions (default is 0.005). For example, set the tolerance value so that it is smaller than the smallest edge length (greater than 10.0E-6) in the model. This will improve model usability on some models.
Figure 2‑1 Topologically Congruent Surfaces for Patran Unigraphics
Tips For Accessing Parasolid Geometry
This section provides helpful hints and recommendations regarding the usage of Patran as it pertains to Parasolid integration.
Solid Geometry Guidelines
Disassembling Solids
The Edit/Solid/Disassemble function in the Geometry Application can be used to create simply trimmed surfaces (green 4-sided) with one command. This can be a big timesaver if the B-rep Solid is being disassembled to eventually create tri-parametric solids (blue) for Hex meshing. This command will convert all 4-sided B-rep Solid faces into simply trimmed surfaces (green) which then can be used to construct tri-parametric solids.
Solids Break
If difficulties are encountered in breaking a solid:
1. First disassemble the original solid (Edit/Solid/Disassemble).
2. Try to reconstruct a new solid using Create/Solid/B-rep. If this is unsuccessful due to gaps between surfaces, use the Edit/Surface/Sew and try again. If a solid is created, continue with the break operation.
3. If steps (a) and (b) were unsuccessful:
Break the trimmed surfaces from the disassembled solid (step (a)). If this operation is slow, refit the surfaces (Edit/Surface/Refit) before the break operation.
Create the additional surfaces in the interior required to enclose the individual solid volumes.
Create the new individual solids using Create/Solid/B-rep. If the B-rep can not be created due to surface gaps, use Edit/Surface/Sew and try again.
Global Model Tolerance
After successful access of Unigraphics geometry via the Parasolid Direct method, the Global Model Tolerance will be set relative to the models geometric characteristics. This tolerance is the recommended tolerance for Patran applications to use for best results.
Solids - Group Transform
Group transform for solids is not supported. For information about transforming solids in pre-release format, see , 50.
 
Meshing Guidelines
Hybrid TetMesher - Global Edge Lengths
The Hybrid tetmesher only accepts global edge lengths for mesh criteria if attempting to directly mesh a solid. If you encounter difficulties, decrease the global edge length.
Hybrid TetMesher - Mesh Control
The Hybrid tetmesher does not write nodes that lie on solid edges into the mesh seed table. This limits the ability of the Hybrid tetmesher to recognize existing meshes. For example, if your requirements are: (1) to match adjacent meshes (i.e., multiple solids); (2) that the mesh be able to recognize a hard curve/point; or (3) to define mesh seed prior to solid meshing, follow these steps:
Define any desired hard points/curves and mesh seeds.
Surface mesh the geometry using the paver, creating triangular elements which completely enclose the desired geometric volume.
Invoke the Hybrid tetmesher, using the previously created triangular elements as input.
Paver
If the paver exhibits difficulties meshing some geometry or making congruent meshes:
Delete any existing mesh on the problematic geometry.
Perform an Edit/Surface/Refit.
Do an Edit/Surface/Edge Match if congruency is an issue.
Mesh again.
 
PRE-RELEASE CAPABILITY: Solid Geometry Guidelines
Solids - Group 
Transform
Group transform for solids is not supported. If a transformed solid is required, consider the following alternatives: (1) Perform the transformation in the native CAD system and then again access the desired geometry in Patran; (2) Enable an environment variable before executing Patran. At the system prompt, type:
setenv P3_UG_ENTITY_FILTER 1
which allows the transformation of Parasolid solid geometry and perform the transformation. If a solid is successfully constructed, continue as planned. If not, either:
Mesh the original solid and transform the resulting finite element mesh, with the limitation being that element properties and loads/boundary conditions will have to be assigned directly to the finite elements; or
Try to reconstruct a B-rep solid from the constituent surfaces that result from the transformation, by first using Geometry tools such as Edit/Surface/Sew, Edit/Surface/Edge Match, etc., to reconnect the surfaces and then use Create/Solid/B-rep.
Initially access the original geometry (Unigraphics only) using the Express Translation method. If a solid is successfully imported, a transformation of the geometry is supported.
 
Surface/Curve Geometry Guidelines
Surface Congruency
Unigraphics does not automatically enforce surface congruency. Typically, CAE applications require congruent meshes; therefore, geometric surfaces must usually be congruent. Accessing geometry through Parasolid simply retrieves the Unigraphics geometry exactly as it is defined; an explicit action must be taken to sew geometric surfaces, otherwise they will not be congruent.
It is recommended that models with surfaces be sewn up in Unigraphics prior to access by Patran. Patran offers the ability to also invoke the Unigraphics surface sew tool; in fact, this is the default operation when accessing Sheet Bodies.
Unigraphics Sew With Verify During Geometry Access
“Unigraphics Sew” and “Verify Boundary” toggles are, by default, ON during import. The Verification entails placement of markers at all incongruent surface edges, thus allowing a user to quickly identify whether the Unigraphics Sew was completely (or partially) successful. The markers may be removed using the Broom icon.
Problem Unigraphics Entities From Import
Patran detects three different types of anomalies during Unigraphics part file import:
a) Suspect939 Entities: Sometimes Unigraphics needs to take special actions to convert surfaces from earlier version parts. These surfaces are attributed with “Suspect939.” Although for the most part these surfaces are usable, Unigraphics recommends that these surfaces be replaced. As such, Patran will not attempt to include these surfaces in the Unigraphics sewing, and we recommend that these surfaces be refitted once imported into Patran. You will find these surfaces in a group named, <model_name>_UG_SUSPECT.
b) Invalid Entities: Before importing the Unigraphics model, Patran will check each surface and curve entities to ensure consistency and validity. Occasionally, some entities do not pass the checks. These invalid entities will be excluded from both UG sewing and Patran import. If you see such a message in the invoke window, you should go back to UG to ensure the model is valid. Please reference the next section, Unigraphics Model Checks, 53 for steps to do this check. One recommended way is to refit/reconstruct the surface in Unigraphics and then reimport it into Patran.
If UG sewing is turned on for the Patran import, there is a chance that invalid entities are created by the UG sew. These entities will be brought into Patran and put into a group named, <model_name>_UG_INVALID. As there is no guarantee that entities in this group will work with any applications, we strongly recommend you first commit/save the Patran database and then reconstruct these bodies if possible.
c) Gap Surfaces: Sometimes surfaces, that are degenerate or are/close to being zero area, appear in the model. These surfaces are called “gap surfaces.” If there are any such gap surfaces, they will be in a group named, <model_name>_GAP_SURFACE. Please inspect the imported model and determine if these gap surfaces should be removed from the model.
Unigraphics Model Checks
Unigraphics provides geometry evaluation tools which are extremely useful in judging the quality of a model. Here are some geometry/topology checks Unigraphics can perform and provide results with any UG part: (1) In Unigraphics V13.0, “Info” is available at the top menu bar, under Info/Analysis/Examine Geometry. If you use this on surfaces and any are ill-defined, they will be flagged as “suspect”. (2) In Unigraphics V13.0, Info is available at the top menu bar. To run all checks:
Use Info->Analysis->Examine Geometry...
Choose “Set All Checks”, then “OK”.
Choose “Select All” to check the entire model currently selectable.
• NOTE: Default Distance tolerance is 0.001 units and Default Angle tolerance is 0.5 units.
Patran Surface Sew
In addition to accessing the Unigraphics surface sew tool, Patran offers an additional capability to sew surfaces beyond what Unigraphics supports (e.g., resolution of T-edges). If the Unigraphics surface sew does not resolve all incongruences, try using the Patran surface sew as well. This capability can be accessed through Edit/Surface/Sew in the Geometry application. If both the Unigraphics and Patran surface sew tools cannot remove all of the gaps and incongruencies, then two options are available. The first option is to refit all of the surfaces (Edit/Surface/Refit). Sometimes, after this operation, these surfaces can be sewn together (Edit/Surface/Sew).
The other option for sewing the model using Patran surface sewing is to increase the global tolerance in Patran and sew the model again. Changing the global tolerance in Patran is generally not recommended, but in this case may be necessary. The necessity of increasing the global tolerance is determined by checking the incongruent edges of the model (Verify/Surface/Boundary) to see if they share vertices, or by the gap closure operation when gaps cannot be closed between surface since the edge curves are too far apart. The tolerance value should be set to a value just larger than the distance between the vertices to be equivalenced (vertices which should be shared at the ends of incongruent curves), or just larger than the “allowable gap closure tolerance” which is issued by the sewing (or edge match) operation.
(Note that there are cases where sewing will report that gaps exist which are not really gaps. This is because the operation of checking for gaps does not necessarily know about the engineering intent of the model. We suggest that the user check the gaps reported to make sure that they are gaps. Furthermore, we suggest that the global tolerance be increased conservatively, e.g., double the tolerance instead of increasing it by an order of magnitude.)
Refitting Geometry
The technique of refitting geometry has been identified as a potentially viable method of removing problematic geometry that prevents subsequent meshing, application of LBC’s, editing, transforming, etc. Edit/Curve/Refit and Edit/Surface/Refit are available under the Geometry application. These functions will more regularly parameterize poorly parameterized geometry (for surfaces, this typically involves those with compound curvature), which can currently lead to difficulties in successfully building CAE models. Congruency and boundary definitions are retained.
Edit/Surface/Refit
As previously mentioned, the Edit/Surface/Refit function in the Geometry application can be used to successfully handle problematic Sheet Body geometry. The situations where this applies include:
Accessing geometry with the Unigraphics Sew option disabled with subsequent attempts to make the surfaces congruent by using Patran’s surface sew, edge match, etc.
Difficulties rendering, meshing, edge matching, disassembling, transforming, etc.
Surfaces that result from disassembling solid geometry (i.e., for regioning).
Curves Coincident With Surface and Solid Edges
Wire Bodies coincident with Sheet Body and Solid Body edges are not equivalenced. This is a different behavior from what occurs if the “Express Translation” method is used. If coincident curves are not detected by the user, they may, for example, apply a Loads/Boundary Condition to what they believe is a surface or solid edge, when in fact they are applying it to a curve. To avoid this situation:
Move all Wire Bodies to a separate group and post only when required.
If Wire Bodies are accessed, use the new Geometry function Edit/Point/Equivalence to connect the curve and surface/solid vertices.
Disable access of Wire Bodies and only access when needed.
 
Accessing Geometry Using Patran ProENGINEER
If Patran ProENGINEER is licensed at your site, you can access the geometric entities from an external Pro/ENGINEER part file.
You can execute Patran ProENGINEER either from Patran or from Pro/ENGINEER by doing one of the following:
Executing Patran ProENGINEER From Patran
Execute Patran ProENGINEER from Patran by using the File/Import... menu and make sure the Pro/ENGINEER button is pressed on the Import form. See Importing Pro/ENGINEER Files (p. 139) in the Patran Reference Manual for more information.
Executing Patran ProENGINEER From Pro/ENGINEER
 
Note:  
Make sure Patran ProENGINEER has been properly installed by following the instructions in Module and Preference Setup (Ch. 3) in the Patran Installation and Operations Guide
Execute Patran ProENGINEER from Pro/ENGINEER by doing the following:
1. Execute Pro/ENGINEER by entering:
p3_proe
p3_proe will ask for the command name to run Pro/ENGINEER. Press <CR> if you want to accept the default command pro.
Enter the command name for running Pro/ENGINEER.
[pro]?: <cr>
Open the Pro/ENGINEER assembly file or part file. Then, select the Pro/ENGINEER menus in the following order:
File
Export
Model
Patran Geom
The Patran menu will list four options:
Filter
Run Patran
Create .db
Create .geo
You can select any one of the above four options.
If Filter is selected:
A menu appears which allows the user to select:
Datum Points
Datum Curves
Datum Surfaces
Datum Planes
Coordinate System Datums
for output to the intermediated .geo file. (Default = no datum entities).
If Run Patran is selected:
A Patran ProENGINEER intermediate.geo file will be created from the current Pro/ENGINEER object in memory.
Patran will automatically be executed and a database will be created and opened.
The Patran ProENGINEER intermediate.geo file containing the Pro/ENGINEER geometry will be loaded into the Patran database, and both Pro/ENGINEER and Patran will remain executing.
If Create .db is selected:
A Patran ProENGINEER intermediate.geo file will be created from the current Pro/ENGINEER object in memory.
A batch job will be submitted in background mode that will:
One, execute Patran and create and open a database.
Two, load the.geo file into the Patran database.
And, three, close the database and exit Patran.
If Create .geo is selected, a Patran ProENGINEER intermediate.geo file will be created from the current Pro/ENGINEER object in memory.
For more information on the Patran ProENGINEER intermediate.geo file, see Executing Patran ProENGINEER From Pro/ENGINEER (p3_proe) (p. 148) in the Patran Reference Manual.