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.2.1.tar.gz (64.2 kB view details)

Uploaded Source

Built Distribution

construction_utils-0.2.1-py3-none-any.whl (45.4 kB view details)

Uploaded Python 3

File details

Details for the file construction_utils-0.2.1.tar.gz.

File metadata

  • Download URL: construction_utils-0.2.1.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

Hashes for construction_utils-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6cad4b6f2a0c0a7eef6b99707df875940e50b2c3c2076d4fff7b7ed17fc8f3de
MD5 4dd227a5ec44efcbf1d955304d9c0811
BLAKE2b-256 aee59c267227232705afd996c1a193e4af552cbe3931e06aa61e759d0a0db2f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for construction_utils-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0590b062c9d1fd7afb6bf20313ffda29509d0bdd92c8992bc8cd4f568ee671ae
MD5 554ad0470dae703f1ecd920c0f471069
BLAKE2b-256 9a977a0ff394589a5255a05bc6ea2dddca35b4200cf1aa1bb7165ac1aef8ec70

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