InterOp:Connect/STEP
From DocR21
| Format - STEP |
| Other formats |
|
ACIS ·
CATIA V4 ·
CATIA V5 ·
HSF ·
IGES |
The STEP component manages InterOp interaction with STEP formats. This component is in the form of shared libraries.
Contents |
Prerequisites
The STEP component has no prerequisites. For information regarding platform support, refer to Installation.
Attribute Mapping
The STEP component supports the following list of attributes while translating from and to STEP file format:
| Attribute | Description |
|---|---|
| Entity Label | label field associated with representation items |
| Entity Color | color RGB entities stored in styled items |
| Curve font | curve font associated with STEP curves and edges |
| Curve thickness | curve thickness associated with STEP curves and edges |
| Product ID of BODY | product ID field associated with STEP bodies |
| STEP entity ID | identifiers associated with STEP entities |
| Entity Layer ID | identifiers associated with PRESENTATION_LAYER_ASSIGNMENT entity in STEP |
| Entity Layer name | label associated with PRESENTATION_LAYER_ASSIGNMENT entity in STEP |
Entity Mapping
Entities that are mapped between STEP and other supported InterOp file formats are as follows:
| STEP Entity | Form |
|---|---|
| LINE | line |
| CIRCLE | circle |
| ELLIPSE | ellipse |
| BSPLINE_CURVE_WITH_KNOTS | bspline curve |
| QUASI_UNIFORM_CURVE | bspline curve |
| HYPERBOLA | bspline curve |
| PARABOLA | bspline curve |
| PLANE | plane |
| CONICAL SURFACE | cone |
| CYLINDRICAL SURFACE | cylinder |
| SURFACE_OF_LINEAR_EXTRUSION | sweep surface |
| OFFSET_SURFACE | offset surface |
| QUASI_UNIFORM_SURFACE | bspline surface |
| SURFACE_OF_REVOLUTION | revolution surface |
| SPHERICAL_SURFACE | sphere |
| TOROIDAL SURFACE | torus |
| MANIFOLD_SOLID_BREP | solid body |
| BREP_WITH_VOIDS | solid body |
| FACETED_BREP | sheet body |
| SHELL_BASED_SURFACE_MODEL | sheet body |
| GEOMETRIC_CURVE_SET | wires and vertices |
| EDGE_BASED_WIREFRAME_MODEL | wires |
| SHELL_BASED_WIREFRAME_MODEL | wires |
| CLOSED_SHELL | shell |
| OPEN_SHELL | shell |
| ADVANCED_FACE | face |
| FACE_SURFACE | face |
| EDGE_LOOP | loop |
| VERTEX_LOOP | vertex loop |
| POLY_LOOP | loop |
| EDGE_CURVE | edge |
| ORIENTED_EDGE | coedge |
| VERTEX_POINT | vertex |
| TRIMMED_CURVE | free curve |
| CURVE_BOUNDED_SURFACE | sheet body |
| COMPOSITE_CURVE_SEGMENT | free wires |
| GEOMETRIC_SET | sheet bodies, wires, and vertices |
| CARTESIAN_POINT | points |
| Layer Name | layer name |
| Layer ID | layer ID |
Localized Text in STEP Files
In STEP files, all text is ASCII. Therefore, in order to represent localized text in a STEP file, it must be encoded in such a way that it can be represented in ASCII. This is done by representing the localized text in its encoded form as a part of an escape sequence rather than as the character itself. The STEP format supports three encodings for localized text. It supports two common Unicode encodings, UTF-16 and UTF-32 and one special purpose encoding, UnsignedCharacter.
UTF-16 strings are encoded as ASCII strings embedded in an escape sequence beginning with "\X2\" and ending with "\X0\". For example, the string "SampleKatakana(アァカヵ)", which contains Japanese characters, is encoded as "SampleKatakana(\X2\30A230A130AB30F5\X0\)". Here, "ア"=U+30A2, "ァ"=U+30A1, "カ"=U+30AB, and "ヵ"=U+30F5.
UTF-32 strings in STEP files are similar to UTF-16 strings, but they are encoded as ASCII strings embedded in an escape sequence that begins with "\X4\" and ends with "\X0\".
The UnsignedCharacter encoding is used for writing extended ASCII characters from the windows1252 codepage. Extended ASCII characters are represented with codepoint values in the range of 128 to 255. Here, individual characters in the range 128 to 255 are mapped to the range 0 to 127 and then escaped with "\S\". For example, the German umlaut character is "ü"=0xFC and so it maps to "|"=0x7C and is encoded in the STEP file as "\S\|".
Set the EnableWideCharacter option to TRUE to enable localized text transfer to or from STEP files.
