evereux / pycatia-tools

A web based GUI application to interface with CATIA V5
MIT License
1 stars 0 forks source link

pycatia-tools

Introduction

A web based python application built with Flask, HTMX and hyperscript to interface with CATIA V5 using the python library pycatia.

The application contains a collection of tools to speed up common tasks. Such as:

pycatia-tools has been built such that adding additional functionality to suit your purposes is a straight forward process. There is currently no guide supporting this. However, reading the source code should give enough hints on how to add functionality.

Requirements

Installation

Pre Built Binary

git

To clone this repository using git cmd:

git clone https://github.com/evereux/pycatia-tools.git

Alternatively you can download a copy of the zipped archive.

Change directory to the project folder and create a virtual environment for the project.

python -m venv env

Activate the virtual environment

env\Scripts\activate.bat

Install the requirements.

pip install -r requirements.txt

Running

To run the application:

flask run

Open a web browser and access the url https://127.0.1:5578

Building

To build an executable do the following:

pip install nuitka
python -m nuitka --standalone --include-data-dir=<path_to>\pycatia-tools\application\templates=application/templates --include-data-dir=<path_to>\\pycatia-tools\application\static=application/static pycatia-tools-exe.py