InterOp:Connect/Parasolid/Parasolid Reader

From DocR23

Jump to: navigation, search

The Parasolid Reader component reads files from Parasolid. This component is in the form of shared libraries.

Refer to Format and Version Support for a list of file formats and versions that InterOp Connect supports for translation.

Contents

Parasolid Implementation Note

The 3D InterOp product suite provides both Direct translators (referred to in this documentation as Parasolid Direct) and Parasolid kernel-based translators (referred to in this documentation as Parasolid) to perform Parasolid translation. For 3D InterOp Connect, the specification between Parasolid Direct or Parasolid-based Parasolid Translation is made using the SPAIDocument::SetType method with the desired format. For Parasolid kernel-based Parasolid translation, call:

SPAIDocument::SetType("PS");

Note: The appropriate current license key must be available.

Note: If a SetType ID is not specified, 3D InterOp Connect will select between Direct translators and Parasolid-based translators based on whether pskernel.dll is found in the system path. If pskernel.dll is found, Parasolid-based translation will be done. If pskernel.dll is not found, the Direct translator will be used. Specifying a SetType ID supersedes this check.


Features

Features of the Parasolid Reader include:

  • B-Rep Read Support
  • Assembly Read Support
  • Sheet Bodies Read Support
  • Wire Bodies Read Support
  • Binary/Text File Read Support
  • System and InterOp Defined Attribute Support
  • Layer Handling

Options for Parasolid Reader

Option Default Description
CleanModel false This option controls the process of cleaning and removing redundant topologies.
ModellerStart true This option controls the initialization of the modeler.

ClubAllSheets

false This option controls whether to group all the faces in a single body.

Document

  • Layer Handling

The Parasolid Reader Provides an enhanced mechanism for handling layers and layer filters. Each layer and layer filter is treated as an independent entity and is converted to SPAXGenericLayer and SPAXGenericLayerFilter in Parasolid. SPAXGenericLayer and SPAXGenericLayerFilter are classes that provide member functions for managing layers and layer filters. An instance of SPAXGenericLayer and SPAXGenericLayerFilter class is created for each layer or layer filter. All entities belonging to a layer are added to SPAXGenericLayer. All layers belonging to a layer filter have corresponding SPAXGenericLayer and all the SPAXGenericLayer instances are added to SPAXGenericLayerFilter. All the entities of a layer can be directly retrieved from SPAXGenericLayer, as all the entities that belong to a layer are managed in a single SPAXGenericLayer entity. The Parasolid Reader also enables you to translate and store layer specific information such as layer name and layer color.

Assembly

  • Assembly File Support

The translator can read assembly files. Depending upon the capabilities of the Writer, the assembly will be flattened or written as assembly. In case of translation to ACIS, refer to the ACIS Writer section for further information on name handling. For the part name format in flatten route, refer to Assembly.

  • Support for Free Part Translation

In case of ACIS translation, InterOp provides support for translating free parts along with the assembly. For more information, refer to Free Part Translation.

BREP

The Parasolid Reader supports the BREP representation. Set the Representation user option to BREP for the translation.

The types of bodies supported in Parasolid are as follows:

Manifold Bodies
  • Acorn Bodies — A body of zero dimensions comprising one or more points in space.
  • Wire Bodies — A wire body is a set of connected edges.
  • Sheet Bodies — A sheet body is topologically two-dimensional. It is either open (for example, a bounded plane) or closed (for example, a hollow sphere or torus whose walls have zero thickness).
  • Solid Bodies — A solid body is three-dimensional, and occupies a finite continuous volume.
Non-Manifold or General Bodies in Parasolid
  • Non-manifold Bodies — Refer to the discussion of non-manifold objects in Manifold and Non-manifold Objects.
  • General Bodies — In Parasolid, a general body is a set of regions, faces, edges, and vertices.
Personal tools