STEPlib SysML: How To use the Checking Scripts

Warning

../../_images/construction.png

This page is under construction.

To contribute or participate contact support@boost-lab.net

This page explains how to use the Checking Scripts of the STEP architecture.

Installation: Python Setup

For Windows users

  1. Download last release of python 3 here:

  2. Execute the file that has been downloaded and follow the instructions.

  3. When the installation is finished, you can confirm it by opening up the command prompt and typing the following command: python -V

  4. You will now need to make sure you have the latest version by typing:

    *python -m pip install -U pip setuptools
    

For Mac and Linux users

  1. Download last release of python 3 here:

  2. Execute the file that has been downloaded and follow the instructions.

  3. When the installation is finished, you can confirm it by opening up the command prompt and typing the following command: python -V

  4. You will now need to make sure you have the latest version by typing:

    python -m pip install -U pip setuptools
    

Required package

For each package type pip install NAME-OF-THE-PACKAGE in the command line. Here is the list of packages to install:

  • pandas
  • lxml

For example: pip install pandas.

Execution

In your terminal, type the following:

../../_images/ht_scpt_checks_01.png

Figure 123 Command line execution

For Example:

python3 /Users/abc/STEPlib/utils/QualityChecks/CheckXMI  /Users/abc/STEPlib/Core_model/Core_model.xml

On execution completion a log.txt file will have been generated that lists the checks and any errors found.

Section author: Aminata Mbengue [Boost Conseil]