Allow passing a timestamp value when export STEP files, to generate STEP files with a specific timestamp value in the file header. For example, a null timestamp (`0000-00-00T00:00:00`), or a static timestamp can be used when generated files should be equal if there are no visual changes, such as for file versioning. This commit extends the `#export_step` function, to accept a `timestamp` keyword argument, that can be a string or a `datetime` object. A `datetime` is easier to use from Python. |
||
|---|---|---|
| .github | ||
| docs | ||
| examples | ||
| src/build123d | ||
| tests | ||
| tools | ||
| .gitignore | ||
| .pylintrc | ||
| .readthedocs.yaml | ||
| CITATION.cff | ||
| Citation.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| MANIFEST.in | ||
| mypy.ini | ||
| partcad.yaml | ||
| pyproject.toml | ||
| README.md | ||
Build123d is a python-based, parametric, boundary representation (BREP) modeling framework for 2D and 3D CAD. It's built on the Open Cascade geometric kernel and allows for the creation of complex models using a simple and intuitive python syntax. Build123d can be used to create models for 3D printing, CNC machining, laser cutting, and other manufacturing processes. Models can be exported to a wide variety of popular CAD tools such as FreeCAD and SolidWorks.
Build123d could be considered as an evolution of CadQuery where the somewhat restrictive Fluent API (method chaining) is replaced with stateful context managers - e.g. with blocks - thus enabling the full python toolbox: for loops, references to objects, object sorting and filtering, etc.
The documentation for build123d can be found at readthedocs.
There is a Discord server (shared with CadQuery) where you can ask for help in the build123d channel.
The recommended method for most users to install build123d is:
pip install build123d
To get the latest non-released version of build123d one can install from GitHub using one of the following two commands:
Linux/MacOS:
python3 -m pip install git+https://github.com/gumyr/build123d
Windows:
python -m pip install git+https://github.com/gumyr/build123d
If you receive errors about conflicting dependencies, you can retry the installation after having upgraded pip to the latest version with the following command:
python3 -m pip install --upgrade pip
Development install:
git clone https://github.com/gumyr/build123d.git
cd build123d
python3 -m pip install -e .
Further installation instructions are available (e.g. Poetry) see the installation section on readthedocs.