Skip to main content

Data-mining tool for .CAT* (CATIA) files.

Project description

catminer

PyPI - Python Version PyPI GitHub

The catminer package is designed to data-mine from CATIA (.CAT*) files into readable formats. CATIA is a CAD design application developed by Dassault Systèmes.

Getting Started

Install the Python package:

pip install catminer

To export data, navigate to the file or directory:

cd /d path

Open CATIA then run catminer:

catminer run

Note 1: CATIA may not need to be open, however, the wrong version may launch.

Note 2: Press ctrl + c momentarily to end the program gracefully. Alternatively, press ctrl + break for a non-graceful exit.


For help on the export options:

catminer run -h

which yields the following:

usage: catminer run [-h] [-i path] [-o path] [-t {xml,json}] [-f] [--no-skips]
                    [-b [path]] [-r]

Run catminer using these commands:

optional arguments:
  -h, --help            show this help message and exit
  -i path, --in-dir path
                        set the run directory
  -o path, --out-dir path
                        set the output directory
  -t {xml,json}, --file-type {xml,json}
                        choose the output file type (default: xml)
  -f, --force-export    overwrite previously exported files
  --no-skips            ignore the optimized skips - the process will take
                        much longer

.bat file:
  extra commands to make a .bat file instead

  -b [path], --bat-file [path]
                        generate a .bat file for easier automation
  -r, --relative-path   use the relative path to create the .bat file

The supported outputs are dependent on pyvba.

Developer Notes

Contributors are welcome! The project is hosted on GitHub. Report any issues at the issue tracker, but please check to see if the issue already exists!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

catminer-1.2.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

catminer-1.2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file catminer-1.2.tar.gz.

File metadata

  • Download URL: catminer-1.2.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for catminer-1.2.tar.gz
Algorithm Hash digest
SHA256 79e7f4d97da8c0a421dc81fd37c13013b0e34c5512de8062d52c1b4d257e594b
MD5 1c7f235edad41ffd2c2983f78eafd00f
BLAKE2b-256 8762cfa301f5a25dac858f50d2cdf602d1aaba1abb2aba37835e3ddf2b10f8ea

See more details on using hashes here.

File details

Details for the file catminer-1.2-py3-none-any.whl.

File metadata

  • Download URL: catminer-1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for catminer-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 74cc5b1c12070ac1a24a5dd9ac4c682c2be0451012a3c35d06c05e8f7c4fbe28
MD5 2a0b6f678fe1de588a28dd09aea7853a
BLAKE2b-256 1aaf6879846c833ec536b524cf28ea0dbb2f377ff14c66e8ecf377c051ca8103

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page