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.2.0.tar.gz
(64.2 kB
view details)
Built Distribution
File details
Details for the file construction_utils-0.2.0.tar.gz
.
File metadata
- Download URL: construction_utils-0.2.0.tar.gz
- Upload date:
- Size: 64.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f936f27cf61a8505c64c4347e952a1941d13fd36b959fec36cb7ca8704351e |
|
MD5 | 700cb4510df5145298d07fd135857954 |
|
BLAKE2b-256 | fdeac52aecbae5faf90a2ae50af03501f15ed1e054c74d41c7341f6389a6b3ef |
File details
Details for the file construction_utils-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: construction_utils-0.2.0-py3-none-any.whl
- Upload date:
- Size: 45.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa61e282c87d1eb1f8294a6518af273a1a308cee8e33112cc9552087304f8872 |
|
MD5 | 4a48213ec05e0dda71c536d57b9c3a8e |
|
BLAKE2b-256 | 6c680cccd44fbc23c298b9964141488f969e58838f3036573b5b29b51eed6733 |