construction_utils
The construction meta data builder generates README files for FreeCAD workspaces. Its main goal is to serve for my personal constructions repo.
Installation
cd construction_workspace/
python -m venv venv
venv/bin/activate
pip install construction_utils
Usage
cd construction_workspace/
construction_utils
System dependencies
The following packages need to be installed and made available to the user that runs the construction_utils.
- freecad
- xvfb (to run freecad headless)
Examples
Check constructions repo for a productive example project.
Caveats
- Ubuntu/Snap based distribution:
- The construction_utils requires FreeCAD to generate isometric preview images of constructions.
- On snap based distributions it is likely that FreeCAD is installed via snap.
- Snap applications run in a sandbox and therefore have their own private /tmp/ directory and won't be able to access the systems /tmp/ directory.
- Unittest rely heavily on the tmp dir. Therefor it is necessary to use pytests --basetemp=<PATH> argument to pass a custom temp directory to pytest.
- In tox we're using .pytest_tmp/
Metadata
Release files for construction-utils 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| construction_utils-0.2.1.tar.gz | 64.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| construction_utils-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 109.6 kB
Release files / construction_utils-0.2.1.tar.gz
| Download URL | construction_utils-0.2.1.tar.gz |
|---|---|
| Size | 64.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6cad4b6f2a0c0a7eef6b99707df875940e50b2c3c2076d4fff7b7ed17fc8f3de
|
|
BLAKE2b-256 checksum How to use checksums |
aee59c267227232705afd996c1a193e4af552cbe3931e06aa61e759d0a0db2f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / construction_utils-0.2.1-py3-none-any.whl
| Download URL | construction_utils-0.2.1-py3-none-any.whl |
|---|---|
| Size | 45.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0590b062c9d1fd7afb6bf20313ffda29509d0bdd92c8992bc8cd4f568ee671ae
|
|
BLAKE2b-256 checksum How to use checksums |
9a977a0ff394589a5255a05bc6ea2dddca35b4200cf1aa1bb7165ac1aef8ec70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|