Skip to main content

Utilities for FreeCAD construction workspaces.

Project description

Build status GitHub latest commit PyPI download month PyPi version

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


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)

Uploaded Source

Built Distribution

construction_utils-0.1.0-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

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

Hashes for construction_utils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 09fa0e9884ba6deb54fee6f7a12d42c84f7af8daecf6f883e4d13615d5bd0575
MD5 b73ffd0e53e19c207773c55902a1e383
BLAKE2b-256 f03d1dcf4a50df2b393c73dec796feeb0c1830d5674f68cff68cb79b7479e8b4

See more details on using hashes here.

File details

Details for the file construction_utils-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for construction_utils-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 556702c6d6eac5f8b8aa65a23d979a7981154c1e23aeb9bb7864a144a5683417
MD5 9f301c3b3aace3d26c263c075d320102
BLAKE2b-256 42c46be70841773d37098e257c30378fd4657b9254254e7ebecaedd5d2b7a117

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page