JT Reader

Supported Entities

Entities supported by the JT reader.
  • Free points
  • Free curves
  • Surfaces
  • Solid bodies (JT B-rep)
  • Embedded Parasolid (XT B-rep)
  • Facets (triangular only)
  • Parts
  • Assemblies
  • PMI (reference points only)

Import Options

The JT reader uses the jt_reader.ini file.
@ApplyLayerFilters
Value Description
string Import only the specified layer filters.

The string should be in the form of "%filter1%filter2%filter3". The filter names are listed, separated by a character that you choose, and inserted as the first element of the string. The example uses '%' as a separator. You can choose another character as a separator, in case one of the listed attribute names contains '%'. HyperMesh will recognize it as it is the first character of the string. A special value of DEFAULT can be used to indicate the default layer filter.

@AttributesAsMetadata
Value Description
all Import all generic attributes as metadata (default).

<name>

%attribute1%attribute2%attribute3 Import specified generic attributes as metadata.

The attribute names are listed, separated by a character that you choose, and inserted as the first element of the string. The example uses '%' as a separator. You can choose another character as a separator, in case one of the listed attribute names contains '%'. HyperMesh will recognize it as it is the first character of the string.

<name>
@BodyIdAsMetadata
Value Description
on Assign body identifier as metadata.

BODY_ID

off Do not assign body identifier as metadata (default).
@BrepAndTessLoadOption
Value Description
0 Import B-rep or tessellation, with B-rep given preference. If B-rep is present, tessellation is not imported (default).
1 Import both the B-rep and the tessellation.
2 Import only the B-rep. If B-rep is not present, nothing is imported.
3 Import only the tessellation. If tessellation is not present, nothing is imported.
@CleanupTol
Value Description
double A negative value (default) indicates to use the auto cleanup tolerance. A value greater than the calculated auto cleanup tolerance indicates to use that specific tolerance. Refer to the CAD Cleanup Tolerance.
@ColorsAsMetadata
Value Description
on

Read color attributes of geometric entities as metadata.

COLOR_RGB

off Do not read color attributes (default).
@CreationType
Value Description
Parts Generate a full part-based hierarchy.
BOMOnly Generate an empty part-based hierarchy.
TreeOfComponents Generate an assemblies/components based hierarchy.
PackIntoSinglePart Consolidate hierarchy into a single part.
@DoNotMergeEdges
Value Description
on Preserve the original geometry edges, instead of merging them together during the import cleanup phase.
off Merge edges together during the import cleanup phase (default).
@FilterByJTOpenParts
Value Description
string The string should be in the form of "%part1%part2%part3". The part names are listed, separated by a character that you choose, and inserted as the first element of the string. The example uses '%' as a separator. You can choose another character as a separator, in case one of the listed attribute names contains '%'. Engineering Solutions will recognize it as it is the first character of the string.
@ImportForVisualizationOnly
Value Description
on

Import the model for visualization purposes only.

This skips many of the import steps (cleanup, stitching, solid creation, and so on) to provide a faster import. The resulting model may not be suitable for other uses.

off Import the model in the normal fashion (default).
@ImportFreeCurves
Value Description
on Import free curves (wireframe entities) into the model (default).
off Do not import free curves.
@ImportFreePoints
Value Description
on Import free points into the model (default).
off Do not import free points.
@LegacyHierarchyAsMetadata
Value Description
on Generate metadata with the original CAD hierarchy within the part.

LEGACY_HIERARCHY

off Do not generate metadata with the original CAD hierarchy within the part (default).
@MaterialName
Value Description
string Name of the CAD attribute containing the material name info of the current part. Default is "P_MAT".
@MeshFlag
Value Description
string Name of the CAD attribute containing the PDM mesh flag name info of the current part.

Default is "MeshFlag".

@MetadataPrefix
Value Description
string The string is prefixed to all metadata names. No prefix is used by default.

See CAD Metadata Naming for more details.

@MID
Value Description
string Name of the CAD attribute containing the PDM material ID info of the current part.

Default is "MID".

@PartNumber
Value Description
string Name of the CAD attribute containing the PDM part number info of the current part. Default is "DB_PART_NO".
@PID
Value Description
string Name of the CAD attribute containing PDM property ID info of the current part.

Default is "PID”.

@ReadPMI
Value Description
on Read PMI data for reference points. New points are created and PMI attributes are attached as metadata.
off Do not read PMI (default).
@Revision
Value Description
string Name of the CAD attribute containing PDM major revision info of the current part.

Default is "Revision”.

@SkipCreationOfSolid
Value Description
on Read surfaces, but do not create solid entities.
off Create solid entities (default).
@SplitComponents
Value Description
Body Generate body-based component (default if CreationType=Parts).
Part Generate part-based component.
General Keep component as in CAD (default if CreationType=TreeOfComponents).
Components Generate JT component-based components.
@SplitPeriodicFaces
Value Description
on Split periodic surfaces to improve the quality and robustness of the import (default).
off Import periodic surfaces as a single surface with a seam edge.
@TagsAsMetadata
Value Description
on

Create entity name as metadata (default).

TAG

FromBody

Take entity from its parent body and create as metadata.

TAG

off Do not read tags.
@TargetUnits
Value Description
CAD units Keep the units of the CAD files (default for GUI).
MKS [m kg N s] Convert to the corresponding units system.
MMKS [mm kg N s] Convert to the corresponding units system.
MPA [mm t N s] Convert to the corresponding units system.
CGS [cm g dyn s] Convert to the corresponding units system.
MMKNMS [mm kg kN ms] Convert to the corresponding units system.
MMGNMS [mm g N ms] Convert to the corresponding units system.
IPS Std [in pounds lbf s] Convert to the corresponding units system.
IPS Grav [in slinch lbf s] Convert to the corresponding units system.
FPS Std [ft pounds lbf s] Convert to the corresponding units system.
FPS Grav [ft slug lbf s] Convert to the corresponding units system.
Scale factor Apply the corresponding scale factor (default for no GUI to allow supporting legacy scripts).
@ThicknessName
Value Description
string Name of the CAD attribute containing the PDM thickness info of the current part. Default is "P_GAUGE".
@UID
Value Description
string Name of the CAD attribute containing the PDM UID info of the current part.

Default is "UID".

Supported Metadata

Metadata generated from the JT reader.
BODY_ID
Type Entities Description
string
  • lines
  • surfs
Identifier of the CAD body containing the entity.

Generated when @BodyIDAsMetadata=on

COLOR_RGB
Type Entities Description
string

lines

surfs

comps

Three RGB values, ranging from 0 to 255, indicating the color of the entity in the CAD model.

Generated when @ColorsAsMetadata = on.

LEGACY_HIERARCHY
Type Entities Description
string
  • points
  • lines
  • surfs
Hierarchy of an entity within a part.

Generated when @LegacyHierarchyAsMetadata=on

MODELUNIT
Type Entities Description
integer comps if hierarchy as Assemblies; parts if hierarchy as Parts Model units specified in the CAD file.
  • 1 = inches
  • 2 = millimeters
  • 4 = feet
  • 5 = miles
  • 6 = meters
  • 7 = kilometers
  • 8 = mils
  • 9 = microns
  • 10 = centimeters
  • 11 = microinches
  • 12 = decimeters
  • 13 = yards

This is always generated.

<name>
Type Entities Description

integer

double

string

comps

assems

The <name> field is the JT attribute name and the integer/double/string is the value of the JT attribute.

Generated when @AttributesAsMetadata = all or <name> is one of the selected attributes.

TAG
Type Entities Description
string

points

lines

surfs

solids

The tag (name) of the entity as read from the CAD model, if one exists.

Generated when @TagsAsMetadata = on