IntroductionThis is a server-side application with a web interface whose function is to read a STEP Part 21 exchange file, extract a geometric model, apply edited or additional product data, and generate a new Part 21 file containing the selected geometric model and supplied product data. The application produces a STEP AP 203 (configuration-controlled design) and is reads such files as input; because the overall structure of the STEP standard uses common resources it is likely that the geometric models in other schema's files will be readable as well. There are two envisioned use cases:
The file output from this application will contain one shape representation for one version of one product; the product and version information as specified in STEP AP 203 (id, name, and description) may be supplied. The user can also set security level and approval status for the design elements of the output file; in this release of the application the security and approval information are applied uniformly over all elements but this is done merely to simplify the user interface and is not a fundamental limitation of the tools used to implement this application. ImplementationThis application was developed as a proof-of-utility of the tools developed for handling STEP data files with scripting tools. For this application the two significant processing tasks were identified to be:
These tasks are performed by Prolog language scripts run under the SWI-Prolog interpreter after the content of the uploaded files is translated into a file of Prolog clauses. The translation is performed by the read_exchange_structure application; the translation to Prolog clauses is discussed here. |
||||||||||||
Dec 18, 2007