catminer
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 + cmomentarily to end the program gracefully. Alternatively, pressctrl + breakfor a non-graceful exit.
For help on the export options:
catminer run -h
which yields the following:
usage: catminer run [-h] [-u int] [-i path] [-o path] [-t {xml,json}] [-f]
[--no-skips] [--active-doc]
Run catminer using these commands:
optional arguments:
-h, --help show this help message and exit
-u int, --user-settings int
run using user-defined settings from the settings.ini
file
-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
--active-doc export the entire ActiveDocument instead of the part,
product, etc.
The supported outputs are dependent on pyvba.
Customization
The settings above can be customized to run by default or from custom setting groups. To customize these settings:
catminer edit
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!
Metadata
Release files for catminer 1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| catminer-1.5.tar.gz | 9.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| catminer-1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.0 kB
Release files / catminer-1.5.tar.gz
| Download URL | catminer-1.5.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
688dc46f2c9efe26d2ca7e70a0cc153c4c92e7debbb52f2d524c9db4f7fbc978
|
|
BLAKE2b-256 checksum How to use checksums |
0ddea0d39efb66d8201ed1a84bfd716f44a1a22b4c411fd35d726abd574256ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.49.0 CPython/3.8.5
|
Release files / catminer-1.5-py3-none-any.whl
| Download URL | catminer-1.5-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0326259d69e7cc6ec481c03847893551f6dafb5f40ac17921a81699eb903e54c
|
|
BLAKE2b-256 checksum How to use checksums |
afe972f56e2927468ee94fc39798da5a3243e8ba00c9b1f10037516c71ba1672
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.49.0 CPython/3.8.5
|