Python client for generating Ex format model descriptions from MBF XML.


Keywords
MBF, CMLibs, Zinc
License
Apache-2.0
Install
pip install mbfxml2ex==0.7.2

Documentation

MBF XML 2 Ex

This program converts MBF XML to Ex format suitable for CMLibs-Zinc.

Install

pip install mbfxml2ex

Usage

mbfxml2exconverter /path/to/input.xml

For more information use the help:

mbfxml2exconverter --help

Developing

When developing install the required packages for running the tests with:

pip install .[test]

Then run the tests with:

nosetests

from the repository root directory.

To see the coverage statistics for the package run:

nosetests --with-coverage --cover-package=mbfxml2ex

For a nice HTML rendering of the coverage statistics run:

nosetests --with-coverage --cover-package=mbfxml2ex --cover-html

To view the HTML coverage output:

cd cover
python -m http.server 9432

Then, in a web browser navigate to http://localhost:9432