ISO 10303-21 explained

STEP
Extension:.stp, .step, .stpnc, .p21, .210
Mime:model/step, model/step+xml, model/step+zip, model/step-xml+zip
Owner:ISO
Released:1994
Magic:ISO-10303-21
Url:Specification

STEP-file is a widely used [1] data exchange form of STEP. ISO 10303 can represent 3D objects in computer-aided design (CAD) and related information. Due to its ASCII structure, a STEP-file is easy to read, with typically one instance per line. The format of a STEP-file is defined in ISO 10303-21 Clear Text Encoding of the Exchange Structure.[2]

ISO 10303-21 defines the encoding mechanism for representing data conforming to a particular schema in the EXPRESS data modeling language specified in ISO 10303-11. A STEP-File is also called p21-File and STEP Physical File. The file extensions .stp and .step indicate that the file contains data conforming to STEP application protocols while the extension .p21 should be used for all other purposes.[3]

The use of ISO 10303-21 is not limited to STEP. The Industry Foundation Classes and earlier CIMSteel Integration Standard (CIS/2) define an EXPRESS schema for building information modeling data and specify ISO 10303-21 as an exchange encoding.

History

Some details to take note of:

ISO 10303-21 building blocks

Example

A typical example looks like this:ISO-10303-21;HEADER;FILE_DESCRIPTION(/* description */ ('A minimal AP214 example with a single part'),/* implementation_level */ '2;1');FILE_NAME(/* name */ 'demo',/* time_stamp */ '2003-12-27T11:57:53',/* author */ ('Lothar Klein'),/* organization */ ('LKSoft'),/* preprocessor_version */ ' ',/* originating_system */ 'IDA-STEP',/* authorization */ ' ');FILE_SCHEMA (('AUTOMOTIVE_DESIGN '));ENDSEC;DATA;

  1. 10=ORGANIZATION('O0001','LKSoft','company');
  2. 11=PRODUCT_DEFINITION_CONTEXT('part definition',#12,'manufacturing');
  3. 12=APPLICATION_CONTEXT('mechanical design');
  4. 13=APPLICATION_PROTOCOL_DEFINITION(,'automotive_design',2003,#12);
  5. 14=PRODUCT_DEFINITION('0',$,#15,#11);
  6. 15=PRODUCT_DEFINITION_FORMATION('1',$,#16);
  7. 16=PRODUCT('A0001','Test Part 1',,(#18));
  8. 17=PRODUCT_RELATED_PRODUCT_CATEGORY('part',$,(#16));
  9. 18=PRODUCT_CONTEXT(,#12,);
  10. 19=APPLIED_ORGANIZATION_ASSIGNMENT(#10,#20,(#16));
  11. 20=ORGANIZATION_ROLE('id owner');

ENDSEC;END-ISO-10303-21;

HEADER section

As seen in the above example, the file is split into two sections following the initial keyword ISO-10303-21;:

The HEADER section has a fixed structure consisting of 3 to 6 groups in the given order. Except for the data fields time_stamp and FILE_SCHEMA all fields may contain empty strings.

The last three header groups are only valid in second edition files.

DATA section

The DATA section contains application data according to one specific express schema. The encoding of this data follows some simple principles.

Criticism

Possibly the only advantage of STEP files is that they are widely adopted in many CAD software. On the other hand, its format, and specially the EXPRESS data modelling language has a few disadvantages:

See also

External links

Notes and References

  1. Web site: STEP-file, ISO 10303-21. Library of Congress. 3 January 2017.
  2. ISO 10303-21:2002 Industrial automation systems and integration -- Product data representation and exchange -- Part 21: Implementation methods: Clear text encoding of the exchange structure
  3. ISO TC184/SC4 Secretary "Cumulative list of resolutions" Resolution 583 (Stuttgart, Germany, - June 2003) "Registration of SC4 MIME-Types", http://www.tc184-sc4.org/SC4_Cumulative_Resolutions/maindisp.cfm
  4. ISO 10303-21:2016. Industrial automation systems and integration -- Product data representation and exchange -- Part 21: Implementation methods: Clear text encoding of the exchange structure http://www.iso.org/iso/home/store/catalogue_ics/catalogue_detail_ics.htm?csnumber=63141