Utilities for FreeCAD construction workspaces.
Project description
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/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
construction_utils-0.1.0.tar.gz
(62.8 kB
view details)
Built Distribution
File details
Details for the file construction_utils-0.1.0.tar.gz
.
File metadata
- Download URL: construction_utils-0.1.0.tar.gz
- Upload date:
- Size: 62.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09fa0e9884ba6deb54fee6f7a12d42c84f7af8daecf6f883e4d13615d5bd0575 |
|
MD5 | b73ffd0e53e19c207773c55902a1e383 |
|
BLAKE2b-256 | f03d1dcf4a50df2b393c73dec796feeb0c1830d5674f68cff68cb79b7479e8b4 |
File details
Details for the file construction_utils-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: construction_utils-0.1.0-py3-none-any.whl
- Upload date:
- Size: 43.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 556702c6d6eac5f8b8aa65a23d979a7981154c1e23aeb9bb7864a144a5683417 |
|
MD5 | 9f301c3b3aace3d26c263c075d320102 |
|
BLAKE2b-256 | 42c46be70841773d37098e257c30378fd4657b9254254e7ebecaedd5d2b7a117 |